cancel
Showing results for 
Search instead for 
Did you mean: 

Error in printing STREET value using sapscript comd ADDRESS ... ENDADDRESS

Former Member
0 Kudos
65

Hi,

The value of STREET is not displaying , I have checked in form debug mode where i am getting STREET vale.

please see the below piece of code..

ADDRESS PARAGRAPH AD

TITLE &DKADR-ANRED&

NAME &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&

STREET &DKADR-STRAS&

POBOX &DKADR-PFACH& CODE &DKADR-PSTL2&

CITY &DKADR-ORT01&, &DKADR-ORT02&

POSTCODE &DKADR-PSTLZ&

COUNTRY &DKADR-LAND1&

REGION &DKADR-REGIO&

FROMCOUNTRY &DKADR-INLND&

ENDADDRESS

Please help me out . Checked with existing threads also.

Regards

Deepa

Accepted Solutions (1)

Accepted Solutions (1)

satyajit_mohapatra
Active Contributor
0 Kudos

STREET will appear, if the address is a delivery address.

Try using /:ADDRESS DELIVERY.....

If it's stiil not working, you can call FM ADDRESS_INTO_PRINTFORM using PERFORM-ENDPERFORM in the sapscript to fetch the complete address.

Former Member
0 Kudos

Hi ,

When I used DELIVERY , here STREET value is displaying but other details like COUNTRY-POSTAL CODE and CITY are showing in different format also in upper case.

Regards

Deepa

nabheetscn
Active Contributor
0 Kudos

Please check the above mentioned link and try to play with the country and priority.

Thanks

Nabheet

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Deepa,

check the Function Module - ADDRESS_INTO_PRINTFORM documentation, it clearly explains.

satyajit_mohapatra
Active Contributor
0 Kudos

It may be due to format settings for the 'Country', you are using. Check the documentation for ADDRESS-ENDADDRESS below...

Try with the different options available...

http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm

If you need the address to be in specific format use FM ADDRESS_INTO_PRINTFORM and print each line manually.

mithun_shetty4
Contributor
0 Kudos

Display of Street address/ PObox etc under the statement ADDRESS and ENDADRRESS depends on the country format.

for which country you are printing this address . Probably change the country and try out if u get the street value