on 2005 Aug 12 8:16 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Hi
Go thru this link
/community [original link is broken]
Hope it helps
Regards
Arpit seth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.