09-15-2008 1:11 PM
Hi to everybody!!
I've a problem with my include...inside of this I've to write '2'. for make this I put...
write: '2'.
But when I execute the program... the number 2 doesn't appears, somebody told me that I need to put the End-OF-SELECTION, but when I can't see it.
Does anybody know how can I write something from an include?
Thanks a lot.
Regards,
Rebeca
09-15-2008 1:14 PM
You cannot execute Include program as a standalone.Only programs of type 'Executable' can execute as a standalone.
You can Include the Include program you have created in a Executable program and execute that program to get your result.
Raghav
09-15-2008 1:14 PM
You cannot execute Include program as a standalone.Only programs of type 'Executable' can execute as a standalone.
You can Include the Include program you have created in a Executable program and execute that program to get your result.
Raghav
09-15-2008 1:25 PM
The problem is that I call that Include from a report without the clause "End-of-selection" but I don't know why this doesn't write anything
Thanks a lot for yor rapid answer.
Regards,
Rebeca
09-15-2008 1:35 PM
Try this way...
I don't where you placed the include , you place under the event and see.
REPORT ZTEST.
END-OF-SELECTION.
INCLUDE ZINCLUDE.
09-15-2008 1:45 PM
Hi
An include is a part of a program: to write a code in an include is the same thing of to write it directly in the main program:
All abap code you'll write in the include will belong to the event where the include is placed, so u should explain how your program is in order to understand why it isn't writen.
Max