Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to know activity mode in an implemented BAdI in PR creation

Hi gurus,

In the implemented BAdI, I would like to know the activity mode.

BAdI: ME_PROCESS_REQ_CUST

Method: IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM

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.

Best Regards,

Mari

Tags:
replied

Hi Tom,

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.

Best Regards,

Mari

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question