11-05-2013 10:41 AM
Hello,
I am creating the travel request from ESS, my requirement is to add 2 days extra per-diem when travel request is created. Kindly let me know is there any enhancement or user exit or badi to solve this issue?
Regards
Srinivas
11-05-2013 12:13 PM
Hi Srinivas,
I don't know which badi is correct for you, but I think I can help you find one.
In the backend your ESS scenario will be calling a function module or Bapi or something to create the travel request. If you execute this object, in the backend system, after doing the below you should see all available user exits and badis.
Go to class CL_EXITHANDLER, Method GET_INSTANCE, then put a breakpoint after 'call method cl_exithandler=>get_class_name_by_interface' i.e. at line 28 'case sy-subrc'; then run your FM/Bapi (from above) again and you will get all user exits and badis. It will not show you the enhancement points, but all badis etc. will be there.
Hope this helps.