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

BAPI to create maintenance order (IW3x) from reference

Former Member
0 Likes
956

Hi Folks,

I need to create maintenance order (IW3x) in background mode from the existing (reference) order. [i.e., create new order which is copy of existing order]).

The new order should include all the information of source order. (operations, tasks, equipement, etc...)

Thanks in advance for your reply.

Hi Folks,

I need to create maintenance order (IW3x) in background mode from the existing (reference) order. [i.e., create new order which is copy of existing order]).

The new order should include all the information of source order. (operations, tasks, equipement, etc...)

Thanks in advance for your reply.

2 REPLIES 2
Read only

Former Member
0 Likes
560

Hi,

try FM CO_CO_ORDER_COPY. It is used in IW31 transaction when creating an order with reference.

Regards

Adrian

Read only

0 Likes
560

Hi Adrian,

The FM CO_CO_ORDER_COPY cannot be used. This FM gives dump as there is no expection catched for FM CO_ZF_ORDER_READ which is called.

The FM CO_ZF_ORDER_READ raises an expection, when it checks for entry in T490 table and no entry exist.

Regards.