Application Development 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: 

standard text and text module

Former Member
0 Kudos

is ther any diff between standard text and text module

or

they both same?

or

standard text and include text are same?

confused between standard text, text module, include text. pls help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Check this, This should resolve all your issues:

o include standard text create a text node and select the tab General attributes and select the include text in the type of the text in drop down and enter the details of the standard text over there.

This text type corresponds to the SAPscript statement INCLUDE. However, SAP Smart Forms does not allow any control statements in include texts. They are simply ignored when the form is processed.

To manage application-specific form texts, applications define their own text objects with subordinate text IDs in transaction SE75. Use text object TEXT with text ID ST to enter general standard texts. To maintain them, use the standard text editor (transaction SO10).

If there is no need for you to use old SAPscript texts, use text modules instead. They can be used across clients and are connected to the transport and translation systems.

When using an include text, you can use the SFSY-SUBRC system field to check at runtime whether the text could be found in the system.

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.

Result

The system displays the node, including its name and description, in the tree structure. The corresponding text is only included when the form is processed.

Regards,

Vishwa.

16 REPLIES 16

Former Member
0 Kudos

Hi

*Text Module:*

You use the text type Text module of the text node  to refer to an existing text module 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:
u2022	Refer to the text module. The text then appears read-only in the PC editor and is included when you print the form.
u2022	Copy the text module. The system then copies the text of the module and automatically converts the text node into an editable text element.

*Include Texts:*

You use the text type Include text of the text node to refer to a SAPscript text that already exists in the system. To identify the text, you need the text name, the text object, the text ID, and the language. Thus, you can easily use the texts in several forms. In addition, you need not load the entire form description  to maintain these texts.
 
This text type corresponds to the SAPscript statement INCLUDE. However, Smart Forms do not allow any control statements in include texts. When processing the form, they are simply ignored.

Regards,

Vishwa.

Former Member
0 Kudos

the standard text that is created using SO10---is it also called TEXT MODULE which can be used in script and smartforms?

0 Kudos

You create standard texts from so10. Standard Text and Text Modules are different.

0 Kudos

hi Vishwa

can u pls let me know what exactly is the diff between statndard text and TextModule? till now i believe both r same.

0 Kudos

hi

In the smartforms tcode...If you see you can create a Text Module which is created there... here you can write any Text,just text only to display.

But in standatd texts, just like in scripts..you can give field names along with the fields to print it there:

For example:

Document number: &wa_doc_header-opbel&

Your customer number: &wa_doc_header-partner&

Further,you can compare both..you will find the difference.

Regards,

Vishwa.

Edited by: Vishwa Sri Hari on Oct 17, 2008 4:01 PM

0 Kudos

even in text modules we can give Document number: &wa_doc_header-opbel&.

is this right?

only for standard text we have separate tcode like SO10.

text modules and standard text can be reused in diff smartforms, right?

0 Kudos

Hi

Yes...it can be resued in different smartforms.

0 Kudos

in such case, wat exactly is the diff between Standard text and Text modules?

0 Kudos

also, i created a standard text in SO10, but how to include this standard text in my smartform?

0 Kudos

Text Modules are available only in Smartforms, and they cannot be used for Control Statements. Standard text are used not only in smartforms in other areas also but text modules cannot be used elsewhere other than smartforms.

0 Kudos

but im not getting how to include the standard text that i created in SO10 into my smartform?

where to specify this standard text name in my smartform?

Edited by: srk s on Oct 17, 2008 4:26 PM

former_member203501
Active Contributor

Former Member
0 Kudos

Hi

Check this, This should resolve all your issues:

o include standard text create a text node and select the tab General attributes and select the include text in the type of the text in drop down and enter the details of the standard text over there.

This text type corresponds to the SAPscript statement INCLUDE. However, SAP Smart Forms does not allow any control statements in include texts. They are simply ignored when the form is processed.

To manage application-specific form texts, applications define their own text objects with subordinate text IDs in transaction SE75. Use text object TEXT with text ID ST to enter general standard texts. To maintain them, use the standard text editor (transaction SO10).

If there is no need for you to use old SAPscript texts, use text modules instead. They can be used across clients and are connected to the transport and translation systems.

When using an include text, you can use the SFSY-SUBRC system field to check at runtime whether the text could be found in the system.

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.

Result

The system displays the node, including its name and description, in the tree structure. The corresponding text is only included when the form is processed.

Regards,

Vishwa.

0 Kudos

thank you for all this information.

can i take it for granted that Standard text and Include text are one and the same?

0 Kudos

Yes Sir!! And you can also close this thread If issue is resolved.

0 Kudos

thank you very much.