Hi Folks,
We are running Ext. Classic scenario on SRM server 5.5.
I have a problem with the BBP_DOC_CHANGE_BADI. It seems like this BADI only works when you change a document and not when you create a document.
My problem is that I have made some logic that make some changes to the PO, but when the SC is convented to a PO either via sourcing or directly the PO goes into status "held". Next time I go into the PO the BADI makes the changes and the PO is OK.
My question is, is there a BADI that kicks in at the time of creation of the PO?
Thanks in advance,
Thomas
Hi Thomas,
since SRM Server 5.5 there's a change in the BBP_DOC_CHANGE_BADI.
In former version you had access to all sc_lineitems. Now you only have access to the actual lineitem. This can cause the problem that you have described.
If you use FM BBP_PD_SC_GETDETAIL to read all line items you can modify them and all changes should be displayed in the sc.
regards
Joerg
Hi
<b>Please go through the related pointers -></b>
po-creation-with-external-po-number
item-level-linkage-between-gr-po-sc-and-vice-versa
Regards
- Atul
Add a comment