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.
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.