MATE_PARK_WRITE_DOCUMENT 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 MATE_PARK_WRITE_DOCUMENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
M03H
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MATE_PARK_WRITE_DOCUMENT' "Generiert durch RSCDOKF0, Änderunsbelege
EXPORTING
objectid = " cdhdr-objectid
tcode = " cdhdr-tcode
utime = " cdhdr-utime
udate = " cdhdr-udate
username = " cdhdr-username
* upd_dmakt = SPACE "
* upd_dmarm = SPACE "
* upd_dmlan = SPACE "
n_mara = " mara
o_mara = " mara
* upd_mara = SPACE "
n_marc = " marc
o_marc = " marc
n_mare = " mare
o_mare = " mare
* upd_marc = SPACE "
n_mard = " mard
o_mard = " mard
* upd_mard = SPACE "
n_mbew = " mbew
o_mbew = " mbew
* upd_mbew = SPACE "
n_mlgn = " mlgn
o_mlgn = " mlgn
* upd_mlgn = SPACE "
n_mlgt = " mlgt
o_mlgt = " mlgt
* upd_mlgt = SPACE "
n_mpop = " mpop
o_mpop = " mpop
* upd_mpop = SPACE "
n_mvke = " mvke
o_mvke = " mvke
* upd_mvke = SPACE "
TABLES
xdmakt = "
ydmakt = "
xdmarm = "
ydmarm = "
xdmlan = "
ydmlan = "
. " MATE_PARK_WRITE_DOCUMENT
The ABAP code below is a full code listing to execute function module MATE_PARK_WRITE_DOCUMENT 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_xdmakt | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_xdmakt | LIKE LINE OF it_xdmakt , |
| it_ydmakt | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_ydmakt | LIKE LINE OF it_ydmakt , |
| it_xdmarm | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_xdmarm | LIKE LINE OF it_xdmarm , |
| it_ydmarm | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_ydmarm | LIKE LINE OF it_ydmarm , |
| it_xdmlan | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_xdmlan | LIKE LINE OF it_xdmlan , |
| it_ydmlan | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_ydmlan | LIKE LINE OF it_ydmlan . |
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_objectid | TYPE CDHDR-OBJECTID , |
| it_xdmakt | TYPE STANDARD TABLE OF STRING , |
| wa_xdmakt | LIKE LINE OF it_xdmakt, |
| ld_tcode | TYPE CDHDR-TCODE , |
| it_ydmakt | TYPE STANDARD TABLE OF STRING , |
| wa_ydmakt | LIKE LINE OF it_ydmakt, |
| ld_utime | TYPE CDHDR-UTIME , |
| it_xdmarm | TYPE STANDARD TABLE OF STRING , |
| wa_xdmarm | LIKE LINE OF it_xdmarm, |
| ld_udate | TYPE CDHDR-UDATE , |
| it_ydmarm | TYPE STANDARD TABLE OF STRING , |
| wa_ydmarm | LIKE LINE OF it_ydmarm, |
| ld_username | TYPE CDHDR-USERNAME , |
| it_xdmlan | TYPE STANDARD TABLE OF STRING , |
| wa_xdmlan | LIKE LINE OF it_xdmlan, |
| ld_upd_dmakt | TYPE STRING , |
| it_ydmlan | TYPE STANDARD TABLE OF STRING , |
| wa_ydmlan | LIKE LINE OF it_ydmlan, |
| ld_upd_dmarm | TYPE STRING , |
| ld_upd_dmlan | TYPE STRING , |
| ld_n_mara | TYPE MARA , |
| ld_o_mara | TYPE MARA , |
| ld_upd_mara | TYPE STRING , |
| ld_n_marc | TYPE MARC , |
| ld_o_marc | TYPE MARC , |
| ld_n_mare | TYPE MARE , |
| ld_o_mare | TYPE MARE , |
| ld_upd_marc | TYPE STRING , |
| ld_n_mard | TYPE MARD , |
| ld_o_mard | TYPE MARD , |
| ld_upd_mard | TYPE STRING , |
| ld_n_mbew | TYPE MBEW , |
| ld_o_mbew | TYPE MBEW , |
| ld_upd_mbew | TYPE STRING , |
| ld_n_mlgn | TYPE MLGN , |
| ld_o_mlgn | TYPE MLGN , |
| ld_upd_mlgn | TYPE STRING , |
| ld_n_mlgt | TYPE MLGT , |
| ld_o_mlgt | TYPE MLGT , |
| ld_upd_mlgt | TYPE STRING , |
| ld_n_mpop | TYPE MPOP , |
| ld_o_mpop | TYPE MPOP , |
| ld_upd_mpop | TYPE STRING , |
| ld_n_mvke | TYPE MVKE , |
| ld_o_mvke | TYPE MVKE , |
| ld_upd_mvke | TYPE STRING . |
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 MATE_PARK_WRITE_DOCUMENT or its description.
MATE_PARK_WRITE_DOCUMENT - Generiert durch RSCDOKF0, Änderunsbelege MATERIAL_WRITE_DOCUMENT - ===> Object MATERIAL , generated by program RSSCD000 MATERIAL_WRITE_CORRESPONDING - MATERIAL_VALIDITY_UPDATE - MATERIAL_UPLOAD_GET_DETAIL - MATERIAL_UPD_BOTH_OPEN_TECH - Create the MSTA and MOFF for material/rank after primary data transfer