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

Update Process Order Operation/Activity

Former Member
0 Likes
878

Hi All,

I have a requirement that would need to update process order operation/activity. For example, if a certain material is valid for order split which currently have operation number 0040, the second part of the split should be 0041. Do you know an exit applicable to perform this change?

Thanks,

Trixa

4 REPLIES 4
Read only

former_member184497
Participant
0 Likes
763

Hi,

Declare two internal tables one contains filtered value, and another one containing all the values.

Once user updates the filtered values update in the main table.

You can try this approach.

Read only

0 Likes
763

I'm still investigating where should I put my code. Do you happen to know an enhancement or exit for this?

Thanks,

Trixa

Read only

0 Likes
763

Trixa,

Use WORKORDER_UPDATE BADI and with BEFORE_UPDATE Interface; put your desired code.inside it. To do that create a New Classic BADI Implementation  thru SE19 with BAPI Definition Name as 'Workorder_Update'. Also create new implementing class with Interface 'IF_EX_WORKORDER_UPDATE'.

It will work.

With Regards,

Ritwik

Read only

0 Likes
763

Hi Ritwik,

The code to be implemented inside the BADI will only be triggered after clicking SAVE, right? The requirement that I'm working on is to create a new menu button that if clicked will trigger process order update. Is it still applicable to use same BADI?

Thanks,
Gibi