on 11-14-2011 6:58 PM
Hello SRM gurus,
Iam working on SRM 7.0
I am approving SC from SRM, but BADI :BBP_CREATE_BE_PO_NEW is not getting called and in backend no PO is getting created . I m using BADI BBP_TARGET_OBJTYPE when the SC is approved. What should I write in this BADI BBP_TARGET_OBJTYPE so as to call PO BADI.
Thank you.
Hello,
Badi BBP_CREATE_BE_PO_NEW will only be called if you use RFC to create backend POs. If you use XML, such badi won't be called.
Create a shopping cart and put it in saved status.
Put a breakpoint within your badi.
Take the cart GUID and execute FM BBP_PD_SC_TRANSFER, providing the cart header GUID as input parameter.
When you execute the FM, breakpoint should stop.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.