cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

standard text

Former Member
0 Likes
7,856

hi gurus.....

what is meant by standard text in sapscript . what is the use of it?

View Entire Topic
Former Member
0 Likes

Hi

You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.

Assume ur company has stored some text which will printed on sapscript based on certain conditions and not taken thru driver program .

For eg .for a plant 1000

You have to print 'Plant is 1000 and stock is 1000'.

for plant 1010

You have to print 'Plant is 4000 and stock is 3000'.

Then you will create a standard text thru SO10 create a text name and id would be ST and language as EN .

AND YOU PLace the text You have to print 'Plant is 1000 and stock is 1000'.

and this will create one standard text and another standard text for another .

then in the sapscript you will check the plant

use the command in the sapscript and write

Include text name 'zzz' id ST lanuage en.

When you execute

Sapscript will read the include and bring the text from SO10 and print on the screen .

Reward if useful

Former Member
0 Likes

hi malvika.....

So u say that standard text is very similar to Text elements (TEXT-XXX) what we use in reports. am i rite?

Former Member
0 Likes

Hi Diana,

Text Elements

Text element maintenance can be done in the ABAP Workbench. It is used to maintain program text in different languages. The text that program uses can be maintained centrally for a program.

please chekc this link

http://abaplovers.blogspot.com/2008/01/text-elements.html

Standard text

Se also Using Graphics

Standard texts is predifined texts that can be used in more than one form. Standard texts are can be created, changed and displayed using

transaction SO10.

The text ID is used to classify texts.

To include a standard text in a form, use the INCLUDE command:

/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD

When formatting the standard text the PARAGRAPH parameter is used. To center the text use:

/: INCLUDE <name> <Parameter>

<parameter> = Object, ID, Language, Paragraph

Example:

/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD LANGUAGE EN PARAGRAPH C.

Name: Z_BC460_EX4_HF

Object: Text

Text id: SDVD (Text id from SO10)

Language: EN

Paragraph: C (Centered)

Tip: You can use menu Insert->Text->Standard to make it easier to insert the text

Please check this link

http://www.sapmaterial.com/Scripts_1.html

http://abapprogramming.blogspot.com/2007/10/sap-script-7.html

Best regards,

raam