on 12-13-2006 11:45 AM
Hi Xi friends.....
in IDOC to xml..i am getting EXCEPTION_DURING_EXECUTE of mapping catagory in SXMB_moni....static test is OK..
<?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/_MM_SAP_IORDER_To_MES_WorkOrderCrea~</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/_MM_SAP_IORDER_To_MES_WorkOrderCrea~ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
mapping is like this
IOREDR01 1..1 -
> WorkOrders 1..1
--- E1ORHDR 1..1 -
> Order 1..1
-
Aufnr 0..1 -
> id required
-
E1OROPR 1..999999 -
> Operation 1..unbounded
-
Vornr 1..1 -
> id required
-
Ltxa1 1..1 -
> desc 1..1
-
fsavd 1..1 -
> startdate required
and some fileds in the E1OROPR to target fields mapped...
please help me....
regards
ram
Hi friends...
thanks for your helping..
jai...
i deleted the templatecode in external defintion..now its successfully executed...
in idoc utxt is string type of maxlenth 40 and i changed external deifintion also to lenth 40 but ..still error...without templetcode its Ok..
so how to declare template code in xsd ...maxlenth 40.
<i><xs:attribute name="TemplateCode" type="TemplateCode" use="required" />
<xs:simpleType name="TemplateCode">
<xs:restriction base="xs:string">
<xs:maxLength value="40" />
<xs:minLength value="0" />
</xs:restriction>
</xs:simpleType></i>
correct the above and help me....
in source field is string and maxlenth is 40
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
Check your Content conversion parameters, in the Document structure whether you have given the DT or MT.
Regards,
Chaitanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himadri..
thanks for your quick response..
i tested ..but i got..
<i>Cannot produce target element /ns0:WorkOrders/ns0:Order/ns0:Operation/TemplateCode. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd</i>
the target field TemplateCode is TemplateCode type...which i gor from external defintion.. is any need to change type to string...
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ram,
Can you download the payload from SXMb_moni and test in mapping test?
Cheers,
Himadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.