Quantcast
Channel: SCN: Message List - Enterprise Resource Planning (SAP ERP)
Viewing all 6103 articles
Browse latest View live

Re: Restricting access to XD01-XD03 with active Customer-Vendor-Integration

$
0
0

hi ingo

 

please look at the snote for solution at below,

 

1895612 - BP checks Authorisation Object S_TCODE with XD01, XD02...

 

content is:

 

 

Symptom

A business partner is synchronised with a customer or a vendor master data.
During maintenance of the business partner, the authorisation object S_TCODE is triggered checking XD01, XD02, XK01, XK02 transaction code.
SAP Note 1895335 is implemented

 

 

Other Terms

BP, S_TCODE, XD01, XD02, XK01, XK02, 00172, 00 172
BAdI, CUSTOMER_EXTENSION_AUTH_CHECK, AUTHORITY_CHECK_CUST_TRANSACT
VENDOR_EXTENSION_AUTH_CHECK, AUTHORITY_CHECK_VEND_TRANSACT

 

 

Reason and Prerequisites

Custom implementation help
SAP Note 1895335 or equivalent support package is implemented

 

 

Solution

  Note

 

CVI is designed to synchronize a Business Partner with a customer and/or a vendor master data.
As the customer or vendor is a master data on its own, the SAP standard make sure the user who does the maintenance is allowed for the direct customer/vendor transactions.
CVI functionality can also be triggered out of the synchronisation. This is an additional reason to check the S_TCODE authorisation object.
Nevertheless, this can be a considered as a lack of flexibility for setting up processes where the customer/vendors are exclusively maintained from Business partner master data and transactions.
The current note defines 2 new BAdIs

  • CUSTOMER_EXTENSION_AUTH_CHECK and method AUTHORITY_CHECK_CUST_TRANSACT.
  • VENDOR_EXTENSION_AUTH_CHECK and method AUTHORITY_CHECK_VEND_TRANSACT.

Customers that want to avoid the S_TCODE authority check are now able to skip the check by implementing this BAdI.
By default or when no implementation of BAdIs CUSTOMER_EXTENSION_AUTH_CHECK / VENDOR_EXTENSION_AUTH_CHECK, the CVI process check the authorisation object S_TCODE.

Custom implementation description for Customer Master data

 

In order to avoid checking the authorization object S_TCODE for transactions like XD01/XD02..., it is necessary to implement BAdI CUSTOMER_EXTENSION_AUTH_CHECK with method AUTHORITY_CHECK_CUST_TRANSACT.
The BAdI belongs to enhancement spot CUSTOMER_EXTENSION

 

Method AUTHORITY_CHECK_CUST_TRANSACT interface:
           Importing parameter: IV_TCODE
           Changing parameter: CV_NOCHECK
In order to avoid checking authorization object S_TCODE for transaction like XD01/XD02, the BAdI implementation has to return CV_NOCHECK = 'X'.

Custom implementation description for Vendor Master data

 

In order to avoid checking the authorization object S_TCODE for transactions like XK01/XK02..., it is necessary to implement BAdI VENDOR_EXTENSION_AUTH_CHECK with method AUTHORITY_CHECK_VEND_TRANSACT.
The BAdI belongs to enhancement spot VENDOR_EXTENSION

 

Method AUTHORITY_CHECK_VEND_TRANSACT interface:
           Importing parameter: IV_TCODE
           Changing parameter: CV_NOCHECK
In order to avoid checking authorization object S_TCODE for transaction like XK01/XK02, the BAdI implementation has to return CV_NOCHECK = 'X'.

Restriction:

 

The BAdI is only triggered from CVI.
Any external processes may still trigger the S_TCODE authorization object directly. For example Lean Customer Maintenance or Enterprise Services.


The lock of the background scheduler in process # was deleted after N secs

$
0
0

Greetings,

 

I'm having this system log constantly in the sm21 "The lock of the background scheduler in process # was deleted after N secs". Although it's an informative log i wanna know if someone have any ideas of what's going on? why this log is generated?

 

There's kind of a explanation in the documentation for the system log:

 

