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

IDOC TO FILE ERROR

Hi Friends,

Plz do help me in solving this problem

IDOC

ZHDR 0to1 child for Idoc node

ZDET 0to1000 child for ZHDR

ZSUBDET 0to1000 child for ZDET

ZLIN1 0to1000 child for ZSUBDET

ZLIN2 0to1000 child for ZSUBDET

MT_TARG

ENV 1to1

RECORDDEF 1to1

HDRRECRDDEF 1toUNBOUNDED

DETRECRDDEF 1toUNBOUNDED

DT1RECRDDEF 1toUNBOUNDED

DT2RECRDDEF 1toUNBOUNDED

In the IDOC to File scenario, my IDOc is custom IDOC & after completion of mapping when i

execute my scenario for single HDR and DET at source side it is working fine.But when i

duplicate my ZHDR segment and execute it ... out put is as follows:

MT_TARG

ENV 1to1

RECORDDEF 1to1

HDRRECRDDEF 1toUNBOUNDED

HDRRECRDDEF 1toUNBOUNDED

DETRECRDDEF 1toUNBOUNDED

DETRECRDDEF 1toUNBOUNDED

DT1RECRDDEF 1toUNBOUNDED

DT1RECRDDEF 1toUNBOUNDED

DT2RECRDDEF 1toUNBOUNDED

DT2RECRDDEF 1toUNBOUNDED

Expected Target is:

ENV 1to1

RECORDDEF 1to1

HDRRECRDDEF 1toUNBOUNDED

DETRECRDDEF 1toUNBOUNDED

DT1RECRDDEF 1toUNBOUNDED

DT2RECRDDEF 1toUNBOUNDED

HDRRECRDDEF 1toUNBOUNDED

DETRECRDDEF 1toUNBOUNDED

DT1RECRDDEF 1toUNBOUNDED

DT2RECRDDEF 1toUNBOUNDED

I want ENV and RECORDDEF fields to be occured only once its working fine but order is mismatching for other NODES in the target side.

Every helpful answer will be rewarded.

Regards,

RVA.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 11, 2008 at 02:14 PM

    him check your file communication channel you defined header as *

    <asterisc> = *

    i put <asterisc> because if i put the *

    the prhase turn bold

    HDRRECRDDEF,<asterisc>,DETRECRDDEF,<asterisc>,DT1RECRDDEF,<asterisc>,DT2RECRDDEF,<asterisc>

    Thanks

    Rodrigo

    also see this blog

    Content Conversion ( The Key Field Problem )

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 02:21 PM

    Hi,

    You mentioned "ZHDR 0to1 child for Idoc node" so occurance is 0 to 1 then how you repeat and at the same time it is in the sender side, sender side how you repeat ?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 02:19 PM

    Hi Rodrigo,

    Thankz for ur advice.I'm not testing the complete scenario & i'm testing at IR level by using TEST tab.Mapping

    logic is not working correctly.Segments order is missing at target side.

    Regards...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 02:28 PM

    Hi,

    @venkat : wat u suggested is to change the occurence of HDR,

    even though i was checking by doing this & it is not following

    the order.

    @Rodigro: i dont want the pattern said by u

    Required Pattern is:

    ENV

    RECRD

    HDR

    DET

    DET1

    DET2

    HDR

    DET

    DET1

    DET2

    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.