CKMLDUVMAT_POST_DIST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter CKMLDUVMAT_POST_DIST into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Program CKMLDUV_POST_DIST
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING aplid = 'ACT' object_id = 'DUV'.
CM_F_SET_OBJECT CALL FUNCTION 'CM_F_SET_OBJECT' EXPORTING object = ld_object object_id = 'DUV'.
STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = lt_dist_co-objnr vrgng = gc_vrgng_wa EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 error_message = 7 OTHERS = 8.
CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgid = k_msgid msgno = '204' msgty = 'I' msgv1 = ld_msgv1 msgv2 = ld_msgv2 msgv3 = ld_msgv3 object_dependent = 'X'.
CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgid = k_msgid msgno = '203' msgty = 'I' msgv1 = ld_msgv1 object_dependent = 'X'.
CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgid = k_msgid msgno = '011' msgty = 'E' msgv1 = ld_msgv1 msgv2 = ld_msgv2 object_dependent = 'X'.
ENQUEUE_ECKMLDUVN CALL FUNCTION 'ENQUEUE_ECKMLDUVN' EXPORTING mode_ckmlduvn = 'E' mandt = sy-mandt iblnr = it_dist-iblnr gjahr = it_dist-gjahr zeili = it_dist-zeili EXCEPTIONS OTHERS = 1.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ENQUEUE_ECKMLDUVN CALL FUNCTION 'ENQUEUE_ECKMLDUVN' EXPORTING mode_ckmlduvn = 'E' mandt = sy-mandt iblnr = is_dist-iblnr gjahr = is_dist-gjahr zeili = is_dist-zeili EXCEPTIONS OTHERS = 1.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.