How to use standard text in sapscripts
Hi,
I want to place a part of text to be displayed in my sapscript in the form of a standard text. I want to make the text bold with italics and also want to set a perticualr size to it.
I am new to SAPscripts can anybody please help me with this.
regards
hi
Use character formats in the script itself for the specific text. and in it mention font as bold and italic
and in text elements keep the text between <C1>......</> where C1 is your character format
or
create global style with
U can adjust the bold formats in the standard text itself.(se72).
In the standard text give the character formats and apply them in the text editor of ur sapscript as
text between <C1>......</>
In the text editor go to insert -> text elements-> and standard text.
u can give the standard text name there.
regards
prasanth
Similar Messages
-
How to use standard texts in smartforms
Hi Friends,
How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
thanks in advance,
regards,
sharma.For long text
method1
Create TEXT node- general attributes change text type to include text
then you can input text name/text object/text id/language
method2
create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
then use LOOP or TABLE node to display it
For TEXT module(For foreign language)
Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
then enter smartform Create TEXT node- general attributes change text type to text module
input the text module name which created by above
btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10 -
How to use Standard Text in ALV
How to use Standard Text in ALV header part? Can you please help me by giving the answer?
Hi ,
You can read the Standard text using read_text function module and then print in LV header part. -
Pls explain how to add standard text in sapscript & smartforms
Dear friends,
pls explain how to implement standard text into sap script and smartforms.
in how many we can do.
and what is diff between include text & text modules in smartforms.
how we can translate into multiple languages.
Regards
Jagadeeshwar.Bhi,
for the include text goto tcode so10.
for changing the smartform and scripts use there methods..
1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
for smartforsm use SAPSmart form
for styles use Styles
2. goto se71->utilities->original language.---> source lang
(for scripts) target lang
to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
regards,
venkat.
Edited by: venkat appikonda on Mar 22, 2008 11:56 AM -
How to use Standard Text Key in maintenance order header long text?
Dear All,
I have created a standard text key using transaction CA10 and I want to use this in maintenance order header long text. Is there any way to select any standard text key in maintenance order header long text?
Regards & Thanks,
SaifHi
To use standard texts, perform the following six steps:
Select the maintenance order and access the operation overview screen using Goto -->Operation overview.
You can enter standard text keys in this screen or in a detail screen for the relevant operation.
Enter a standard text key in the appropriate field and press ENTER .
If the text is longer that the short text line available, the field Text is selected for that operation.
Check the long text and edit it if necessary. To do this, select the operation and choose Operation--> Long text.
The system branches to the text editor screen. If you also entered a short text for the operation and specified that this should not be overwritten by the standard text, you will see the short text displayed in the first line of the editor. The following lines contain the standard text.
Check the standard text and change it if necessary.
Save the final version of the text and return to the previous screen with Goto--> Back.
Save the maintenance order.
Standard texts are created for your system by your system administrator using the Customizing function.
Regards
Makarand Gurjar -
How to use Standard text in SAP SCRIPTS
Hi all,
Please tell me how can we use the standard text what we have created in SO10 with sap scripts.Hi Gaurav
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.
Alternatively, you can display standard texts in your SAP Scripts using the command:
INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
where ZSTEXT refers to the Standard Text name.
Reward pts if found usefull
Regards
Sathish:) -
Hello sir
Here the problem is i want get three company adress in the script..
Here i used the satandard text (so10) and created three adress and i went to address window type
There
i written if exgrp =52
<b> include zadress 1 text id language E.
else exgrp=53
<b> include zadress 2 text id langugage e.
this one i did in developement client and i tested and imported threw scc1 its not reflecting while exectuing.
so please tell me how to print the 3 comapny address .. and step by step procedure .
Thankyou
Regars
REDDYHELLO sir ,
I done wt u said but unable to get that address in script .......
Please check the flow once which done by me ......
firsr created 3 texts and went to the adress window there i used insert option gave standard text ...
in the address window i gave
If P_EXGrp -52( &j_1iexchdr-exgrp&)
include text 1
elseif P_exgrp=53
include text 2
else if P_exgrp=54
endif . this the way i used if condition i .......... if i changed the second statement to Only to "else" its printing the only else part exectuting in script .
and by using RSTXTRAN progarm transported my request . and by scc1 imported but iunable to get Please tell me i didnt change the driver progarm .. selection scrrren &J_1iexchdr-exgrp& is one fileld based on this company code should come ..
Please let me know how to get ....wt changes i should make Please
Thankyou,
Regards -
How to use standard text?
hi experts,
i have created a standard text in so01. now i want to use it in my smartform. can anyone help me, plz give the procedure to use that standard text in my form.
thanks in advance for ur responce.Hi
You cannot use two type to the same text .
Either you have to use TYPE as INCLUDE TEXT for standard text
or TEXT ELEMENT for normal text
One thing you can do if u want to print HI WELCOME together
Then you write both things in different text and print it .
Hope this make some sense to u.
Reward if helpful
Thanks
Krushna -
ABAP program - How to use Standard Text
Hi.
I want to read standard text. i know there are Fn module Read_text. but not sure how to call in program.
ThanksHI,
check this and pass the required fields
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = <id>
language = <langu>
name = <name>
object =<object>
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to use standard text feature SO10 , dynamic text ?
hi i have to pass an email containing some information, information contains employee name and number , that I have to place at runtime in the message which is created in the SO10. How to do this ?
thanks,Hi,
Please go through the links,
Re: Sending an Email
Sending Email. Urgent
Regards,
Azaz. -
How to define & read Standard Text in SAPScript? Urgent Please
Hi Experts,
How to define & read Standard Text in SAPScript? Urgent Please..
Thanks in advance
good answer will points gud marks.
sekharHi
U can't define a standard text in a SAPScript, you call call it only by statament INCLUDE
/: INCLUDE <ST TEXT NAME> OBJECT TEXT ID ST LANGUAGE <LANGUAGE>
U can define it by trx SO10.
If you need to know the text without to print it, you need to use a routine where u can use the fm READ_TEXT in order to find out the text.
Max
Message was edited by:
max bianchi -
How to Maintain documentation (se38) using standard text (SO10)
Hi,
I have created standard text using SO10. Now I want to include the standard text in documentation (SE38) section of my ABAP program.
I tried using /: INCLUDE 'YTEST' OBJECT TEXT ID ST LANGUAGE EN
But the standard text is not showing up when I click the documentation icon in the selection screen.
Can you please let me know how to maintain documentation for ABAP programs using Standard Texts.
Thanks in advance.
Sincerely,
VidyaHi Mahesh,
In SO10, which format key has been used (AS, /*, /:, *.... to show up in documentation). when you used insert->text-> did you use 'expand immediately' check box. If expand immediately option is used, it won't serve our purpose.
=
(space)
Example
SO10 Yeurope_terms
Inside Yeurope_terms
Terms: For Europe
/* No Tax for Italy
Waiting for your reply.
Sincerely,
Vidya -
Hi..how we enter standard text for smartform using include text
hi
guru
..how we enter standard text for smartform using include text..
i know only using so10 we write text..
in smartform it asking text-object
text-id,
so what values we should give to get textHi,
Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
Regards,
Shafivullah Mohammad -
How to add standard text in PO and how it is maintained ?
How to add standard text (paragraph) in PO and how it is maintained ?
Hi
Please go through this document.which has a step by step
Working with Frequently Used Texts
Use
You can copy texts from various sources to create PO texts:
Standard texts
Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
The content of some standard texts is predefined by your system administrator.
You can also create standard texts yourself and copy them into purchasing documents.
Master records
Database fields
Activities
Creating Standard Texts
You can create your own standard texts via Tools ® SAPscript ® Standard text.
Inserting Standard Texts
You can insert your standard text on the long text screen via Insert ® Text ® Standard.
For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor: Including Texts.
You can display the print preview via Text ® Print ® Print preview.
Inserting Texts from the Master Record
There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
Option Indicator in status column
The text is copied:
It is then independent of the text None
in the master record. Changes to
the text in the material master record
have no influence on the text in the document.
The text is displayed only:
It cannot be adopted. N
The text is offered for copying:
It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
Inserting Texts from Database Fields
You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
Choose Insert ® Symbols ® Program symbols.
Choose DDIC fields.
Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
Choose the relevant table field.
Choose Text ® Print preview to see the print preview.
Reward if useful
Aasif -
How to use the text module in script
hi,
i script how to use the text modules and how to write the code in layout of the script?Hi,
You canr use text modules in script. You have to use standard texts .
Standard text are maintained in SO10 transaction.
you can create translation text for other languages also . So based on logon language it will print translation text.
go to SO10
give textname it say Ztextname id as ST and language as EN
say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
so now you have created a text called ztextname which you can use in your script.
Inorder to insert the texts in your script do as below
go to any window editor and select path
Insert->texts->symbols->standard symbols
then you will get popup in which you have to mention all the parameters that you have created earlier.
after inserting just change language EN to sy-langu
Reward points if useful
About text elements Sravan already given some informatiomn
Regards,
Nageswar
Maybe you are looking for
-
Saving information in pdf created in Adobe forms
I am certain there is a simple solution to this issue but I cannot find the answer. I have created some template forms in FormCentral that I use in a therapy clinic. Once I have created the forms I save them as a pdf. I then enter the information rel
-
I want to draw a curving, curling path of cursor arrows, all following one another in "single file" in the same direction, from one end of the path to the other. How can I do this?
-
Archive vs Recovery backup suggestions and help request
Hello all, I've been using a TIme Capsule (1 TB) for 9 months to backup 3 Macs on my home network. I am very happy with it. It is starting to get close to full though. 2 of my Macs are minimal recovery types of backups. The other has a lot of info th
-
Can you copy roto brush?
HI. I am editing two shots of almost identical footage and was wondering if there was a way to copy the rotobrush from one shot onto another and still be able to tweak it to fit the new shot. I know starting over is an option but there is some tricky
-
Integrating BI Apps with EBS R12 - Logging in as Administrator directly
Hi All, Thank you for taking the time to read this post. Environment Oracle BI Applications Financial Analytics 7.9.6 Oracle E-Business Suite R12 Problem I'm following Oracle Support Note +Integrating Oracle Business Intelligence Applications with Or