Solved: How to find out company code from a plant ?


Hello friends,

I have to modify a program that uses FM “BAPI_COMPANYCODE_GET_PERIOD”. For that, we have to export company code ID. Currently it is hard coded with one company code. Now we want to make this program usable by all company codes. So instead of hard coding, I would like to dynamically find out company code based on the plant. So I want to know – how to find out company code from a plant ? Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?

Thanks,

– Chetan



Source link

Leave a Comment