cancel
Showing results for 
Search instead for 
Did you mean: 

Standard text

Former Member
0 Kudos

Hi,

How to insert headings in smartforms?

I think to create headings such as 'check number' in smartforms, we have to use standard text.For that I have created standard text.When I am placing it in the box, it says it does n' t exist?

Please guide.

Regds,

khadeer.

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

Try this way, it will help you to close the thread.

Taken form documentation:

To 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,

SaiRam

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

step 1 - create a standard text in SO10 transaction save and activate

step 2 - now in the smatform select INCLUDE TEXT

dont forget to give name , id , objct name , language of text .

hope this will solve ur problem....

regards

prashanti

Former Member
0 Kudos

Hi,

Please chk the format

INCLUDE (&vbdkr-matnr& or ''v_material' or zmaterial) OBJECT VBBK ID 0001 NEW-PARAGRAPH HT

regards,

Gaurav.

Former Member
0 Kudos

Go to SO10 Trasaction and create the text what ever you want to print. In your smart form you should select Include Text insted of Text element in General attributes section and give the Text name, Text object, Text id and language then you should get the text before u created one.

Former Member
0 Kudos

Create using so10