RSCD_SM1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RSCD_SM1 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: T_UNTIL = Time To
Selection Text: T_FROM = Time From
Selection Text: SL_USER = User
Selection Text: SL_TNAM = Table Name
Selection Text: SL_TKEY = Table Key up to 71 Characters
Selection Text: SL_TK254 = Table Key if > 71 Characters
Selection Text: SL_STR = Key GUID for STRINGS
Selection Text: SL_OBJID = Object ID
Selection Text: SL_OBJ = Object Class
Selection Text: SL_KGUID = Key GUID
Selection Text: SL_CHGNR = Change Number
Selection Text: P_TEST = Test Run (No Write to DB)
Selection Text: P_SYSID = Source System
Selection Text: P_REL = Source Release
Selection Text: P_PROD = Production Run
Selection Text: P_NDEL = Do Not Delete Entries
Selection Text: P_MANDT = Target Client
Selection Text: P_DELA = Delete Entries and Exit
Selection Text: P_DEL = Delete Entries
Selection Text: P_COMMIT = Perform Commit Work in FM
Selection Text: P_CNT = Commit Counter
Selection Text: D_UNTIL = Date To
Selection Text: D_FROM = Date From
Selection Text: COMMENT = Comment for Run
Title: Test Program for Solution Manager Migration Program Parts
Text Symbol: 012 = Call SM_CHANGEDOCUMENT_DELETE Ends with RC:
Text Symbol: 011 = Number of Rows not Written:
Text Symbol: 010 = Number of Newly Written CDHDR Rows:
Text Symbol: 009 = Deleted New
Text Symbol: 008 = Deleted Old
Text Symbol: 007 = Call SM_CHANGEDOCUMENT_WRITE Ends with RC:
Text Symbol: 006 = Call SM_CHANGEDOCUMENT_READ Ends with RC:
Text Symbol: 005 = Call SM_CHANGEDOCUMENT_READ with:
Text Symbol: 004 = Delete Previous Entries in CDHDR, CDPOS, CDPOS_UID, ...?
Text Symbol: 003 = Run Description
Text Symbol: 002 = Control for Test or Production Run
Text Symbol: 001 = Selection Parameters for Change Documents
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SM_CHANGEDOCUMENT_DELETE CALL FUNCTION 'SM_CHANGEDOCUMENT_DELETE' EXPORTING iv_mandant_new = p_mandt changenumber_tab = sl_chgnr[] date_of_change = d_from objectclass_tab = sl_obj[] objectid_tab = sl_objid[] tablekey_tab = sl_tkey[] tablename_tab = sl_tnam[] time_of_change = t_from username_tab = sl_user[] tablekey254_tab = sl_tk254[] keyguid_tab = sl_kguid[] keyguid_str_tab = sl_str[] date_until = d_until time_until = t_until commit_counter = p_cnt with_commit = p_commit IMPORTING es_cdsolmig = ls_cdsolmig EXCEPTIONS no_ranges_for_delete = 1 no_data_deleted = 2 wrong_date_or_time = 3 OTHERS = 4.
SM_CHANGEDOCUMENT_READ CALL FUNCTION 'SM_CHANGEDOCUMENT_READ' EXPORTING changenumber_tab = sl_chgnr[] date_of_change = d_from objectclass_tab = sl_obj[] objectid_tab = sl_objid[] tablekey_tab = sl_tkey[] tablename_tab = sl_tnam[] time_of_change = t_from username_tab = sl_user[] tablekey254_tab = sl_tk254[] keyguid_tab = sl_kguid[] date_until = d_until time_until = t_until kommentar = comment pv_write_solmig_tab = p_prod keyguid_str_tab = sl_str[] IMPORTING et_cdhdr = lt_cdhdr[] et_cdpos = lt_cdpos[] et_cdpos_uid = lt_cdpos_uid[] es_cdsolmig = ls_cdsolmig et_cdsolmig_dd = lt_cdsolmig_dd[] et_cdpos_str = lt_cdpos_str[] EXCEPTIONS no_position_found = 1 cdsolmig_insert_failed = 2 cdsolmig_dd_insert_failed = 3 OTHERS = 4.
SM_CHANGEDOCUMENT_WRITE CALL FUNCTION 'SM_CHANGEDOCUMENT_WRITE' EXPORTING iv_mandant_new = p_mandt it_cdhdr = lt_cdhdr[] it_cdpos = lt_cdpos[] it_cdpos_uid = lt_cdpos_uid[] it_cdsolmig_dd = lt_cdsolmig_dd[] is_cdsolmig = ls_cdsolmig iv_write_solmig_tab = p_prod it_cdpos_str = lt_cdpos_str[] IMPORTING et_cdsolmig_hdr = lt_cdsolmig_hdr[] et_cdhdr_no_mig = lt_cdhdr_no_mig[] et_cdpos_no_mig = lt_cdpos_no_mig[] et_cdpos_uid_no_mig = lt_cdpos_uid_no_mig[] et_cdpos_str_no_mig = lt_cdpos_str_no_mig[] EXCEPTIONS wrong_parameter = 1 cdhdr_insert_failed = 2 cdpos_insert_failed = 3 cdpos_uid_insert_failed = 4 cdsolmig_hdr_insert_failed = 5 client_not_valid = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSCD_SM1 - Test Program for Solution Manager Migration Program Parts RSCD_SM1 - Test Program for Solution Manager Migration Program Parts RSCDS_TC - Check Program RSCDS Compress RSCDS_TC - Check Program RSCDS Compress RSCDS_ORA_NULLELIM_TMPL - Include for Database-Dependent Template for Zero Elimination RSCDS_NULLELIM_TMPL - Include für datenbankabhängiges Template zur Nullelimination