Skip to Content
0
Former Member
May 26, 2010 at 08:27 AM

Printing address using address number

641 Views

I have the following code:

IF &PAGE& EQ 1

ADDRESSNUMBER &EKKO-ADRNR(K)&

FROMCOUNTRY &T001-LAND1&

ELSE

TITLE &LFA1-ANRED&

NAME &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&

ENDIF

In this code ' If' statement is executed, i dont understand in if block , we are displaying only 'addressnumber' and 'from country', then how come entire address is printed in the sapscript.