cancel
Showing results for 
Search instead for 
Did you mean: 

Fill standard R/3 fields when PO is generated out of SC.

Former Member
0 Kudos

Hi Experts,

We are on an SRM 5.0 implementation, classic scenario.

When we order a shopping cart in SRM, a PO is created automatically in the backend. We use the BADI BBP_CREATE_BE_PO_NEW to add extra logic while creating the PO. Now we want to populate a standard R/3 field on the PO HEADER with this badi, but this does not seems to work.

Following code is not working. An idea what is wrong?

cs_po1_document-IS_POHEADER-OUR_REF = 'FN'

cs_po1_document-IS_POHEADER-OUR_REF = 'X'

The badi is correctly called but is not filling the R/3 field OUR_REF.

Kind Regards,

Tom

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Put the break point at the point of PO create BAPI in SRM side(BAPI_PO_CREATE1), and make sure the values from BADI is passing to ECC. We had similar issue earlier, some of the structurers are commented in the BAPI in SRM side.

Hope this will resolve your issue.

Regards,

Sreedhar Vetcha

Answers (0)