cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 5.0 Can not get BBP_CREATE_BE_PO_NEW BADI Called

Former Member
0 Kudos

We are using SRM 5.0 in an Extended Classic Senario, when we post an order from SRM to our backend R/3 ECC 5.0 system, the BADI BBP_CREATE_BE_PO_NEW is not getting called. We have activated it, placed test code in to to show when we are going through it, but it never does.

Can anyone tell us how to get the BADI to be called?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The BADI BBP_CREATE_BE_PO_NEW doesn't have any filters on it and is used for creating POs on the Backend (BE) only.

We are creating a PO in SRM via the Process Purchase order -> Create. After entering the information, press the 'Order' button which sends it to the BackEnd R/3 system in the Extended Classic Senario.

Former Member
0 Kudos

Hi,

The 2 BADI's mentioned are called in the CLASSIC scenario for creation of the follow on doc in R/3 i.e. PO.

So as per your techincal scenario,i.e. EXTENDED CLASSIC,none of these will be called.

BR,

Disha.

Pls reward points for useful answers.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

<u>What do you mean by -> "when we post an order from SRM to our backend R/3 ECC 5.0 system" ?</u>

<b>Are you talking about the shopping cart creating the PO or some thing else. Both the BADIs

BBP_CREATE_PO_BACK and

BBP_CREATE_BE_PO_NEW

are for creating PO in the R/3 backend.</b>

<u>Check for the Filter Type you specified in this case. Is it BUS2201 (Is it using BAPI - BAPI_PO_CREATE1 / BAPI_PO_CREATE (Remotely called from SRM system - called in the R/3 system) ?</u>

Regards

- Atul

Former Member
0 Kudos

We have tried placing the test code in the BBP_CREATE_PO_BACK BADI and it is also not being called. We have also already checked out the 3 messages from SAP that you reference. The BBP_ECS_PO_OUT_BADI is working but from all documentation we have read the BBP_CREATE_BE_PO_NEW BADI should also be getting called twice.

We have even placed a divide by zero to cause the program to dump in both methods of BBP_CREATE_BE_PO_NEW BADI and it doesn't get called.

Former Member
0 Kudos

Hi

Can you please provide more details ? It should not happen.

<b>When creating a PO, the new BADI BBP_CREATE_BE_PO_NEW is called twice. Once for the fill_po_interface method, and also for fill_po_interface1.

Due to the default implementation, the BBP_CALL_OLD_BADI_BE_PO_CRT function module is therefore called twice, and if an active version of the old BADIs exist, the old BADI is also called twice.</b>

<u>

Else try this, Try implementing BBP_CREATE_PO_BACK BADI with the same code.</u>

<b>Few SAP OSS notes to refer in this case.</b>

<u>Note 906465 - Shopping cart transfer:Mapping BADI bbp_create_po_back/...rs

Note 903805 Shopping cart transfer: BAdI bbp_create_po_back/...rs_back

Note 1000184 Account assignment error when document transfer to back end</u>

Do let me know.

Regards

- Atul