cancel
Showing results for 
Search instead for 
Did you mean: 

about include command

Former Member
0 Kudos

hi ,

can anyone tell me what is the meaning of the below line.

INCLUDE &T047I-TXTAB& OBJECT TEXT ID &T047I-TXTID&

and tell me how do we create standard texts in SCRITS.

where can we find the standard texts.is there any transaction code for standard text creation .

how to create include command.plz tell in clearly.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

can anyone tell me what is the meaning of the below line.

INCLUDE &T047I-TXTAB& OBJECT TEXT ID &T047I-TXTID&

The above line indicates the contents of field TXTAB of table T0471 are included in the script, for given TEXT ID.

and tell me how do we create standard texts in SCRITS.

where can we find the standard texts.is there any transaction code for standard text creation .

1. Standard texts are created in transaction SO10.

2. Provide following details

Text Name : Zstandard_text

Text ID: ST

Language: EN

and click create.

3. Write the comments in the given lines and save.

4. Standard texts have to be mounted on the transport, only then it will be reflected in the Script output.

In se38 run the report RSTXTRAN to mount the standard text on transport

furnish the below details:

Name of Correction : Give the TASKNUMBER

Text Key name: Zstandard_text

Execute and press enter, the text will be mounted on the transport.

how to create include command.plz tell in clearly.

Now in Script you can include the created standard text as follows:

INCLUDE Zstandard_text OBJECT TEXT ID ST LANGUAGE EN.

Transport the script to the client by executing the report RSTXCPFS in se38.

Hope I have answered the question.

Regards,

Farheen.

Answers (2)

Answers (2)

Former Member
0 Kudos

hiii

INCLUDE &T047I-TXTAB& OBJECT TEXT ID &T047I-TXTID&

if u want to put the any header text in the form

in the Goto-Header Dbl click on Header

u will find Text Name ,Text ID, Text Object

for every document u find the standard text

regards

Jaipal

Former Member
0 Kudos

SO10 t-code.

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.

You can also write the include command to use standard text.

The syntax is

INCLUDE <zstandardtxt> OBJECT <txt> ID <st> LANGUAGE <lang>

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.