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

Error BAPI_ALM_ORDER_MAINTAIN

Former Member
1,716

Hi gurus,

I am using the bapi BAPI_ALM_ORDER_MAINTAIN to create CS orders, and operations when creating the PM03 type operation, I enter a service using the method SERVICEOUTLINES and SERVICELINES, but I is generating the error SRV 038.

I appreciate your help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,255

Hello, in the documentation of the BAPI says that this can not be, we decided to create a component with a DIEN material type, so it works perfectly, it created a SOLPED, and normal processing continues MM.

thank you very much for your help.

3 REPLIES 3
Read only

Former Member
0 Likes
1,255

Check this Link - I am not sure If it helps you -

https://scn.sap.com/thread/584544

If the aboive doesnt help, are you filling the structure -

IT_HEADER_SRV . It is  the Service data of the order. This data must only be specified for service orders. The same index as for IT_HEADER is used.

Read only

Former Member
0 Likes
1,256

Hello, in the documentation of the BAPI says that this can not be, we decided to create a component with a DIEN material type, so it works perfectly, it created a SOLPED, and normal processing continues MM.

thank you very much for your help.

Read only

WEIWEI
Explorer
0 Likes
1,255

1837200 - BAPI_ALM_ORDER_MAINTAIN:服务组件:PM-WOC-MO(维护订单),版本:3,发布时间:2013年4月17日You want to use BAPI BAPI_ALM_ORDER_MAINTAIN to create an external service operation with a service line. During this process, BAPI control terminates with error message SRV 038 "Error in external header data. Please enter DOC_ITEM".