Application Development and Automation 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: 
Read only

How to delete line from lined structured internal table

Former Member
0 Likes
1,571

Hi Experts,

I need help on delete statement to delete line from internal table. Internal table refers to SOLI structure. I want delete when line containing (-------------------------) in this case full line should delete.

after delete how to move all data to another internal table now its showing in one line, how to move to internal table column wise.

Please for more details refer to my attached screen shot and please suggest me how to delete those records.

Thanks.

capture.png

Hi Experts,

I need help on delete statement to delete line from internal table. Internal table refers to SOLI structure. I want delete when line containing (-------------------------) in this case full line should delete.

after delete how to move all data to another internal table now its showing in one line, how to move to internal table column wise.

Please for more details refer to my attached screen shot and please suggest me how to delete those records.

Thanks.

capture.png

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,401

Look in Abap online help for statements:

  • DELETE itab WHERE condition (you could even use TABLE_LINE pseudo component)
  • SPLIT text AT separator INTO TABLE itab


Read only

0 Likes
1,401

Hi Raymond,

If i use split table then that data is internal table will come

Ex material

material no

plant

but i need as in row wise. Ex material materialno plant

Please suggest.

Thanks,

Read only

0 Likes
1,401

Loop in the result itab and use nth string to fill nth field.

Read only

0 Likes
1,401

Can you please elaborate it...

Read only

0 Likes
1,401

Look for ASSIGN (COMPONENT OF STRUCTURE) statement documentation.