OIU_SAVE_REFERENCE 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 OIU_SAVE_REFERENCE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIU_RV_PPN_SD
Released Date:
Not Released
Processing type: Start update immediately (start immed)
CALL FUNCTION 'OIU_SAVE_REFERENCE' "Save PPN/posting cross reference
EXPORTING
i_t681 = " t681 Conditions: Structures
TABLES
i_time_vake_db = " oiu_time_vake_db Structure necessary for update function
i_time_vake_akt = " oiu_time_vake_db Variable Key for Condition Maintenance: Internal Structure
t681e_tab = " oiurv_t681e_t
xkonh = " oiurv_konh Conditions (Header)
xoicq6 = " oiurv_oicq6 Formula Condition Data - Formula Term Items
yoicq6 = " oiurv_oicq6 Formula Condition Data - Formula Term Items
xoiuq6 = " oiuq6 Quotation group items
yoiuq6 = " oiuq6 Quotation group items
i_xvake = " oiurv_vakevb Variable Key for Condition Maintenance: Internal Structure
ykondat = " vkondat Change document structure; generated by RSSCD000
xkondat = " vkondat Change document structure; generated by RSSCD000
EXCEPTIONS
STRUCTURE_NOT_SUPPORTED = 1 " structure of access table not supported
. " OIU_SAVE_REFERENCE
The ABAP code below is a full code listing to execute function module OIU_SAVE_REFERENCE 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_i_time_vake_db | TYPE STANDARD TABLE OF OIU_TIME_VAKE_DB,"TABLES PARAM |
| wa_i_time_vake_db | LIKE LINE OF it_i_time_vake_db , |
| it_i_time_vake_akt | TYPE STANDARD TABLE OF OIU_TIME_VAKE_DB,"TABLES PARAM |
| wa_i_time_vake_akt | LIKE LINE OF it_i_time_vake_akt , |
| it_t681e_tab | TYPE STANDARD TABLE OF OIURV_T681E_T,"TABLES PARAM |
| wa_t681e_tab | LIKE LINE OF it_t681e_tab , |
| it_xkonh | TYPE STANDARD TABLE OF OIURV_KONH,"TABLES PARAM |
| wa_xkonh | LIKE LINE OF it_xkonh , |
| it_xoicq6 | TYPE STANDARD TABLE OF OIURV_OICQ6,"TABLES PARAM |
| wa_xoicq6 | LIKE LINE OF it_xoicq6 , |
| it_yoicq6 | TYPE STANDARD TABLE OF OIURV_OICQ6,"TABLES PARAM |
| wa_yoicq6 | LIKE LINE OF it_yoicq6 , |
| it_xoiuq6 | TYPE STANDARD TABLE OF OIUQ6,"TABLES PARAM |
| wa_xoiuq6 | LIKE LINE OF it_xoiuq6 , |
| it_yoiuq6 | TYPE STANDARD TABLE OF OIUQ6,"TABLES PARAM |
| wa_yoiuq6 | LIKE LINE OF it_yoiuq6 , |
| it_i_xvake | TYPE STANDARD TABLE OF OIURV_VAKEVB,"TABLES PARAM |
| wa_i_xvake | LIKE LINE OF it_i_xvake , |
| it_ykondat | TYPE STANDARD TABLE OF VKONDAT,"TABLES PARAM |
| wa_ykondat | LIKE LINE OF it_ykondat , |
| it_xkondat | TYPE STANDARD TABLE OF VKONDAT,"TABLES PARAM |
| wa_xkondat | LIKE LINE OF it_xkondat . |
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_i_t681 | TYPE T681 , |
| it_i_time_vake_db | TYPE STANDARD TABLE OF OIU_TIME_VAKE_DB , |
| wa_i_time_vake_db | LIKE LINE OF it_i_time_vake_db, |
| it_i_time_vake_akt | TYPE STANDARD TABLE OF OIU_TIME_VAKE_DB , |
| wa_i_time_vake_akt | LIKE LINE OF it_i_time_vake_akt, |
| it_t681e_tab | TYPE STANDARD TABLE OF OIURV_T681E_T , |
| wa_t681e_tab | LIKE LINE OF it_t681e_tab, |
| it_xkonh | TYPE STANDARD TABLE OF OIURV_KONH , |
| wa_xkonh | LIKE LINE OF it_xkonh, |
| it_xoicq6 | TYPE STANDARD TABLE OF OIURV_OICQ6 , |
| wa_xoicq6 | LIKE LINE OF it_xoicq6, |
| it_yoicq6 | TYPE STANDARD TABLE OF OIURV_OICQ6 , |
| wa_yoicq6 | LIKE LINE OF it_yoicq6, |
| it_xoiuq6 | TYPE STANDARD TABLE OF OIUQ6 , |
| wa_xoiuq6 | LIKE LINE OF it_xoiuq6, |
| it_yoiuq6 | TYPE STANDARD TABLE OF OIUQ6 , |
| wa_yoiuq6 | LIKE LINE OF it_yoiuq6, |
| it_i_xvake | TYPE STANDARD TABLE OF OIURV_VAKEVB , |
| wa_i_xvake | LIKE LINE OF it_i_xvake, |
| it_ykondat | TYPE STANDARD TABLE OF VKONDAT , |
| wa_ykondat | LIKE LINE OF it_ykondat, |
| it_xkondat | TYPE STANDARD TABLE OF VKONDAT , |
| wa_xkondat | LIKE LINE OF it_xkondat. |
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 OIU_SAVE_REFERENCE or its description.
OIU_SAVE_REFERENCE - Save PPN/posting cross reference OIU_R_FRML_WRITE_DOCUMENT - CHDO OIU_R_FRML => Gen. by RSSCD000 OIU_RV_VPPNU_UPDATE - Update database table OIU_RV_VPPNU OIU_RV_VPPNM_UPDATE - Update table OIU_RV_VPPNM OIU_RV_RVT_UPDATE - Update the Deletion Flag in table OIU_RV_RVT OIU_RV_RVT_DELETE - Update the Deletion Flag in table OIU_RV_RVT