cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping Cart details from PO information in n-step BADI

Former Member
0 Kudos

Hi,

Can anyone advise on the best way to get the Shopping cart requester from within the N-Step Badi that has been triggered via Purchase Order change. I need to obtain the SC Requester details to then get his/her cheif from the Org. Structure to sent the PO for re-approval on change.

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

<b>Based on the PO /Shopping cart number, you can use the function module inside the N-Level Approval BADI Custom implementtation (BBP_WFL_APPROV_BADI)

BBP_PD_SC_GET_DETAIL (for Shopping Cart)

or

BBP_PD_PO_GETDETAIL (For Purchase Orders) and get the details.</b>

<u>For getting Requester details, use the standard function modules say

BBP_GET_USER_AT03

BBP_GET_USER_ATTRIBUTES</u>

Hope this will definitely help.

Do let me know, incase you face any issues.

Regards

- Atul

Former Member
0 Kudos

Hi,

The problem is that at this point in time the its the PO that has been changed to the paramters passed into the BADI are related to the PO so I cannot use the GET_Detail FM for sc's which is what I would like to call to get the SC requester. Basically I need to get from the PO -> SC and then I can call BBP_SC_GET_DETAIL but as I am in the BADI from a PO change event I don't have the SC key. I know I could use the same tables used to get the follow on docs when going into BBP_PD but I am rather hoping not to read the tables directly.

Any further advise on this would be appreciated