Skip to Content
author's profile photo Former Member
Former Member

updating Oject list of order using BAPI_ALM_ORDER_MAINTAIN

Hi Experts,

We are tryiing to use the "BAPI_ALM_ORDER_MAINTAIN" for creation of maintenance order and updating the object list in maintenance order header with multiple assemblies.

The BAPI works fine when there is only one record is maintained in the object list IT_OBJECTLIST, but if we maintain more than one record in IT_OBJECTLIST, then also only first entry gets updated after execution of the BAPI. remaining entries from the object list does not get updated in the maintenance order.

The operations from the IT_OPERATION does gets populated correctly into the order.

Has any one come acrooss this issue earlier. I am not sure if there is any specific setting in it_method or update table which is missing here ?

In IT_METHODS table we are maintaining entries for creation of header as well as creation of object list and then the save entry.

In IT_OBJECTLIST_UP we are maintaining the "processing indicator" check box for all entries in IT_OBJECTLIST table.

You valuable inuts are expected.

Thanks and Reagrds,

Narendra

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 20, 2012 at 08:12 AM

    This is just a guess..

    But did enter a value in IT_OBJECTLIST-COUNTER?

    PeteA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2012 at 08:49 AM

    Hi Pete,

    Yes, we did tried by maintaing counter as well, but still it gives the same result.

    Thanks and Regards,

    Narendra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2012 at 09:23 AM

    Object list will not be updated by bapi BAPI_ALM_ORDER_MAINTAIN. you update table directly.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.