cancel
Showing results for 
Search instead for 
Did you mean: 

CMOD code backend table

Former Member

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

Former Member

Accepted Solutions (0)

Answers (7)

Answers (7)

former_member184494
Active Contributor
0 Kudos

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

donnie_burhan
Participant
0 Kudos

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.

shanthi_bhaskar
Active Contributor
0 Kudos

check this RRM_SV_VAR_WHERE_USED_LIST_GET FM.

Former Member
0 Kudos

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

former_member186445
Active Contributor
0 Kudos

you can use table RSZGLOBV. Processing type would be 3 or 4 (customer/SAP exit)...

M.

Former Member
0 Kudos

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

ccc_ccc
Active Contributor
0 Kudos

Hi Rahul,

Please check below

Go to SE37-->EXIT_SAPLRRS0_001-->ZXRSRU01 you can see all code over here.

Regards

Nanda