0% found this document useful (0 votes)
7 views5 pages

SAP JCO Interface Configuration Guide

The document provides 8 steps to connect SAP systems using SAP JCO interface and retrieve output from a BAPI call in BLS. It involves configuring a SAP JCO interface action with connection details, linking request parameters to transaction inputs, defining an XML output structure, using a repeater to display table data, linking the XML and repeater outputs, assigning the XML output to the transaction output parameter, saving the BLS, and testing it by assigning input parameters and getting the output. The goal is to retrieve data from a SAP BAPI call and display it through the BLS workflow.

Uploaded by

api-3732016
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

SAP JCO Interface Configuration Guide

The document provides 8 steps to connect SAP systems using SAP JCO interface and retrieve output from a BAPI call in BLS. It involves configuring a SAP JCO interface action with connection details, linking request parameters to transaction inputs, defining an XML output structure, using a repeater to display table data, linking the XML and repeater outputs, assigning the XML output to the transaction output parameter, saving the BLS, and testing it by assigning input parameters and getting the output. The goal is to retrieve data from a SAP BAPI call and display it through the BLS workflow.

Uploaded by

api-3732016
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

First of all, have a glance at following :

BLS Screen Shot to Connect with ERP using SAP JCO Interface and Get Output
Steps to take Actions :

Step 1 : Use SAP JCO Interface Action. Right Click > Configure

Here in SAP Server Details, use proper connection details :


SAP Server, SAP Client, SAP System Number, SAP User Name, SAP Password, SAP
RFC Name (say, BAPI_SALESORDER_GETLIST)
Also set the checkbox Execution Function.
Step 2 : Use SAP JCO Interface Action. Right Click > Links > Link Editor

Here in the Link Editor, Just map the link between request input parameter of the RFC in
SAP JCO Interface (See Right Side Panel) and Transaction input Parameters (Define
transaction input parameter from Transaction Properties)

Step 3: Use XML Document Action > Right Click > Configure
Here define column names with proper Data Type as u want to display in XML Output
from the response of RFC.

Step 4: Use Repeater Action > Right Click > Configure

Here set XPath Expression with the item returned by a table (that table u want to display
in output) from the response of RFC. (select this XPath Target from browse button […])

Step 5: Use Row Action > Right Click > Configure

Here select the output of XML Document as Document Object (Select this object from
browse button […])

Step 6 : Row Action > Right Click > Links > Link Editor
Here in the Link Editor, just map the links between the columns of XML document
(Right Side Panel) and the items in the Output of Repeater (Left Side Panel)
accordingly/properly.

Step 7 : Use Assignment Action > Right Click > Links > Link Editor

Here just map the link between the XML Document Output (Left Side Panel) and the
Transaction output parameter of XML Data Type (result). Also remember to define the
output parameter initially (with checkbox Output Parameter from Transaction Properties)

Step 8: Save this BLS with a name in a folder in ur server. Then from Query Template
Editor, select new > XacuteQuery > Transactions (Tab) > select that saved BLS and select
output parameter. Then Input Parameters Tab > Assign the input parameters available in
Right Side List box in the left grid table starting from Param.1. Set ur required parameter
value to the assigned Parameters. Then ‘Test’ to get the output from BAPI

Thanks

Som

You might also like