2005 Aug 18 3:27 PM
hi folks,
I need to display the address in the smartform in a particular format like this:
Target
120 Adams Ave
LINCOLN MN 55120-1234
where as using the 'address node' in the smartform the address gets displayed like this,
Company
Target
120 Adams Ave
LINCOLN MN 55120
USA.
How can I change to the required format?
Thanks in advance
Santhosh
2005 Aug 18 3:42 PM
Hi
I suggest to not use the Address statement of Smartform which is a pre-formatted block.
You can use your own address layout selecting data in the ADRC table with your add number.
Hope it helps,
Erwan.
hi folks,
I need to display the address in the smartform in a particular format like this:
Target
120 Adams Ave
LINCOLN MN 55120-1234
where as using the 'address node' in the smartform the address gets displayed like this,
Company
Target
120 Adams Ave
LINCOLN MN 55120
USA.
How can I change to the required format?
Thanks in advance
Santhosh
2005 Aug 18 3:31 PM
Hi Santosh
Go to your form, See if 'Company' is hardcoded on the Smartform? If yes, remove it.
And for 'USA', see if there is any field like 'land'/'land1' there? If yes, remove it.
Regards
Ashish Jain
2005 Aug 18 3:42 PM
Hi
I suggest to not use the Address statement of Smartform which is a pre-formatted block.
You can use your own address layout selecting data in the ADRC table with your add number.
Hope it helps,
Erwan.
2005 Aug 18 3:42 PM
Santhosh, according to the SmartForms on-line documentation, FM ADDRESS_INTO_PRINTFORM is used to format the address according to country standards. You can implement a user exit to format the address in any format you want. Also, to get rid of the USA, put US in the SENDING COUNTRY BOX. Hope this helps.
Buster Hale
2005 Aug 18 3:52 PM
Hi Santosh,
Two ways you can format the address.
1. Instead of using the address node, have a text node and give fields for the address. You can get the complete address using the function module ADDR_GET.
2. Otherwise implementing the user exit SZAD0001. You can get an extensive help on this in the exit (SMOD).
Thanks
Vinod
2005 Aug 18 5:28 PM
2005 Aug 18 5:33 PM
hi Vinod,
I used that approach before your posting and got it, but definitely thanks.
2008 Nov 13 4:17 PM
Hi Santhosh,
I am also getting that COMPANY when i used address node.
Can you please share the complete solution here.
Thanks
Kiran
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |