/scripts/ahub.form.attachments.js
0

CMOD code backend table

Oct 12, 2016 at 04:24 PM

154

avatar image

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

10 |10000 characters needed characters left characters exceeded
0
* Please Login or Register to Answer, Follow or Comment.

7 Answers

Nanda Anantha Oct 13, 2016 at 04:24 PM
0

Hi Rahul,

Please check below

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

Regards

Nanda

Share
10 |10000 characters needed characters left characters exceeded
Rahul Sindhwani Oct 14, 2016 at 07:17 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Mario Tibollo Oct 17, 2016 at 08:40 AM
0

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

M.

Share
10 |10000 characters needed characters left characters exceeded
Rahul Sindhwani Oct 17, 2016 at 09:46 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Shanthi Bhaskar Oct 18, 2016 at 05:51 PM
0

check this RRM_SV_VAR_WHERE_USED_LIST_GET FM.

Share
10 |10000 characters needed characters left characters exceeded
Donnie Burhan Oct 19, 2016 at 02:16 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Arun Varadarajan Oct 20, 2016 at 03:01 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content