on 10-12-2016 5:24 PM
HI ALL,
I am trying to find out the input ready variables which are being used to populate the customer exit variables using CMOD.
Example: When 'ZVAR_EXIT'.
READ TABLE i_t_var_range INTO ls_t_var_range
WITH KEY vnam = 'ZVAR_TVAR'."
In above example ZVAR_TVAR is the input ready variable. I want to create a where used report of such variables which are input ready and are used in CMOD code to populate the customer exit variable. I don't find any standard way to do it.
Can someone help on this.
Thanks,
Rahul Sindhwani
Rahul,
I dont think there is a standard way to do thiss. The ABAP code is of course stored in backend tables but then it is not directly referenced so that you can find the backend table for CMOD code . However you can have a look at the RSABAP table as a starting point and do a search there for vnam.
The phrase vnam however might be used in multiple other scenarios and might give incorrect results but is worth a try....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Have you make sure that you're using the right STEP?
As I understand from your code, ZVAR_EXIT is calculated after ZVAR_TVAR which is an input-ready variable.
Then the ZVAR_EXIT must be called in STEP = 2, which only then ZVAR_TVAR will only be recognized and filled with values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this RRM_SV_VAR_WHERE_USED_LIST_GET FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mario thanks for reply.
Example: When 'ZVAR_EXIT'.
READ TABLE i_t_var_range INTO ls_t_var_range
WITH KEY vnam = 'ZVAR_TVAR'."
I want ZVAR_TVAR which is input variable but used in customer exit code. So taht cannot be found in RSZGLOBV. with processing type 3 or 4
Hope it is clear.
Thanks,
Rahul S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can use table RSZGLOBV. Processing type would be 3 or 4 (customer/SAP exit)...
M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I can see the code, need the backend table for it, I need to build a logic where i need to find all variables being used in ZXRSRU01
Thanks,
Rahul S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Please check below
Go to SE37-->EXIT_SAPLRRS0_001-->ZXRSRU01 you can see all code over here.
Regards
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.