Custom field from SC item to PO item

All postings related to SRM only

Moderators: Snowy, thx4allthefish

Post Reply
Posts: 309
Joined: Wed Jan 11, 2006 8:50 am

Custom field from SC item to PO item

Post by Eggy » Thu Oct 17, 2013 8:26 am

This is a copy of the question I asked on SDN this morning (, perhaps the person with the answer is here :)

On our SRM 7.0 system, I have defined a custom fields on SC item level. This has been done by appending a structure to both INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC. We are populating the field using an implementation of BAdI BBP_DOC_CHANGE_BADI. This works perfectly.

Now when creating a PO (or multiple PO's if there are multiple vendors) from that SC, we want to copy that custom field. I have made the custom field available on PO item level, the challenge is copying the value from the SC.

The reason this is tricky, is because the SC can be automatically split into multiple PO's. At the BAdI implementation for PO, the item has already been copied to the PO and as far as I can see there is no reference to a specific SC item. Therefore I don't know which of the items to take the value from.

How can I copy the correct value? Thanks for the help!

Post Reply