SAP Reports / Programs

RGALLOC4 SAP ABAP Report - Check Customizing Settings for the Allocation







RGALLOC4 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 RGALLOC4 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

GLGCA9 - Check allocation customizing
GCA9 - Check allocation customizing


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 RGALLOC4. "Basic submit
SUBMIT RGALLOC4 AND RETURN. "Return to original report after report execution complete
SUBMIT RGALLOC4 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: P_ACTUAL = Actual
Selection Text: P_ALLOC = Distribution
Selection Text: P_ASS = Assessment
Selection Text: P_PLAN = Plan
Selection Text: P_TAB = Table
Title: Check Customizing Settings for the Allocation
Text Symbol: 024 = Actual
Text Symbol: 023 = Distribution
Text Symbol: 022 = Assessment
Text Symbol: 021 = Allocation Type
Text Symbol: 020 = Table
Text Symbol: 011 = Record Type
Text Symbol: 010 = Allocation Type
Text Symbol: 005 = Information
Text Symbol: 004 = Text
Text Symbol: 003 = Warning
Text Symbol: 002 = Error
Text Symbol: 001 = Message Type
Text Symbol: 025 = Plan
Text Symbol: 044 = Tracing Factor
Text Symbol: 043 = Receiver
Text Symbol: 042 = Sender
Text Symbol: 041 = Sender Values
Text Symbol: 040 = Header
Text Symbol: 030 = Information


INCLUDES used within this REPORT RGALLOC4

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:

HELPSCREEN_NA_CREATE * CALL FUNCTION 'HELPSCREEN_NA_CREATE' * EXPORTING * MELD_ID = 'GA' * MELD_NR = T_TEXTNR * MELDUNG = T_TEXT * MSGV1 = T_LIST-MSGV1 * MSGV2 = T_LIST-MSGV2 * MSGV3 = T_LIST-MSGV3 * MSGV4 = T_LIST-MSGV4 * TITEL = SY-WINSL.

POPUP_DISPLAY_TEXT * CALL FUNCTION 'POPUP_DISPLAY_TEXT' "customizing will be
* EXPORTING * POPUP_TITLE = TEXT-030 * TEXT_OBJECT = 'GLX_ALLOC_CUSTOMIZE' * IMPORTING * CANCELLED = CANCELLED * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'GA' msgty = 'I' msgv1 = c_tab txtnr = '436' zeile = '100000'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = c_tab msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '401'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = c_tab msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '437'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'I' msgv1 = c_tab msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '425'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = i_c_t811j-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '412'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = i_c_t811j-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '413'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = i_c_t811h-fname msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '415'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = i_c_t811h-fname msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '416'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = cfft_field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '403'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = csft_field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '405'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = csft_field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '405'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = sm4_field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '404'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '406'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = l_message_type msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '407'. "No account field defined

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 w_message = 4 OTHERS = 5.

MESSAGES_SHOW





CALL FUNCTION 'MESSAGES_SHOW'.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = t_mesg EXCEPTIONS OTHERS = 1.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '408'.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = i_t811i-field table = c_tab text_flag = 'X' "to get the domain IMPORTING field_attr = dfies.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '408'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = ' ' msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '411'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' "no fieldgroups defined EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = ' ' msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '410'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = ' ' msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '414'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' "no data control defined EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = ' ' msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '418'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' "different types used EXPORTING arbgb = 'GA' msgty = 'E' msgv1 = ' ' msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '417'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '419'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811i-field msgv2 = ' ' msgv3 = ' ' msgv4 = ' ' txtnr = '427'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GA' MSGTY = 'W' MSGV1 = I_T811I-FIELD MSGV2 = ' ' MSGV3 = ' ' MSGV4 = ' ' TXTNR = '428'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GA' MSGTY = 'W' MSGV1 = I_T811I-FIELD MSGV2 = ' ' MSGV3 = ' ' MSGV4 = ' ' TXTNR = '428'.

G_ACTIVATE_CORRECTION_SYSTEM CALL FUNCTION 'G_ACTIVATE_CORRECTION_SYSTEM' EXPORTING obj_name = 'GCA8' IMPORTING no_automatic_recording = no_automatic_recording.

G_RECORD_KEYS_IN_INTERNAL_TAB CALL FUNCTION 'G_RECORD_KEYS_IN_INTERNAL_TAB' EXPORTING tabname = 'T811U' client_independent = ' ' object = 'GCA8' TABLES tab = i_s_t811u EXCEPTIONS OTHERS = 1.

