Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

prob with TEXT_CONVERT_XLS_TO_SAP

Former Member
0 Kudos
494

Hello,

I am uploading a xls file into internal table using TEXT_CONVERT_XLS_TO_SAP.

The file strusture is as below.

Row1: customer city

Row2: 2000001 ABD

My requirement is to skip the first row details, as they are just the field titles and i need not consider the first row.

I should pick the data from second row onwards which is actual data.

I have to use this TEXT_CONVERT_XLS_TO_SAP FM only.

Please help.

Points are assured.

Thanks

Aafaque Husain

1 ACCEPTED SOLUTION

Former Member
0 Kudos
174

keep I_LINE_HEADER = X.

then it will read from second row onwards

try this

3 REPLIES 3

Former Member
0 Kudos
174

Hi,

Just delete first row from your internal table using delete satatement.

Example:

DELETE table itab index 1.

Former Member
0 Kudos
175

keep I_LINE_HEADER = X.

then it will read from second row onwards

try this

0 Kudos
174

Hi Madhavi,

I have similar problem iam having two headers if i want to skip the two headers what i have to do.......because the option X will skip only one header , how to skip the second header . Pls let me know as i am struck with this .

regards

ravi