SAP Function RS_DELETE_PROGRAM - Delete Program Objects Within Development System Environment

Parameter Reference Type Length Default Optional Text
CORRNUMBER E071-TRKORR C 20 X Correction Number
FORCE_DELETE_USED_INCLUDES SYST-INPUT C 1 ' ' X Deletion of Used Includes
MASS_DELETE_CALL SYST-INPUT C 1 SPACE X Call from Deletion of Set
PROGRAM SYST-REPID C 40 Program Name (30 Bytes External)
SKIP_PROGRESS_IND SYST-INPUT C 1 ' ' X Suppress Progress Indicator
SUPPRESS_CHECKS SYST-INPUT C 1 SPACE X Suppress Authorization Checks
SUPPRESS_COMMIT SYST-INPUT C 1 SPACE X Internal Use
SUPPRESS_DELETE_ENH SYST-INPUT C 1 ' ' X Suppress Deletion of ENHO
SUPPRESS_POPUP SYST-INPUT C 1 SPACE X Suppress Dialog
TADIR_DEVCLASS TADIR-DEVCLASS C 30 X Development Class
WITH_CUA SYST-INPUT C 1 'X' X Menu Will be Copied by Default
WITH_DOCUMENTATION SYST-INPUT C 1 'X' X Documentation Will be Deleted
WITH_DYNPRO SYST-INPUT C 1 'X' X Screens Will be Deleted
WITH_INCLUDES SYST-INPUT C 1 ' ' X Standard Includes Will be Deleted def. By User
WITH_TEXTPOOL SYST-INPUT C 1 'X' X Text Pool Will be Deleted
WITH_VARIANTS SYST-INPUT C 1 'X' X Variants Will be Deleted

Parameter Reference Type Length Text
CORRNUMBER E071-TRKORR C 20 Correction Number
PROGRAM SYST-REPID C 40 Program Name (30 Bytes External)

Exception Text
ENQUEUE_LOCK Deletion Aborted Since SAP Lock Exists
OBJECT_NOT_FOUND Object not found
PERMISSION_FAILURE Deletion unsuccessful
REJECT_DELETION User Did Not Want to Delete


Use RS_DELETE_PROGRAM to delete one main program or one include programwith all dependant subobjects such as text elements, documentation inall languages, screens, menus, and variants.
All indexes in the ABAP Workbench will be deleted and in case of adevelopment class ne $xxx or Txxx a correction number is needed.
If you want to use RS_DELETE_PROGARM internally so that all screenswill be suppressed you need to move a correction number to parameterCORRNUMBER if development class is not equal $xxx or Txxx.
The function module requires an entry in the correction system.
If you want the correction number to be set internally you have to movethe number to the function module. The development class is set intable TADIR. If you use parameter suppress_popup you have to qualifythis parameter if the development class is not equal 'T' or '$', as nodialog is displayed.

Description
Program name: Only first 30 bytes allowed for external use.
If you want the correction number to be set internally you have to movethe number to the function module. The development class is set intable TADIR. If you use parameter suppress_popup you have to qualifythis parameter if the development class is not equal 'T' or '$', as nodialog is displayed.

Description
Program name: Only first 30 bytes allowed for external use.
This function is used to copy a program internally.
No screens will be executed but you need to move a correct program nameto the PARAMETER PROGRAM and you need a CORRECTION NUMBER as well ifthe DEVELOPMENT CLASS does not equal $ or T.
If SUPPRESS_POPUP is signed, all parameters WITH_XXXX will beinitialized.
If you initialize WITH_XXXX parameters and SUPPRESS_POPUP is 'X', allparameters will be interpreted. No screen or message appears.
If SUPPRESS_POPUP is signed, all parameters WITH_XXXX are initialized.
If you initialize WITH_XXXX parameters and SUPPRESS_POPUP is 'X', allparameters are interpreted. No screen or message appears.
If SUPPRESS_POPUP is signed all parameters WITH_XXXX will beinitialized. If you initialize WITH_XXXX parameters and SUPPRESS_POPUPis 'X', all parameters are interpreted. No screen or message appears.
If SUPPRESS_POPUP is signed, all parameters WITH_XXXX will beinitialized. If you initialize WITH_XXXX parameters and SUPPRESS_POPUPis "X", all parameters will be interpreted. No screen or messageappears.
If SUPPRESS_POPUP is signed all parameters WITH_XXXX will beinitialized. If you initialize WITH_XXXX parameters and SUPPRESS_POPUPis 'X', all parameters will be interpreted. No screen or messageappears.

199848Error in generation of analyses for S032 and S035