cancel
Showing results for 
Search instead for 
Did you mean: 

Maintenance oreder details using BAPI_ALM_ORDER_GET_DETAIL

Former Member
0 Kudos

Hi,

I have created Maintenance order by using the bapi BAPI_ALM_ORDER_MAINTAIN.I have used BAPI_ALM_ORDER_GET_DETAIL to get the created maintenance order details.

i have given the Maintenance order no(4000030) as input for this BAPi(BAPI_ALM_ORDER_GET_DETAIL ).I got the error as "Error reading the 4000030 order in the document table".

Please any one give me the solution for this and how to get the details for the created maintenance order.

Thanks,

guru.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The problem is Bapi BAPI_ALM_ORDER_MAINTAIN is not saved the order in SAP.After using this bapi you need to commit it.then only the order will be created in SAP.

Former Member
0 Kudos

The order must be a PP order for this BAPI to return values. (i.e. it must exist in table AFKO (Order header data PP orders))

Former Member
0 Kudos

Hi Gurunadh,

One possible scenario ... does the Maintenance Order Number need to be padded out with zeros?

Cheers,

Jai.