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

Requisition XXXXXXXXX cannot be changed - BAPI

former_member302911
Active Participant
0 Likes
23,842

Hi Guys,

i need a solution for UPDATE 2 custom fields in EBAN.

I have used a BAPI with EXTENSIONIN that work fine, but the problem is when the Purchase Requisition is Released and unmodifiable.

My requirement is to update this two field at SAVE of RFQ referred to Purchase Requisition (ME41)

Now the BAPI BAPI_PR_CHANGE is into EXIT_SAPMM06E_013, but at SAVE an error message occur (See Thread Title)

I do not want to use direct update or Reset Strategy, there is a way to bypass this problem?

Regards,

Angelo.

4 REPLIES 4
Read only

Former Member
0 Likes
23,644

Well to be honest, this is not a technical problem but a problem in your process.

Released requisitions are unmodifiable for a reason and you shouldt try to work around that in my eyes.

When its released a PO is beeing made. So changing the requisition afterwards is senseless as the PO stays the same.

Read only

0 Likes
23,644

Unfortunately the request of the customer is particular.

The purchase requisition is a competive tender.

When I create an RFQ related to the purchase requisition (competitive tender), at save i need to update the 2 custom fields of Requisition(Trough a Popup): Type and Data of Competitive Tender.

Read only

0 Likes
23,644

Hi ,

i think you shuld check this BADI : ME_PURCHDOC_POSTED =>posted

parameter : IM_BATU .

regards

Deepak.

Read only

0 Likes
23,644

I've tried the BADI ME_PURCHDOC_POSTED, but it doesn't stop with BAPI_PR_CHANGE.

However i've found BADI ME_BAPI_PR_CUST that stop with the BAPI, after i try it.

Thanks,

Angelo.