cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter Skip first line in file

former_member301120
Active Participant
0 Kudos

Hello to all,

I'm trying to read a file (nfs) using the file adapter.

The szenario works fine, but I need to skip the first line in the txt file (header line)

I tried parameter documentSkipFirstRows, without success.

Any ideas?

Regards Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

If you are using File content Conversion, Use Document Offset as 1.

Let me know if it works.

Regards,

Sreenivas.

former_member301120
Active Participant
0 Kudos

Hello,

I've tried this

item.documentSkipFirstRows = 1

but it didn't work (item is my record structure name).

With document offset everything works fine.

Thanks

Christian

Answers (1)

Answers (1)

jyothi_anagani
Active Contributor
0 Kudos

Hi Kaiser,

May be the syntax problem.

use like this...

xml.documentSkipFirstRows     1

Syntax is

xml.documentSkipFirstRows=<noOfRows>

for more info refer this link..

http://saphelp.border-states.com/EN/0d/00453c91f37151e10000000a11402f/frameset.htm

Verify this...

Thanks.