on 02-19-2013 11:26 AM
Hi All,
We're upgrading SRM from version 5.0 to 7.01.
In version 5.0, we implemented a business requirement in
BBP_DOC_CHANGE_BADI, so that when PO header is updated, a releated
custom field in PO items (same value for all items) will be updated
accordingly.
The logic we implemented in method BBP_PO_CHANGE is like the following.
1. Get item information by calling FM BBP_PD_PO_GETDETAIL
2. Calculate value of the custom item filed to be updated
3. Append records to the exporting parameter ET_ITEM and populate all
fields with information acquired from above step 1 & 2
This logic worked well with SRM5.0.
However, in 7.01, this logic no longer works when only the PO header is
changed. Even though the exporting parameter ET_ITEM is populated, PO
items still won't be updated.
So, the question is how can we implement the same business requirement
in 7.01?
Ryo,
Hi Ryo,
You need to change the code a lil bit,
Share the data declaration statement used in your BADI code for IS_Header.
I hope I will be able to help you here.
Regards
Pardeep Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think your logic is Ok.
You are calling FM BBP_PD_PO_GETDETAIL with guid = IS_HEADER-GUID, aren't you?
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.