Skip to Content
0
Former Member
May 06, 2013 at 03:46 PM

not able to pass work area data to sap script

162 Views

Hi gurus,

I have to pass some work area data to sap script , i have checked in debug mode also i am not able to see any value in sap script debug mode.

Below is the sample code.

data : wa_track type tp_track.
loop at it_track into wa_track.
perform set_trkid using '&VHILM_KU&' wa_track-VHILM_KU.
endloop.

form SET_TRKID using VHILM_KU VHILM_KU1.
data : wa_track type tp_track.

loop at it_track into wa_track.


VHILM_KU1 = wa_track-VHILM_KU.

endloop.

endform. " SET_TRKID

attached is the code where i am paasing the internal table data

Script code is shown below

MG &WGBEZ+0(30)&

MG &WGBEZ+30(30)&

/: ENDIF.

CP TRACKING ID:

RF &VHILM_KU&

CP &VHILM_KU1&

MG &VHILM_KU1&

MG &VHILM_KU&

please help it is bit urgent.

Attachments