2008 Apr 18 3:50 PM
I used "reuse_alv_grid_display".
In my report.I got error
statement is not accessible.
kindly correct my error.
2008 Apr 18 4:22 PM
Hi Saritha,
Check whether you have written any statements after FORM..
ENDFORM.
and check also the events in your report.
Thanks ,
Surya Pydikondala.
2008 Apr 18 3:51 PM
may be start-of-selection event is missing its better to paste the code
2008 Apr 18 4:46 PM
hi k.p.n,
mistake is not due "reuse_alv_grid_display".
Even i tried to display my
name with write statement.I got
same error.
Could you please find out my error.
regards,
nilesh.
2008 Apr 18 4:48 PM
2008 Apr 18 4:22 PM
Hi Saritha,
Check whether you have written any statements after FORM..
ENDFORM.
and check also the events in your report.
Thanks ,
Surya Pydikondala.
2008 Apr 18 5:23 PM
Hi surya,
Thanks for your reply.my problem is solved after inserting
any statement in side subroutine.
my coding from start-of-selection
1) PERFORM UPLOAD.
2) select query
3) again select query
4) PERFORM AGGREGATE.
6) SELECT query
7) loop.
😎 PERFORM COMPARE.
My question:
previously, I wrote "REUSE_ALV_GRID_DISPLAY"
after ENDFORM. " COMPARE. I could not access any statement.
Know i inserted grid f.m in
PERFORM ALV.and it is working.
could please explain.Reason briefly
regards,
saritha.
2008 Apr 18 5:31 PM
Basically, ALL of your FORM definitions should always be last in your source code, have things after the ENDFORM statements, causes the issue that you are seeing, you can either embed this call in another FORM, or simply put the function call at the end of your START-OF-SELECTION, and just before your first FORM statement.
REgards,
Rich Heilman