SAP Reports / Programs

ROIJ_NOM_AN SAP ABAP Report - Creation of Aggregate Nomination







ROIJ_NOM_AN 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 ROIJ_NOM_AN 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

O4NM_GA - Creation of Aggregate Nomination


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 ROIJ_NOM_AN. "Basic submit
SUBMIT ROIJ_NOM_AN AND RETURN. "Return to original report after report execution complete
SUBMIT ROIJ_NOM_AN 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: TRAN_SYS = Trans System
Selection Text: GAS_DAY = Gas Day
Selection Text: BUS_PROC = Business Process
Title: Creation of Aggregate Nomination
Text Symbol: 899 = Aggregate Nom for Measurement .Alloc
Text Symbol: 898 = Aggregate Nom for Tech.Scheduling
Text Symbol: 897 = Aggregate Nom for Busi.Confirmation
Text Symbol: 896 = Unthreaded Nomination
Text Symbol: 895 = Transport Nomination
Text Symbol: 894 = Forward Confirmation
Text Symbol: 893 = Upstream Confirmation
Text Symbol: 892 = measurement allocation
Text Symbol: 891 = technical scheduling
Text Symbol: 890 = Confirmed by all partners
Text Symbol: 889 = customer communication active
Text Symbol: 888 = Pegging - Technical Scheduling
Text Symbol: 887 = Unthreaded Nomination Pegging
Text Symbol: 886 = Transport Nomination Pegging
Text Symbol: 885 = Pipeline as source for Fuel
Text Symbol: 884 = Destination - Aggregate nom(P/S/D)
Text Symbol: 883 = Origin - Aggregate nom (P/S/D)
Text Symbol: 882 = Destination - Aggregate nom(P/D)
Text Symbol: 881 = Origin - Aggregate nomination
Text Symbol: 880 = Origin Unthreaded
Text Symbol: 879 = Origin Transport Nom
Text Symbol: 878 = Destination Unthreaded
Text Symbol: 877 = Destination Transport Nom
Text Symbol: 876 = Enter Nom. Number for the aggr. Nomination


INCLUDES used within this REPORT ROIJ_NOM_AN

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:

OIJ_NOM_SELECT_VIA_QUERY CALL FUNCTION 'OIJ_NOM_SELECT_VIA_QUERY' EXPORTING i_query = 'OIJNOM' i_variant = 'SAP&ALLNOM' i_structure = 'ROIJNOMI_IO' i_skip_selscreen = 'X' TABLES e_data_tab = lt_roijnom_io_oba it_rsparams = lt_rsparams_oba it_dyn_params = lt_dynsel_oba et_oijnomh = lt_oijnomh_oba et_oijnomi = lt_oijnomi_oba EXCEPTIONS oij_select_via_query = 1 OTHERS = 2.

OIJ_NOM_SELECT_VIA_QUERY CALL FUNCTION 'OIJ_NOM_SELECT_VIA_QUERY' EXPORTING i_query = 'OIJNOM' i_variant = 'SAP&ALLNOM' i_structure = 'ROIJNOMI_IO' i_skip_selscreen = 'X' TABLES e_data_tab = lt_roijnom_io it_rsparams = lt_rsparams it_dyn_params = lt_dynsel et_oijnomh = lt_oijnomh et_oijnomi = lt_oijnomi EXCEPTIONS oij_select_via_query = 1 OTHERS = 2.

OIJ_NOM_DOCUMENTS_READ CALL FUNCTION 'OIJ_NOM_DOCUMENTS_READ' EXPORTING it_nomh_key = lt_nomh_key IMPORTING et_nom_ref = lt_nom_ref.

OIJ_EL_CP_LAYT_ARRAY_READ CALL FUNCTION 'OIJ_EL_CP_LAYT_ARRAY_READ' EXPORTING it_contracts = lt_contract IMPORTING et_oij_el_cp_layt = lt_contract_detail EXCEPTIONS record_not_found = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'ROIJ_NOM_AN' i_internal_tabname = 'LT_ROIJNOM_IO' i_structure_name = 'ROIJNOM_IO' CHANGING ct_fieldcat = gt_fieldcat_alv.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'ROIJ_NOM_AN' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND_PROCESS' i_grid_title = 'Selected Nomination Items' it_fieldcat = gt_fieldcat_alv TABLES t_outtab = lt_roijnom_io.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = 'Enter Nom. Number for the aggr. Nomination'

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = 'Enter Nom. Number for the aggr. Nomination'(876)

OIJ_NOM_TEMP_NOMTK_GET_NEXT CALL FUNCTION 'OIJ_NOM_TEMP_NOMTK_GET_NEXT' IMPORTING ev_temp_nomtk = lv_sn_nomtk.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT





CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJ_NOM_NOMIT_GET_NEXT CALL FUNCTION 'OIJ_NOM_NOMIT_GET_NEXT' EXPORTING iv_nomtk = lv_sn_nomtk IMPORTING ev_nomit = lv_sn_nomit TABLES it_nom_item = lt_sn_io.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_io-sityp i_docind = ls_sn_io-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_tr_loc-sityp i_docind = ls_sn_tr_loc-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_un_loc-sityp i_docind = ls_sn_un_loc-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_tr_loc-sityp i_docind = ls_sn_tr_loc-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_oba_loc-sityp i_docind = ls_sn_oba_loc-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_tr_loc_ship-sityp i_docind = ls_sn_tr_loc_ship-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJU_SITYP_PM_CONVERSION CALL FUNCTION 'OIJU_SITYP_PM_CONVERSION' EXPORTING i_sityp = ls_sn_un_loc_ship-sityp i_docind = ls_sn_un_loc_ship-docind i_booktransfer = ' ' i_rd_locts = 'S' IMPORTING e_plmi_sign = lv_mov_ind EXCEPTIONS OTHERS = 1.

OIJPEG_GROUP_ITEMS CALL FUNCTION 'OIJPEG_GROUP_ITEMS' EXPORTING i_pegtype = ls_peg_items-pegtype it_items = it_peg_items IMPORTING e_pegid = ls_peg_items-pegid EXCEPTIONS grouping_inconsistence = 1 numberrange_error = 2 db_update_error = 3 OTHERS = 4.

OIJ_NOM_MAINTAIN_MULTIPLE CALL FUNCTION 'OIJ_NOM_MAINTAIN_MULTIPLE' EXPORTING it_nom_header = lt_an_oijnomh it_nom_item = lt_an_io iv_update_worklist = 'X' iv_add_to_log = 'X' iv_internal = 'X' iv_lock = ' ' iv_application = 'NOMINATION' IMPORTING et_nom_header = lt_an_oijnomh et_nom_item = lt_an_io et_return = lt_return et_nom_keymap = lt_nomtk_repl EXCEPTIONS nomination_locked = 1 error_phase_01 = 2 error_phase_02 = 3 OTHERS = 4.

OIJ_NOM_DEFAULTING CALL FUNCTION 'OIJ_NOM_DEFAULTING' EXPORTING it_nom_header = lt_an_oijnomh it_nom_item = lt_an_io IMPORTING et_nom_header = lt_an_oijnomh et_nom_item = lt_an_io EXCEPTIONS defaulting_error = 1 no_records_passed = 2 OTHERS = 3.

OIJ_NOM_MAINTAIN_MULTIPLE CALL FUNCTION 'OIJ_NOM_MAINTAIN_MULTIPLE' EXPORTING it_nom_header = lt_an_oijnomh it_nom_item = lt_an_io iv_update_worklist = ' ' iv_add_to_log = 'X' iv_internal = 'X' iv_lock = ' ' iv_application = 'NOMINATION' IMPORTING et_nom_header = lt_an_oijnomh et_nom_item = lt_an_io et_return = lt_return et_nom_keymap = lt_nomtk_repl EXCEPTIONS nomination_locked = 1 error_phase_01 = 2 error_phase_02 = 3 OTHERS = 4.

OIJ_MAINTAIN_NOMINATION CALL FUNCTION 'OIJ_MAINTAIN_NOMINATION' EXPORTING it_oijnomh_key = nom_key iv_display_mode = 'X' it_nom_header = lt_sn_oijnomh it_nom_item = lt_sn_io.

OIJ_NOM_SELECT_VIA_QUERY CALL FUNCTION 'OIJ_NOM_SELECT_VIA_QUERY' EXPORTING i_query = 'OIJNOM' i_variant = 'SAP&ALLNOM' i_structure = 'ROIJNOMI_IO' i_skip_selscreen = 'X' TABLES et_oijnomh = lt_ah_oijnomh et_oijnomi = lt_ah_oijnomi it_dyn_params = lt_an_dynsel it_rsparams = lt_an_rsparams EXCEPTIONS oij_select_via_query = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_question text_button_1 = 'Delete'(558) icon_button_1 = 'ICON_DELETE' text_button_2 = 'Cancel'(557) icon_button_2 = 'ICON_CANCEL ' default_button = '2' display_cancel_button = ' ' userdefined_f1_help = ' ' start_column = 25 start_row = 6 IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 0 OTHERS = 0.

OIJ_NOM_SELECT_VIA_QUERY CALL FUNCTION 'OIJ_NOM_SELECT_VIA_QUERY' EXPORTING i_query = 'OIJNOM' i_variant = 'SAP&ALLNOM' i_structure = 'ROIJNOMI_IO' i_skip_selscreen = 'X' TABLES et_oijnomh = lt_ah_oijnomh et_oijnomi = lt_ah_oijnomi it_dyn_params = lt_an_dynsel it_rsparams = lt_an_rsparams EXCEPTIONS oij_select_via_query = 1 OTHERS = 2.

OIJ_NOM_MAINTAIN_MULTIPLE CALL FUNCTION 'OIJ_NOM_MAINTAIN_MULTIPLE' EXPORTING it_nom_header = gt_nom_header it_nom_item = gt_nom_item iv_update_worklist = 'X' iv_add_to_log = 'X' iv_internal = 'X' iv_lock = ' ' iv_application = 'NOMINATION' IMPORTING et_nom_header = gt_nom_header et_nom_item = gt_nom_item et_return = lt_return et_nom_keymap = lt_nomtk_repl EXCEPTIONS nomination_locked = 1 error_phase_01 = 2 error_phase_02 = 3 OTHERS = 4.



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