"A background scheduler set a lock N seconds ago (the exact number is contained in the header of the message), which is blocking the running of any other background scheduler on the same server. This lock protects background schedulers from lock conflicts that can arise between two or more background schedulers running simultaneously.

 

Since a time interval of N seconds is sufficient for a scheduler to fulfill its tasks, it seems likely that this background scheduler is no longer running. The retained lock indicates that there is a problem that meant that the scheduler was not ended in a controller way. For more information, see the system log and traces that were created approximately N seconds before this message. Create a customer message if the information in the system log and the traces does not provide a clear indication of the cause of the problem.

 

To prevent standstill in background processing on this server, the current background scheduler deletes this lock and continues its run."

 

Thanks in advance.

Problem duplicating an item through DI API after upgrading to SAP 9

$
0
0

We have recently started testing our in-house C# (winforms) application against SAP 9 PL6.

 

Previously our application has worked with SAP 2007a and more recently SAP 8.82 PL11

 

Our application offers its users the ability to "clone" an item

 

When we do this running against SAP 9 we are presented with the following message:

 

"Unable to create SAP item 'XXXXXX'"

 

"SAP Error -5002: 1470000335 - Bin Location not enabled for warehouse XX-X"

 

This appears to be happening when we call SAPbobsCOM.Items.Add()

 

Does anyone have any idea what may have changed between SAP 8.82 PL11 and SAP 9 PL 6 in this area which would cause this to stop working?

 

Thanks in advance for any help provided,

 

Scott

Re: Changing Material Group xxx from WM to IM managed materials

$
0
0

Thanks alot Rahul.....Everything totally makes sense. I thought from your previous reply that its technically not possible.

 

Thanks for sharing it.

Re: Logs not getting displayed in update request (sm13)

Re: SAP PI

$
0
0

Hello 

 

             Can you send me an answer of this question ?

How SAP comes in to market and become the leading Enterprise?

What is the need of SAP?

 

Thanks

 

Regards

karan

Re: Logs not getting displayed in update request (sm13)

$
0
0

Hi mam ,

Thank you for your response.

 

can i know what type of error logs are seen in update request and My point is to create a error log in the update request .

 

Thanks ,

Satheesh E

Re: SAP PI

$
0
0

Hello

 

             Can you send me an answer of this question ?

How SAP comes in to market and become the leading Enterprise?

What is the need of SAP?

 

Thanks

 

Regards

karan


Re: SAP PI

Re: SAP PI

FTP Connecton: text file coming as single row

$
0
0

Hi ,

   I am using FTP to send data SAP to NON-SAP

        

   MY internal table data not going properly.

 

   Example: My internal table has 10 records (10 rows) after sent to nonsap it is coming in single row but all data is going ,i want to show exactly like internal table in text file.

        

          below code im used:

DATA:  L_USER(30) TYPE C VALUE 'ocluser' , "user name of ftp server

         L_PWD(30) TYPE C VALUE 'test@123', "password of ftp server

         L_HOST(64) TYPE C VALUE '118.102.171.244', "ip address of FTP server

         L_DEST LIKE RFCDES-RFCDEST VALUE 'SAPFTPA'."Background RFC destination

   DATA: W_HDL TYPE I,

         C_KEY TYPE I VALUE 26101957,

         L_SLEN TYPE I.

*HTTP_SCRAMBLE: used to scramble the password provided in a format recognized by SAP.

   SET EXTENDED CHECK OFF.

   L_SLEN = STRLEN( L_PWD ).

   CALL FUNCTION 'HTTP_SCRAMBLE'

     EXPORTING

       SOURCE      = L_PWD

       SOURCELEN   = L_SLEN

       KEY         = C_KEY

     IMPORTING

       DESTINATION = L_PWD.

 

* To Connect to the Server using FTP

   CALL FUNCTION 'FTP_CONNECT'

     EXPORTING

       USER            = L_USER

       PASSWORD        = L_PWD

       HOST            = L_HOST

       RFC_DESTINATION = L_DEST

     IMPORTING

       HANDLE          = W_HDL

     EXCEPTIONS

       OTHERS          = 1.

 

 

 

   CALL FUNCTION 'FTP_R3_TO_SERVER'

     EXPORTING

       HANDLE         = W_HDL

       FNAME          = P_PATH        "file path of destination system

