‎2007 May 15 10:14 AM
Hi i am working on smartforms and I have to print address. ow I will do that in smartforms. Anybody can tell me that.
Thanks & regrads....
‎2007 May 15 10:19 AM
Hi
Address of Whom?
Customer, vendor, Plant or whom?
All addresses are stored in ADRC table.
you fetch the address from the table ADRC using the ADRNR field first by writing a select.
and display them using that data with the help of a proper paragraph format.
Reward points if useful
Regards
Anji
‎2007 May 15 10:19 AM
Hi
Address of Whom?
Customer, vendor, Plant or whom?
All addresses are stored in ADRC table.
you fetch the address from the table ADRC using the ADRNR field first by writing a select.
and display them using that data with the help of a proper paragraph format.
Reward points if useful
Regards
Anji
‎2007 May 15 10:21 AM
In many applications, addresses are administered using the Central Address Administration . Depending on how the address is used, the application uses a particular address type. The addresses are stored in the database tables of the central address administration and identified by the application via a number.
You use the address node to insert an address into the form. This guarantees that the address is formatted according to the postal rules of the sender country.
Prerequisites
Your application must administer addresses using the central address administration. Otherwise you must use the text node to insert your addresses.
Procedure
1. To create an address node, call the context menu for that node in the tree structure that you
want to contain the text and choose Create Text.
Create the address node as direct successor of the page node or use the context
menu in the layout of the Form Painter. You can then position the address anywhere
on the page.
2. Enter a unique name for the node and a description (for example, customer address).
3. Determine the address type on the General attributes tab.
For a description of how to determine the address type dynamically and how to use
fields instead of fixed values, see Using Parameters in the Form .
4. For organization addresses you must specify only an address number. For any other address types, you must specify a person number and an address number. To do this, use the search help.
5. In the box Additional address specifications you can maintain other attributes to specify how you want to display the address:
Use field Output starts with paragraph to set the paragraph format of the style that you want to use to display the address.
If the number of lines you specify in the field Number of lines to be used is smaller than the number of lines required to display the address, the central address administration suppresses lines of the address.
As default, the system uses as sender country the country that was specified when creating the address. You can use the parameter Sender country to overwrite this setting.
For addresses that have a P.O. box as well as a street address, use the other fields in the box to determine which of these addresses to display.
SAP AG SAP Smart Forms (BC-SRV-SCR)
Inserting Addresses
April 2001 49
6. If desired, you can use the Output Options [Seite 37] tab to maintain attributes for style, box, and shading of the text. In addition, you can set values for position and size of the output area (instead of in the Form Painter).
Result
The system displays the node including name and description in the tree structure. If you insert the address as direct successor of a page or by using the Form Painter, the system displays an extra output area for the address. The address itself is inserted only at the moment the form is processed. You cannot view it in the Form Builder.
‎2007 May 15 10:25 AM
Hi Abhay,
Go throught the links given below
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Regards,
Harini
‎2007 May 15 10:30 AM
Hi,
If the address is to be printed on each and every page , then you should take a seperate window for that and take a text node in that window and then write the address into that text node.
If you don't want the address on each and every page of your document then simply add a text node in your main window and then write the address in that text node.
Regards,
Balakrishna.N
‎2007 May 15 10:38 AM
Hi,
In a window create address, as from the printprogram u know the address number, just write that field name in address number. Hope it solve ur question.
Reward if helpful.
Regards,
Karthick