on 11-30-2007 11:41 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That happens, especially in standard SAP programs.
I suggest you create an INCLUDE program, then place your FORM in it.
In the main program only insert the INCLUDE <your_include_name>
Hope this helps!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
First we shud hav perform statement then only corresponding form statement..
so ur perform s der inside script text element..
after encountering that only it shud hav corresponding form statement...
so form statement shud b after open_form statement...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.