cancel
Showing results for 
Search instead for 
Did you mean: 

queries on ADDRESS and ENDADDRESS Format in sap script

Former Member
0 Kudos

HI all,

i am using below code to print the address on the script, i don't have any driver program and it will be called from F110 TCode.

ADDRESS PARAGRAPH AS PRIORITY P

TITLE &REGUH-ZANRE&

NAME &REGUH-ZNME1& &REGUH-ZNME2& &REGUH-ZNME3&

STREET &REGUH-ZSTRA&

POBOX &REGUH-ZPFAC& CODE &REGUH-ZSPST2& CITY &REGUH-ZPFOR&

POSTCODE &REGUH-ZPSTL&

REGION &REGUH-ZREGI&

CITY &REGUH-ZORT1&&REGUH-ZORT2&

COUNTRY &REGUH-ZLAND&

FROM COUNTRY &T001-LAND2&

ADDRESS NUMBER &REGUH-ZADNR&

ENDADDRESS.

Now my requirement is there should be a blank line between street and the city. pls anyone help how to add blank line in between and the country code is for DE(GERMANY).

Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

The address formatting is determined by field T005-ADDRS. You can read the (extensive) documentation for data element ADDRS_005 to see the details.

Germany has address routine 015 assigned in the standard. If you want to change the way the addresses are formatted, there is an SMOD/CMOD enhancement SZAD0001 which allows modification of the standard formatting. You could insert empty lines that way. Keep in mind that such a change will be then system-wide, so all German addresses will have the changed formatting, not just in your script.

Answers (0)