cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in message mapping index.

Former Member
0 Kudos

HI All,

I am doing idoc to file scenario.

I have a problem in message mapping.

Issue is,

pallet1

palletheader(here i used counter to increment the value)

palletline(here i used INDEX to increment the value)

pallet linenumber1(it should be 1)

pallet linenumber2(it should be 2)

-


( -


so on )

-


so on

pallet2

palletheader

palletline

pallet linenumber1(here again it should be 1)

pallet linenumber2(here again it should be 2)

-


( -


so on )

-


so on

In INDEX we have option called reset index in that we have two radio buttons

one is "reset index to intial value with each new context"

and next one is "donot reset index to intiak value"

if i use the first radio button which is working fine in only one pallet and more pallet lines but not more than one pallet.

If i use the second radio buttton which is working fine in more than one pallet but not satisfying the more pallet lines in one pallet.

Can you please help me on the issue

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

change the context of pallet line to its parent node and then selct "reset index to intial value with each new context"....

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

What is the context of pallet lines....Is Pallet node, the parent of palletheader & palletline.??..If yes, first radio button will work. Since for each and every pallet the context will be changed so that the index will be reset.

Can you please post sample input queue with values for further help.

Regards,

Priyanka

Former Member
0 Kudos

Hi,

I kept all under idoc level.

But the problem is if i use any radio button i am not getting the second pallet line and so on.

is there any other standard function to solve the issue.

Former Member
0 Kudos

can u post ur structure??

i guess u r using the very next parent's context for pallet line??

Former Member
0 Kudos

my requirement is like this.

IF DELVRY05/IDOC/E1EDL20/E1EDL24/POSNR equals to /DELVRY05/IDOC/E1EDL20/E1EDL37/E1EDL44/EXIDV

then map to 'pallet line' .

I tried to keep posnr context as E1EDL20 and also IDOC level.

And at the same way to EXIDV too.

pallet(1 to unbounded)

pallet header(1 to 1)

pallet lines(1 to 1)

in sub level pallet line(1 to unbounded) (here i applied the index logic)

The out put should be pallet line 1,2,3,----- so on

In the second pallet the pallet lines should be again 1,2,3,4-------so on .

But when i try to apply thsi logic,

I am getting only one pallet line instead of two.

second is not comming .

please help on this i am facing this problem for the long time back.

if i solve then i can complete my scenario.

Former Member
0 Kudos

my requirement is like this.

IF DELVRY05/IDOC/E1EDL20/E1EDL24/POSNR equals to /DELVRY05/IDOC/E1EDL20/E1EDL37/E1EDL44/EXIDV

then map to 'pallet line' .

I tried to keep posnr context as E1EDL20 and also IDOC level.

And at the same way to EXIDV too.

pallet(1 to unbounded)

pallet header(1 to 1)

pallet lines(1 to 1)

in sub level pallet line(1 to unbounded) (here i applied the index logic)

The out put should be pallet line 1,2,3,----- so on

In the second pallet the pallet lines should be again 1,2,3,4-------so on .

But when i try to apply thsi logic,

I am getting only one pallet line instead of two.

second is not comming .

please help on this i am facing this problem for the long time back.

if i solve then i can complete my scenario.