Skip to Content
Former Member
May 18, 2011 at 07:19 AM

Standard text field values not getting printed in SAP SCRIPT


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?