cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Text

Former Member
0 Kudos

How to create a standard text with Parameter and how to call this standard text with parameter in sapscript layout.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

1. GO TO SO10 TCODE.

TYPE THE STANDARD TEXT NAME.

EX:- ZVALDEL

CLICK ON CREATE.

ENTER THE STANDARD TEXT WHICH U WANT TO PRINT.

EX:- CUSTOMER RELATED DELIVERIES

CLICK ON SAVE.

2. GO TO SE71 TCODE.

TYPE UR LAYOUTSET NAME CLICK ON CHANGE BUTTON.

GO FOR PAGE WINDOWS.

DOUBLE CLICK ON YOUR WINDOW NAME THEN SELECT TEXT ELEMENTS.

ENTER YOUR STANDARD TEXT NAME WITH INCLUDE KEYWORD.

SYN:- INCLUDE 'STANDARD TEXT NAME' OBJECT TEXT ID <NAME>

EX:- INCLUDE 'Z_NLATIT' OBJECT TEXT ID ST

Reward points if useful.

Thanks & Regards,

Vasudeva Rao.

Former Member
0 Kudos

Hello,

I know how to create a standard text. My requirement is how to create a standard text with a parameter. I want to pass Werks into a standard text. The standard text should have werks as variable.

Former Member
0 Kudos

HEllo,

GO to Tcode So10 and Give ZTEST and click create.

In the text editor

* This is the Plant &WERKS&.

Here werks is the variable.

Call this Std text in the form and pass the value to the variable WERKS.

Vasanth

Former Member
0 Kudos

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

<b>Reward points for useful Answers</b>

Regards

Anji

former_member196280
Active Contributor
0 Kudos

goto tcode SO10 and create standard text.

To include standard text in SAPscript.

INCLUDE <STANDARD TEXT NAME> ID <ID NAME> LANGUAGE <language>.

Reward points to all useful questions.

Regards,

SaiRam

former_member196280
Active Contributor
0 Kudos

In standard text

  • &WERKS&

Rgds,

Sairam