SAP Reports / Programs | Personnel Time Management | Shift Planning | Shift Planning for Public Sector(PT-SP-PS) SAP PT

FH5AH_FORMS_PS_SORT SAP ABAP INCLUDE - FH5AHFORMSPSSORT







FH5AH_FORMS_PS_SORT is a standard ABAP INCLUDE 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 FH5AH_FORMS_PS_SORT 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 FH5AH_FORMS_PS_SORT. "Basic submit
SUBMIT FH5AH_FORMS_PS_SORT AND RETURN. "Return to original report after report execution complete
SUBMIT FH5AH_FORMS_PS_SORT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FH5AH_FORMS_PS_SORT

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:

HRSPPS_SRT_VAR_DYN_DIALOG CALL FUNCTION 'HRSPPS_SRT_VAR_DYN_DIALOG' TABLES sort_list = it_info_col ct_sort = it_ct_sort EXCEPTIONS selected_field_not_sort_field = 1 OTHERS = 2.

HRSPPS_SRT_DISP_VAR CALL FUNCTION 'HRSPPS_SRT_DISP_VAR' EXPORTING it_uname = sy-uname TABLES it_pspp_varobj = lt_db_sortobject ot_hrspp_srt_var = lt_hrspp_srt_var.

HRSPPS_SRT_VAR_GET_SAVE CALL FUNCTION 'HRSPPS_SRT_VAR_GET_SAVE' EXPORTING get_f = ' ' IMPORTING ot_srt_var = lt_ot_hrspp_srt_var TABLES it_srt_var = lt_hrspp_srt_var EXCEPTIONS internal_error = 1 user_cancel = 2 OTHERS = 3.

HRSPPS_SRT_VAR_SAV_UPD CALL FUNCTION 'HRSPPS_SRT_VAR_SAV_UPD' EXPORTING it_plvar = pfedy-plvar it_otype = pdorg-orgeh_typ it_hrspp_srt_var_wa = lt_ot_hrspp_srt_var "xqi 742296 TABLES it_wfp_sortobject = lt_wfp_sortobject * it_hrspp_srt_var = lt_ot_hrspp_srt_var "xqi 742296 it_sort = lt_sort it_emp_index_info = lt_hrspps_emp_index EXCEPTIONS upd_sav_not_possible = 1 upd_sav_no_srt_flds = 2 upd_sav_no_emp_list = 3 upd_sav_no_plvar_otype = 4 upd_sav_no_obj_list = 5 OTHERS = 6.

HRSPPS_SRT_VAR_GET_SAVE CALL FUNCTION 'HRSPPS_SRT_VAR_GET_SAVE' EXPORTING get_f = ' ' IMPORTING ot_srt_var = lt_ot_hrspp_srt_var TABLES it_srt_var = lt_hrspp_srt_var EXCEPTIONS internal_error = 1 user_cancel = 2 OTHERS = 3.

HRSPPS_SRT_VAR_SAV_UPD CALL FUNCTION 'HRSPPS_SRT_VAR_SAV_UPD' EXPORTING it_plvar = pfedy-plvar "xqi 742296 it_otype = pdorg-orgeh_typ "xqi 742296 it_hrspp_srt_var_wa = lt_ot_hrspp_srt_var "xqi 742296 TABLES it_wfp_sortobject = lt_wfp_sortobject "xqi 742296 * it_hrspp_srt_var = lt_ot_hrspp_srt_var "xqi 742296 it_sort = lt_sort EXCEPTIONS upd_sav_not_possible = 1 upd_sav_no_srt_flds = 2 upd_sav_no_emp_list = 3 upd_sav_no_plvar_otype = 4 upd_sav_no_obj_list = 5 OTHERS = 6.

HRSPPS_SRT_DISP_VAR CALL FUNCTION 'HRSPPS_SRT_DISP_VAR' EXPORTING it_uname = sy-uname TABLES it_pspp_varobj = lt_wfp_sortobject ot_hrspp_srt_var = lt_srt_var.

HRSPPS_SRT_VAR_GET_SAVE CALL FUNCTION 'HRSPPS_SRT_VAR_GET_SAVE' EXPORTING get_f = 'X' IMPORTING ot_srt_var = lt_ot_srt_var TABLES it_srt_var = lt_srt_var EXCEPTIONS internal_error = 1 user_cancel = 2 OTHERS = 3.

HRSPPS_SRT_DEF_VAR_NAME CALL FUNCTION 'HRSPPS_SRT_DEF_VAR_NAME' EXPORTING it_uname = sy-uname it_otype = pdorg-orgeh_typ IMPORTING ot_srt_var = it_srt_var it_pspp_var = lt_pspp_var TABLES it_object = lt_pspp_varobj EXCEPTIONS no_default_variants = 1 OTHERS = 2.

HRSPPS_SRT_VAR_LOAD CALL FUNCTION 'HRSPPS_SRT_VAR_LOAD' EXPORTING it_uname = im_pspp_var-bname it_varname = im_pspp_var-srtvariant it_dynamic = im_pspp_var-dynamicvar TABLES it_pspp_varemp = l_pspp_man_sort_tab it_pspp_varsor = l_pspp_var_sort_tab EXCEPTIONS variant_not_found = 1 dyn_fields_not_found = 2 static_list_not_found = 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 FH5AH_FORMS_PS_SORT or its description.