Hi,

I have 100 records in a table, how to read every 7Th record
each in that...

Answer Posted / bala

LOOP AT IT_KNA1 INTO WA_KNA1.
T = SY-TABIX / 7.
IF T EQ 0.
APPEND WA_KNA1 TO IT_KNA2.
ENDIF.
ENDLOOP.

Is This Answer Correct ?    7 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization

712


stock transfer from one plant to another plant ? i want the total description.

1576


Is it possible to pass data to and from include programs explicitly? : abap modularization

745


Write syntax for message error (report)?

639


What are the payroll related infotypes? : abap hr

579






What is the function of the transport system and workbench organiser? : abap data dictionary

616


2)In production what is the user exit?

1578


What are system fields for secondary lists?

613


What is Buffering Concept? When should a Table be buffered?

11801


Event handling in oops

1126


How to write a code in tab control? : abap bdc

634


What are the modes in which any update tasks work?

630


when u prefer lsmw?

624


How collect statement is different from append?

537


What abap statement will trigger list generation?

623