Skip to Content

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

During debug how to know whether call is from Cockpit or Freight Order UI or POWL etc ?

Suppose I do some change from Cockpit or Freight Order UI or POWL, is there any way to find out in debugging from where the call originated ?

I have a Custom Validation on TOR-Root node in which certain logic has to be suppressed IF the call is from Cockpit. If the call is from Freight Order UI, or any POWL the logic will be executed.

Former Member
Former Member replied

Got the solution.

We can get an instance of FPM, using the cl_fpm_factory=>get_instance(). From the instance, use the get_runtime_info() method to get the application id etc compare with what is coming from Cockpit/Freight Order UI/POWL and place separate logic for each of them.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question