cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify changed rows in BBP_DOC_CHECK_BADI ?

Former Member
0 Kudos
128

Hi Experts,

I have a requirement to give an error message if a row is changed in SRM PO for which some custom fields are marked. We need to identify the changed rows in the DOC check badi for this purpose, how to achieve?

Do we need to export the data from DOC_CHANGE to DOC_CHECK? or there is any better mechanism?

This may be a silly question, however, any leads would be helpful.

Thanks

Mohit

View Entire Topic
RicardoRomero_1
Active Contributor
0 Kudos

Hi,


I don't know if there is a proper method to know that...

As a workaround what you can do is create an attribute in the class and fill it with the items you get using FM BBP_PD_PO_GETDETAIL at the end of the method.

Next time the badi is triggered you can compare the items you obtain in BBP_PD_PO_GETDETAIL with the items you have in your attribute.

The problem is that the badi check is triggered several times in a row... so maybe you need to control when to update the attribute table...

Regards,
Ricardo.

Former Member
0 Kudos

Thanks Ricardo, I am also checking if there is any other custom way already in my client's system to control this, if not, will try this method.

Thanks again

Mohit