Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with file sender adapter and endSeparator

Hy,

have the following situation: with a sender File adpater i have to receive the same structure of data but in two mode.

1) First mode : each recorset is defined as a file line

Example (not fields separator):

fielda,fieldb,fieldc

field2a,field2b,field2c

2) Second mode : recorset of the same line without end

separator and fieldseparator

Example (not fields separator):

fielda,fieldb,fieldc,field2a,field2b,field2c,......

I configured the adapter as follow.

structure.fieldFixedLengths 1,2,3

structure.fieldNames field1,field2,field3

structure.lastFieldsOptional YES

structure.processFieldNames fromConfiguration

structure.endSeparator 'nl'

PROBLEM

Mode 1) works but mode 2) doesn't work.

Could anyone solve my problem??

Thank's

Mati

Former Member
Not what you were looking for? View more on this topic or Ask a question