i put in include
and i get error why?
what should i do?
Rich Heilman replied
I don't think that you can do that, have an INCLUDE inside of a FORM. Put the INCLUDE statement at the end of your program outside the FORMS, you can include your code by wrapping it in a another FORM which is in the INCLUDE.
FORM XX. perform call_alv_grid. ENDFORM. include YY.
Now in the include source, have a FORM.
**include YY. form call_alv_Grid. * Do whatever. endform.
Also you can call the FORM directly instead of going thru the FORM XX.