cancel
Showing results for 
Search instead for 
Did you mean: 

Address format(address layout key problem)

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

david_liu1
Advisor
Advisor
0 Kudos

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