Skip to Content
avatar image
Former Member

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?

Thanks.

Kumail

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 18, 2011 at 09:32 AM

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

    Add comment
    10|10000 characters needed characters exceeded