SAP Reports / Programs | Organizational Flexibility | Defense Forces and Public Security | Organizational Flexibility(IS-DFS-OF) SAP IS

/ISDFPS/R_AVAILABLE_FORCES_I03 SAP ABAP INCLUDE - /ISDFPS/RAVAILABLEFORCESI03







/ISDFPS/R_AVAILABLE_FORCES_I03 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 /ISDFPS/R_AVAILABLE_FORCES_I03 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 /ISDFPS/R_AVAILABLE_FORCES_I03. "Basic submit
SUBMIT /ISDFPS/R_AVAILABLE_FORCES_I03 AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/R_AVAILABLE_FORCES_I03 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 /ISDFPS/R_AVAILABLE_FORCES_I03

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:

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = pchplvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

/ISDFPS/GET_ORG_AREA_COUNTRIES CALL FUNCTION '/ISDFPS/GET_ORG_AREA_COUNTRIES' EXPORTING iv_include_texts_flag = gc_true IMPORTING et_countries = lt_countries EXCEPTIONS nothing_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_ONAT' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = so_seark-low win_title = text-s11 plvar = pchplvar otype = pchotype IMPORTING sel_object = ls_sel_object EXCEPTIONS f15 = 1 nothing_found = 2 wrong_condition = 3 OTHERS = 4.

/ISDFPS/O_IS_OP_OR_EX CALL FUNCTION '/ISDFPS/O_IS_OP_OR_EX' EXPORTING is_hrobject = lv_seark_hrobject * IV_INFTY1956_SUBTY = '' EXCEPTIONS o_not_op_or_ex = 1 check_failed = 2 OTHERS = 3.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = iv_plvar otype = iv_otype objid = iv_objid IMPORTING stext = lv_stext EXCEPTIONS not_found = 1 OTHERS = 2.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = ls_dynp-stepl EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/ISDFPS/R_AVAILABLE_FORCES' dynumb = '1000' perform_input_conversion = gc_true TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 0.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = pchplvar otype = pchotype seark = lv_seark win_title = text-s11 IMPORTING sel_object = ls_sel_object EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 OTHERS = 6.

/ISDFPS/GET_ORG_AREA_COUNTRIES CALL FUNCTION '/ISDFPS/GET_ORG_AREA_COUNTRIES' EXPORTING iv_include_texts_flag = gc_true IMPORTING et_countries = lt_org_area_countries EXCEPTIONS nothing_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P1950-OWNER_NATION' values = lt_country_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

/ISDFPS/GENTAB_GET_RELATIONS CALL FUNCTION '/ISDFPS/GENTAB_GET_RELATIONS' EXPORTING plvar = lv_plvar otype = lv_otype objid = lv_objid rsign = /isdfps/cl_const=>gc_hr_rsign_bottom_up relat = lc_relat_operation sclas = /isdfps/cl_const=>gc_hr_force_element_otype begda = lv_begda endda = lv_endda svect = lv_pchsvect refresh = gc_false TABLES disp_tab = lt_tree_objec relat_tab = lt_tree_struc EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

/ISDFPS/GENTAB_GET_RELATIONS CALL FUNCTION '/ISDFPS/GENTAB_GET_RELATIONS' EXPORTING plvar = lv_plvar otype = lv_otype objid = lv_objid rsign = /isdfps/cl_const=>gc_hr_rsign_bottom_up relat = lc_relat_exercise sclas = /isdfps/cl_const=>gc_hr_force_element_otype begda = lv_begda endda = lv_endda svect = lv_pchsvect refresh = gc_false TABLES disp_tab = lt_tree_objec relat_tab = lt_tree_struc EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

/ISDFPS/O_IS_COMFORCE CALL FUNCTION '/ISDFPS/O_IS_COMFORCE' EXPORTING is_comforce_hrobject = ls_hrobject * IV_INFTY1956_SUBTY = '' * IV_PLVAR = iv_svect = lv_pchsvect iv_begda = lv_begda iv_endda = lv_endda iv_check_provider_per_flag = gc_true iv_check_provider_mat_flag = gc_true TABLES et_p1985 = lt_op_assgmt_fp EXCEPTIONS otype_is_not_o = 1 no_active_plvar = 2 read_infty1985_failed = 3 no_infty1985_records_found = 4 OTHERS = 5.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ls_force_rating-icon_mat info = ls_force_rating-icon_text_mat IMPORTING result = ls_output-icon_mat EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ls_force_rating-icon_pers info = ls_force_rating-icon_text_pers IMPORTING result = ls_output-icon_pers EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ls_force_rating-icon_trai info = ls_force_rating-icon_text_trai IMPORTING result = ls_output-icon_trai EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = gc_struct CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY





CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid * i_callback_pf_status_set = "'PF_STATUS_SET' * i_callback_user_command = "'USER_COMMAND' i_structure_name = gc_struct i_grid_title = text-l01 * is_layout = it_fieldcat = gt_fieldcat * it_sort = i_save = lc_save_stand_and_user_var is_variant = gs_variant TABLES t_outtab = gt_output_table EXCEPTIONS program_error = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_SRVID' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_FLVL' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_BCHID' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING id = 'GP_ONAT' IMPORTING values = lt_vrm_value_onat EXCEPTIONS id_not_found = 1 OTHERS = 2.

/ISDFPS/GET_ORG_AREA CALL FUNCTION '/ISDFPS/GET_ORG_AREA' EXPORTING iv_owner_nation_land1 = gp_onat iv_include_texts_flag = gc_true IMPORTING et_org_area_v_cserv = lt_org_area_v_serv EXCEPTIONS nothing_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_SRVID' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_FLVL' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_BCHID' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING id = 'GP_SRVID' IMPORTING values = lt_vrm_value_srvid EXCEPTIONS id_not_found = 1 OTHERS = 2.

/ISDFPS/GET_STRUCTURE_TYPE CALL FUNCTION '/ISDFPS/GET_STRUCTURE_TYPE' EXPORTING iv_owner_nation_land1 = gp_onat iv_org_area_service_id = gp_srvid IMPORTING et_structure_type_v_cflev = lt_structure_type_v_cflev EXCEPTIONS nothing_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_FLVL' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

/ISDFPS/GET_BRANCH CALL FUNCTION '/ISDFPS/GET_BRANCH' EXPORTING iv_owner_nation_land1 = gp_onat iv_org_area_service_id = gp_srvid IMPORTING et_branch_v_cbrnch = lt_branch_v_cbrnch EXCEPTIONS nothing_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'GP_BCHID' values = lt_vrm_value EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING id = 'GP_FLVL' IMPORTING values = lt_vrm_value EXCEPTIONS id_not_found = 1 OTHERS = 2.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING id = 'GP_BCHID' IMPORTING values = lt_vrm_value EXCEPTIONS id_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 /ISDFPS/R_AVAILABLE_FORCES_I03 or its description.