on 06-15-2008 6:31 PM
hi gurus.....
what is meant by standard text in sapscript . what is the use of it?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
an example,on standard text you want to display the header text inside your script basing on the language you login, then you goto SO10 tcode and maintain your test in different languages, and you call the text inside your script
Include text name 'zzz' id ST lanuage &sy-langu&.
now you header line will be displayed in the language you login, that too if it is maintained in SO10 tcode.
close the thread once your question is answered.
Rgds,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Standard text is basically a 'Static' text which normally would like to print in a form by using 'INCLUDE'. The classic example would be terms & conditions of Purchase Orders which you would like to print at the end of the Purchase order.
Regards
Raju Chitale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For more information,
Check out this link-
http://www.sap-img.com/sapscripts.htm
thanks
plz reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Standard Text, is it self saying standard, means which does not change frequently.
These tandard text can use for Company addresss, Terms and Conditions, we can create these in all languages, it contains, alphabet, we can include symbols, text formatting also possible like bold, italic, underline, bulleting and numbering.
We can create Standard Text in the Tcode SO10, we can use the same in Script or Smartform or Adobe Forms.
Bye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to Transaction SO10
Standard text used for printing static text in document layout
you can make use of this when you need repeated text again and again for different scripts.
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.