It is often request by business to print certain text in most of outputs such as order confirmation, invoice, etc. Eg: l...
Contents Introduction .................................................................................................................................................. 2 How to create standard text ......................................................................................................................... 2 How to move standard text from one client to the other ............................................................................ 3 How to transport standard text using a transport request .......................................................................... 3 Create a new transport request ................................................................................................................ 3 Attach standard texts to that transport request ...................................................................................... 5 How to read standard text in your program ................................................................................................. 9
Introduction It is often request by business to print certain text in most of outputs such as order confirmation, invoice, etc. Eg: legal text, Information about upcoming promotions, etc. In order to facilitate such a requirement, we can use the standard text functionality in SAP.
How to create standard text Transaction: SO10
Enter a “Text Name”. Make sure the “Text ID” is set to “ST”
If you want to maintain text is various different languages, maintain the language as well.
Press Maintain the text that you want to appear in the output
Save
How to move standard text from one client to the other In order to move these standard texts from one client to the other, we can use below 2 methods
Create same standard text in every client using transaction SO10 Create the required standard text in the development client and move it using a transport request
How to transport standard text using a transport request In this method, you have to first create a transport request and then attach all relevant standard texts to that request.
Create a new transport request
First you need to create a new transport request using transaction SE09
Click on
Select the option “Workbench request”
button
Enter the transport request description and the package to create the transport request
You will notice that the sub transport is now appear as “Unclassified”
Now you need to change this transport request from “Unclassified” to “Correction/Repair”. For that select the sub transport number and click on “Request/Task” on main menu -> “Change Type”
Select the option “Development / Correction” and press “Enter” key
Now you can see that your sub task if from Unclassified the request type changed to Development/Correction.
Attach standard texts to that transport request Now you need to attach your standard texts in to that transport request
Go to transaction SE38
Enter the program “RSTXTRAN” and execute Enter the sub transport number under field “Name of Correction” and execute. In my above example it is “IDSK901004”
In the next screen, you will see all text objects that appear with “select” status
Use
button deselect them and only mark the standard texts that you want to move
Press Enter key Your selected objects will appear as shown below
Click on button Select “Yes” from the below popup
Now you will see below section appear under your transport number
How to read standard text in your program Ask the ABAP developer to use the function module “READ_TEXT” to read the standard text that you have created. Refer below on how to test the above function module
Call transaction SE37 Enter function module as READ_TEXT
Click on
Fill below and press
You can see the results as below
. Under Name, you need to maintain your standard text created
Author: Anupa Wijesinghe E-Mail:
[email protected] /
[email protected] Website: www.learnsaptips.com View my profile in LinkedIn Follow me on Twitter
Disclaimer This article is done based on my research and readings, unless otherwise stated. The views expressed are my own and not of anyone else. Author accepts no liability for the content of the articles in this website or for the consequences of any actions taken on the basis of the information provided. Using this information is at the users own discretion and responsibility.