Hi Gurus & Experts,
I have to trigger a workflow through portal html. How can I do this?
My work scenerio is as follows ..
When an employee goes to an ess screen and opens the open enrollment form of benefits. he will be displayed with a list of insurance plans.
If he chooses a new plan which he is not enrolled, the screen throughs another screen showing to add the selected plan. Here
present situation is --- that screen directly updates the r/3 infotype through its server.
Required situation --- when the person adds the new plan a new pop up as to be triggerred with yes or no button. If he press yes, workflow as to trigger for an approval first then update the datbase infotypes in r/3
Can anyone help me with following questions
1. How to create a pop up in html
2. how to trigger a workflow when the employee press yes button in pop up window in html.
Please help me.
Request clarification before answering.
I am not sure I am on the right track or not but I thought of posting this in case it helps. I did similar work few months back with help of portal team.. There are some WAPIs SAP_WAPI* . The WAPI SAP_WAPI_CREATE_EVENT can be used to trigger an event in R/3 and hence the workflow. Now how do Portal and R/3 talk to each other I am not sure may be thru XML files as Martin told us. this where the portal team came into the picture.
Hope this helps u in some way
Martin: Can you please share some material or useful links on the communication between R/3 and Portal ?
Regards,
Anuj Sethi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anuj,
What I am referring to is not based on communication between the Portal and R/3, but from outside of R/3 to R/3. So it could be any web application. When you use the WAPI from the portal I think it will use a RFC connection to communicate to R/3.
For more info on the XML communication check the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/9b/9f9138d380f50fe10000009b38f8cf/frameset.htm">SAPHelp</a>. Also check all the references in there.
In very short words you need to put a webtask in the workflow to receive the XML and activate the workflow_xml service in SICF to process the incoming XML. This is the solution with a very rough short-cut so there is more, but it is in the SAPHelp. Also some time ago there was a question about this communication, I don't know if there is more info in there but worth searching for.
Regards,
Martin
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.