cancel
Showing results for 
Search instead for 
Did you mean: 

How to print ADDRESS in SAP Script

Former Member
0 Kudos

Hi All,

I want to print address using ADDRESS command in SAP script. I am using folowing code:

ADDRESS PARAGRAPH AS

TITLE &ADRS-ANRED&

NAME &ADRS-NAME1&, &ADRS-NAME2&,

STREET &ADRS-STRAS&

POBOX &ADRS-PFACH& CODE &ADRS- PSTL2& CITY &ADRS-PFORT&

POSTCODE &ADRS-PSTLZ&

REGION &ADRS-REGIO&

CITY &ADRS-ORT01&, &ADRS-ORT02&

COUNTRY &ADRS-LAND1&

FROMCOUNTRY &ADRS-INLND&

ENDADDRESS

Here in output I am getting Title, name1, & name2 in different lines. But I want that Title, name1 and name2 in same line.

I tried putting title, name1 and name2 in same line but then neither title nor name1, name2 are getting displayed.

Please tell me how I can do the same.

I have heard that SAP displays the address according to country standard. Please let me know in which table the country specific setting is stored.

Regards,

Vijay

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi

Use table T001W for country codes,

and T005 table for country.

Former Member
0 Kudos

Hi

U can use Th FM

address_into_printform in your print program .

fetch data to an internal table loop it n pass value to script window

ravishankar_reddy2
Active Participant
0 Kudos

Hi,

country code stored in this T005T. Adjust the tab positions on script then only u will get all the title, name1, name2 will get in one line.

regards,

ravi shankar reddy