RGSCPY30 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 RGSCPY30 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: GRP_NAME = D Group name
Selection Text: SUFFIX = D Copying with suffix
Selection Text: TESTRUN = Test run
Title: Copy Group with Suffix - Program for Background Processing
Text Symbol: CAC = Controlling area
Text Symbol: COA = Chart of accounts
Text Symbol: EXI = The group already exists and will be overwritten
Text Symbol: PRO = Update run created
Text Symbol: TST = Test run created
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = grp_name old_setid = g_setid IMPORTING new_setid = g_setid EXCEPTIONS OTHERS = 1.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = g_setid IMPORTING setclass = g_class kokrs = g_kokrs ktopl = g_ktopl fikrs = g_fikrs shortname = g_name.
K_GROUP_NAME_CHECK CALL FUNCTION 'K_GROUP_NAME_CHECK' EXPORTING group_name = g_name check_length_15 = 'X'.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = g_class shortname = g_name kokrs = g_kokrs ktopl = g_ktopl fikrs = g_fikrs IMPORTING setid = g_newid.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = g_newid use_table_buffer = ' ' EXCEPTIONS set_not_found = 1 illegal_field_replacement = 2 OTHERS = 3.
G_SET_OR_GROUP_AUTHORITY CALL FUNCTION 'G_SET_OR_GROUP_AUTHORITY' EXPORTING i_setid = g_newid i_actvt = '01'.
G_SET_TREE_IMPORT CALL FUNCTION 'G_SET_TREE_IMPORT' EXPORTING no_descriptions = 'X' no_rw_info = 'X' setid = p_setid no_table_buffering = 'X' TABLES set_hierarchy = t_hier.
G_SET_ENQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_ENQUEUE_WITH_FATHERS' EXPORTING setid = l_lockid.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = l_setid use_table_buffer = ' ' EXCEPTIONS OTHERS = 1.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = l_setid IMPORTING shortname = l_name.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING no_authority_check = 'X' setnr = t_hier-setid IMPORTING set_header = l_header TABLES set_lines_basic = t_basic set_lines_single = t_single.
G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING set_header = l_header tolerate_ambiguity = 'X' TABLES set_lines_basic = t_basic set_lines_single = t_single.
G_SET_GET_TITLES CALL FUNCTION 'G_SET_GET_TITLES' EXPORTING setname = t_hier-setid TABLES set_line_titles = t_line_titles set_titles = t_titles.
G_SET_ADD_TITLES CALL FUNCTION 'G_SET_ADD_TITLES' EXPORTING setname = l_setid TABLES set_line_titles = t_line_titles set_titles = t_titles.
G_SET_DEQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_DEQUEUE_WITH_FATHERS' EXPORTING setid = l_lockid.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = l_setid IMPORTING setclass = l_class shortname = l_name.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = p_setid IMPORTING setclass = l_class shortname = l_name kokrs = l_kokrs ktopl = l_ktopl fikrs = l_fikrs.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = l_class shortname = l_name kokrs = l_kokrs ktopl = l_ktopl fikrs = l_fikrs IMPORTING setid = p_setid.
CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog "Current program dynumb = sy-dynnr "Current screen TABLES dynpfields = dynpfields "Relevant screen fields EXCEPTIONS OTHERS = 0.
G_RW_SET_SELECT CALL FUNCTION 'G_RW_SET_SELECT' EXPORTING class = '01++' show_field_name = ' ' set = l_grpname typelist = 'BS' IMPORTING setid = l_setid set_name = l_grpname EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 0.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = lv_s_log IMPORTING e_log_handle = x_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = i_log_handle i_msgty = gc_value_i "'I' i_text = lv_output_control EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = i_log_handle i_msgty = gc_value_i "'I' i_text = lv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_SINGLE_LOG_GET * CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' * IMPORTING * e_s_display_profile = xs_prof.
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = xs_prof.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_profile i_t_log_handle = lt_log_handle i_amodal = space EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = i_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RGSCPY30 or its description.
RGSCPY30 - Copy Group with Suffix - Program for Background Processing RGSCPY30 - Copy Group with Suffix - Program for Background Processing RGSCPY15 - Changing the GLU1 Sets for the Conversion of FI-SL Tables RGSCPY15 - Changing the GLU1 Sets for the Conversion of FI-SL Tables RGSCPY10 - Copying Sets for the Conversion of FI-SL Tables RGSCPY10 - Copying Sets for the Conversion of FI-SL Tables