on 08-11-2008 3:02 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.