‎2008 Mar 28 5:29 AM
Hi..
how do you write include in a smartform? for exmplae this is the include statment i have:
INCLUDE &VBDKA-ZTERM& OBJECT TEXT ID SDTP PARAGRAPH L.
Regards,
Srihari.
‎2008 Mar 28 5:33 AM
Hi,
It is as just the script. Just go to the text editor You can use the code as follows.
1. Click on the window.
2. Click the Text node
2. Just goto the editor then give the code for text symbol.
Regards,
Sankar.
‎2008 Mar 28 5:38 AM
Hi
goto the window in which u want to write the include statement....and in text editor call the include......
it is same as scripts....
‎2008 Mar 28 5:39 AM
Hi this the coide for inserting a include text.The state ment includes the include text VBDKA-ZTERM.
‎2008 Mar 28 5:58 AM
With the help of include command you can do the same.
Procedure
Create a text node in the navigation tree of the Form Builder.
Enter a unique name for the node and a node description (for example, letter).
On the General Attributes tab, choose Include Text as text type.
Since you use a text node exclusively to edit a text element, an included text, or a text module, the system only stores information on the selected type. When you change the text type, the system therefore asks for your confirmation.
In the Text Key box, identify the include text.
To identify individual text objects, use the search help in this field.
The search help for the Text Name field allows you to include the attributes of SAPscript texts in the search.
Use the Language field to specify the language of the text you want to include.
If necessary, format the include text in the Paragraph Formats box:
The style that is assigned to the text node contains the format for the standard paragraphs (' * '). If you specify a paragraph format in the Standard paragraph field, you override this format for all standard paragraphs in the include text with this paragraph format.
In the First Paragraph field, you can set a paragraph format for the first paragraph of the include text and thereby override the setting in the style. If the Standard paragraph field is empty, all standard paragraphs in the include text are also formatted with this paragraph format.
In the Begin list box, choose whether you want the text to start with a new paragraph or just in a new line. You can also choose to append the text directly to the end of the current paragraph.
Select the No Error if Text Does Not Exist checkbox if you want the form to be printed even if the include text you refer to does not exist in the system. Otherwise, processing is terminated and an error message appears.
If required, use the output options tab to maintain attributes for the style, box, and shading of the text.
http://help.sap.com/saphelp_nw2004s/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm
http://www.erpgenie.com/abap/smartforms_detail.htm
http://saplab.blogspot.com/2007/09/simple-smartform-tutorial.html
Please reward points for the same.