2012 Oct 19 6:11 AM
Hello,
I am using modify statment in my code within loop it is giving following dump.
Below is my code.
2012 Oct 19 6:24 AM
gt_alvdisplay u are modifying is not available in any loop so you need to specify index number of table gt_alvdisplay on which you want to perform modify operation like:
modify gt_alvdisplay from gwa_alvdisplay index <index_variable>.
2012 Oct 19 6:43 AM
Hello Gagan,
Tried it before also but modify statement is not modifying i.e Sy-subrc = 4
2012 Oct 19 6:28 AM
Dear Mangesh,
Try the following code to modify the table:
MODIFY GT_ALVDISPLAY FROM GWA_ALVDISPLAY INDEX SY-TABIX.
Regards
Dinesh
2012 Oct 19 6:51 AM
HI,
I feel gt_alvdisplay isnt there. So you need to use APPEND statement to insert a record in the table.
Thanks,
Best regards,
Prashant Patil