cancel
Showing results for 
Search instead for 
Did you mean: 

"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExceptio

Former Member
0 Kudos
334

Hello XI guru,

I am configuring RFC to File scneario where i am using BAPI as Source. When i run this BAPI in se37 it gives me short dump stating "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:

Please help.

Also I want to know is it necessary to write wrapper for BAPI before configuring. This bapi list all orders created in SCM system.

awaiting ur advises and help

Thanx

Anu

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Anu,

<i>>>Also I want to know is it necessary to write wrapper for BAPI before configuring. This bapi list all orders created in SCM system.</i>

Yes you need a wrapper rfc. Create a RFC and call your BAPI inside it and finally end it with a commit. Then call this RFC and your BAPI wil be executed. Import this RFC in your XI

Hope this will be helpful.

Regards

Suraj

Former Member
0 Kudos

Hello Suraj,

The BAPI I am using gives list of order details from the system , do i still need to write a wrapper with commit statement in it.

Thanx

Anu

Former Member
0 Kudos

hi,

Surely you need it.

Import that userdefined rfc into ur xi and do the rest part.

REgards

Priyanka

Former Member
0 Kudos

Hello friends,

I have created wrapper and configured in Xi , but still i am getting same error in while executing rfc from se37. On seeing sxmb_moni, the error logged is payload cannot be read and the payload is empty,

Please tell me when i want to sent rfc output data to file should i map rfc_response or rfc with file.

thanx

Anu

former_member187339
Active Contributor
0 Kudos

Hi Anu,

Have a look at the following thread :

Regards

Suraj

Former Member
0 Kudos

Hello guys,

I am sorry but kind of confuse, please be with me.

I have RFC with following structure:

'Z_BAPI_MOSRVAPS_GETLIST2'

importing parameters

LOGICAL_SYSTEM = T_LOGICAL_SYSTEM

START_TIME = T_START_TIME

TABLES

PRODUCT_SELECTION = T_PRODUCT_SELECTION

LOCATION_SELECTION = T_LOCATION_SELECTION

LOCTYPE_SELECTION = T_LOCTYPE_SELECTION

ORDER_HEADS = T_ORDER_HEADS

OUTPUT_NODES = T_OUTPUT_NODES.

I put values in logical system/start_time/

product_selection/location_selection/loctype_selection

based on these values order_heads and output_nodes is populated. I want value of these to tables to be sent as file.

Data structure for file is as follows

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

- <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">

- <ORDER_HEADS>

- <ITEM>

<ORDER_NUMBER />

<ORDER_TYPE />

</ITEM>

</ORDER_HEADS>

- <OUTPUT_NODES>

- <ITEM>

<MASTER_PRODUCT />

<MASTER_PLANT />

</ITEM>

</OUTPUT_NODES>

</ns0:ORDER_MT>

But the payload has value

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

- <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">

remaining is not seen in sxmb_moni and payload cannot be read error is given.

file structure is dummy structure, please tell me know if it is right or i need to change.

Thanx

Anu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Go thru this link

/community [original link is broken]

Hope it helps

Regards

Arpit seth

Former Member
0 Kudos

Hi Arpit,

I have gone the blog. the user I am using has SAP_ALL authorixations.

Please suggest.

it gives me some mapping error in sxmb_moni.

thanx

Anu