SAP RH_EVENT_TASK_BINDING_EDIT_CNT Function Module for PD: Reconcile WF container binding of task and event









RH_EVENT_TASK_BINDING_EDIT_CNT is a standard rh event task binding edit cnt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PD: Reconcile WF container binding of task and event processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rh event task binding edit cnt FM, simply by entering the name RH_EVENT_TASK_BINDING_EDIT_CNT into the relevant SAP transaction such as SE37 or SE38.

Function Group: RH_WS_CONTAINER
Program Name: SAPLRH_WS_CONTAINER
Main Program:
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_EVENT_TASK_BINDING_EDIT_CNT pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RH_EVENT_TASK_BINDING_EDIT_CNT'"PD: Reconcile WF container binding of task and event
EXPORTING
* ACT_CLSTYPE = "Object Category
* ACT_MAINT = "
* NO_EDIT_CALL = "
TASK_CONTAINER = "Container - Implementation of a 'Collection'
* ACT_OBJTYP = "
* ACT_CLSNAM = "Workflow: Type of Objects in Persistent Object References
ACT_EVENT = "
* ACT_EVENT_TEXT = "
* ACT_SUBTY = "
ACT_SHORT = "
* ACT_STEXT = "
* ACT_OTEXT = "

IMPORTING
INPUT_DONE = "

CHANGING
BINDING = "Table with Binding Definitions, Persistent Form

EXCEPTIONS
EVENT_CONTAINER_NOT_EXIST = 1 EVENT_NOT_EXIST = 2 INCONSISTENT_BINDINGDEFINITION = 3 TASK_CONTAINER_NOT_EXIST = 4
.



IMPORTING Parameters details for RH_EVENT_TASK_BINDING_EDIT_CNT

ACT_CLSTYPE - Object Category

Data type: HRS1212-CLSTYP
Optional: Yes
Call by Reference: Yes

ACT_MAINT -

Data type: T77FC-MAINT
Optional: Yes
Call by Reference: No ( called with pass by value option)

NO_EDIT_CALL -

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

TASK_CONTAINER - Container - Implementation of a 'Collection'

Data type: IF_SWF_CNT_CONTAINER
Optional: No
Call by Reference: Yes

ACT_OBJTYP -

Data type: HRS1212-OBJTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_CLSNAM - Workflow: Type of Objects in Persistent Object References

Data type: HRS1212-CLSNAM
Optional: Yes
Call by Reference: Yes

ACT_EVENT -

Data type: HRS1212-EVENT
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_EVENT_TEXT -

Data type: HRSTASK-EVENT_TEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_SUBTY -

Data type: HRS1212-SUBTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_SHORT -

Data type: HRS1000-SHORT
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_STEXT -

Data type: HRS1000-STEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_OTEXT -

Data type: T787O-OTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RH_EVENT_TASK_BINDING_EDIT_CNT

INPUT_DONE -

Data type: SWABINEDIT-CHANGED
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for RH_EVENT_TASK_BINDING_EDIT_CNT

BINDING - Table with Binding Definitions, Persistent Form

Data type: SWFBNDPTAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

EVENT_CONTAINER_NOT_EXIST -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EVENT_NOT_EXIST -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INCONSISTENT_BINDINGDEFINITION -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TASK_CONTAINER_NOT_EXIST -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RH_EVENT_TASK_BINDING_EDIT_CNT Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_binding  TYPE SWFBNDPTAB, "   
lv_input_done  TYPE SWABINEDIT-CHANGED, "   
lv_act_clstype  TYPE HRS1212-CLSTYP, "   
lv_event_container_not_exist  TYPE HRS1212, "   
lv_act_maint  TYPE T77FC-MAINT, "   
lv_no_edit_call  TYPE FLAG, "   
lv_task_container  TYPE IF_SWF_CNT_CONTAINER, "   
lv_act_objtyp  TYPE HRS1212-OBJTYP, "   
lv_event_not_exist  TYPE HRS1212, "   
lv_act_clsnam  TYPE HRS1212-CLSNAM, "   
lv_inconsistent_bindingdefinition  TYPE HRS1212, "   
lv_act_event  TYPE HRS1212-EVENT, "   
lv_task_container_not_exist  TYPE HRS1212, "   
lv_act_event_text  TYPE HRSTASK-EVENT_TEXT, "   
lv_act_subty  TYPE HRS1212-SUBTY, "   
lv_act_short  TYPE HRS1000-SHORT, "   
lv_act_stext  TYPE HRS1000-STEXT, "   
lv_act_otext  TYPE T787O-OTEXT. "   

  CALL FUNCTION 'RH_EVENT_TASK_BINDING_EDIT_CNT'  "PD: Reconcile WF container binding of task and event
    EXPORTING
         ACT_CLSTYPE = lv_act_clstype
         ACT_MAINT = lv_act_maint
         NO_EDIT_CALL = lv_no_edit_call
         TASK_CONTAINER = lv_task_container
         ACT_OBJTYP = lv_act_objtyp
         ACT_CLSNAM = lv_act_clsnam
         ACT_EVENT = lv_act_event
         ACT_EVENT_TEXT = lv_act_event_text
         ACT_SUBTY = lv_act_subty
         ACT_SHORT = lv_act_short
         ACT_STEXT = lv_act_stext
         ACT_OTEXT = lv_act_otext
    IMPORTING
         INPUT_DONE = lv_input_done
    CHANGING
         BINDING = lv_binding
    EXCEPTIONS
        EVENT_CONTAINER_NOT_EXIST = 1
        EVENT_NOT_EXIST = 2
        INCONSISTENT_BINDINGDEFINITION = 3
        TASK_CONTAINER_NOT_EXIST = 4
. " RH_EVENT_TASK_BINDING_EDIT_CNT




ABAP code using 7.40 inline data declarations to call FM RH_EVENT_TASK_BINDING_EDIT_CNT

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single CHANGED FROM SWABINEDIT INTO @DATA(ld_input_done).
 
"SELECT single CLSTYP FROM HRS1212 INTO @DATA(ld_act_clstype).
 
 
"SELECT single MAINT FROM T77FC INTO @DATA(ld_act_maint).
 
 
 
"SELECT single OBJTYP FROM HRS1212 INTO @DATA(ld_act_objtyp).
 
 
"SELECT single CLSNAM FROM HRS1212 INTO @DATA(ld_act_clsnam).
 
 
"SELECT single EVENT FROM HRS1212 INTO @DATA(ld_act_event).
 
 
"SELECT single EVENT_TEXT FROM HRSTASK INTO @DATA(ld_act_event_text).
 
"SELECT single SUBTY FROM HRS1212 INTO @DATA(ld_act_subty).
 
"SELECT single SHORT FROM HRS1000 INTO @DATA(ld_act_short).
 
"SELECT single STEXT FROM HRS1000 INTO @DATA(ld_act_stext).
 
"SELECT single OTEXT FROM T787O INTO @DATA(ld_act_otext).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!