How to define variable in SAPscript

You can define variable in SAPscript by apply statement ’DEFINE’.

Example: We will define variable name = ’TXT1’ and initial value = ’Text1’. After we already define it, we will write a value of field.


/: DEFINE &TXT1& = ’Text1’
*  Test Define Text = &TXT1&
img10

The Output is

 img11

Post new comment