Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Enhancement to control transport request description

$
0
0

Hi Occoro,

If you know the program name and field name, you can fetch the TR type inside implicit enhancement using Dynamic field symbol concept.

 

Please find the below code.

FIELD-SYMBOLS: <FS_VAL>TYPE BNAME.  "Use the datatype name

 

"Program Name Declaration

DATA: L_STR TYPE STRING VALUE'(PROG_NAME)FIELD_NAME'.

 

"Get the Field value

ASSIGN(L_STR)TO<FS_VAL>.

 

"Check Field value is assinged or not to prevent the dump during runtime

 

IF<FS_VAL>ISASSIGNED.

"Update/Use the variable here

ENDIF.

 

Regards

 

Rajkumar Narasimman


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>