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

Change the vornr for the Order

Hi all,

How could be the entries if i want to change the operation from 0010 to 0700 thru the FM BAPI_ALM_ORDER_MAINTAIN.

I tried with

IT_METHODS-REFNUMBER = '00001'.

IT_METHODS-OBJECTTYPE = 'OPERATION'.

IT_METHODS-METHOD = 'CHANGE'.

IT_METHODS-OBJECTKEY = '00007000000100100700'.

APPEND IT_METHODS.

REFRESH IT_METHODS.

IT_METHODS-METHOD = 'SAVE'.

APPEND IT_METHODS.

IT_OPERATION-ACTIVITY = '0010'.

APPEND IT_OPERATION.

IT_OPERATION_UP-ACTIVITY = 'X'.

APPEND IT_OPERATION_UP.

CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'

EXPORTING

IT_METHODS = IT_METHODS

IT_OPERATION = IT_OPERATON

IT_OPERATION_UP = IT_OPERATION_UP

RETURN = IT_RETURN.

but it does not change the activity.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2005 at 05:06 AM

    HI,

    even i had called 'BAPI_TRANSACTION_COMMIT'.

    Thanks and regards,

    aparna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2005 at 05:27 AM

    Try to replace

    <u>REFRESH IT_METHODS</u> .

    with

    <u>CLEAR IT_METHODS</u>.

    in your code.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2005 at 05:33 AM

    Hi sanjay,

    by mistake i had written here refresh..

    but it is clear with which i had tried.

    Thank you

    Aparna

    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.