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

BAPI_ALM_ORDER_MAINTAIN

sivaprasad_ml
Participant
0 Likes
742

Hi Guys,

I am trying to change the order header details and  operation field such as work center and plant using

BAPI_ALM_ORDER_MAINTAIN.

I am getting the successful status message and the header items are updated successfully.

Now coming to real problem. The 1st operation's workcenter and plant is updated successfully , while the rest of operation items are getting updated with the 1st items work center and plant, ie, for eg if there are 3 operations the 1st operation's work center and plant are copied to the second and third.

Can someone please guide if multiple operation items are to be changed what method has to be followed.

Thanks for the earliest attention,.\\

Siva

Hi Guys,

I am trying to change the order header details and  operation field such as work center and plant using

BAPI_ALM_ORDER_MAINTAIN.

I am getting the successful status message and the header items are updated successfully.

Now coming to real problem. The 1st operation's workcenter and plant is updated successfully , while the rest of operation items are getting updated with the 1st items work center and plant, ie, for eg if there are 3 operations the 1st operation's work center and plant are copied to the second and third.

Can someone please guide if multiple operation items are to be changed what method has to be followed.

Thanks for the earliest attention,.\\

Siva

2 REPLIES 2
Read only

former_member462254
Participant
0 Likes
649

Hello Siva,


for e.g if you have 3 operations. So, i would suggest you to pass 3 rows of data in IT_OPERATION_UP

Hope, It will help you.

Regards,

Anoop

Read only

Former Member
0 Likes
649

Hi Siva,

as described here, maybe a call of fm PERMIT_INIT_AFTER_POST maybe helpful in your case, because it refreshs 2 internal tables.

Please give it a try.

Regards,

Klaus