on 08-24-2015 11:28 AM
Dear Experts,
In KEPM / KE13N, we plan to upload the plan data and we have the plant details but no reference to a company code directly. Hence is it possible to make use of a user exit to derive the company code based on the plant (probably from T001K table) while uploading the data in KE13N?
Or any other method to derive the company code based on the plant information?
Thanks and appreciate your inputs.
Hari Dharen
Hi Hari,
SAP already provides a system defined step for derive company code from plant.
Please check in tcode KEDR for step:
Function call: Company code from plant
you can simulate this in KE21N or KE21S.
regards
Waman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Big Choi. Yes, after understanding this derivation function, it should happen automatically.
I had to define company as a characteristic in the planning package because its made mandatory.
Also if I remove company code, it says the company code has to be made as a characteristic because of the currency type 10 which is for company code currency. Even If I make it B0 as operating currency, it still wouldn't accept.
So since company code is in the planning package and layout, it requires an entry when I post data. But I would like to derive the company code automatically.
Just for information, when I analyze the derivation, this function call is not highlighted which means that there was no derivation for a company code necessary I guess. How to let the system know that it has to call this function to derive the company code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.