06-25-2008 7:51 AM
Hi,
The long text currently I send to idoc are view exactly what we wrote in SAP transaction as below. Could I know how to retrieve the data from Include standard text and send along to idoc with others text to the segment? Thanks.
Before:
* test pop-up'
* Text 1
/ : INCLUDE GENERAL_TEXT OBJECT TEXT ID ST
* Text 2
Expected:
* test pop-up'
* Text 1
* Standard Text display here
* Text 2
06-25-2008 10:53 AM
Hi,
Pls find the syntax for include below:
INCLUDE ZMMPO-TEXT OBJECT TEXT ID ST LANGUAGE E PARAGRAPH F1.
Regards,
Sharath
06-26-2008 8:30 AM
Hi,
I managed to find out how to expand the standard text by using this Function Module : TEXT_INCLUDE_REPLACE.
Now, I would like to make changes to my output. I need to move all include standard text to last line and display it out. Could I know I can achieve that?
Long Text Entered in SAP:
* test pop-up'
* Text 1
/ : INCLUDE GENERAL_TEXT1 OBJECT TEXT ID ST
* Text 2
/ : INCLUDE GENERAL_TEXT2 OBJECT TEXT ID ST
Output:
* test pop-up'
* Text 1
* Text 2
/ : INCLUDE GENERAL_TEXT1 OBJECT TEXT ID ST
* expanded text1
/ : INCLUDE GENERAL_TEXT2 OBJECT TEXT ID ST
* expanded text2
Edited by: Blue Sky on Jun 27, 2008 4:55 AM