We are using IDOC_INPUT_CREDITOR for creating and changing the vendor. but currently we are facing issue with authorization.
1. We have created a vendor(12321) using one user who is having authorization for company code 1000 and pur. org. 1000.
2. Same vendor(12321) we are creating under company code 2000 and pur. org. 2000.using another user who is having authorization for company code 2000 and pur. org. 2000. but this IDOC asking the authorization of purchasing org. 1000 and activity 2.
I debug and found that it is picking first record of LFM1( Purchasing Org vendor table).
May i know the reason for this?? and please let me know how we can solve this issue.
Thanks in advance.