If you only need to output the text, you don't need to used READ_TEXT like in an ABAP program,
just use the INCLUDE command in SAPScript.
It will read the text and output it to your form.
The Syntax is like this:
It will read the text and output it to your form.
The Syntax is like this:
/: INCLUDE <text name> OBJECT <object> ID <id> LANGUAGE <language>
eg:
1. From standard text (SO10)
/: INCLUDE 'Z_TEST_TEXT' OBJECT 'TEXT' ID 'ST' LANGUAGE 'EN'
2. with paragraph declaration
/: INCLUDE <text name> OBJECT <object> ID <id> LANGUAGE <language> NEW-PARAGRAPH <paragraph>
/: INCLUDE 'Z_TEST_TEXT' OBJECT 'TEXT' ID 'ST' LANGUAGE 'EN' NEW-PARAGRAPH 'DG'
3. From header text (eg. VA02 --> GoTo --> Header --> Texts --> Header )
/: INCLUDE '0100001299' OBJECT 'VBBK' ID '0001' LANGUAGE 'EN'
Thank you for sharing the great blog. BEST SAP ABAP TRAINING IN HYDERABAD
ReplyDeleteGreat Post. The information provided is of great use as I got to learn new things. Keep Blogging.
ReplyDeleteSAP ABAP TRAINING IN HYDERABAD