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 MIRO Get Previous Data

Former Member
0 Likes
831

Hi,

I need to get in a BADI for MIRO tx the previous data , so I can check if there is a difference with the entered data and trigger an error message.

Thanks,

1 ACCEPTED SOLUTION
Read only

former_member182371
Active Contributor
0 Likes
737

Hi,

have a look at badi INVOICE_UPDATE.

Check this too:

http://scn.sap.com/thread/1474648

Best regards.

Hi,

I need to get in a BADI for MIRO tx the previous data , so I can check if there is a difference with the entered data and trigger an error message.

Thanks,

4 REPLIES 4
Read only

former_member182371
Active Contributor
0 Likes
738

Hi,

have a look at badi INVOICE_UPDATE.

Check this too:

http://scn.sap.com/thread/1474648

Best regards.

Read only

0 Likes
737

Hi,

Im using that Badi but how to get previous data?

Read only

0 Likes
737

Hi,

in method CHANGE_AT_SAVE you have these parameters available:

*S_RBKP_NEW

*S_RBKP_OLD

*TI_RSEG_NEW

*TI_RSEG_OLD

*TI_RBCO_NEW

*TI_RBCO_OLD

*TI_RBMA_NEW

*TI_RBMA_OLD

*TI_RBTX_NEW

*TI_RBTX_OLD

*TI_RBVS_NEW

*TI_RBVS_OLD

*TI_RBWS_NEW

*TI_RBWS_OLD

*I_UPDATE_FLAG

Best regards.

Read only

Former Member
0 Likes
737

Hi Luis,

Chekc below.

In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.

Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed.

Check these three Method and also Parameter Data which conatisn ur data.

Thanks

Tarak