cancel
Showing results for 
Search instead for 
Did you mean: 

mandatory empty line in ADDRESS and ENDADDRESS in SAP SCRIPT

Former Member
0 Kudos

Hi All,

i used the below code for printing address on the form

ADDRESS PARAGRAPH AS

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.

as per the syntax of ADDRESS and ENDADDESS A compulsory empty line should appear after street address/PO BOX, but these mandatory empty line is not appearing on the form .Please anyone provide the solution.

FROM COUNTRY(sender country) and COUNTRY(receiving country) Both are GERMANY(DE)

Edited by: sharaths on Feb 21, 2012 3:12 PM

Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Germany has its own address formatting routine (015). According to the documentation of data element ADDRS_005, there is no empty line after the street address if the sender country is Germany. The example shows an empty line when the sender country is the USA.

If you don't get the result you're looking for, there is always the possibility to create an own address formatting routine using the SMOD enhancement SZAD0001.

Check the documentation of function module ADDRESS_INTO_PRINTFORM for details.

Answers (0)