on 11-20-2007 4:48 AM
hello,
IDOC - File
when IDOC has multiple item lines, It has to generate multiple item lines on the file
I could achieve the same by mapping the segments of the IDOC to nodes of target structure.
now, everything is working for but the items are not appearing in a new line
i mean the item line is appended to the Header line but I need each item line to be on a seperate and NEW line.
help!!!
nikhil.
Nikhil,
Yes.I believe it will work....
Regards,
Manju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nikhil,
Make your Orderitm node as in same hierarchie of Header.No problem it will works but when u trying to change the hierarchie of the strucutre the existing mapping will lost.U need to do the mapping again.
Try this and let me know ur proceedings
Cheers
Veera
>>>Reward points,if it is needful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
<b>the item line is appended to the Header line</b>
Your content conversion parameters are fine.U r saying that mapping is working fine.Can you give the strucutrue of your file and test data how u r file needs to be look like. It would helps to solve the problem.
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Veera,
Source:
+ZIDOC
++IDOC
+++E1KPDCC
++++field1
++++field2
++++field3
======
Receiver:
+FILE
++INV
+++Header
++++header_field1
++++header_field2
++++header_field3
++++Orderitm
+++++itm_field1
+++++itm_field2
+++++itm_field3
The "Orderitm " on the receiver is mapped to E1KPDCC of the source IDOC for multiple repetetions of the item records
Nikhil.
Nikhil,
Here is the problem.
+FILE
++INV
+++Header
++++header_field1
++++header_field2
++++header_field3
++++Orderitm
+++++itm_field1
+++++itm_field2
+++++itm_field3
You are having a nested structure.
Would it not be better to have a structure like below:
+FILE
++INV
+++Header
++++header_field1
++++header_field2
++++header_field3
+++Orderitm
++++itm_field1
++++itm_field2
++++itm_field3
Just try modifying the structure.
Let me know.
Regards,
Manju
Nikhil,
Sorry.I put it wrong.I actually meant item.endSepartor = 'nl'.
But since you have this parameter,just have one more check.
Check your ContConve in change mode.The cursor should be just after endSeparator.There should be no spaces left after Separator.
Also check the font and spelling.
Regards,
Manju.
Message was edited by:
Manjusha Nair
Message was edited by:
Manjusha Nair
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nikhil,
In the content conversion at the receiver end just add the parameter item.filedSeparator = 'nl'.(If you have not put)
Let know if it works.
Regards,
Manju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.