OIRC_DRH_SAVE 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 OIRC_DRH_SAVE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIRC_INTERFACES
Released Date:
Not Released
Processing type: Start update immediately (start immed)
CALL FUNCTION 'OIRC_DRH_SAVE' "Save meter readings history to dip readings history
TABLES
t_drrej_del = " oirc_drrej Delete - Dip readings rejected records
t_drrej_ins = " oirc_drrej Create - Dip readings rejected records
t_drrej_upd = " oirc_drrej Modify - Dip readings rejected records
t_socdip_upd = " oirc_socdip Modify - Dip readings history
t_socdip_del = " oirc_socdip Delete - Dip readings history
t_socdip_ins = " oirc_socdip Create - Dip readings history
. " OIRC_DRH_SAVE
The ABAP code below is a full code listing to execute function module OIRC_DRH_SAVE 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).
| it_t_drrej_del | TYPE STANDARD TABLE OF OIRC_DRREJ,"TABLES PARAM |
| wa_t_drrej_del | LIKE LINE OF it_t_drrej_del , |
| it_t_drrej_ins | TYPE STANDARD TABLE OF OIRC_DRREJ,"TABLES PARAM |
| wa_t_drrej_ins | LIKE LINE OF it_t_drrej_ins , |
| it_t_drrej_upd | TYPE STANDARD TABLE OF OIRC_DRREJ,"TABLES PARAM |
| wa_t_drrej_upd | LIKE LINE OF it_t_drrej_upd , |
| it_t_socdip_upd | TYPE STANDARD TABLE OF OIRC_SOCDIP,"TABLES PARAM |
| wa_t_socdip_upd | LIKE LINE OF it_t_socdip_upd , |
| it_t_socdip_del | TYPE STANDARD TABLE OF OIRC_SOCDIP,"TABLES PARAM |
| wa_t_socdip_del | LIKE LINE OF it_t_socdip_del , |
| it_t_socdip_ins | TYPE STANDARD TABLE OF OIRC_SOCDIP,"TABLES PARAM |
| wa_t_socdip_ins | LIKE LINE OF it_t_socdip_ins . |
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:
| it_t_drrej_del | TYPE STANDARD TABLE OF OIRC_DRREJ , |
| wa_t_drrej_del | LIKE LINE OF it_t_drrej_del, |
| it_t_drrej_ins | TYPE STANDARD TABLE OF OIRC_DRREJ , |
| wa_t_drrej_ins | LIKE LINE OF it_t_drrej_ins, |
| it_t_drrej_upd | TYPE STANDARD TABLE OF OIRC_DRREJ , |
| wa_t_drrej_upd | LIKE LINE OF it_t_drrej_upd, |
| it_t_socdip_upd | TYPE STANDARD TABLE OF OIRC_SOCDIP , |
| wa_t_socdip_upd | LIKE LINE OF it_t_socdip_upd, |
| it_t_socdip_del | TYPE STANDARD TABLE OF OIRC_SOCDIP , |
| wa_t_socdip_del | LIKE LINE OF it_t_socdip_del, |
| it_t_socdip_ins | TYPE STANDARD TABLE OF OIRC_SOCDIP , |
| wa_t_socdip_ins | LIKE LINE OF it_t_socdip_ins. |
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 OIRC_DRH_SAVE or its description.
OIRC_DRH_SAVE - Save meter readings history to dip readings history OIRC_DRH_EXEC_PC - SSR Stocks - Execute process control OIRC_DIPREADINGS_SAVE - Saves dip readings to Dip history OIRC_DIPCLEARING_SAVE - Deletes dip readings from Dip history OIRC_DELETE_POPUP_WITH_TAB - SSR Meters - Popup to confirm readings deletion OIRC_DAY_PROCESS_SAVE - Saves end day process results