Skip to Content
author's profile photo Former Member
Former Member

each item on a new line

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 07:38 AM

    Nikhil,

    Yes.I believe it will work....

    Regards,

    Manju.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 04:54 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 05:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 06:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 07:21 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.