on 2016 May 20 12:02 PM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.