Standard text creation
Hi Experts,
I have a requirement to create the standard text in English and french for Quote text .
i know we use SO10 transaction.
Please explain the complete process step by step.
Thanks in advance,
MK
Hi,
goto SO10 Tcode
enter some Textname (parameter name)
Default ID will be ST for stanard texts
create the text and save it
You can read this text using the fun module READ_TEXT
and call the same text in the script using INCLUDE command
sample like
/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH AS
Regards,
Omkaram.
Similar Messages
-
Add Default standard text to notification on creation
Hi ABAP experts,
Is it possible to automatically add standard text when the notification created.
Currently we are asking users to manually add the standard text which is wast of effort for every notification.
I am not abaper. Could you please provide coding details. We have multiple company code/Planning/maintenance plant. Based on the company code from functional location, i want a specific standard text to be automatically populated in the notification long text. It should happen upon population of functional location.
Thanks
PanneerHi,
I was under the impression that the text is FIXED based on some notification data,
The idea was to define relationship between SO10 text and "company code/Planning/maintenance plant" .
It was an idea.....
Regards.
p.s. Get a programer.... -
Adding standard Text as long text in QC01 of General data Section
Hi ,
I want to Append standard text in Certificate Profile Creation(QC01)of General data section. Can you suggest any Exit.
Standard Texts created by SO10 Transaction.
Thanks in advanceDear Raynard,
Raynard Coscolluela wrote:
As far as I can remember the Travel Request was conceptualize to be a simple ESS Form that's why most of the labels here are hard coded and didn't use OTR.
I have to disagree. None of the labels, except this one are hard-coded via Personalization-Means and most Texts come indeed from the OTR, the Label T_ACTYPE_LABEL also has an entry in OTR (see my posts above) but is only non-changable by enhancements because the component configuration was "abused" to overload the OTR and coding in runtime. I still can't really believe this one is intentional....
Raynard Coscolluela wrote:
We don't recommend changing the label text in Web Portal as it can lead into inconsistency incase a new update will be > deliver by SAP into this fields. So yes this is a consider a modification.
This will be an issue since the word "Spesen" which is a specific German one for "Expenses" is juridically wrong if used within a specific MOREI of the Public Sector. But this is another issue and I don't want to elaborate on this one here.
Raynard Coscolluela wrote:
My colleague who participate in this thread is still on vacation and she ask me to assist here.
I see, and I'm glad you did assist here. Give Sally my regards.
This one is answered then, if not really "solved". I'll close the OSS message now.
thanks a lot and best regards,
Lukas -
PR to PO ...Standard text problem
Hi all,
I am writing one report , which converts the purchasing requistion to purchase order. I am using the BAPI function module...BAPI_PO_CREATE1.
In this i want to populate the purchase order header text. I am using the standard text for all po's whose are convertable.
but the problem is , the header text table paramers(POTEXTHEADER) in BAPI FM will take 132 chars only. But my standard text is 6 paragraphs are there . how do i long text populate? Am i using the wrong parameters in the BAPI FM.
please suggest me ...how to use this BAPI FM , to populate the lonf standard text.
regards,
Ajay Reddy
Edited by: Ajay on May 27, 2008 9:08 AMhi
use the function module create_text to upload long text. below is the
sample program which uploads purchase order text more than 132 characters.
TABLES : MARA, TLINE, THEAD.
DATA: BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARA-MATNR, " MATERIAL NUMBER
TEXT(5000) TYPE C, " Long Text
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0,
MATNR LIKE MARA-MATNR, " Material No
SEQU TYPE I, " Text Sequence
TEXT(5000) TYPE C, " Long Text
END OF ITAB1.
DATA:BEGIN OF DT_LINES OCCURS 0.
INCLUDE STRUCTURE TLINE. " Long Text
DATA:END OF DT_LINES.
DATA : P_FILE1 TYPE STRING.
DATA : DL_NAME TYPE THEAD-TDNAME, " Object Name(material no)
DL_LAN TYPE THEAD-TDSPRAS. " Language
CONSTANTS:C_BEST TYPE THEAD-TDID VALUE 'BEST',
C_MATERIAL TYPE THEAD-TDOBJECT VALUE 'MATERIAL'. " OBJECT
DATA: START TYPE I,
LEN TYPE I VALUE 92,
TOTLEN TYPE I,
N TYPE I.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-101.
PARAMETERS P_FILE LIKE RLGRAP-FILENAME."input file
SELECTION-SCREEN : END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
PERFORM FETCH_FILE USING P_FILE.
*& Form fetch_file
text
-->P_FILE text
FORM FETCH_FILE USING P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = P_FILE.
ENDFORM. "fetch_file
START-OF-SELECTION.
PERFORM UPLOAD USING P_FILE. " *To Upload Flat file
PERFORM UPLOAD_TEXT.
*& Form UPLOAD
text
-->P_FILE text
FORM UPLOAD USING P_FILE.
P_FILE1 = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = P_FILE1
FILETYPE = 'DAT'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = ITAB
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC EQ 0.
*message i001 with p_file .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "UPLOAD
*& Form UPLOAD_TEXT
text
FORM UPLOAD_TEXT.
LOOP AT ITAB.
ITAB1-MATNR = ITAB-MATNR.
CLEAR: TOTLEN,N, START.
TOTLEN = STRLEN( ITAB-TEXT ).
N = TOTLEN / LEN.
N = N + 1.
DO N TIMES.
ITAB1-TEXT = ITAB-TEXT+START(LEN).
ITAB1-SEQU = SY-INDEX.
START = START + LEN.
APPEND ITAB1.
ENDDO.
ENDLOOP.
DELETE ITAB1 WHERE TEXT IS INITIAL.
SORT ITAB1 BY MATNR SEQU.
LOOP AT ITAB1.
DT_LINES-TDFORMAT = '*'.
DT_LINES-TDLINE = ITAB1-TEXT.
APPEND DT_LINES.
AT END OF MATNR.
DL_LAN = SY-LANGU.
WRITE : / itab-MATNR.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = ITAB1-MATNR
IMPORTING
OUTPUT = ITAB1-MATNR.
MOVE ITAB1-MATNR TO DL_NAME.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = C_BEST
FLANGUAGE = DL_LAN
FNAME = DL_NAME
FOBJECT = C_MATERIAL
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = DT_LINES
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
WRITE:/10 'Long Text Creation failed for Material No', ITAB1-MATNR.
ELSE.
WRITE:/10 'Long Text Created Successfully for Material No', ITAB1-MATNR.
ENDIF.
REFRESH DT_LINES.
ENDAT.
ENDLOOP.
ENDFORM. "UPLOAD_TEXT -
How can I initiate a transport of Standard Text over to another client
HI,
I need to re-create all the customized standard text in our new ECC6.0 box. Afte creation, I want to transport it to the QA for testing and eventually to the new ECC 6.0 production.
While creating the text, it does not trigger any transport request.
How can I initiate the Transport request?
I had explored and found that it is also possible to upload to the destination. I would prefer the Transport method.
Can someone advice?
Thanks
ThanksThe program name is RSTXTRAN. run from SE38
detailed documentation is here.
Symptom
This is a brief guide to RSTXTRAN
More Terms
RSTXTRAN, Transport of SAPscript Texts, Standard Texts
Cause and Prerequisites
Solution
Basic Background
You want to transport SAPscript Texts from a source system to the target
system. You can do it in different ways. If you want to copy texts within a
system from one client to the other you can execute the report RSTXTCPY. In
other cases, i.e. transporting the texts between the different systems, you
can use the report RSTXTRAN. This report (RSTXTRAN) itself does not perform
any transporting but is used to prepare a Transport Task (TT). Having
prepared the TT with RSTXTRAN you have then to release it and the
corresponding Transport Request (TR) in a normal way (e.g. with an
assistance of Customizing Organizer - se10).
Please note the Type of Transport Requests (WBO or Customizing) depends on
the system settings.
Working with RSTXTRAN
1. Execute the report RSTXTRAN (e.g. within the transaction se38)
2. On the selection screen appeared you may specify:
2.1. Name of the Transport Task (TT). Make sure you specify the
Transport TASK number, NOT the Transport REQUEST ! You may leave this
field empty if you did not create to this moment the appropriate TT.
Later you will be able to create it within the report.
2.2. Text Key. This composite key consists of four fields: Object,
Name, Id and Language. You may specify these fields also generic
(caution: until Rel.4.6A you have to specify \'*\' if you need a generic
selection; leaving a field empty will cause a search for the blank
field that usually returns no results!). This key serves as
preliminary search restriction only and does NOT mean all the texts
which satisfied the specified key must be included into TT.
3. Having specified some fields on the selection screen you can go
further with \'Execute\'(F8).
4. On the screen appeared you will see the list of texts that satisfy the
specified restrictions. By default all the texts are selected for
including in the TT. You can deselect all the texts or select all of
them again using the function \'deselect all\' or \'select all\'
respectfully. Certainly you may select the texts individually as well.
In order to proceed you have to use function code \'continue\' clicking
on the icon \'OK\' or pressing the button \'ENTER\'.
5. At this stage you get another list of texts that already exactly
defines the list of texts to be included in a Transport Task. You
cannot change this list any more. If you want to change something (add
new texts or exclude any of them) you have to go one step back (F3)
and update your selection. You can now include this list to the TT by
pressing the button in the toolbar \'Transfer texts to correction
request\' and confirming the action.
6. If you have left the field \'Name of Correction\' empty on the first
selection screen you will then be asked to provide the Transport
Request number. You can select it from already existed ones or create
a new one. However if you specify anything(!) in the field \'Name of
correction\' on the first selection screen and the specified TT does
NOT exist (generic input is not allowed there) you will get an error
message \'Request/Task xxx does not exist\' (TR 806). In that case
please go to the first screen and fill out this field correctly, or
leave it completely empty. Then repeat the selection again.
7. When you have performed all the steps properly you get a message the
selected texts were included into TT. Now you can leave the report and
release the appropriate Transport Task/Request in Customizing
Organizer (se10).
Edited by: Henry Hsu on Nov 27, 2010 3:37 AM -
Standard text from SO10 - smartform
Hi Folks,
I need to print a document with some standard text and the vendor address.
1.For this I had created the standard text in S010,how to call this standard text in the text editor of the main window?
This standard text will be the same for all the vendors.
2.I need to fetch the address of the vendor.So I had created a select option.I have to print this document with the standard text for each vendor.Text will remain the same but the vendor address differs.I had created a structure having all the fields for the address and declared in the form interface.Internal table is getting populated but it is not printing in the smartform.
How to get the document in one shot for all the vendors given in the range.
Thanks,
K.Kiran.u can call the standrd text from the smartform directly :
got the smarform u created/ developed.
create text.
in the general attributes tab give the type <Include Text>
assign the standard text that u want ot inclue.
smartform will call that directly
address cn be created direclty from the smartform
in creation u will the get the option to create the address.
just give th varible and populate the varible from the program.
Thanks -
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 maintain standard text as a mandatory field
Hi ,
please suggest me How can i maintain a STDTEXT as a mandatory field while creation a production order.
while creating production order using CO01, in operation overview(F5) there is a column called STDTEXT.
so i need to maintain the these field as a mandatory pleas suggest me how can i do this.
Regards,
Sateesh CDear
You need to do the following :
1.Create Stnadrad Text Key in CR09
2.Assing this key in Work Centre in Defaultr Values in Standard Text Key filed
3.In routing if you create operation with this Work Centre then it will automatically pop up in operation line -Standrad Text field
4.If you create production Order in CO01 -then this this routing will be selected along with Operation details .Check operation oerview
Hope this helps
Regards
JH -
Copy Standard Text into CRM_ORDERH
Hello,
maybe anybody has an idea for my problem: I need an default text in a textscheme in the order-header. I can do this manually, I create a standard text within the textobject "TEXT" with SO10, and in the transaction I can copy the text with help of the sapscripteditor into my text. But, I need this functionality automatised. When I create my transaction, I want to have a default text.
I tried to manage this with access sequence, but I cannot see any possibility with this. The problem is, that the reference object "TEXT", were you can create standard texts, is not accessable from the order-header.
Any ideas?
Best regards and thanks
SabI think you should be able to solve this using Transaction Templates.
This allows you to prefill data on the template and saves a lot of effort during business transaction creation.
You can create templates for different transaction categories such as activities, leads, service orders and so on:
Explanation for a service order:
Definition
The template for the service order business transaction. As is the case with the service order, the service order template is used to map services in the system. A service order template enables you to define and store reusable service descriptions as a useful set of activities, products, services, and materials.
Use
You can use a service order template to reduce the workload involved in creating new business transactions (documents). You create templates for standard service processing tasks, for example. You can:
· Copy templates to create new business transactions with the same object type
· Include templates in an existing business transaction (such as service confirmation or product service letter)
· Create a template as a follow-up document on the basis of an existing service order; business partner data is not transferred
You can copy a template only if it does not contain any errors, has the status is Released, and is currently valid.
The service order template can contain a large number of items and subitems. In the template, you can define a large number of values as attributes (conditions, price information, quantities, and so on). If you create a service order template on the basis of an existing service order, all the items that are not required for a general template, such as the sold-to party, are omitted.
The service order template describes only the scope of services of the planned activities and not the actual execution (when and for whom).
Structure
A service order template has the same data structure as the associated operative business transaction, that is, it consists of a header and items (and subitems) with a large number of sets and enhancements that are valid for the business transaction.
In a service order template, you cannot store any information about the sold-to party. For this reason, not all the functions of the service order transaction are available. You can enter information about the sold-to party in the relevant business transaction.
Three different views of the service order template are available:
Fast Entry view
In the Header Data view, you enter data that is valid for the entire transaction. The top screen area contains the transaction ID, the transaction description, and a pushbutton for changing the status. In the bottom screen area, you can enter an item. You define additional items in the Item Details view.
Item Details view
In the Item Details view, you can enter additional items on various tab pages (Overview, Services, and so on). On the tab pages in the bottom screen area, you maintain detailed information about the individual items, such as statuses and prices.
Transaction Data view
In the Transaction Data view, you enter detailed information about the header data, such as organizational data, actions, and partner data.
Example
- A service order template is to describe the standard maintenance procedure for a vehicle of a specific type. The catalog for the standard maintenance procedure includes services (filter replacement, oil change, engine check) and materials (1 filter, 12.5 liters of oil).
- You use a service order template to plan a recall for a specific automotive category. The catalog for the recall contains the following activities: scheduled appointments with customer, repairs, confirmation to car manufacturer, and invoice for car manufacturer.
- An Engine Replacement service order template already exists. When planning a repair in detail, you have to arrange for the engine to be replaced. You include the Engine Replacement order template in the existing service process (in this case, a repair service order). The system then copies the items from the order template to the service process.
Hope this is usefull for your requirement
cheers
davy -
How to call Subroutines,Standard Text & using Internal Table in SmartForm
Hi all,
need help in the following areas.Its very urgent!
1.How to CAll Subroutines in Smart Forms
2.How to CAll Standard Text in Smart Forms
Situation:
We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
Any Help in this direction would be highly appreciated.
Regards
RamuHi,
When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
Specifying a Currency or Quantity Reference
Use
In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
· If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
· If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
Procedure
You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
1. Create the reference to the currency field by entering the following values:
- Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
- Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
2. Under Data Type, specify whether the data type is a currency or quantity.
Result
In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
Thanks and Regards,
Bharat Kumar Reddy.V
Message was Added by: Bharat Reddy V
Message was Added by: Bharat Reddy V -
If condition in standard text in so10
Hi,
Im using a standard text where ive written an IF condition but its not working.Im calling that text in my program using READ_TEXT, TEXT_CONTROL_REPLACE and TEXT_SYMBOL_REPLACE function modules.Im not using sapscript or smartform.All my dynamic variables are working fine but for my IF condition what is happening is IF statement is also true and ELSEIF is also true.The statement under if is also getting printed and statement under elseif is also getting printed.
Could anyone help please.
Regards,
Nidhi.Standard text " if conditions " dont work other than scripts and smartforms.
to my surprise, if conditions have not worked even when I used them as includes in ADOBE forms.
Please handle the conditions in your program itself.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Sep 30, 2011 2:49 PM -
Call Standard Text by report replacing the variables with their values
Hi,
I have a requirement to call a standard text from a report.
Following is the text present in standard text.
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
I am doing it by using READ_TEXT. But READ_TEXT reads the entire text as it is.
Is there any way I could retrieve the standard texts with &PTXT1-ENAME& replaced by the value of PTXT1-ENAME in report. And similarly &MEMOACT-PLDAT& replcaed with its actual value.
Any pointers in this regard would be helpful.
Points will be awarded.
Regards,
Mayank AgarwalHi,
In the Text
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
do not use the * as a paragrapgh , use /: as the paragraph
Regards
Sudheer -
How to Print 25page standard text in Adobe form
Hi Form Gurus.
My requirement is to print a 25 pages form of standard text. Can any one please help me.
Thanks in advance.
Regards
ASAHA1
Moderator message: please work yourself first on your requirement, post specific problems later if necessary, always search for information before asking
locked by: Thomas Zloch on Aug 31, 2010 9:11 AMhi,
You can create a text module like you do for Smartforms and then you can add that in the interface and drag n drop it in the layout.
regards,
Sakshi -
Smartforms,How to display different standard Text in a Text element.
In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all maintained in SO10 in a same text element,how to do it?
if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
Is there anyone can tell me?
thanks.use Alternative to control it no problem
for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
TEMPLATE1
Alternative case1
YES
INCLUDE TEXT1(display SO10) [set output option line1 column2]
NO
Alternative case2
YES
INCLUDE TEXT2(display SO10) [set output option line1 column2]
NO
Alternative case3
every case your SO10's text is always display at line2 column2
just try to test it ,you can know -
Is there a way to create standard text messages that can be reused easily
is there a way to create standard text messages that can be reused easily
if you meant phrases, then Yes
Setteings> general>keyboard> add new shortcut
Maybe you are looking for
-
Feedburner no longer supported by Tumblr, alternatives?
I have a podcast at http://okay-saturday.tumblr.com and was using feedburner to get my podcast up onto iTunes. Yesterday I got an e-mail saying Tumblr no longer supported syndication through feedburner, so I quickly tried to look for an alternative.
-
I have some queries stored in databases from MS Access which I am trying to import into DIAdem. I use the open with option for the database to select the query I wish to load and then chose selective opening to grab the columns of data I really want
-
Need some advice on the whole "Ill vs. Visio".
Long story short: Doctoral student (cancer cell biology) creating illustrations for my dissertation, manuscripts and posters for meetings. I am just starting so I have some options right now. So ran a test. Needed to make 2 illustrations for the fi
-
General error- trying to call n900
Hello, first i am sorry for my english. So i have a problem with my Nokia n900, when i am trying to call other person i hear strange signal and on screen showed text with GENERAL ERORR. i tryed with other sim cards but its the same. Ofcourse i can r
-
Hi, Please advise the billing header Text Table & Field. Regards,