Skip to Content
avatar image
Former Member

Address format(address layout key problem)

Hi All,

There seems to be a problem the way FM address_into_printform is formatting the address.

Address currently on the form is coming like below:

___________________________

AGRI-M LTD

Vasisk Aprilso Str 138. PB 135

BG-4003 PLOVDIV

___________________________

Address should come as below:

___________________________

AGRI-M LTD

Vasisk Aprilso Str 138. PB 135

4003 PLOVDIV

BULGARIA

___________________________

Issue here is that country BG(Bulgaria) which should come as "BULGARIA" and not just as "BG"(This is just a short form).

I debugged the function module and i found that when address layout key(t005-addrs) is set in customizing as "001" then system is printing the third line as "BG" but when I removed the "001"(in debugging) then it translates it to "BULGAIRA"(which is required).

I did not throughly debugg to see exactly at what time this happens(when it is set to BG and when it is set BULGARIA).

What do you think ? I know in customizing, removing this value 001 will work but do you have any idea whether it will create any problem for address format when it comes to priority(street over postal code or postal code over street).

Is there any other workout so that format comes as required.

Regards,

Marc

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 03, 2010 at 12:37 AM

    Hello,

    In transaction OY01 or IMG menu path:

    General Settings-> Set countries-> Define countries-> Position JP and

    then go to the details.

    You will see an address layout structure key. The standard for Japan is

    013. For more information on the address layout structure key, place

    your cursor in the field and press the F1 help. The documentation is

    very complete.

    They are based on different national and international guidelines and

    norms, including:

    ISO 11180,

    contracts of the World Postal Union (Seoul 1994),

    international address samples from the World Postal Union

    as well as the available rules of the individual countries.

    "Customers can program their own formatting routines using a customer

    exit. The SZAD0001 SAP enhancement has been defined in development class

    SZAD for this (-> transaction CMOD)."

    Regards,

    David

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 04, 2010 at 07:26 PM

    Hello,

    When mailing between EU countries

    AGRI-M LTD

    Vasisk Aprilso Str 138. PB 135

    BG-4003 PLOVDIV

    is the correct format according to postal regulations.

    You can get

    AGRI-M LTD

    Vasisk Aprilso Str 138. PB 135

    4003 PLOVDIV

    BULGARIA

    by changing the FROMCOUNTRY value in ADDRESS to something outside the EU.

    Regards,

    Michael

    Add comment
    10|10000 characters needed characters exceeded