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

Issue in BAPI BAPI_ALM_ORDER_MAINTAIN create multiple service order.

Former Member
0 Likes
2,242

Dear All,

I am creating LSMW for Service order creation, using BAPI

BAPI BAPI_ALM_ORDER_MAINTAIN , when i am uploading data for one service order for single header and multiple operation it's working fi9.

but when i upload the data for multiple service order and multiple operations then first order created successfully but when second data will come then idoc generates the error "Entry 2 in table HEADER (method CREATE) was not found ."

in method table i am passing following data.

000001HEADERCREATE%00000000001
000001PARTNERCREATE%00000000001
000001OPERATIONCREATE%000000000010010
000001COMPONENTCREATE%00000000001
000001
SAVE%00000000001

000002HEADERCREATE%00000000002
000002PARTNERCREATE%00000000002
000002OPERATIONCREATE%000000000020010
000002COMPONENTCREATE%00000000002
000002
SAVE%00000000002

please help how to resolve this issue

Thanks,

Abhilash

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,129

i have mapped orderid with field and multipel orders saved with multiple operation.

2 REPLIES 2
Read only

Former Member
0 Likes
1,130

i have mapped orderid with field and multipel orders saved with multiple operation.

Read only

Former Member
0 Likes
1,129

HI Abhilash,

I am facing the same issue when try to upload multiple order using BAPI_ALM_ORDER_MAINTAIN. Can you please tell how you solved this? I am not getting how to mapped orderid with fields? Means any thing we need to do in coding or is it from config side?