EasyManua.ls Logo

BEA WebLogic - Page 293

BEA WebLogic
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sample Files and Coding Techniques
BEA WebLogic Adapter for SAP User’s Guide D-13
6. Start BEA WebLogic and configure a File event.
When the XML document is placed into the specified file listener directory, BEA
WebLogic automatically submits it to SAP for processing and returns the document
with a list of all active InfoCubes from the SAP Business Warehouse.
For example, the following is the request:
<?xml version="1.0" encoding="UTF-8" ?>
<InfoCube.GetList.Response xmlns="urn:sap-com:document:sap:business"
schemaLocation="urn:sap-com:document:sap:business
C:\PROGRA~1\COMMON~1\iway\Adapters\5.2.104\sessions\default\
sap\GAH\service_BAPI_CUBE_GETLIST_response.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RETURN>
<TYPE/>
<ID/>
<NUMBER>000</NUMBER>
<MESSAGE/><LOG_NO/><LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1/><MESSAGE_V2/><MESSAGE_V3/>
<MESSAGE_V4/><PARAMETER/><ROW>0</ROW><FIELD/><SYSTEM/>
</RETURN>
For example, the following is the response:
<INFOCUBELIST><item><INFOCUBE>0BWTCFC1</INFOCUBE><OBJVERS>A</OBJVERS>
<TEXTLONG>BW Technical Content FC1</TEXTLONG><OBJSTAT>ACT</OBJSTAT>
<ACTIVFL>X</ACTIVFL><INFOAREA>0BWTCT_FCHA</INFOAREA>
<CUBETYPE>B</CUBETYPE> </item><item><INFOCUBE>0BWTCFC2</INFOCUBE>
<OBJVERS>A</OBJVERS><TEXTLONG>BW Technical Content 2</TEXTLONG>
<OBJSTAT>ACT</OBJSTAT><ACTIVFL>X</ACTIVFL>
<INFOAREA>0BWTCT_FCHA</INFOAREA><CUBETYPE>B</CUBETYPE>
</item>
.
.
.
</INFOCUBELIST></InfoCube.GetList.Response>

Table of Contents