2007 Nov 27 10:19 AM
After copied the print program in sap script I am getting error message " Statement "BLOCK" is not defined. Check your spelling . . . . . . . . . " I didnt change anything in coding.just copied as Zprog and try to run,Its througing error.pls help on this.
Hi jayakumar,
ake sure you copied everything including all INCLUDES, SCREENS ans what eles you have in original program.
Use SE80 to compare the object list.
Regards,
Clemens
2007 Nov 27 10:30 AM
Hi!
Click on the error message and you'll see, which line has this problem. If you unsure what to do with it, paste the wrong code here with a few lines nearby.
Regards
Tamá
2007 Nov 27 11:34 AM
Hi jayakumar,
ake sure you copied everything including all INCLUDES, SCREENS ans what eles you have in original program.
Use SE80 to compare the object list.
Regards,
Clemens
2007 Nov 27 11:37 AM
I have copied all Includes,Screen everything.even I check with Original program to Zprogram.
2007 Nov 27 11:39 AM
Then, still you may give up your best-kept secret and tell us what the programs name is.
Regards,
Clemens
2007 Nov 27 11:41 AM
Additional idea: If the linelength of the Z program is limited by editor settings, the copy process may break lines into the next line...
Regards,
Clemens
2007 Nov 27 11:44 AM
2007 Nov 27 11:50 AM
i tried to copy same report into a Z report..
it did not give any errors while activating...
have you copied the inclueds as well?
2007 Nov 27 11:52 AM
I have copied everything.but as you said line numbers got changed. wht shld I do for that?
2007 Nov 27 11:55 AM
line number shuld not be any problem ...
try to recopy the report.. an activate... i think this should serve the purpose...
2007 Nov 27 12:11 PM
I have copied 3times and and checked.but same error only I am getting.
2007 Nov 27 12:25 PM
Hi
do one thing and try once more.
First in SE 38 goto SE38->UTILITIES->SETTINGS->ABAP Editor Tab->Editor Tab->uncheck the check box Downwards -comp line length(72).
So that while copying the program it wont break the lines.
Then try to copy fresh and activate.
Regs
Manas
2007 Nov 27 12:26 PM
Hi jayakumar,
BLOCK is a macro defined in Include RFFORI0M. Make sure this (or its copy) is included in your Z program (original line 42).
The activate the include before activating the rest. Or activate the whole program together ignoring any errors.
Regards,
Clemens
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |