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

Create PR using custom BAPI

Former Member
0 Likes
1,259

Hi Experts,

We have a requirement where we need to read the data of Shopping cart  in SRM and created a PR in ECC. We copied the standard BAPI BAPI_REQUISITION_CREATE to a Z BAPI. the requirement is when we create the PR we should not trigger the release strategy. How do we do it? Or is there a way that we can PARK/HOLD the PR, like we do with SRM SC.

thanks,

sankar.

5 REPLIES 5
Read only

Former Member
0 Likes
1,081

Hi,

You can implement BADI - ME_PROCESS_REQ_CUST and Method CHECK.

Check the BADI Documentation for further details about each methods.

Hope this helps.

Read only

0 Likes
1,081

Not really what I am looking for. what exactly I can do here. BADI docuemntattion is not helpfil either.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,081


We copied the standard BAPI BAPI_REQUISITION_CREATE to a Z BAPI.

Better use the standard BAPI, BAPI_REQUISITION_CREATE and not a copy. And adapt its behavior with BAdI ME_PROCESS_REQ_CUST if truly required.

Are you working in a version greater or equal to Ehp5 to allow park/hold of PR ?

(business function LOG_MM_CI_3)

Regards,

Raymond

Read only

0 Likes
1,081

ho Raymond,

thanks for ther reply. How do we use badi to stop triggering of release strategy? can you give some code sample?

Read only

Former Member
0 Likes
1,081

hi,

I would like to somehow stop users making changes to the PR I create. is it possible to do that inthe BAPI while creating. may be setting some field at item level?