Skip to Content
0
Sep 03, 2019 at 12:56 PM

SAPSCRIPT program: need source code to trigger a data from a structure and display in a form

559 Views Last edit Sep 03, 2019 at 12:55 PM 2 rev

Hello experts,

first of all, i'm not abaper but a saw several program so, i'm trying...

i'd like to trigger the value of structure QALS_D02 fields VNAME and assign it to a variable V_USER:

this is my program in sapscript:

/ : DEFINE &V_USER& = &QALS_D02-VNAME&

/ : READ QALS_D02 WITH INDEX

/ : SELECT VNAME FROM QALS_D02 INTO V_USER WHERE

QALS_D02-LS_VBELN EQ VBDPL-BSTKD

<B>User ID : &*V_USER& </>

(note that VBDPL-BSTKD is the delivery number that we are processing)

thanks in advance for you king help

Koubra