on 07-17-2007 3:57 PM
Hello all,
My Scenario is FILE XI IDoc. Here i am using FCC in case of sender. I am mapping to the IDoc WGSREQ.WGSREQ02.
The Structure of the Idoc is
-->EDI_DC40 --- > For this i will disable and activate control record
-->E1WGRK1 --- > 1....5000
-
>E1WGRP1 -
> 1.....9999
-
>E1EDK05 -
> 0.....4
What will be the suggested Sending Message Type.
Because my current Message Type is Flat containing all the fields under a single node.
Regards
Ramesh P
Message was edited by:
Ramesh Parashivamurthy
Hi ,
If your idoc occurence is less the 0...9999 or something to that effect then you may may have to use idoc packaging ..
that is when the occurence is 0 to1 for the present idoc.
For this export the xsd of the idoc ...open it in notepad ...manually change it to 0.....99999 .Reimport it as an xsd .
so it should look something like this
<b>idoc ---> 1...9999</b>
EDI_DC40 --- > For this i will disable and activate control record
-->E1WGRK1 --- > 1....5000
-
>E1WGRP1 -
> 1.....9999
-
>E1EDK05 -
.then use it for mapping ...
what I understand ...you have n number of records in a file and you would like to post that many idocs ...what you are showing here is the segements under the idoc ...you need to fiddle the idoc occurence itself.
Once you are done with that map the recordset structure ..(the one with multiple occurence ) with the idoc field .
Rest of the fields can be mapped using context function ...if you face any problem kindly reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deepak,
Let me reframe my question.
I have a target file for Inventory with <b>0...unbounded</b> records but in single structure.
But the IDoc structure is mentioned above.
I am encountering Runtime Exception in Mapping. I even tried Michal Blog for testing message, there i will receive the following error.
<i>Cannot produce target element /WGSREQ02/IDOC/E1WGRK1. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd</i>
Any suggestions.
Regards,
Ramesh P
Hi
Clearly , at runtime you are not getting any source node for the targetnode
/WGSREQ02/IDOC/E1WGRK1 that you have mapped earlier
Use , "Display Queue" in mapping editor for the above Target node and you will find Full of suppress entries only.
Action you need to take: Make sure the targer node gets some value in its source node during runtime
regards
krishna
Hi Ramesh,
As u are using FCC at sender the Structure should be like this
<?xml version="1.0" encoding="UTF-8"?>
<recordset>
<DATA>
<FNAME>n</FNAME>
<LNAME>md</LNAME>
</DATA>
</recordset>
check this for such scenario
check my reply in this thread
and my postiing on wiki for File to IDOC scenario
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Parahivamurthy,
Map the repeating element from the flat source sturcture to E1WGRK1 so that this segment repeats. Use node functions to map them.
Regards,
---Satish
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.