cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi,

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,

Ramya

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Thanks!

JL23
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.