cancel
Showing results for 
Search instead for 
Did you mean: 

mapping issue

Former Member
0 Kudos

Hi

we have a jdbc to idoc scenario, idoc is getting repeated on the basis of PUR_ORDR_TYP, PUR_ORDR_TYP has two conditions HIGH or NORMAL

if PUR_ORDR_TYP is HIGH

then only we need to send value to target segment E1BPITEMSHIPX

If PUR_ORDR_TYP is NORMAL

then we do not need send value to target segment E1BPITEMSHIPX

On the basis of LINE_NO all the segments should get repeated in a particular idoc

problem

we are not able to repeat the segment E1BPITEMSHIPX on the basis of LINE_NO

source structure

PUR_ORDR_TYP = HIGH

LINE_NO=5

PUR_ORDR_TYP = HIGH

LINE_NO=6

PUR_ORDR_TYP = NORMAL

LINE_NO=7

PUR_ORDR_TYP = NORMAL

LINE_NO=8

TARGETSTRUCTURE

E1BPITEMSHIP

E1BPITEMSHIP

E1BPITEMSHIPX

E1BPITEMSHIPX

E1BPITEMSHIP

E1BPITEMSHIP

In the target struccture , there is no repeatation of E1BPITEMSHIPX for PUR_ORDR_TYP = NORMAL

early reply shall be appreciated

regards

arun

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
if PUR_ORDR_TYP is HIGH
then only we need to send value to target segment E1BPITEMSHIPX
we are not able to repeat the segment E1BPITEMSHIPX on the basis of LINE_NO 
In the target struccture , there is no repeatation of E1BPITEMSHIPX for PUR_ORDR_TYP = NORMAL

The last statement (above) seems to be confusing to me......when it is NORMAL you dont want to send data to target node so accordingly you dont have any repeatitions....

If it is a typo.....and you are not getting repeatition for PUR_ORDR_TYP = HIGH then the context change is not properly handled

Make sure that you either raise the Context of the source node (PUR_ORDR_TYP or LINE_NO) so that for all the valid LINE_NO you get repeatitions.

Regards,

Abhishek.

Former Member
0 Kudos

hi problem is solved , we handled the issue thru , sql query in JDBC adapter

thanks for ur help

rgds

arun

Answers (0)