2008 Apr 09 4:01 PM
Hi,
I created a standard text in SO10.
My standard text is as follows:
You have the opportunity to sell part &LV_MATNR& of Quantity &LV_QTY& . Please confirm the opportunity.
In my program i read this text using FM READ_TEXT. Before reading the text my code is :
loop at itab into watab.
lv_mantr = watab-matnr.
lv_wty = watab-qty.
call READ_TEXT.
ENDLOOP.
now if i display the text in debugging mode i dont see the value of lv_matnr and lv_qty.
this is not an SCRIPT but a program.
can any one help me in passing the value dynamically in every loop pass.
now i send this text as an email using FM SO_NEW_DOCUMENT_SEND_API1.
Thanks,
Challa.
2008 Apr 09 4:06 PM
In this program there is no connection b/t READ_TEXT and other variables..Please tell ur exact requirements and post actual code..
txt
Edited by: challa bhaskar on Mar 31, 2010 4:47 PM
2008 Apr 09 4:06 PM
In this program there is no connection b/t READ_TEXT and other variables..Please tell ur exact requirements and post actual code..
2008 Apr 09 4:38 PM
2008 Apr 09 4:20 PM
You could do this:
In your program:
Concatenate 'You have the opportunity to sell part ' LV_MATNR 'of Quantity ' LV_QTY '. Please confirm the opportunity.' into OBJECT_CONTENT-line.
then call SO_NEW_DOCUMENT_SEND_API1. The object type is 'Raw'.
Make sure the user that is sending the document outside of the SAP system has an internet mail address set up in their user information.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |