Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with form

where i have to place the following funciton in abap program?

form getdata tables inttab structure ictsy outtab structure ictsy

..endform.

i placed it before open_form of my print program,the error says 'statement not accessible'..anything after endform is inaccessible.why?should i place the function after close form..i mean at the program last.

please advise.thanks.

Former Member
replied

hi

FORM abc

....

ENDFORM.

must be written at the end of pgm. ie. u cant insert any code in main pgm after FORM stmt. put the subroutine at the end of pgm.

Message was edited by:

sham

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question