How to know activity mode in an implemented BAdI in PR creation
In the implemented BAdI, I would like to know the activity mode.
But I cannot find T180-TRTYP in the implementation point.
Is there any other way I can check the activity mode (creation/change/display)?
I need to check the activity mode to handle if I can proceed with the add-on logic or not.
Your feedback would be greatly appreciated.
Mari Sugahara replied
Thanks a lot for your feedback.
We've tested your solution and it seemed OK, but actually we came up with another solution.
There is IM_TRTYP in method ~OPEN, and we can pass it to memory ID then read it in ~PROCESS.
Thanks anyway for your help.