Skip to Content

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

Recordset per message

Hello All,

I have a flat file of fixed lenth which has to be read by SAP PI.

Structure of the file is as below:

BHABCDYYUU 00000001

DLWERLKJLKF

BHAWEDYYUU 0000002

DLWEDSLKJLKF

BHDFEDYYUU 00000003

DFSFSDFSDF

BH-Batch Header

DL-Detaled Linte Item

As part of my requirement I have to read one set(a BH followed by DL). Hence I put the recordset per message as 1.

And recordset structure as BH,DL.

But when I execute the Interface the channel reading the above file in random order instead of reading from top to bottom.

Due to that I am missing the correct order. Tried EOIO.

Can some one tell me the solution to read the file from top to bottom in a sequence with recordset per message as 1

Thanks,

Regards,

Moorthy

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