Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow-XML

Former Member
0 Kudos

Hi Experts,

How to generate the XML files from the Workflow...

Plz explain in details

Reply

Regards

3 REPLIES 3

Former Member
0 Kudos

Hi Rahul

You will find your answer <a href="http://help.sap.com/saphelp_47x200/helpdata/en/8a/e39e388bd61262e10000009b38f842/frameset.htm">here</a> in SAP Help.

Regards

Gareth

0 Kudos

Hi Gareth,

Thanx for ur reply..

How to create the XML file from the Workflow...

Plz reply

Regards

0 Kudos

Hi Rahul,

In simple terms you create a Web Activity step in your workflow and this facilitates the sending of the task container as a formatted WfXML document to the entered URL. You have the option of waiting for a reply or not.

Below is a quote from the task description in the workflow builder. But read through the help documents quoted in my last post to ensure you have all config and setup completed correctly.

Regards

Gareth

How does the chosen transfer format work?  


All single-line container elements of the task container which use the ABAP Dictionary or the object type XML_DOC as data type reference are sent in an XML document.

When the Web activity is executed, an XML document is created in accordance with the transfer format Wf-XML of the Workflow Management Coalition (beta version of 11 January 2000. The XML document contains the operation CreateProcessInstance, which starts a remote process.

If the indicator Wait for feedback is set, the work item associated with the Web activity is not completed until an XML reply document is received. This must contain the operation ProcessInstanceStateChanged and set the process status to closed.completed or closed.abnormalCompleted.

If the indicator is not set, the work item is set to status completed immediately.