Skip to Content

How can I change the order number on PR created via IW31, the field is grayed out

Jan 05, 2017 at 07:36 PM


avatar image


My client is moving its service management from ECC to CRM, so we are needed to link the internal orders generated from the CRM service orders that have been converted from ECC on the PRs (created via IW31 in ECC) & the corresponding POs. Currently, the order number in the account assignment tab is grayed out (both PR & PO). The client wants us to link the new internal order number against the PR and corresponding PO. Can you please let me know how can I edit this field?

Please note that the PO is still open.

Thanks & Regards,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L
Jan 05, 2017 at 09:16 PM

you cannot in standard. Requisitions created from another module have to be changed anyway from its origin and not from ME52N.

for the transition period you may need a cross reference list stored somewhere in your network, we usually create such cross reference as by-product from the migration program and save the records directly in a project specific Z-table. Users can then query this table from our Intranet.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thank you for your response Mr. Jurgen.

So we managed to edit the order field on the PR via BAPI. But however, we are facing an issue while trying to update the order field on the PO via BAPI_PO_CHANGE, we are getting the ME664 - change order could not be effected, 'order' field is not editable. The client is particular about having these internal orders linked to the POs. We do have a project-specific Z-table for saving the converted orders from the migration program.

Please advise.


Ramyanandita Yamujala

A BAPI is supposed to do the same what can be done online in ME22N, if it is not possible manually then it is not with the BAPI. Delete the order item and create a new order item with the new information.


I agree with Jurgen, and also you can develop a program that go through all PO you want to change and copy them to a new POs with the right internal order without PR reference and delete the old one. this is an exception program for the migration purpose, you can use your Z-table in this logic.