G_WRITE_KEYS_TO_TRANSP_ORDER CALL FUNCTION 'G_WRITE_KEYS_TO_TRANSP_ORDER' CHANGING order_number = order_number.

G_ACTIVATE_CORRECTION_SYSTEM CALL FUNCTION 'G_ACTIVATE_CORRECTION_SYSTEM' EXPORTING obj_name = 'GCA1' IMPORTING no_automatic_recording = no_automatic_recording.

G_RECORD_KEYS_IN_INTERNAL_TAB CALL FUNCTION 'G_RECORD_KEYS_IN_INTERNAL_TAB' EXPORTING tabname = 'T811I' client_independent = ' ' object = 'GCA1' TABLES tab = i_s_t811i EXCEPTIONS OTHERS = 1.

G_WRITE_KEYS_TO_TRANSP_ORDER CALL FUNCTION 'G_WRITE_KEYS_TO_TRANSP_ORDER' CHANGING order_number = order_number.




G_ACTIVATE_CORRECTION_SYSTEM CALL FUNCTION 'G_ACTIVATE_CORRECTION_SYSTEM' EXPORTING obj_name = 'GCA2' IMPORTING no_automatic_recording = no_automatic_recording.

G_RECORD_KEYS_IN_INTERNAL_TAB CALL FUNCTION 'G_RECORD_KEYS_IN_INTERNAL_TAB' EXPORTING tabname = 'T811J' client_independent = ' ' object = 'GCA2' TABLES tab = i_s_t811j EXCEPTIONS OTHERS = 1.

G_WRITE_KEYS_TO_TRANSP_ORDER CALL FUNCTION 'G_WRITE_KEYS_TO_TRANSP_ORDER' CHANGING order_number = order_number.

G_ACTIVATE_CORRECTION_SYSTEM CALL FUNCTION 'G_ACTIVATE_CORRECTION_SYSTEM' EXPORTING obj_name = 'GCA5' IMPORTING no_automatic_recording = no_automatic_recording.

G_RECORD_KEYS_IN_INTERNAL_TAB CALL FUNCTION 'G_RECORD_KEYS_IN_INTERNAL_TAB' EXPORTING tabname = 'T811T' client_independent = ' ' object = 'GCA5' TABLES tab = i_s_t811t EXCEPTIONS OTHERS = 1.

G_WRITE_KEYS_TO_TRANSP_ORDER CALL FUNCTION 'G_WRITE_KEYS_TO_TRANSP_ORDER' CHANGING order_number = order_number.

G_ACTIVATE_CORRECTION_SYSTEM CALL FUNCTION 'G_ACTIVATE_CORRECTION_SYSTEM' EXPORTING obj_name = 'GCA3' IMPORTING no_automatic_recording = no_automatic_recording.

G_RECORD_KEYS_IN_INTERNAL_TAB CALL FUNCTION 'G_RECORD_KEYS_IN_INTERNAL_TAB' EXPORTING tabname = 'T811H' client_independent = 'X' object = 'GCA3' TABLES tab = i_s_t811h EXCEPTIONS OTHERS = 1.

G_WRITE_KEYS_TO_TRANSP_ORDER CALL FUNCTION 'G_WRITE_KEYS_TO_TRANSP_ORDER' CHANGING order_number = order_number.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = text-040 msgv4 = ' ' txtnr = '426'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = text-041 msgv4 = ' ' txtnr = '426'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = text-042 msgv4 = ' ' txtnr = '426'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = text-043 msgv4 = ' ' txtnr = '426'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = text-044 msgv4 = ' ' txtnr = '426'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GA' msgty = 'W' msgv1 = i_t811k-field msgv2 = i_t811k-cycle msgv3 = ' ' msgv4 = ' ' txtnr = '426'.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = slis_ev_pf_status_set i_callback_user_command = gc_form_user_command is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_eventtab i_save = gc_value_x is_variant = gs_variant TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header.

HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING meld_id = 'GA' meld_nr = t_textnr meldung = t_text msgv1 = t_list-msgv1 msgv2 = t_list-msgv2 msgv3 = t_list-msgv3 msgv4 = t_list-msgv4 titel = sy-winsl.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' "customizing will be changed EXPORTING popup_title = text-030 text_object = 'GLX_ALLOC_CUSTOMIZE' IMPORTING cancelled = cancelled EXCEPTIONS text_not_found = 1 OTHERS = 2.



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