on 05-13-2009 3:55 AM
hi experts,
i hav a scenario that is FILE 2 FILE 2 FILE without BPM, i refer the scenario below:
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529].
in my scenario i instead of the RFC using File.the scenario hav used two module: AF_Modules/RequestResponseBean & AF_Modules/ResponseOnewayBean
but error occurred in the runtime.
the error is described below:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <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/_file2file_rec_mm_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
<SAP:P3>Premature end of file.</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_file2file_rec_mm_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Premature end of file.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
request helps in this regards.
thx in advance.
rgds.
brian
Brian, File-RFC-File scenario you are referring has RFC as receiver which could be used for sync communication. For your case File-File-File, you cannot use these modules because file adapter behaves only asynchronously and you won't receive any response.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Premature end of file
The source XML that you are using for the mapping file2file_rec_mm is missing some tags (start, end)...just check the format of your XML....no other type of error....you can even test with that xml in IR.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi abhishek,
thx for ur answer. but i hav tested in the IR, there is no error.
this is the xml document below , u can see:
THE SOURCE XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_CompanyID xmlns:ns0="http://xif.foxconn.com.xif/jean/file2file">
<ComID/>
<SetAge/>
</ns0:MT_CompanyID>
THE TARGET XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_CompanyIDxmlns:ns0="http://xif.foxconn.com.xif/jean/file2file">
<ComID></ComID>
<SetAge>1975</SetAge>
</ns0:MT_CompanyID>
i didnt give value to the ComID, i gave a constant value to the SetAge.
thx.
pls give me some advices.
brian
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.