cancel
Showing results for 
Search instead for 
Did you mean: 

Creating PO from SC-item

Former Member
0 Kudos

Hi Experts.

We use SRM 7.0. I need to check the currency of PO and SC-item when create PO from SC-item. When they are different, than warning-message should appear.

But I have the following problem: I can't find in PO data the link to SC-item (number, guid of it for example) when do the check in the item_check badi. The PO is not yet created in database when I do the check.

Maybe you can help me where can I found for SC-GUID or number?

Thanks Evgeny.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

When the BADI logic comes to the check of your PO item, the SRC_GUID field would point to the SC item where the PO item was generated.

Former Member
0 Kudos

Hey,

unfortunately, that field is still empty.

Thanks

Former Member
0 Kudos

in BBP_PD_PO_GETDETAIL and in bbp_pd_po_item_getdetail

Former Member
0 Kudos

Which BADI implementation are you addressing? Try BBP_DOC_CHANGE_BADI. And again, for your PO, i.e. BUS2201.

Former Member
0 Kudos

I use this BADI and method BBP_PO_CHANGE . But parameter table don't have guid in IT_ITEM-SRC_GUID

Former Member
0 Kudos

This BADI would be called several times during the process where the PO is saved. I'd assume the item SRC_GUID would be populated at some point. No?

Answers (0)