cancel
Showing results for 
Search instead for 
Did you mean: 

Result of BAPI

Former Member
0 Kudos

Hi,

I created two XI-adapter to read a CSV File and

write the information to SAP. I use the BAPI

BAPI_DOCUMENT_CREATE2 to create a new document

with information from the CSV.

The adapter monitor and the transaction sxmb_moni

show no error messages, but no DIS is created.

Where can I look up for the return of the BAPI or

if the BAPI is filled correctly?

The XML-Message for the input message seems to be correct:

<?xml version="1.0" encoding="utf-8" ?>

- <ns:FileInf_Riek1 xmlns:ns="http://swk_riek">

- <row>

<DOKAR>C3K</DOKAR>

<DOKTL>000</DOKTL>

<DOKVR>00</DOKVR>

<DESCR>Dies ist die Beschreibung</DESCR>

<USER>Riekenberg</USER>

<STATUS_E>AA</STATUS_E>

<STATUS_I>AA</STATUS_I>

</row>

</ns:FileInf_Riek1>

But the payload of the destination messages looks like this:

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:ZZ_BAPI_DOCUMENT_CREATE2 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<DOCUMENTDATA />

</ns0:ZZ_BAPI_DOCUMENT_CREATE2>

How would you analyse, where the mistake could be?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Christian,

I guess you are doing synchronous interface. I presume your are mapping your input CSV file to BAPI.request. Could you please elaborate your configuration exactly.

I have a SOAP -> XI -> bapi Scenario.

And I see my input message in XML Original Message - Inbound Payload . And you can see the mapped payload under Request Message Mapping tab or Call Adapter tab.

The output from BAPI can be seen under Response ->Call Adapter -> Payload tab.

Former Member
0 Kudos

Hi,

You should also see that you have configured for 'COMMIT_WORK' BAPI n the receiver RFC adapter. Please check help for the same.

Regards

Vijaya