Application Development 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: 

how to use BAPI_ALM_ORDER_MAINTAIN to update operations

p_2_5_6_9_6_0
Active Participant
0 Kudos
1,552

I am trying to update operation 0010 of maint. order 4000003 using BAPI_ALM_ORDER_MAINTAIN

I am getting a success message - but am not able to see the changes in transaction iw33.

Can anyone help me?

INPUT DATA follows:

TABLE: IT_OPERATION

ACTI WORK_CNT

0010 SXUV

TABLE: IT_OPERATION_UP

ACTI WORK_CNT

X

TABLE: IT_METHODS

REFNUM OBJECTTYPE METHOD OBJECTKEY

000001 OPERATION CHANGE 0000040000030010

000001 SAVE 0000040000030010

OUTPUT DATA follows:

TABLE: RETURN

T ID NUM MESSAGE

S IW 085 Order 4000003 saved with notification 10000003

S IWO_BAPI2 110 BAPI control was ended

TABLE: ET_NUMBERS

AUFNR_IN AUFNR_NEW

4000003 4000003

Thanks.

4 REPLIES 4

p_2_5_6_9_6_0
Active Participant
0 Kudos
286

hi,

also wanted to add - are there any other bapis to modify a work order?

and what table is used to store operations data?

Thanks

0 Kudos
286

AFVC is the Table which Stores the Operation Number of Workorder.

p_2_5_6_9_6_0
Active Participant
0 Kudos
286

Thanks. I managed to resolve this issue myself.

Marked the thread as answered.

0 Kudos
286

Hello,

Please, can you tell us how did you solve it? I'm having problems with this BAPI, I can't create nor modify any PM order