on 08-26-2009 11:12 AM
Hi experts,
small problem:
I have got a address window in my form, filled this way:
ADRESS PARAGRAPH AS
TITLE
NAME
STREET
CITY
POSTCODE
ENDADDRESS
Which means the address would look like this:
Name
Street Streetnumber
Postcode City
But for Hungary I need the follwoing sequence:
Name
Postcode City
Street Streetnumber.
I thought this would be done automatically..unfortunatelly not.
What can I do to get the address the other way?
Thanks
Michael
Hi Michael,
try this addresroutine: (example for Invoice)
ADDRESS PARAGRAPH AS
ADDRESSNUMBER &VBDKR-ADRNR(K)&
FROMCOUNTRY &VBDKR-SLAND&
ENDADDRESS
fill 'HU' in the parameter FROMCOUNTRY and the address will be formated as in costomizing (table t005-ADDRS)
defined.
Regards Gerd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
I would suggest to have an IF condition to achieve this.
I believe you need this requirement only for Hungary & for other countries,
Pseudo code :
If Country code = 'hungary'
Name
Postcode City
Street Streetnumber.
else.
Name
Street Streetnumber
Postcode City
endif.
Hope this will throw a light.
-Sujatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujatha,
this one I tried before I posted - but it's not the solution.
I I use ADDRES...ENDADRESS, SAP uses function "ADDRESS_INTO_PRINTFORM" to format the given address (it doesn't matter in which sequence I enter it in SAPscript)
This function formats the address based on different guidelines (correct me if I'm wrong).
Problem is that I can't find a guideline that fits my requirements (city BEFORE street).
Any other solutions?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.