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

Text module

Former Member
0 Likes
459

Hi friends,

Could any one tell me what is "Text module" in Smartforms.

How we use them in Standard Smarforms .

With Regards,

Ramesh.

2 REPLIES 2
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
429

Hi,

If you created a text module that you want to include in your form, you don't refer to it like that.

Once you selected the area / window your text should be in, right-click on the window name, select Create -> Text. Then, in the 'General Attributes' tab, you have to change the type to 'M' (Text module). On the next screen, you just specify the name of your text module that you want to include and the language key. You can specify under 'Conditions' that your text should only be displayed before or after the end of the main window (or whatever your requirement may be).

Now if you want to include an already existing text (that you created via SO10, for instance), then you have to select the type 'I' instead. For SO10 texts, the text object will be TEXT, and you should know the other three parameters if you were the one creating the text. Obviously, the text object will change to another value if you want to include an application-dependent text - then, as it was mentioned, SE75 will help you find the proper object name.

I'm not sure where do you see the "options in the TASK KEY"... hope this helps a bit though.

Cheers,

Simha.

Reward all the helpful answers..

Read only

Former Member
0 Likes
429

Hi ramesh,

In smartform there are three text types:

<b>Text element</b> : to enter new text in the PC editor

<b>Text module</b> : to include a text module

<b>Include text</b> : to include an existing SAPscript text

.........

The texts are displayed in the form using text nodes. The only exceptions are addresses. This uses its own node. The predecessor node of the text node determines its use:

<b>Predecessor node Used to</b>

Sub window Position text on one or more pages

Main window Display text in relation to other nodes in the main window,

it may cover several pages

Template Displays texts for table cells of a static table

Table Display table contents

Header and footer Display column headings and grand totals in tables

Event node Display subtotals in a table

<b>Including text modules:</b>

<b>Text module</b> of the text node is used to refer to an existing text module in the system. The text modules can be used in two ways:

<u><i><b>STEPS :</b></i></u>

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

is included when the form is printed.

2) Copy the text module. The system then copies the text of the module and

automatically converts the text node into an editable text element.

3) 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

4) Enter a unique name for the node and a description

5) On the general attributes tab select the text type text module

6) Enter the name of the text module in the text name field

reward points if useful....

thanks ,

Ginni...