cancel
Showing results for 
Search instead for 
Did you mean: 

how to call ADDRESS_INTO_PRINTFORM ?

Former Member
0 Kudos

Hi every one...

plz give me the code for calling ADDRESS_INTO_PRINTFORM in sap scripts

to print the address...

if possible full example

thanks and regards

pandu

Accepted Solutions (0)

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

You have to use the ADDRESS .. ENDADDRESS command in the SAPscript like this:

/: ADDRESS 
/: TITLE 'Firma' 
/: NAME 'Schneider & Co', 'Finanzberatung' 
/: STREET 'Kapitalgasse 33' 
/: POBOX '12345' CODE '68499' 
/: POSTCODE '68309' 
/: CITY 'Mannheim' 
/: COUNTRY 'DE' 
/: FROMCOUNTRY 'DE' 
/: ENDADDRESS

This produces the following output address:

Firma

Schneider & Co

Finanzberatung

Postfach 12345

68499 Mannheim

You can replace the hardcoded values with the respective variables from the ADRC table.

SAPscript makes an internal call to the ADDRESS_INTO_PRINTFORM function

module for formatting the address.

Regards,

Naimesh Patel