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

BAdI WORKORDER_UPDATE - Getting additional data in Method AT_SAVE

ramki_maley
Active Contributor
0 Likes
3,323

R/3 Enterprise 6.20.

The AT_SAVE method has only the Order Header as Import Parameter.

The documentation for the method in the Notes section says <b>"<i>To get more data about the orders, you can access the document tables of the corresponding order objects"</i></b>

I need to look at the Operations Data for a PM order before it is saved.

Has anyone done something similar and know how to read the Operations data in the AT_SAVE method?

TIA

Cheers,

Ramki Maley.

3 REPLIES 3
Read only

Former Member
0 Likes
1,703

Hi Ramki,

Try looking at 'IN_UPDATE' and see if it helps you.

thanks,

Chandra

Read only

0 Likes
1,703

Chandra,

I already did. 'IN_UPDATE' is not called before the AT_SAVE method.

BTW, below is what the doco says for 'IN_UPDATE' .

<i>Note that the method is carried out in the update process. In particular, no dialog is possible, no messages may be sent and no database commit may be executed because otherwise an orderly rollback is no longer possible.</i>

Cheers,

Ramki Maley.

Read only

ramki_maley
Active Contributor
0 Likes
1,703

Used FM 'CO_BO_OPR_OF_ORDER_GET' to get the Operations.