If you want to use texts more than once, you can enter these texts as standard texts and include them in the master record or document texts. If you define standard texts, they are included in the sales and distribution forms when they are issued.
Some standard texts to which you can refer in the sales and distribution documents have been defined in the standard version of the SAP R/3 System.
Notes on Entering Text
You can use standard texts to give notes to the employee entering an sales and distribution document regarding the information he should include in specific header or item texts and the sequence in which he should do it. For example, by including a standard text such as a header note in the sales document, you can make sure that the employee specifies in the first line whether the customer has taken advantage of a sales promotion in his purchase order and in the second line, how (newspaper, radio etc.) he found out about the promotion.
Proposals from the Master Records
The standard text above must first of all be created and then included in a text in the customer master. You can define in Customizing whether this text is automatically proposed from the customer master record in the header note of the document header when you create a sales document.
Standard texts can be proposed in the documents at header and item level in the same way from the material master record.
Create
To create a standard text, proceed as follows:
You switch to the SAPscript editor. If no standard text has been created with this name, the following message is displayed: Text <text name> language <language indicator> is new
Using the Menu to Include Text
To include an existing standard text in a text in a sales and distribution document using the menu, proceed as follows:
A dialog box appears in which you can enter the name of the standard text to be included. At this point, you can use the search function Find to find the standard text.
Mark the field Include/Expand if you wish the standard text to appear as text in the editor and you do not want the SAPscript command syntax to be included. Otherwise, the standard text can only be read in the print preview or once it has been printed.
The system enters the standard text as an include in the editor at the point where the cursor is positioned.
Manual INCLUDEs
You can also include standard texts manually. You use the INCLUDE command with the following syntax in the SAPscript editor:
/: INCLUDE <SN> OBJECT TEXT ID ST LANGUAGE <SK>
<SN> is the placeholder for the name of the required standard texts and <SK> stands for the language indicator with which you control the language of the standard text. The line in which you make these entries must have the formatting key
/: (paragraph format for a command line) in the format column.Calling Up At the Time of Issue
In Customizing any number of standard texts can be included in the definition of a sales and distribution forms. The texts then appear in the appropriate place in the form when each output is issued.
Further Information
You will find additional information on the SAPscript editor and on INCLUDEs as well as examples online in the hypertext system under the text module name STXD_ED. Proceed as follows:
You reach the Display Structure screen.
The content of the text module is displayed on the screen.
Select Back to return to the initial screen.