on 05-23-2007 3:46 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.