Hi Gurus,
I have 250 records in an internal table, tell me how to
randomly delete the each 5th record...i,e 5,10,15,20 like
this.
Answer Posted / samrat
Do.
T = sy-index * 5.
Read table itab index T.
If sy-subrc = 0.
Delete itab index T.
Else
EXIT.
ENDDO.
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
What is the difference between Exit and Stop?
How many main windows are allowed in sapscript?
What are the classifications of the sap abap data classes?
What is the tcode for sapscript forms?
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul
I need the coding for BDC program to upload Purchase orders of known vendor (ME21) in Material Management
What are internal tables? How do you get the number of lines in an internal table?
Advantages and disadvantages of different types of bdc's?
What is bdc programming? : abap bdc
Exception handling and how does it transfer from called method to calling method?
How do u set up background jobs in SAP? What r the steps? What are the event driven batch jobs?
Why lsmw does not support call transaction method? : abap bdc
What is a report?
Explain client-dependent and client-independent tables.
What are system variable in abap?