Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get BUKRS in idoc PEXR2002

Hi Friends

I'm using idoc PEXR2002 and message type REMADV to post payment advice. In the inbound func module in exit i have to write a chk with company code accordingly populate one field of idoc. Now my question is how can i get the BUKRS there, is it chking E1EDKA1-PARVW = BE and the E1EDKA1-NAME1 is the company code ???? Do u think that this is the proper way to get the BUKRS or there is other way to get it.



Former Member


Your assumption is correct except for the PARVW Value. It should be AG instead of BE. In General, we would be using AG for Sold-To but when I checked few IDocs in my System, there is Company Code information which is getting populated for this Qualifier in the E1EDKA1 field.

Check the Tables T001 and ADRC to compare what is getting populated in the IDoc is matching with what we have in our Database.

Hope it was helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question