cancel
Showing results for 
Search instead for 
Did you mean: 

how does a transaction work??

Former Member
0 Kudos

Hello forums,

Can anybody pls explain me in detail how actually a transaction in xMII works?? Does the data exchange between xMII BLT & erp or any other system happen in XML format?? I've read that the Assign XML or Append XML options in the logic editor are used when source & destination prop are xml documents..

Can anyone pls. explain me this in detail?? which format is the data returned from a JCO to xMII & how it is processed & the difference between various link types in logic editor???

Your help would be greatly appreciated,

Thanks,

Sushma.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sushma,

A transaction in xmii works just like any other query.For this to execute u need to map the transaction in an xacute query and need to pass the input parameters(if any defined) and execute by mapping to an icommand(generally) in the same way we do in creating any other applet.

Whatever the dataexchange that is taking place with external systems generally takes place in xml format.This is even true for data exchange between BLT and erp.

The Assign XML option takes the source XML document and replaces the destination document. The Append XML option takes the source XML node (and its children) and appends it as a child to the destination node.

As i had already told data will be returned in xml format from jco to xmii.

And for the last question i guess you was asking for outgoing and incoming links in logic editor.

Incoming links is used for assigning the data from earlier actions to current.(consider in SQLquery action block the incoming tab consists of params which are to be given for execution of query)

Outgoing links is used for assigning output from current action to any other action which is already existing

(consider for the same sqlquery action block if u need to assign the xml output to a transaction output parameter u can do it in outgoing links)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shushma

You got justified answer for your question ,only this part is left

"which format is the data returned from a JCO to xMII & how it is processed & the difference between various link types in logic editor???"

So for this

JCO interface returns data in xml format to xMII.

Data processed in following way.

In BLS transaction this xml data type can be used to apply business logic.

Like if JCO interface is used for some BAPI call than through BLS transaction input can be mapped to BAPI input part in xml format.

For this ,create a input type transaction property and choose data type as xml.

Now directly map this input xml to BAPI input.

Same way we can save BAPI/IDOC output part in xml format. Just create variable in transaction property and data type as xml. Map this to BAPI output.

I think this information will help you out to understand process flow between JCO and xMII.

Best Regards

Ramshanker Upadhyay

Former Member
0 Kudos

Sushma,

Please refer to the documentation and downloadable templates available on the sdn:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/90537bfe-fd6b-2910-fda3-b04f1... [original link is broken]