Company code checks in T-codes

Question: Hi everybody,

I am currently working on a project, where we have been asked whether it is possible to check for company code in a couple of transactions. As far as I know, this is not possible, but since I am not all-knowing I would be really glad to get some input.

The transactions I am having problems with are: KB31N, KB33N, KB34N, KB61, KB63, KB64 and KE24. Does anyone know if it is possible to check for company code in these transactions.

Kind regards,

Christina

Answer:
Use SU24 for each of these transactions to see whether they include a check for company code. If the company code authorisation object is present, it needs to have a tick under the "CM" (check maintained) column for it to be checked. If it is not present, it is not checked.

Answer:
Dear Christina,

Search the main program of the transaction for the string "authority-check". Observe whether the object F_BKPF_BUK (for FI) etc etc is checked by the code. Then the answer is yes.

If not (as many do), open OSS and place statement in the code so that it is company code enabled.

SU24 is not the correct answer.

Ned

Answer:
Christina,

In general to find out if A T-code is pulling in a Org Level ( Company Code ). Create a test role in the sandbox or development system and assign the T-code, when going into the authorization tab if any of the fields are marked in red, it means the T-code has pulled in company code. Company codes are maintaned in the field BUKRS

Answer:
Hi guys,

Thank you for all of your ideas. unfortunately I have already tried these and they were not working, so I was really wondering if anyone knew of a non-conventional trick that would solve the problem

Kind regards,

Christina

Answer:
Try SE93. Define or change the object check at T_CODE start.

Answer:
I had the same problem with KE24. Why not add F_BKPF_BUK to the transaction (via SU24) and maintain ORG values.

Answer:
The authorization check has to be added to the code...adding it through SU24 does nothing but add the object to a role when the transaction is entered in the profile generator.

Answer:
Run an ST01 authorization trace on the tcode for a given user and see if the check is performed. If it IS in the list of ST01 trace then the current configuration causes the code to check it. If it IS in the SU24 list and the check box in in 'N' the SAP is passing the check regardless of the user'r access. Adding it to SU24 does noting UNLESS it is in the code and only ST01 will show it. I beleive there is a KE15 tcode that can be used to CONFIGURE a Company code check in the Controlling tocodes, SE93 is Useless and redundant to S_TCODE. IF all else fails look for a User exit (SMOD) or business partner function (BF03) to add the code

No comments:

topics