on 07-26-2008 2:29 PM
Hi,
Can any one solve this Problem.
How to call SAPscript Editor i.e. MS word editor (where we are giving Text elements or Text variables or Text.
I want to call the above text editor from my report.
Can any one give answer for this.
Thanks & Regards,
Kumar.
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moarach,
you need to open a editor for entering the text. You can do that using the function module HR_CALL_TEXTEDITOR. After you have entered the text and clicked on SAVE you get the data returned in an internal table EDITOR_TEXT.
You can then save the text to a text ID using SAVE_TEXT and COMMIT_TEXT function modules.
either:
You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
thead-tdname = 'Purchase Order No'. " Name
thead-tdid = 'ZQH1'. " Text ID - E.g. To be created in your system
thead-tdobject = 'VBBK'. " Texts: application object
thead-tdspras = sy-langu. " Language Key
Hope this helps.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.