cancel
Showing results for 
Search instead for 
Did you mean: 

Standard text field values not getting printed in SAP SCRIPT

Former Member
0 Kudos

Hello All,

I am calling a program which eventually calls SAP Script. In the script, standard text is called.

That standard text is not seen when i call that program from my program.

e.g. &I_KNA1-NAME1& &I_KNA1-NAME2& are not seen.

But the other standard text is seen e.g. &vbdkr-name1_we& , &vbdkr-stras_we& .

vbdkr is declared using TABLES statement and I_KNA1 is declared as

DATA: BEGIN OF i_kna1,

name1 TYPE kna1-name1,

name2 TYPE kna1-name2,

ort01 TYPE kna1-ort01,

pstlz TYPE kna1-pstlz,

regio TYPE kna1-regio,

stras TYPE kna1-stras,

END OF i_kna1.

This standard text is seen when i run the script program alone. Can anybody tell me the reason for the same?

Thanks.

Kumail

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

in order to make this work, you need to have declared those variable GLOBALLY in your DRIVER PROGRAM.

Answers (0)