SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Sets(FI-SL-SL-MD-SE) SAP FI

RGSEXPH2 SAP ABAP Report - Export of Groups or Sets to a File (Parent-Child Table)







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RGSEXPH2. "Basic submit
SUBMIT RGSEXPH2 AND RETURN. "Return to original report after report execution complete
SUBMIT RGSEXPH2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RGSEXPH2

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 RGSEXPH2 or its description.