on 07-17-2008 8:47 AM
Hi,
My question is, I declared one event(CALL_WF) in the Business Object and binded that event to my work flow, and calling that workflow through my program using SWE_EVENT_CREATE function module.
Now my requirement is that i will enter text in parameter on my program screen and that value should be carried to the workflow and that text should be mailed(using mail).
Then any one tell me that how to carry my program value to the workflow.
Even explain me that, is it possible to carry the email id from the program to the workflow and send the mail through workflow to that specific email.
Hi Ravi,
As you have created an event 'CALL_WF' in the business object and using the same to start the workflow, you can create parameters of the event and use the same to pass the data from the program to the workflow.
For your requirement, I think you need to create 2 parameters of the event for the text and the email id. you can create event parameters for an event in the business object builder. Select the event and click on the parameters button to create the new parameters.
Then in the function module that you use to start the workflow, you have the parameters to pass the event container elements.Just check and use them.
Hope this will help.
Regards,
Samson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ravi,
Try this out:-
http://saptechnical.com/Tutorials/Workflow/EvtsPrg/EvtsPrg.htm
Best of luck,
Bhumika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can start a workflow with container using function module : SAP_WAPI_START_WORKFLOW
In this function module pass your sceen value as container.
You can read the screen value using field symbols.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Email Addresses are stored in table Adr6 Check take the field smtp_addr from that table
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.