SAP Function RS_COPY_PROGRAM_INCLUDE - Copy Include Program Without Any Dependent Objects

Parameter Reference Type Length Default Optional Text
CORRNUMBER E071-TRKORR C 20 ' ' X Correction Number if SUPPRESS_POPUP is Mandatory
DEVCLASS TDEVC-DEVCLASS C 30 ' ' X Development Class if SUPPRESS_POPUP is Mandatory
GENERATED SYST-INPUT C 1 ' ' X Should be Handled as Generated
PROGRAM SYST-REPID C 40 Target Include Name
SKIP_PROGRESS_IND SYST-INPUT C 1 ' ' X Suppress Progress Indicator
SOURCE_PROGRAM SYST-REPID C 40 Source Include Name
SUPPRESS_CHECKS SYST-INPUT C 1 ' ' X Suppress Authorization Checks
SUPPRESS_COMMIT SYST-INPUT C 1 ' ' X Internal Use
SUPPRESS_NORM_CHECK SYST-INPUT C 1 ' ' X Internal use only
SUPPRESS_POPUP SYST-INPUT C 1 ' ' X Suppress Dialog
SUPPRESS_SCREEN SYST-INPUT C 1 ' ' X Suppress Input Screen for Target Program

Parameter Reference Type Length Text
CORRNUMBER E071-TRKORR C 20 Correction Number if SUPPRESS_POPUP is Mandatory
DEVCLASS TDEVC-DEVCLASS C 30 Development Class if SUPPRESS_POPUP is Mandatory

Exception Text
ENQUEUE_LOCK Enqueue Not Possible at the Moment
OBJECT_NOT_FOUND Object not found
PERMISSION_FAILURE Insert Unsuccessful
REJECT_COPY User has Cancelled Insert Program


If you want to use suppress_popup ( suppress all screens) you have toqualify the devclass parameter and corrnumber parameter for developmentclasses that do not start with $ or T . To get a correction number, useRS_CORR_INSERT.
If you use the parameter suppress_popup (suppress all screens) you mustqualify the parameter devclass. If devclass is not $TMP or the firstletter of devclass is not "T", you must qualify the correction numberas well.
If you want to use suppress_popup ( suppress all screens) you have toqualify the devclass parameter and corrnumber parameter for developmentclasses that do not start with $ or T . To get a correction number, useRS_CORR_INSERT.
If you use the parameter suppress_popup (suppress all screens) you mustqualify the parameter devclass. If devclass is not $TMP or the firstletter of devclass is not "T", you must qualify the correction numberas well.
RS_ACCESS_PERMISSION not called:
  • No authorization check

  • No RS_CORR_CHECK

  • No ENQUEUE and DEQUEUE

  • Only used for RS_RENAME_PROGRAM
    This function is used to copy a program internally. No screens will beexecuted but you need to move a correct program name to the PARAMETERPROGRAM and you need to move a DEVELOPMENT CLASS. For DEVELOPMENT CLASSnot equal to $xxx or Txxx, you need a CORRECTION NUMBER as well. UseRS_CORR_INSERT to get a correction number.