RGSEXPH2 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 RGSEXPH2 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: GRPNAME = D Group name
Selection Text: OUTFILE = D Export file
Title: Export of Groups or Sets to a File (Parent-Child Table)
Text Symbol: RE1 = File already exists.
Text Symbol: RE2 = Do you want to overwrite it?
Text Symbol: REP = Export file already exists
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 setclass = c_setclass shortname = grpname old_setid = g_setid IMPORTING new_setid = g_setid.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-re1 textline2 = text-re2 titel = text-rep IMPORTING answer = g_rc.
G_RW_SET_SELECT CALL FUNCTION 'G_RW_SET_SELECT' EXPORTING class = c_setclass set = grpname typelist = 'BS' show_field_name = ' ' show_table_name = ' ' IMPORTING setid = g_setid set_name = grpname.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = '03'.
G_SET_OR_GROUP_AUTHORITY CALL FUNCTION 'G_SET_OR_GROUP_AUTHORITY' EXPORTING i_setid = g_setid i_actvt = '03'.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING no_authority_check = 'X' setnr = p_setid IMPORTING set_header = l_header TABLES set_lines_basic = lt_basic set_lines_single = lt_single.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = p_setid IMPORTING shortname = data_tab-groupname.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = p_father IMPORTING shortname = data_tab-father.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RGSEXPH2 - Export of Groups or Sets to a File (Parent-Child Table) RGSEXPH2 - Export of Groups or Sets to a File (Parent-Child Table) RGSEXPH1 - Export of Groups or Sets to a File (Level Table) RGSEXPH1 - Export of Groups or Sets to a File (Level Table) RGSEX040 - Example: Create a Set (with Cost Centers) RGSEX040 - Example: Create a Set (with Cost Centers)