ISHMED_ME_CALL_ADMIN_EVENT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISHMED_ME_CALL_ADMIN_EVENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
N1ME_ADMIN_EVENT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISHMED_ME_CALL_ADMIN_EVENT' "
EXPORTING
i_caller = " sy-cprog Calling Program
i_einri = " tn01-einri Institution
* i_enqueue = ON " ish_on_off
* i_save = ON " ish_on_off Save Data
* i_commit = ON " ish_on_off Execute COMMIT WORK
* i_vcode = 'INS' " ish_vcode
* it_order = " ish_objectlist IS-H: Table with Object References
* it_meordid = " ishmed_t_meordid IS-H*MED: Table Type for Order ID
* it_event = " ish_objectlist IS-H: Table with Object References
* it_meevtid = " ishmed_t_me_meevtid IS-H*MED: Medication; Table Type for MEEVTID
* ir_config = " cl_ishmed_con_me_admin i.s.h.med: Medication, Configuration of Administration
IMPORTING
e_rc = " ish_method_rc Return Code
* CHANGING
* cr_controller = " cl_ishmed_prc_me_admin_event
* cs_lock = " rn1me_lock_pass IS-H*MED: Termination and Removal of Various Locks
* cr_errorhandler = " cl_ishmed_errorhandling ISHMED: Class for Error Handling
. " ISHMED_ME_CALL_ADMIN_EVENT
The ABAP code below is a full code listing to execute function module ISHMED_ME_CALL_ADMIN_EVENT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_rc | TYPE ISH_METHOD_RC . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_cr_controller | TYPE CL_ISHMED_PRC_ME_ADMIN_EVENT , |
| ld_e_rc | TYPE ISH_METHOD_RC , |
| ld_i_caller | TYPE SY-CPROG , |
| ld_cs_lock | TYPE RN1ME_LOCK_PASS , |
| ld_i_einri | TYPE TN01-EINRI , |
| ld_cr_errorhandler | TYPE CL_ISHMED_ERRORHANDLING , |
| ld_i_enqueue | TYPE ISH_ON_OFF , |
| ld_i_save | TYPE ISH_ON_OFF , |
| ld_i_commit | TYPE ISH_ON_OFF , |
| ld_i_vcode | TYPE ISH_VCODE , |
| ld_it_order | TYPE ISH_OBJECTLIST , |
| ld_it_meordid | TYPE ISHMED_T_MEORDID , |
| ld_it_event | TYPE ISH_OBJECTLIST , |
| ld_it_meevtid | TYPE ISHMED_T_ME_MEEVTID , |
| ld_ir_config | TYPE CL_ISHMED_CON_ME_ADMIN . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISHMED_ME_CALL_ADMIN_EVENT or its description.