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 PM order with multiple operations and components using BAPI_ALM_ORDER_MAINTAIN

former_member607063
Discoverer
0 Likes
1,829

Hello all,

I am trying to create a PM order with multiple operations and components using BAPI_ALM_ORDER_MAINTAIN.

In the table it_methods I do the filling as follow:

But I keep getting an error message "Enter another operation number". I tried to look for familiar problems on the Internet and their possible solutions but it did not help so far.

Please help me to solve this if you have done through same requirements as me. Or any ideas would also be appreciated.

Thanks in advance.

1 REPLY 1
Read only

NTeunckens
Active Contributor
0 Likes
1,147

Please revise your code, you are Creating Operations and Components referencing the Header-ObjectKey, not an Operation-ObjectKey.

Should probably be something like this :

%000000000010010 "Referencing First Operation
%000000000010020 "Referencing Second Operation