SAP SUBMIT_MCDOKDEL Function Module for NOTRANSL: Ausführen des Programms MCDOKDEL für Reorg









SUBMIT_MCDOKDEL is a standard submit mcdokdel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ausführen des Programms MCDOKDEL für Reorg processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for submit mcdokdel FM, simply by entering the name SUBMIT_MCDOKDEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: CVIN
Program Name: SAPLCVIN
Main Program: SAPLCVIN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SUBMIT_MCDOKDEL pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SUBMIT_MCDOKDEL'"NOTRANSL: Ausführen des Programms MCDOKDEL für Reorg
EXPORTING
DOKAR = "Document Type
* TEST = 'X' "Document Management Flag
* WRITE_LIST = ' ' "Document Management Flag
* RESTRICT = "

TABLES
* ITAB_DRAW = "Document Info Record
.



IMPORTING Parameters details for SUBMIT_MCDOKDEL

DOKAR - Document Type

Data type: DRAW-DOKAR
Optional: No
Call by Reference: No ( called with pass by value option)

TEST - Document Management Flag

Data type: MCDOK-ACTION
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WRITE_LIST - Document Management Flag

Data type: MCDOK-ACTION
Default: SPACE
Optional: Yes
Call by Reference: Yes

RESTRICT -

Data type:
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for SUBMIT_MCDOKDEL

ITAB_DRAW - Document Info Record

Data type: DRAW
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for SUBMIT_MCDOKDEL Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_dokar  TYPE DRAW-DOKAR, "   
lt_itab_draw  TYPE STANDARD TABLE OF DRAW, "   
lv_test  TYPE MCDOK-ACTION, "   'X'
lv_write_list  TYPE MCDOK-ACTION, "   SPACE
lv_restrict  TYPE MCDOK. "   

  CALL FUNCTION 'SUBMIT_MCDOKDEL'  "NOTRANSL: Ausführen des Programms MCDOKDEL für Reorg
    EXPORTING
         DOKAR = lv_dokar
         TEST = lv_test
         WRITE_LIST = lv_write_list
         RESTRICT = lv_restrict
    TABLES
         ITAB_DRAW = lt_itab_draw
. " SUBMIT_MCDOKDEL




ABAP code using 7.40 inline data declarations to call FM SUBMIT_MCDOKDEL

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single DOKAR FROM DRAW INTO @DATA(ld_dokar).
 
 
"SELECT single ACTION FROM MCDOK INTO @DATA(ld_test).
DATA(ld_test) = 'X'.
 
"SELECT single ACTION FROM MCDOK INTO @DATA(ld_write_list).
DATA(ld_write_list) = ' '.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!