MEDCMM_CREATE_REVISION_MANAGER 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 MEDCMM_CREATE_REVISION_MANAGER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MEDCMM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MEDCMM_CREATE_REVISION_MANAGER' "
EXPORTING
im_bstyp = " bstyp_dcm DCM Purchasing document category
im_bsart = " esart Purchasing Document Type
* im_ekorg = " ekorg Purchasing Organization
im_edokn = " edokn DCM Object number in Purchasing
im_persistent = MMPUR_YES " mmpur_bool In Database
im_activity = " aktyp Activity
* im_edokp = " edokp
* im_dcm_adapter = " if_dcm_adapter Links Business Object to DCM
* im_preisanz = MMPUR_YES " preisanz Indicator: Authorization to display price data
* im_complete = " complete_dcm Version always completed
* im_version = " revno Version Number in Purchasing
* im_external = " extreq Externally Generated Purchase Requisition
* im_estkz = " estkz Creation Indicator (Purchase Requisition/Schedule Lines)
IMPORTING
ex_instance = " if_revision_manager_dcm DCM Purchasing Version Management
. " MEDCMM_CREATE_REVISION_MANAGER
The ABAP code below is a full code listing to execute function module MEDCMM_CREATE_REVISION_MANAGER 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_ex_instance | TYPE IF_REVISION_MANAGER_DCM . |
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_ex_instance | TYPE IF_REVISION_MANAGER_DCM , |
| ld_im_bstyp | TYPE BSTYP_DCM , |
| ld_im_bsart | TYPE ESART , |
| ld_im_ekorg | TYPE EKORG , |
| ld_im_edokn | TYPE EDOKN , |
| ld_im_persistent | TYPE MMPUR_BOOL , |
| ld_im_activity | TYPE AKTYP , |
| ld_im_edokp | TYPE EDOKP , |
| ld_im_dcm_adapter | TYPE IF_DCM_ADAPTER , |
| ld_im_preisanz | TYPE PREISANZ , |
| ld_im_complete | TYPE COMPLETE_DCM , |
| ld_im_version | TYPE REVNO , |
| ld_im_external | TYPE EXTREQ , |
| ld_im_estkz | TYPE ESTKZ . |
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 MEDCMM_CREATE_REVISION_MANAGER or its description.