Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI - ME_BAPI_PR_CUST not triggering for BAPI_REQUISITION_CREATE

Former Member
0 Likes
2,110

Hi Friends,

We are using BAPI_REQUISITION_CREATE to create a PR from SRM 7.0 system. Our requirement is to haev additional customer fields in SRM shopping cart and the same need to be passed back to R/3 and store it in customer fields created under teh customer data tab availabel in item details.

To achieve this we have implemented BADI- ME_BAPI_PR_CUST . But this BADI Implementation is not getting called while executing the BAPI_REQUISITION_CREATE. I have tried placing the breakpoint on cl_exit handler and executed the BAPI,but BADI- ME_BAPI_PR_CUST   was not triggered.Could you please let me know, whethe this BADI will be called for BAPI_REQUISITION_CREATE or not? If not do I need to go for BAPI_PR_CREATE?

Regards,

Sasi

Hi Friends,

We are using BAPI_REQUISITION_CREATE to create a PR from SRM 7.0 system. Our requirement is to haev additional customer fields in SRM shopping cart and the same need to be passed back to R/3 and store it in customer fields created under teh customer data tab availabel in item details.

To achieve this we have implemented BADI- ME_BAPI_PR_CUST . But this BADI Implementation is not getting called while executing the BAPI_REQUISITION_CREATE. I have tried placing the breakpoint on cl_exit handler and executed the BAPI,but BADI- ME_BAPI_PR_CUST   was not triggered.Could you please let me know, whethe this BADI will be called for BAPI_REQUISITION_CREATE or not? If not do I need to go for BAPI_PR_CREATE?

Regards,

Sasi

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,210

This BADI ME_BAPI_PR_CUST is only triggered in Enjoy MM transaction (ME51N and not ME51).

BAPI_REQUISITION_CREATE (Release 4.0A) is associated to old transaction ME51, when BAPI_PR_CREATE (Release 640) is associated to Enjoy transaction ME51N.

Look at OSS notes like Note 1803189 - FAQ: End of Support of ME21, ME51, and BAPI_PO_CREATE etc. for reference.

Regards,
Raymond