Skip to Content

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

ORG UNIT to Purchasing group

Dear Experts,

Please help on the following issue

We are unable to fetch the function details from PPOSA_BBP t-code.

for example we have an orgunitĀ  say '00000002' and for them in the details section under Functions tab we need to read the Local purchasing group and ID.

I have also attached the screen shot like which data we are trying to read in our BADI.

Please let us know any function module or DB to get the required associated values

SRM1.jpg (62433 B)
Former Member replied

Hi Balajisha,

If I get you correctly, your want to replace your purchasing group, with the Head of the Org unit.

So in that case for the User, under the Details, the checkbox, "Head of Organizational Unit" should be checked.

Now what you can do is, fetch the user who is assigned as head of the org unit using the FM " BBP_OM_STRUC_GET_MGR_FROM_ORG", here you will get the ID of head of the Org unit under et_manager_id. (Checkbox Head of Organizational Unit" should be checked for the User)

You can use this ID, as the username and use the FM "BBP_READ_ATTRIBUTES".

Not sure, whether this will work, but you can give it a try.


Aakash Awasthi

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