cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Standard text in SAP SCRIPTS

Former Member
0 Kudos

Hi all,

Please tell me how can we use the standard text what we have created in SO10 with sap scripts.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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:)

Answers (4)

Answers (4)

former_member196280
Active Contributor
0 Kudos

Standard text created in SO10 can be used in SAPScripts.

Ex:

/: INCLUDE <standard Text name> OBJECT TEXT ID <ST> LANGUAGE <EN>

If useful reward points.

Regards,

Sairam

former_member196280
Active Contributor
0 Kudos

Standard text created in SO10 can be used in SAPScripts.

Ex:

/: INCLUDE <standard Text name> OBJECT TEXT ID <ST> LANGUAGE <EN>

If useful reward points.

Regards,

Sairam

Former Member
0 Kudos

Hi,

In SO10 we create standard text with TEXT ID,OBJECT, NAME and LANG.

We can insert these standard texts in our script. The path is -

Insert->Text->Standard

Select the standard text.

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

The syntax is

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

Regards,

Kate

Former Member
0 Kudos

Hi

We create the Long texts in SO10 with some ID,OBJECT,NAME and LANG

and it is included in script using INCLUDE statement

see the sample

/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE EN

Reward points for useful Answers

Regards

Anji