cancel
Showing results for 
Search instead for 
Did you mean: 

ADDRNUMBER in sapscript

Former Member
0 Kudos

Hello Everyone,

I am using following to get the address in sapscript:-

/:  ADDRESS

/:  ADDRNUMBER

/: ENDADDRESS

It prints the 6 lines of address as

Name1

Name2

street, house number

street 5

postal code , city ,region

My issues are :-

1) Country is not getting printed

2) How can i use the above code to print only Name1 and name2

If I use ADDRESS LINES 2 ,

then it prints Name1 and street,house number. It does not print name2

Thanks in advance

Mona

Accepted Solutions (0)

Answers (1)

Answers (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

In tcode OY01 you have a field for the format of address (by country). If you read the help, you can see it is managed by the function module  ADDRESS_INTO_PRINTFORM, and that you have available the enhancement SZAD0001. Please, read this info in this field, it's quite useful.

I hope this helps you

Regards

Eduardo