SAP CCDSNU_CHECK_MO_INPUT_TABLE Function Module for Fills DSNACCMO input tables
CCDSNU_CHECK_MO_INPUT_TABLE is a standard ccdsnu check mo input table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fills DSNACCMO input tables 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 ccdsnu check mo input table FM, simply by entering the name CCDSNU_CHECK_MO_INPUT_TABLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: S_CCDSNU_DB2
Program Name: SAPLS_CCDSNU_DB2
Main Program: SAPLS_CCDSNU_DB2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CCDSNU_CHECK_MO_INPUT_TABLE 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 'CCDSNU_CHECK_MO_INPUT_TABLE'"Fills DSNACCMO input tables.
EXPORTING
* USE_ADMIN_SP = ABAP_FALSE "
* SP_NAME = "
TABLES
MO_TBL = "Structure of global temp input table DSNACC.MO_TBL
MO_TBL2 = "Structure of global temp input table DSNACC.MO_TBL2
EXCEPTIONS
TABLE_MISSING = 1 SQL_ERROR = 2
IMPORTING Parameters details for CCDSNU_CHECK_MO_INPUT_TABLE
USE_ADMIN_SP -
Data type: CDefault: ABAP_FALSE
Optional: Yes
Call by Reference: Yes
SP_NAME -
Data type: COptional: Yes
Call by Reference: Yes
TABLES Parameters details for CCDSNU_CHECK_MO_INPUT_TABLE
MO_TBL - Structure of global temp input table DSNACC.MO_TBL
Data type: DB2CCMOT1Optional: No
Call by Reference: Yes
MO_TBL2 - Structure of global temp input table DSNACC.MO_TBL2
Data type: DB2CCMOT2Optional: No
Call by Reference: Yes
EXCEPTIONS details
TABLE_MISSING - >=1 required table DSNACC.MO_TBL, DSNACC.MO_TBL2 and DSNACC.MO_SYSPRINT missing
Data type:Optional: No
Call by Reference: Yes
SQL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CCDSNU_CHECK_MO_INPUT_TABLE 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: | ||||
| lt_mo_tbl | TYPE STANDARD TABLE OF DB2CCMOT1, " | |||
| lv_use_admin_sp | TYPE C, " ABAP_FALSE | |||
| lv_table_missing | TYPE C, " | |||
| lt_mo_tbl2 | TYPE STANDARD TABLE OF DB2CCMOT2, " | |||
| lv_sp_name | TYPE C, " | |||
| lv_sql_error | TYPE C. " |
|   CALL FUNCTION 'CCDSNU_CHECK_MO_INPUT_TABLE' "Fills DSNACCMO input tables |
| EXPORTING | ||
| USE_ADMIN_SP | = lv_use_admin_sp | |
| SP_NAME | = lv_sp_name | |
| TABLES | ||
| MO_TBL | = lt_mo_tbl | |
| MO_TBL2 | = lt_mo_tbl2 | |
| EXCEPTIONS | ||
| TABLE_MISSING = 1 | ||
| SQL_ERROR = 2 | ||
| . " CCDSNU_CHECK_MO_INPUT_TABLE | ||
ABAP code using 7.40 inline data declarations to call FM CCDSNU_CHECK_MO_INPUT_TABLE
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.| DATA(ld_use_admin_sp) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects