Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SMARTFORMS and Texts Elements

Former Member
0 Likes
1,919

Hello All,

I'm creating a new form using Smartforms. In the Main Window I want to put two different text elements, Can I specify the position in the Main for the text elements to be shown?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,235

Hello Mauro,

Templates will help you to specify exact positions for your text elements.

http://help.sap.com/saphelp_47x200/helpdata/en/d2/69a157cd8b11d3b563006094192fe3/content.htm

Br,

Hannu

Message was edited by: Hannu Alakangas

5 REPLIES 5
Read only

Former Member
0 Likes
1,236

Hello Mauro,

Templates will help you to specify exact positions for your text elements.

http://help.sap.com/saphelp_47x200/helpdata/en/d2/69a157cd8b11d3b563006094192fe3/content.htm

Br,

Hannu

Message was edited by: Hannu Alakangas

Read only

Former Member
0 Likes
1,235

Hi

You can. How do you want to place your text elements in form. vertically or horizontally?.

1. You can use smart form style. There you create a paragraph format with tab positions as required to place your fields. It will help you to place horizontally.

2. Using condition check you can place vertically.

Bala

Read only

Former Member
0 Likes
1,235

Using Templates is the way to do it.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

Former Member
0 Likes
1,235

HI

GOOD

NO YOU CANT MAIN WHILE PUT TWO DIFFERENT TEXT ELEMENT,YOU CAN DESIGN THE TEXT ELEMENT LIKE MAIN AND SUB OR YOU CAN GO FOR TEMPLATES WHERE YOU CAN SEPARATE THE TEMPLATE AS MAIN AND SUB .

THANKS

MRUTYUN

Read only

vinod_gunaware2
Active Contributor
0 Likes
1,235

<b>Including Text Modules

Use</b>

You use the text type Text module of the text node [Seite 41] to refer to an existing text module

[Seite 86]in the system. This allows you to easily use texts from text modules in several forms. In

addition, it is not necessary to load the entire form description to maintain these texts.

You can use text modules in two ways:

Refer to the text module. The text then appears read-only in the PC editor and is included

when you print the form.

Copy the text module. The system then copies the text of the module and automatically

converts the text node into an editable text element.

Text modules can be used cross-client and are connected to the transport and

translation systems.

<b>Prerequisites</b>

The text module you want to include must exist in the system. To create a text module use the

SAP Smart Forms initial screen [Seite 23].

<b>Procedure</b>

5. To create a text node, call the context menu for that node in the tree structure that shall

contain the text and choose Create Text.

6. Enter a unique name for the node and a description (for example, business terms).

7. On the General attributes tab select the text type Text module.

Since you edit a text element, an included text, or a text module exclusively via the

text node, the system stores only information on the selected type. When you

change the text type, the system therefore asks for your confirmation.

8. Enter the name of the text module in the Text name field. Or click on the black arrow and

enter the name of a field to be evaluated dynamically [Seite 58].

9. If you want to change the text of the text module for the current form, choose Copy. The

Form Builder changes the text type to Text element and copies the text of the module into the

PC Editor, where you can edit it. In this case, the original text module remains unchanged.

10. Use the checkbox Always copy style from text to determine that the style of the text module

is of higher priority than that of the text node or any style inherited from a predecessor. This

is important if you specified the name of a field in step 4 (see F1 help).

11. If required, use the Output options [Seite 37] tab to maintain attributes for style, box and

shading of the text.

<b>Entering Texts in the PC Editor

Use</b>

You use the PC Editor [Seite 28] to enter new text. The position of this text on the form is

determined by the predecessor node.

To include data from the form interface (data from application tables) or system data

(date, time) into the text, use system fields or user-defined fields, respectively, in the

text (see Using Parameters in the Form [Seite 58]). When processing the form,

Smart Forms replace these fields with the corresponding values.

<b>Procedure</b>

1. To create a text node, call the context menu for that node in the tree structure that should

receive the text. Then choose Create Text.

2. Enter a unique name for the node and a node description (for example, letter).

3. On the General Attributes tab choose Text element as text type.

Since you edit a text element, an included text, or a text module exclusively using the

text node, the system stores only information on the selected type. When you

change the text type, the system therefore asks for your confirmation.

4. Enter your text in the PC Editor

either directly on the tab if you use the inplace version of the PC Editor

or choose Text editor to go to the fullscreen mode of the PC Editor. If, after entering the

text, you use the green arrow (F3) to leave the fullscreen editor, the system transfers the

text into the inplace version.

5. In the Text node box choose whether you want the text to start with a new paragraph or only

in a new line. You can also choose to append the text directly to the end of the current

paragraph.

6. If desired, choose the Output Options [Seite 37] tab to maintain the style or box and shading

of the text.

regards

vinod