DPWTY_MEASUREMENT_REGISTRATION 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 DPWTY_MEASUREMENT_REGISTRATION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DPWTY_RFC
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'DPWTY_MEASUREMENT_REGISTRATION' "RFC Create measurement document for masterwarranty start
EXPORTING
iv_relty = " wty_relty Type of Warranty Object
* iv_relob_ext = " wty_relob_ext External Object Number
* iv_relob = " wty_relob Internal Object Number
* iv_equnr = " wty_equnr Equipment Number
* iv_serno = " wty_serno Serial Number
iv_mganr = " wty_mganr Master Warranty
iv_startdate = " wty_gwldt Start Date of Assigned Warranty
* iv_initial_value = " wty_counter_value Value of Counter in Counter Unit
* iv_counter_unit = " wty_mseh6 Unit for Counter of Master Warranty
* iv_short_text = " imrc_mdtxt Measurement Document Text
* iv_time = '000010' " imrc_itime Current Time of Application Server
IMPORTING
et_return = " bapiret2_t Return parameter table
ev_nothing_done = " flag No document to create
ev_mdocm = " imrg-mdocm Measurement Document
. " DPWTY_MEASUREMENT_REGISTRATION
The ABAP code below is a full code listing to execute function module DPWTY_MEASUREMENT_REGISTRATION 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_et_return | TYPE BAPIRET2_T , |
| ld_ev_nothing_done | TYPE FLAG , |
| ld_ev_mdocm | TYPE IMRG-MDOCM . |
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_et_return | TYPE BAPIRET2_T , |
| ld_iv_relty | TYPE WTY_RELTY , |
| ld_ev_nothing_done | TYPE FLAG , |
| ld_iv_relob_ext | TYPE WTY_RELOB_EXT , |
| ld_ev_mdocm | TYPE IMRG-MDOCM , |
| ld_iv_relob | TYPE WTY_RELOB , |
| ld_iv_equnr | TYPE WTY_EQUNR , |
| ld_iv_serno | TYPE WTY_SERNO , |
| ld_iv_mganr | TYPE WTY_MGANR , |
| ld_iv_startdate | TYPE WTY_GWLDT , |
| ld_iv_initial_value | TYPE WTY_COUNTER_VALUE , |
| ld_iv_counter_unit | TYPE WTY_MSEH6 , |
| ld_iv_short_text | TYPE IMRC_MDTXT , |
| ld_iv_time | TYPE IMRC_ITIME . |
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 DPWTY_MEASUREMENT_REGISTRATION or its description.
DPWTY_MEASUREMENT_REGISTRATION - RFC Create measurement document for masterwarranty start DPWTY_MEASUREMENT_POINT - Determine Measurement Points to Object DPWTY_MAP_INTERFACE_2_SELOPT - F4 search help mapping DPWTY_ITMNO_CATALOG_RFC - RFC get item key (material or catalogue) DPWTY_ITEM_UNIT_RFC - RFC determine quantity unit DPWTY_HD_MWARRANTY_CHECK_SIMU - Check master warranty header object without measure doc. only claim va