Skip to Content
0
Former Member
May 17, 2005 at 04:39 PM

Outbound File Adapter

22 Views

Hi,

We are working on idoc->file scenario. The target file structure used for mapping is as follows.

DT_XXX

|___HEADER 1..1

|___RESPONSE 1..1

|___TROUT 1..1

|___TRANS 1..1

| |___TRANS_REJ 0..UNBOUNDED

|___METER 0..UNBOUNDED

| |___MET_REJ 0..UNBOUNDED

|___TRAILER 1..1

The expected file format is like,

HEADER,1,1,1

RESPN,2,2,2

TROUT,3,3,3

TRANS,4,4,4

TRNRJ,5,5,5

TRNRJ,6,6,6

METER,7,7,7

METRJ,R,R,R

METRJ,R,R,R

METER,8,8,8

METRJ,R,R,R

METRJ,R,R,R

TRAIL

But the problem is like after TRANS,4,4,4 is written the file adapter is not knowing <b>TRNRJ,5,5,5</b> is its child. But <b>TRNRJ,6,6,6</b> is being written in a new line. The same case with <b>Meter</b> also.

we have given in the file adapter content conversion parameters as

DT_HEADER.fieldNames

DT_HEADER.fieldSeparator

DT_HEADER.endSeparator

DT_HEADER.keyFieldValues for each and every node in the target structure given above

Can somebody pls throw some light into the same???

Thanks in advance

Jayakrishnan