on 03-11-2009 3:13 PM
Hi all,
i'm trying to set up communication between a third party sistem and R3 via XI. I'm using BAPI_ROUTING_CREATE but , when i send the XML message (you can read it below), the rfc adapter starts this exception:
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.
I'm sure that the bapi is defined into the R3 system, i checked via se37, and the Communication channel for the BAPI is set properly since it works with other bapis.
May be someone can help me?
Best Regards
Luca
<rfc:BAPI_ROUTING_CREATE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<APPLICATION/>
<BOMUSAGE/>
<PROFILE/>
<TESTRUN>
<BAPIFLAG>' '</BAPIFLAG>
</TESTRUN>
<COMPONENTALLOCATION>
<item>
<TASK_LIST_GROUP/>
<GROUP_COUNTER/>
<SEQUENCE_NO/>
<CHANGE_NO/>
<VALID_FROM>2009-02-01</VALID_FROM>
<CHANGE_NO_TO/>
<VALID_TO_DATE>2009-12-31</VALID_TO_DATE>
<DEL_IND/>
<ACTIVITY/>
<OPERATION_ID/>
<BOM_TYPE/>
<BOM_NO/>
<ALTERNATIVE_BOM/>
<ITEM_ID/>
<ITEM_NO/>
<CUTTING_MEASURE_UNIT/>
<CUTTING_MEASURE_UNIT_ISO/>
<COMP_UNIT/>
<COMP_UNIT_ISO/>
<BACKFLUSH/>
<PLANT/>
<MATERIAL/>
<BOM_TYPE_ROOT/>
<BOM_NO_ROOT/>
<ALTERNATIVE_BOM_ROOT/>
</item>
</COMPONENTALLOCATION>
<MATERIALTASKALLOCATION>
<item>
<MATERIAL>A10060</MATERIAL>
<PLANT>2000</PLANT>
<TASK_LIST_GROUP>50000007</TASK_LIST_GROUP>
<GROUP_COUNTER>2</GROUP_COUNTER>
<CHANGE_NO/>
<VALID_FROM>2009-02-01</VALID_FROM>
<CHANGE_NO_TO/>
<VALID_TO_DATE>2009-12-31</VALID_TO_DATE>
<DEL_IND/>
<DOC_NUMBER/>
</item>
</MATERIALTASKALLOCATION>
<OPERATION>
<item>
<TASK_LIST_GROUP>50000007</TASK_LIST_GROUP>
<GROUP_COUNTER>2</GROUP_COUNTER>
<SEQUENCE_NO>0</SEQUENCE_NO>
<CHANGE_NO/>
<VALID_FROM>2009-02-01</VALID_FROM>
<CHANGE_NO_TO/>
<VALID_TO_DATE>2009-12-31</VALID_TO_DATE>
<DEL_IND/>
<ACTIVITY>0010</ACTIVITY>
<OPERATION_ID/>
<CONTROL_KEY>PP01</CONTROL_KEY>
<OBJ_ID>10000017</OBJ_ID>
<OBJECT_TYPE_CIM_RESOURCE>A</OBJECT_TYPE_CIM_RESOURCE>
<WORK_CNTR>A4010</WORK_CNTR>
<PLANT>2000</PLANT>
<STANDARD_TEXT_KEY/>
<DESCRIPTION>ASSEMBLY</DESCRIPTION>
<OPERATION_MEASURE_UNIT>PC</OPERATION_MEASURE_UNIT>
<OPERATION_MEASURE_UNIT_ISO/>
...
..
..
</rfc:BAPI_ROUTING_CREATE>
did you import the BAPI into XI?
SWCV -> Imported Objects -> RFC ???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.