Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get data from a background running program RV56TRGN (t-code VT04)

Former Member
0 Kudos

Hi,

I have a requirement to code in an user exit EXIT_SAPLV56S_001. In this user exit, i will need to find out if the program running in background is RV56TRGN, then get it's global data G_TVTK-SHTYP and do the rest of processing.

How do I get the data value of G-TVTK-SHTYP in RV56TRGN in the user exit?

Thanks

1 ACCEPTED SOLUTION

former_member555112
Active Contributor
0 Kudos

Hi,

Can you just check in debug if the variable is accessible by typing in as follows:-

(RV56TRGN)variable name.

Incase it is then extract the value using field-symbols as follows:-

ASSIGN (y_k_prgname1) TO <fs> where Y_K_PRGNAME1 = (RV56TRGN)variable name

Regards,

Ankur

2 REPLIES 2

former_member555112
Active Contributor
0 Kudos

Hi,

Can you just check in debug if the variable is accessible by typing in as follows:-

(RV56TRGN)variable name.

Incase it is then extract the value using field-symbols as follows:-

ASSIGN (y_k_prgname1) TO <fs> where Y_K_PRGNAME1 = (RV56TRGN)variable name

Regards,

Ankur

venkatesan_nagiah
Active Participant
0 Kudos

Yo can check SY-BATCH = 'X', then the program is running in background