on 10-17-2007 8:10 AM
In SPRO address is maintained as
ST. JUDE MEDICAL S.C., INC.
807 LAS CIMAS PARKWAY
SUITE 400
Austin, TX 78746
But when i am passing address number in address node in form it is coming as
ST. JUDE MEDICAL S.C., INC
SUITE 400 807 LAS CIMAS PARKWAY
Austin, TX 78746
I am not using priority of lines.
Please help its urgent!!!
Gaurav Mittal
Hi,
If you want to format the address, then you should rather use the function module READ_TEXT. The address will be stored in an internal table. Then in the smartforms loop at the internal table to display the address.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = "pass text id here
language = nast-spras "language
name = "text name
object = "object
TABLES
lines = i_cust_text "internal table
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc EQ 0.
"do nothing
ENDIF.
Regards,
Zaheed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to print address in your own format don't use as below i
/: ADDRESS
/: ENDADDRESS
Use if like this....
&NAME&
&HOUSENUMBER&
&STREET&
&STATE&
&COUNTRY&
it will solve your problem.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.