08-08-2007 3:22 PM
Hi,
I want to use the RS_DELETE_PROGRAM function, but I'm not sure which includes it deletes... I mean, if the report has a shared include will it also be deleted?
08-08-2007 3:27 PM
HI,
If you Check the paramter WITH_INCLUDES then it will delete the include's .
Thanks
Mahesh
08-08-2007 3:30 PM
yes, I know that, but all the includes? even the ones that are used by other reports?
08-08-2007 3:34 PM
Hi,
The function module is having the below fields
WITH_DOCUMENTATION
WITH_DYNPRO
WITH_INCLUDES
WITH_TEXTPOOL
WITH_VARIANTS
If you check the WITH_INCLUDES then it will delete the includes also,
Regards
Sudheer
08-08-2007 3:41 PM
yes, I got the point about the possibility of deleting includes but...
//
report zmy_report1.
include zmy_include.
//
report zmy_report2.
include zmy_include.
//
report zdelete_report.
call function rs_delete_program
exporting
progname = 'zmy_report1
with_includes = 'X'.
//
my question is: will it delete the include knowing that it's being used by another report?
08-08-2007 3:52 PM
It seems the answer is no, only if you check the last exporting parameter, then, it will try to force the deletion of the shared include.