SAP Reports / Programs | Administration | Administration | Administration(IS-HER-CM-AD) SAP IS

RHIQ_SHOW_PREBOOKINGS SAP ABAP Report - Clean Up Prebookings







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

PIQPREBOOK - Clean Up Prebookings


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 RHIQ_SHOW_PREBOOKINGS. "Basic submit
SUBMIT RHIQ_SHOW_PREBOOKINGS AND RETURN. "Return to original report after report execution complete
SUBMIT RHIQ_SHOW_PREBOOKINGS 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: BEGDA = D Start Date
Selection Text: ENDDA = D End Date
Selection Text: SEARCH = D Search Term
Selection Text: SM_OBJID = D Module Object ID
Selection Text: SM_TEXT = D Object Description
Title: Clean Up Prebookings
Text Symbol: 001 = Display Prebookings
Text Symbol: 002 = Rebook Student and Delete Prebookings
Text Symbol: 004 = Prebooking will now be deleted
Text Symbol: 005 = Do you want to continue?
Text Symbol: 006 = Caution
Text Symbol: 007 = Selection
Text Symbol: 008 = Module


INCLUDES used within this REPORT RHIQ_SHOW_PREBOOKINGS

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:

HRIQ_OTYPE_T77S0_READ CALL FUNCTION 'HRIQ_OTYPE_T77S0_READ' IMPORTING otype_sm = gv_otype_sm.

HRIQ_CHECK_PLVAR CALL FUNCTION 'HRIQ_CHECK_PLVAR' IMPORTING plvar = gv_plvar EXCEPTIONS cancelled = 1 invalid_plvar = 2 no_authority = 3 OTHERS = 4.

HRIQ_OBJID_REQUEST CALL FUNCTION 'HRIQ_OBJID_REQUEST' EXPORTING plvar = gv_plvar otype = gv_otype_sm seark_begda = begda seark_endda = endda IMPORTING * SEL_PLVAR = * SEL_OTYPE = sel_object = gs_objec EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6 .

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = search plvar = gv_plvar otype = gv_otype_sm IMPORTING sel_object = gs_objec EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.

HRIQ_READ_INFTY_1001 CALL FUNCTION 'HRIQ_READ_INFTY_1001' EXPORTING subty = gc_subty_sm_d TABLES i1001 = gt_1001 OBJECTS = gt_module EXCEPTIONS nothing_found = 1 wrong_condition = 0 OTHERS = 3.

HRIQ_GET_PREBOOK CALL FUNCTION 'HRIQ_GET_PREBOOK' EXPORTING plvar = gv_plvar vtypid = gv_objid * LOCID = '00000000' begda = begda endda = endda * PBLANGU = ' ' * AUTH_SOBID = ' ' TABLES prebook_tab = gt_prebooks_1 * EVTYPELIST = * INFOTYPE_1001 = .

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = gs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RHIQ_SHOW_PREBOOKINGS' i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'STATUS_SET' * I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_ACTION' i_structure_name = 'HRVPREBK' i_background_id = lv_background is_layout = gs_layout it_fieldcat = gt_fieldcat * it_sort = lt_sort is_variant = gs_variant i_save = 'A' it_events = gt_events[] TABLES t_outtab = gt_prebooks.

HRIQ_STUDENT_MODULES_ASSIGN CALL FUNCTION 'HRIQ_STUDENT_MODULES_ASSIGN' EXPORTING imp_otype = ls_prebook-partyp imp_objid = lv_objid imp_begda = ls_prebook-prebeg imp_endda = ls_prebook-preend imp_istat = ' ' EXCEPTIONS no_modules_found = 1 plvar_not_found = 2 study_not_found = 3 otype_not_supported = 4 no_authority = 5 OTHERS = 6.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = 'Die Vormerkung wird jetzt gelöscht'(004) textline2 = 'Wollen Sie fortfahren ?'(005) titel = 'Achtung'(006) * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer.

HRIQ_PREBOOKING_DELETE CALL FUNCTION 'HRIQ_PREBOOKING_DELETE' EXPORTING plvar = gv_plvar ettyp = ls_prebook-evettyp etyid = ls_prebook-evetid patyp = ls_prebook-partyp parid = ls_prebook-parid evlng = ls_prebook-langu bprio = ls_prebook-priox budat = ls_prebook-budat manzl = ls_prebook-manzl locid = ls_prebook-locid begda = ls_prebook-prebeg endda = ls_prebook-preend * VTASK = ' ' * WITH_ENQ = 'X' with_aut = ' ' * MODE = 'A' EXCEPTIONS nothing_found = 1 no_authority = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = gv_alv_logo it_list_commentary = gt_list_top_of_page.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = '0' IMPORTING et_events = rt_events.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'HRVPREBK' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0 .



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