on 07-05-2011 12:39 PM
hello experts,
i want generate a Dynamic SO10 text, i dont know how to do this, i have created a popuop where the user can write his note there, and this note should be exported to the so10 text, and then send as email,
can you please tell me how can I export the note to the so10 text.
trhank you all
Hi ,
Use the CREATE_TEXT Function Module and need to pass the details as mentioned below
Text Name ZTEXT -
> This is the Standard text Name
Language EN -
> Language which ever you want.
Text ID ST -
> Text Id should be ST if it is a Standard text
Text object TEXT -
> SAPscript standard texts
In the FM you need to pass these details
FID ST
FLANGUAGE EN
FNAME ZTEXT
FOBJECT TEXT
FLINES TD * TDLINE -->Here the lines that he writes in the popup need to be passed here.
To make sure that your Standard Text has been created you can check it in SO10 or Use READ_TEXT to read it and can check the exact lines that what he passed in your Popup. Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can acheive this functionalty by using PERFORM in the STANDARD TEXT.
For Example..
In SO10 : ZTEST
/: PERFORM GET_NAME IN PROGRAM ZGETNAME CHANGING &NAME&.
/: ENDPERFORM
A3 Dear,,&NAME&
content.....
/: PERFORM GET_REGARDS IN PROGRAM ZGETNAME CHANGING ®ARDS&
/:ENDPERFORM
A3 Kindly,
A3 ®ARDS&
Hi,
You can use FM create_text to create a text in SO10.
Pass teh text from the popup to you program, and from there create the standard text by using create_text FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.