SAP Reports / Programs

PROFGEN_CORR_REPORT_4 SAP ABAP Report - SAP







PROFGEN_CORR_REPORT_4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter PROFGEN_CORR_REPORT_4 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 PROFGEN_CORR_REPORT_4. "Basic submit
SUBMIT PROFGEN_CORR_REPORT_4 AND RETURN. "Return to original report after report execution complete
SUBMIT PROFGEN_CORR_REPORT_4 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: SAP
Text Symbol: 105 = Create report with data
Text Symbol: 037 = New: changes to trans. codes in area menus
Text Symbol: 035 = Delete
Text Symbol: 023 = Entry Was Deleted
Text Symbol: 022 = REPORT already exists
Text Symbol: 021 = Click a transaction code and enter
Text Symbol: 020 = ForRelease:
Text Symbol: 019 = Specify replacement transaction
Text Symbol: 018 = Transaction code
Text Symbol: 017 = Copy
Text Symbol: 016 = Copy transaction code
Text Symbol: 015 = Other
Text Symbol: 014 = Enter further transaction codes
Text Symbol: 013 = RFC destination not registered in program
Text Symbol: 012 = If there is no replacement, enter X.
Text Symbol: 011 = transaction code in the next dialog box.
Text Symbol: 010 = Click a transaction code and enter the replacement
Text Symbol: 009 = List of transaction codes from the area menus
Text Symbol: 008 = Delete result data
Text Symbol: 007 = Delete raw data
Text Symbol: 006 = Display list of data
Text Symbol: 005 = Send request mails in MLP
Text Symbol: 004 = Calculate entries with eroors
Text Symbol: 003 = Get raw data using RFC from system:
Text Symbol: 002 = Maintain entries for user:
Text Symbol: 001 = Select action


INCLUDES used within this REPORT PROFGEN_CORR_REPORT_4

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:

PRGN_GET_CUA_TCODES * CALL FUNCTION 'PRGN_GET_CUA_TCODES' * DESTINATION I_RFC-RFC_DEST * IMPORTING * SAP_RL = SAP_RL * TABLES * I_TADIR_MENU = I_TADIR_MENU * I_TADIR_TCODE = I_TADIR_TCODE .

TR_GTADIR_QUERY * CALL FUNCTION 'TR_GTADIR_QUERY' * EXPORTING * TAB_IN = GTADIR * IMPORTING * ERROR = ERROR * RESULT = GTADIR * STATUS = STATUS * EXCEPTIONS * TR_NO_ENTRY = 4 * OTHERS = 1.

DOCU_GET * CALL FUNCTION 'DOCU_GET' * EXPORTING * ID = 'DT' * LANGU = SY-LANGU * OBJECT = DOKUMENT * TABLES * LINE = LINES2 * EXCEPTIONS * NO_DOCU_ON_SCREEN = 1 * NO_DOCU_SELF_DEF = 2 * NO_DOCU_TEMP = 3 * RET_CODE = 4 * OTHERS = 5.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * I_CALLBACK_PROGRAM = G_REPID ** I_CALLBACK_PF_STATUS_SET = 'STATUS_SETZEN' ** I_STRUCTURE_NAME = 'PRGN_CORR' * IS_LAYOUT = GS_LAYOUT * IT_EVENTS = GT_EVENTS[] * IT_FIELDCAT = IT_FIELDCAT ** I_SCREEN_START_COLUMN = 0 "Use coordinates for ** I_SCREEN_START_LINE = 0 "display as dialog box ** I_SCREEN_END_COLUMN = 0 ** I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = G_EXIT_CAUSED_BY_CALLER * ES_EXIT_CAUSED_BY_USER = GS_EXIT_CAUSED_BY_USER * TABLES * T_OUTTAB = GT_OUTTAB * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2.

HELP_VALUES_GET_NO_DD_NAME * CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' * EXPORTING * SELECTFIELD = 'OUTLINE' ** TITEL = * NO_PERS_HELP_SELECT = 'X' * SHOW_ALL_VALUES_AT_FIRST_TIME = 'X' * IMPORTING * IND = LINENR * TABLES * FIELDS = FIELDS * FULL_TABLE = I_RFC * EXCEPTIONS * FULL_TABLE_EMPTY = 1 * NO_TABLESTRUCTURE_GIVEN = 2 * NO_TABLEFIELDS_IN_DICTIONARY = 3 * MORE_THEN_ONE_SELECTFIELD = 4 * NO_SELECTFIELD = 5 * OTHERS = 6.

REUSE_ALV_EVENTS_GET * CALL FUNCTION 'REUSE_ALV_EVENTS_GET' * EXPORTING * I_LIST_TYPE = 0 * IMPORTING * ET_EVENTS = RT_EVENTS.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

SO_NEW_DOCUMENT_SEND_API1 * CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1' * DESTINATION RFC_DEST_DEF * EXPORTING DOCUMENT_DATA = DOC_DATA * DOCUMENT_TYPE = 'RAW' * PUT_IN_OUTBOX = ' ' * IMPORTING SENT_TO_ALL = SENTTOALL * NEW_OBJECT_ID = NEWOBJID * TABLES OBJECT_HEADER = OBJECT_HEADER * OBJECT_CONTENT = CONTENTS * OBJECT_PARA = OBJECT_PARA * OBJECT_PARB = OBJECT_PARB * RECEIVERS = RECEIVERS * EXCEPTIONS TOO_MANY_RECEIVERS = 01 * DOCUMENT_NOT_SENT = 02 * DOCUMENT_TYPE_NOT_EXIST = 03 * OPERATION_NO_AUTHORIZATION = 04 * PARAMETER_ERROR = 05 * X_ERROR = 06 * ENQUEUE_ERROR = 07 * OTHERS = 99.

POPUP_GET_VALUES_USER_BUTTONS * CALL FUNCTION 'POPUP_GET_VALUES_USER_BUTTONS' * EXPORTING * POPUP_TITLE = POPUP_TITLE * PROGRAMNAME = 'PROFGEN_CORR_REPORT_4' * FORMNAME = 'PRGN_TEST' ** F4_PROGRAMNAME = 'SAPLPRGN_TREE' ** F4_FORMNAME = 'PRGN_COPY_AGR2' * OK_PUSHBUTTONTEXT = OK_PUSHBUTTONTEXT * ICON_OK_PUSH = ICON_OK_PUSH * QUICKINFO_OK_PUSH = QUICKINFO_OK_PUSH * FIRST_PUSHBUTTON = FIRST_PUSHBUTTON * ICON_BUTTON_1 = ICON_BUTTON_1 * QUICKINFO_BUTTON_1 = QUICKINFO_BUTTON_1 * SECOND_PUSHBUTTON = SECOND_PUSHBUTTON * ICON_BUTTON_2 = ICON_BUTTON_2 * QUICKINFO_BUTTON_2 = QUICKINFO_BUTTON_2 * IMPORTING * RETURNCODE = RETURNCODE * TABLES * FIELDS = FIELDS.

PRETTY_PRINTER * CALL FUNCTION 'PRETTY_PRINTER' * EXPORTING * INCTOO = 'X' * TABLES * NTEXT = NTEXT * OTEXT = PRG * EXCEPTIONS * ENQUEUE_TABLE_FULL = 1 * INCLUDE_ENQUEUED = 2 * INCLUDE_READERROR = 3 * INCLUDE_WRITEERROR = 4 * OTHERS = 5.



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