on 10-29-2015 7:30 PM
Hi All,
I just want to see the output values of SAP exit variables used in the Bex Query designer. By seeing some of the threads, i came to know that, one of the standard functional module RSVAREXIT_<SAP EXIT>.
From the above link, for the calday, the standard variable is 0CWD is shownc in the document. But if i give the funtional module as RSVAREXIT_0CWD, it is showing error as function module doesnt exists. Can you please guide me how to see the values for SAP exit variables. ie)0CWD. Is it possible to see 0CWD from business content ?
Thanks.
Hi Jalina
Below is the code for the variable 0CWD. Its available in the FM RREX_VARIABLE_EXIT. You will find the code for most of the variables here.
i_vnam = g_c_exitvnam-cwd.
CLASS cl_rsr_hierarchy_virt DEFINITION LOAD.
l_fcalid = cl_rsr_hierarchy_virt=>n_s_admin-cal_id.
l_date = sy-datum.
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
correct_option = '-'
date = l_date
factory_calendar_id = l_fcalid
IMPORTING
date = l_actdate.
l_s_range-low = l_actdate.
The code will get the current work day based on system date and the FM 'DATE_CONVERT_TO_FACTORYDATE'.
The FM RSVAREXIT_<Variable name> will not suit for all variables. If you want to know which variables are available that way, just type RSVAREXIT_* in SE37 and you will find the details.
If you don't find there, go to the other FM RREX_VARIABLE_EXIT
Regards
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.