cancel
Showing results for 
Search instead for 
Did you mean: 

Country does not appear while printing

Former Member
0 Kudos

Hi All,

I am facing a problem regarding SAP Script in address printing. The country does not get printed in the address window for particular country hungary.

The values are getting fetched properly and the value is present in the text element as well while debugging the script.

The ADDRESS...ENDADDRESS is being used to print the address.

Following is the code.

ADDRESS PARAGRAPH AP LINES 5

NAME &INVO-NAME1&, &INVO-NAME2&, &INVO-NAME3&

STREET &INVO-STREET& HOUSE &INVO-HOUSE_NU1&

POBOX &INVO-PO_BOX& CODE &INVO-POST_CODE2& CITY &INVO-PO_BOX_LOC&

POSTCODE &INVO-POST_CODE1&

CITY &INVO-CITY1&

COUNTRY &INVO-COUNTRY&

REGION &INVO-REGION&

FROMCOUNTRY &T005T-LAND1&

ENDADDRESS

For other countries like United Kingdom,the country appears fine.There is no window size problem.Table entries maintained are fine.

Could there be any configuration settings for address format??

Have checked SM30-v_t005.

Could anyone please suggest what could be wrong.Thanks for your help!

Regards,

Gowthami SK

Accepted Solutions (0)

Answers (2)

Answers (2)

nabheetscn
Active Contributor
0 Kudos

Please address node documentation for the same

play with priority etc..

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

Nabheet

Former Member
0 Kudos

Problem solved.If the countries of sender and receiver are same.the country does not appear in the address.

Former Member
0 Kudos

Havr set country using "SET COUNTRY" command??

Plese check this blog as well:

-


The ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter. The reference fields are described in the structures ADRS1, ADRS2, or ADRS3, depending on the type of address. Either direct values or symbols may be assigned to the parameters.

Syntax:

/: ADDRESS DELIVERY TYPE t PARAGRAPH a PRIORITY p LINES l

/: TITLE title

/: NAME name1[,name2[,name3,name4]]

/: PERSON name of natural person TITLE form of address

/: PERSONNUMBER number of the personen

/: DEPARTMENT department

/: STREET street name HOUSE house number

/: LOCATION additional location information

/: POBOX po box CODE post code / zip code CITY city

/: POSTCODE post code / zip_code

/: CITY city1,city2

/: NO_UPPERCASE_FOR_CITY

/: REGION county / state

/: COUNTRY recipient country LANGUAGE language code

/: COUNTRY_IN_REC_LANG

/: LANG_FOR_COUNTRY language key

/: FROMCOUNTRY sender country

/: ADDRESSNUMBER address number

/: ENDADDRESS

The parameter values contain both formatting and address information. The address data are formatted for output according to the data in the following parameters:

TYPE

FROMCOUNTRY

COUNTRY

LANGUAGE

PRIORITY

DELIVERY

LINES

If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.