on 10-08-2008 8:00 AM
Hi All,
I am working on a File-RFC-File without BPM using the blog https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29
Its working for other similar scenario's and its not working for a scenario where I am using BAPI CCAP_ECN_CREATE.
I am getting an error
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_ECN_Creation_Res_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Parsing an empty source. Root element expected!</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_ECN_Creation_Res_: Parsing an empty source. Root element expected!</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
It is not deleting the source file, instead it creates the output file with the same source strcuture instead of the actual response configured.
Note: Here from the RFC i have taken the XSD structure for the request and response and created an external defination and done one-one mapping for each field.
Provide some inputs.
Regards,
Nithiyanandam
Hi All,
Still I am having error in SXMB_MONI as "application error-restart not possible".
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">CCAP_ECN_CREATE.Exception</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please provide inputs.
Regards,
Nithiyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
The message is getting successfully processed now in PI and I am also getting the response back from ECC which I could only see in the MONI and the file is not written in the target directory and moreover my sender CC, still showing an error and also the file is not getting deleted from the input directory.
"Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
Regards,
Nithiyanandam
Hi
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Parsing an empty source. Root element expected!</SAP:P3>
This is the problem arises due to incorrect XML message.
I think you need to revisit the external definition you prepared for the RFC module.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
use this thread to achive File-Rfc-File without BPM Guided by Bhavesh
but if u r using XI3.0 less than SP level19 then only possible way, there is a concept called RFC LookUp using which you can call an RFC and get the response from insde your message mapping with a User Defined function.
So, maybe you can get the file, and while mapping the same to the target file , you can trigger the RFC call using the RFC LookUp API and then map the response ot the target!
But, this should be used only in case of non transactional RFC calls. If the RFC is going to do some DB actions like Insert / Update you should not use this option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<SAP:P3>Parsing an empty source. Root element expected!</SAP:P3>
you should pay attention on this message in your log... it means that a node is missing in the xml ... you must change your datatypes .. somewheres missing a node (empty source) ..
i had a similar problem and solved it that way
regards
christian
Hi All,
Please provide some inputs...
Regards,
Nithiyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.