*     BLOB_LENGTH    = '355'

       CHARACTER_MODE = 'X'

     TABLES

       TEXT           = gt_text "gt_text

     EXCEPTIONS

       TCPIP_ERROR    = 1

       COMMAND_ERROR  = 2

       DATA_ERROR     = 3

       OTHERS         = 4.

   IF SY-SUBRC <> 0.

 

     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4

     RAISING INVALID_OUTPUT_FILE.

   ENDIF.

*FTP_DISCONNECT: This is used to disconnect the connection between SAP and other system.

* To disconnect the FTP

   CALL FUNCTION 'FTP_DISCONNECT'

     EXPORTING

       HANDLE = W_HDL.

*RFC_CONNECTION_CLOSE:This is used to disconnect the RFC connection between SAP and other system.

   CALL FUNCTION 'RFC_CONNECTION_CLOSE'

     EXPORTING

       DESTINATION = L_DEST

     EXCEPTIONS

       OTHERS      = 1.

Re: SAP PI

$
0
0

Hi Karan

 

It would be more meaningful if you could mark all the helpful answers as Helpful instead of just liking the comment

 

Regards

Sowmya

IHC. Instruction codes for FI

$
0
0

Could someone explain the functionality of instruction codes/keys for FI of SAP IHC module?

I understand that in a way it's connected with creation of payment requests but the mechanism is not obvious.

 

The configuration points to be considered are:

1. SPRO>Financial Supply Chain Management>In-House Cash>Account management>Payment process in In-House Cash>Outgoing payment orders>Instructions for FI.

2. SPRO>Financial Supply Chain Management>In-House Cash>Account management>Payment process in In-House Cash>Outgoing payment orders>Set up creation of payment requests for inbound IDOC in FI>Processing parameters.

 

Thank you.

Having to Regenerate Profile after SCC1 role

$
0
0

We are doing a new implementation of ERP 6.0 and we have moved to Enhancement Pack 6.  When we scc1 a role in our development instance from the config client(100) to the test client(200)  we have to regenerate the profiles in our test client if we have added a new tcode to the role.  We did not have to do this in our legacy SAP system which is ERP 6.0 Enhancement Pack 4 until this last stack upgrade.  Is there anyone else experiencing these same issues and how did you resolve it?

Re: sales order document flow with split criterion after billing doc.

$
0
0

Hi Yu cai,

 

Please check,  if you have many line item in sales order/delivery we can bill item by line item wise.so please check the behaviour in your system for the reported issue whether its happened or not  .

 

Regards,

Rampe


Re: How to differentiate cash journal receivable & payable documents?

Re: MRS - Capacitive assigment for work order not possible

$
0
0

Hi Fabio,

 

Please log in the IMG screen Source of Demand>Demand setting>Controll Capacity Planing.. & mention your Notification type &^Order type you want to assign it will work I was facing the same issue & its sorted.

Re: How to differentiate cash journal receivable & payable documents?

How to check the Tables updated by a Document

$
0
0

Hi Experts,

 

Is there any T code or  Report to see what are all the tables updated by a Document.

 

For ex:  User has posted a document through MIRO, by using that document number can we see what are all the inter linked tables updated.

 

Not only the case of MIRO, I know FI document number, company code, fiscal year, and want to know what are all the interlinked tables updated by posting that document in system.

 

Request to provide your inputs

 

Regards

Rao MH

Show list of materials in a functional location BOM's (also for sub flocs)

$
0
0

Goodday all,

 

 

For SAP PM

I wanted to know if there's a way to get a list of materials (numbers, names etc.) which are in functional location BOM.

 

For example:

 

I have several functional locations, some are the parents of others, some of these have BOM with stock/non stock materials.

Functional location 1 is the superior of 2,3,4; FLOC 3 is the superior of 5,6,7 and so on.

 

Now I want to see all the materials which are in the BOM's of FLOC 1 AND all floc under it.

 

Something like

 

Show all material in Functional location:

 

Functional location: 1*

 

F8

 

Please help

 

Kind regards,

 

Erik-Jan


Viewing all 6103 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>