2006 Apr 26 9:07 PM
Dear All,
In Sap Script how to include a standard text. I have to prinnt Std Text 1 when Condition is 'X' and Stdtext2 when condition is 'Z'. Please help me in this regard.
This is Quite urgent.
Thanks for your inputs.
Regards
Venkat
Dear All,
In Sap Script how to include a standard text. I have to prinnt Std Text 1 when Condition is 'X' and Stdtext2 when condition is 'Z'. Please help me in this regard.
This is Quite urgent.
Thanks for your inputs.
Regards
Venkat
2006 Apr 26 9:22 PM
Hi Venkat,
To include a standard text in a form, use the INCLUDE command:
/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD
When formatting the standard text the PARAGRAPH parameter is used. To center the text use:
/: INCLUDE <name> <Parameter>
<parameter> = Object, ID, Language, Paragraph
<b>Example:</b>
/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD LANGUAGE EN PARAGRAPH C.
Name: Z_BC460_EX4_HF
Object: Text
Text id: SDVD (Text id from SO10)
Language: EN
Paragraph: C (Centered)
<b>Tip: You can use menu Insert->Text->Standard to make it easier to insert the text</b>
2006 Apr 26 9:26 PM
Phani,
yeah I have inserted 2 Std text, Can u kindly let me know, how to write a simple if statement there. Would be great help.
Thanks
Venkat
2006 Apr 26 10:53 PM
Hi Venkat,
You can use command line for that..
/: IF &matnr& = '0101'
/: INCLUDE ......
/: ENDIF
2006 Apr 26 11:11 PM
Thanks Phani,
I got it. Solved .
Closing Thread, Alloting points.
Regards
Venkat
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |