SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHWFFORM SAP ABAP dialog Program - Forms for Business/WF Object Types







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


Text pool values


Title: Forms for Business/WF Object Types
Text Symbol: 001 = PD object type


INCLUDES used within this REPORT RHWFFORM

INCLUDE RHHRSDAT.
INCLUDE RHHRSFCD.


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:

POPUP_TO_DECIDE_INFO * call function 'POPUP_TO_DECIDE_INFO' * exporting * textline1 = text-smp * titel = text-mai * start_column = 25 * start_row = 6 * importing * answer = answer * exceptions * others = 1.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = plvar EXCEPTIONS no_active_plvar = 1.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = plvar EXCEPTIONS no_active_plvar = 1.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = plvar otype = otype objid = objid istat = '1' begda = sy-datum endda = '99991231' IMPORTING short = short stext = stext EXCEPTIONS OTHERS = 1.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = plvar otype = otype objid = objid istat = i_objec-istat begda = i_objec-begda endda = i_objec-endda IMPORTING obeg = i_objec-begda oend = i_objec-endda ostat = i_objec-istat EXCEPTIONS OTHERS = 1.

RH_TASK_CREATE CALL FUNCTION 'RH_TASK_CREATE' EXPORTING act_otype = otype act_plvar = plvar act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda IMPORTING act_objid = objid EXCEPTIONS no_active_plvar = 1 task_not_created = 2 task_type_not_selected = 3 OTHERS = 4.

RH_PNNNN_MAINTAIN CALL FUNCTION 'RH_PNNNN_MAINTAIN' EXPORTING act_fcode = insert act_plvar = plvar act_otype = otype act_objid = dummy_objid act_infty = '1000' act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda IMPORTING act_pnnnn_out = i_infty EXCEPTIONS infty_not_valid = 11 no_plvar = 12 object_not_defined = 13 otype_not_valid = 14 no_authority = 15 OTHERS = 16.

RH_TASK_DELETE CALL FUNCTION 'RH_TASK_DELETE' EXPORTING act_otype = otype act_objid = objid act_plvar = plvar act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda EXCEPTIONS no_active_plvar = 1 task_not_found = 2 task_not_deleted = 3 task_not_enqueued = 4 task_type_not_valid = 5 OTHERS = 6.

RH_DELETE_OBJECT CALL FUNCTION 'RH_DELETE_OBJECT' EXPORTING plvar = plvar otype = otype objid = objid vtask = 'D' confirm = $cross EXCEPTIONS error_during_delete = 11 no_authorization = 12 corr_exit = 13 buffer_upd_with_foreign_data = 14 OTHERS = 15.

RH_FA_TASK_HELP CALL FUNCTION 'RH_FA_TASK_HELP' EXPORTING search_task_type = otype act_plvar = plvar act_begda = i_objec-begda act_endda = i_objec-endda IMPORTING selected_objid = realo EXCEPTIONS no_active_plvar = 1 nothing_selected = 2 OTHERS = 3.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = otype act_plvar = plvar IMPORTING org_object_objid = objid EXCEPTIONS no_active_plvar = 11 no_object_id_selected = 12 OTHERS = 13.

RH_TASK_COPY CALL FUNCTION 'RH_TASK_COPY' EXPORTING act_otype = otype act_objid = objid act_plvar = plvar act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda IMPORTING * act_otype = act_objid = copy_objid EXCEPTIONS no_active_plvar = 1 task_not_found = 2 task_not_copied = 3 task_type_not_valid = 4 maintenance_not_allowed = 5 OTHERS = 6.

RH_ORG_STRUCTURE_SHOW * CALL FUNCTION 'RH_ORG_STRUCTURE_SHOW' * EXPORTING * act_plvar = i_objec-plvar * act_objid = i_objec-objid * act_begda = i_objec-begda * act_endda = i_objec-endda * act_maint = maint * EXCEPTIONS * org_unit_not_valid = 21 * plvar_not_found = 22 * wegid_not_found = 23 * structure_error = 24 * OTHERS = 25.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING istat = i_objec-istat extend = 'X' subty = $sorel begda = i_objec-begda endda = i_objec-endda TABLES i1001 = i1001 objects = objects EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_POSITION_PLAN_SHOW * CALL FUNCTION 'RH_POSITION_PLAN_SHOW' * EXPORTING * act_plvar = i_objec-plvar * act_objid = i1001-sobid * act_begda = i_objec-begda * act_endda = i_objec-endda * act_maint = maint * EXCEPTIONS * org_unit_not_valid = 31 * plvar_not_found = 32 * wegid_not_found = 33 * structure_error = 34 * OTHERS = 35.

RH_TASK_DISPLAY CALL FUNCTION 'RH_TASK_DISPLAY' EXPORTING act_otype = i_objec-otype act_objid = i_objec-objid act_plvar = i_objec-plvar act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda EXCEPTIONS no_active_plvar = 1 task_not_found = 2 task_type_not_valid = 3 OTHERS = 4.

RH_TASK_CHANGE CALL FUNCTION 'RH_TASK_CHANGE' EXPORTING act_otype = i_objec-otype act_objid = i_objec-objid act_plvar = i_objec-plvar act_istat = i_objec-istat act_begda = i_objec-begda act_endda = i_objec-endda EXCEPTIONS no_active_plvar = 5 task_not_found = 6 task_type_not_valid = 7 OTHERS = 8.

RH_PNNNN_MAINTAIN CALL FUNCTION 'RH_PNNNN_MAINTAIN' EXPORTING act_fcode = fcode act_plvar = key-plvar act_otype = key-otype act_objid = key-objid act_infty = key-infty act_subty = key-subty act_istat = istat act_begda = begda act_endda = endda * ACT_LANGU = SY-LANGU * ACT_PNNNN = * SUPPRESS_DIALOG = * ACT_VTASK = 'D' * importing * act_ok_code = * act_pnnnn_out = EXCEPTIONS infty_not_valid = 1 no_plvar = 2 object_not_defined = 3 otype_not_valid = 4 no_authority = 5 OTHERS = 6.

RH_DETERMINE_ORG_OBJID





CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = key-otype act_plvar = key-plvar IMPORTING org_object_objid = key-objid EXCEPTIONS no_active_plvar = 1 no_object_id_selected = 2 OTHERS = 3.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = key-infty istat = istat subty = key-subty begda = begda endda = endda TABLES innnn = i_wplog objects = hrobj EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 OTHERS = 5.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = key-plvar EXCEPTIONS no_active_plvar = 1.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = key-infty istat = '1' subty = key-subty * begda = '19000101' * endda = '99991231' TABLES innnn = i_wplog objects = hrobj EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 OTHERS = 5.

RH_DETERMINE_OTYPE_FROM_LIST CALL FUNCTION 'RH_DETERMINE_OTYPE_FROM_LIST' EXPORTING selection_title = text-001 IMPORTING selected_otype = otype TABLES otype_tab = int_otype EXCEPTIONS no_object_type_selected = 1 otype_tab_not_filled = 2 OTHERS = 3.



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