on 06-05-2006 2:09 PM
Hi all,
My XI server is successfully picking up a comma separated file from an FTP server and generating the corresponding XML:
<?xml version="1.0" encoding="utf-8" ?>
<ns:CondRec_MT xmlns:ns="http://namespace-ConditionRecords">
<Recordset>
<ConditionRecord>
<Usage>A</Usage>
<Table>018</Table>
<Application>M</Application>
<ConditionType>PB00</ConditionType>
<VarKey>00000039301300-340 2 0</VarKey>
<Material>1300-340</Material>
<Vendor>3930</Vendor>
<PurchasingOrg>2</PurchasingOrg>
<Infotype>0</Infotype>
<InfoRecord>5300003218</InfoRecord>
<CondRecordNo>0000020727</CondRecordNo>
<ValidFrom>30.05.2006</ValidFrom>
<ValidTo>31.12.9999</ValidTo>
<ScaleType>A</ScaleType>
<CalculatType>C</CalculatType>
<KBETR>15.00</KBETR>
<CondCurrency>USD</CondCurrency>
<CondItemIndex>01</CondItemIndex>
<RelToPricing>X</RelToPricing>
</ConditionRecord>
</Recordset>
</ns:CondRec_MT>
But nothing is getting submitted to the receiver adapter.
The error in SXMB_MONI reads as follows:
<?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="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_file2file_mm_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>During the application mapping com/sap/xi/tf/_file2file_mm_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I am using a simple one to one mapping(i.e the same msg type is being used for both the outbound and inbound interface).
Pls can anybody guide me as to what can be the probable error.
Thanks in advance
Regards
Neetu
Hi Jithesh,
I followed the link provided by you but it is still not working.
I am facing the same problem.
Pls help
Regards
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal
Yes I have already used
ignoreRecordsetName = true
As mentioned in the link provided by you, but the <recordset> tag still remains in the in the generated XML.
I do not understand where i am going wrong.
Pls guide.
Regards,
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks for ur prompt responses.
I followed the blog and performed testing of the mapping.
The XML with which i tried was as follows:
<?xml version="1.0" encoding="utf-8"?>
<ns:CondRec_MT xmlns:ns="http://namespace-ConditionRecords">
<Recordset>
<ConditionRecord>
<Usage>A</Usage>
<Table>018</Table>
<Application>M</Application>
<ConditionType>PB00</ConditionType>
<VarKey>00000039301300-340 2 0</VarKey>
<Material>1300-340</Material>
<Vendor>3930</Vendor>
<PurchasingOrg>2</PurchasingOrg>
<Infotype>0</Infotype>
<InfoRecord>5300003218</InfoRecord>
<CondRecordNo>0000020727</CondRecordNo>
<ValidFrom>30.05.2006</ValidFrom>
<ValidTo>31.12.9999</ValidTo>
<ScaleType>A</ScaleType>
<CalculatType>C</CalculatType>
<KBETR>15.00</KBETR>
<CondCurrency>USD</CondCurrency>
<CondItemIndex>01</CondItemIndex>
<RelToPricing>X</RelToPricing>
</ConditionRecord>
</Recordset>
</ns:CondRec_MT>
this gave the following error:
Cannot produce target element /ns:CondRec_MT/ConditionRecord. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
But when i removed the tag 'RECORDSET', it works fine and output gets genersted.
My datatype has no such field called recordset.
The adapter generates it on its on.
How do i solve this issue.
Regards
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
have you tried using:
ignoreRecordsetName = true?
from:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Hi,
Does your receiver structure have all the fields(eg: Recordset,conditional Record etc...) as generated after File Content Conversion?
Test your mapping in the test tab...
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neetu,
have a look at my weblog:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
to see how you can/should test your scenario
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to SXMB_MONI and get the source xml from there and test it in the IR->Mapping Editor .. Check are you getting any error..
Probably some of the fields/nodes are not mapped correctly..
This may be first check , you need to do.
Are you using any user defined functions. If so is there any runtime excesptions for that..
Also check the runtime values in the Display queue in the mapping editor.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.