MCDOCF20 is a standard ABAP INCLUDE 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 MCDOCF20 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: U
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = 'TCID' msgv2 = tcim-setnm msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_ND_STRING CALL FUNCTION 'FILL_ND_STRING' EXPORTING field =
dtype = tcid_tab-dtype fldln = tcid_tab-fldln dblen = tcid_tab-dblen conve = tcid_tab-conve strng = nd_string locat = string_loc
IMPORTING rstrg = nd_string rloct = string_loc.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = msgv1 msgv2 = msgv2 msgv3 = msgv3 msgv4 = msgv4 msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = msgv1 msgv2 = msgv2 msgv3 = msgv3 msgv4 = msgv4 msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING strng = message strln = message_length locat = cadout_loc tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING strng = nd_string strln = nd_occ_length locat = cadout_loc tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = 'TCIM' msgv2 = cadsys msgv3 = a_pcode msgv4 = a_ucode msgv5 = 'D'
IMPORTING error = error_flag messg = message msgln = message_length.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = 'TCID' msgv2 = tcim-setnm msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_ND_STRING CALL FUNCTION 'FILL_ND_STRING' EXPORTING field =
dtype = tcid_tab-dtype fldln = tcid_tab-fldln dblen = tcid_tab-dblen conve = tcid_tab-conve strng = nd_string locat = string_loc
IMPORTING rstrg = nd_string rloct = string_loc.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING strng = nd_string strln = nd_occ_length locat = cadout_loc tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
CONVERT_FIELD_TO_EXTERN_FORMAT CALL FUNCTION 'CONVERT_FIELD_TO_EXTERN_FORMAT' EXPORTING ifeld =
conve = convxx
IMPORTING efeld = prps-posid.
CONVERT_FIELD_TO_EXTERN_FORMAT CALL FUNCTION 'CONVERT_FIELD_TO_EXTERN_FORMAT' EXPORTING ifeld =
conve = convxx
IMPORTING efeld =.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field =
locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = object_tab-obtxt locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING locat = cadout_loc strln = nd_occ_length strng = nd_string tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = space msgv2 = space msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING strnm = 'SM_STRING' strng = sm_string strln = sm_string_length field = tdwd-dttrg locat = string_loc delim = tcis-delim
IMPORTING rstrg = sm_string rloct = string_loc error = error_flag messg = message msgln = message_length.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING strnm = 'SM_STRING' strng = sm_string strln = sm_string_length field = tdwd-cvtext locat = string_loc delim = tcis-delim
IMPORTING rstrg = sm_string rloct = string_loc error = error_flag messg = message msgln = message_length.
CALL FUNCTION 'FILL_TABLE' EXPORTING strng = sm_string strln = string_loc locat = cadout_loc tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = space msgv2 = space msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = doc_objects-posnr locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdwot-ktxt locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = doc_objects-objex locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING locat = cadout_loc strln = nd_occ_length strng = nd_string tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = msgv1 msgv2 = space msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdwst-stabk locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdwst-dostx locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdws-dosar locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdws-frknz locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = tdws-frtae locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = msk_date locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = msk_time locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = drap_tab-prnam locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = drap_tab-protf locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_TABLE CALL FUNCTION 'FILL_TABLE' EXPORTING locat = cadout_loc strln = nd_occ_length strng = nd_string tblen = cadout_length
IMPORTING rloct = cadout_loc
TABLES table = cadout.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXPORTING _synchron = flag_synchronous.
DOCUMENT_HANDLING_REMOTE CALL FUNCTION 'DOCUMENT_HANDLING_REMOTE' EXPORTING data = draw logfield = drap-protf mode = tcode_mode olinks_delete = olinks_delete langu = drat-langu shorttext = drat-dktxt status = tdwst-stabk transaction = tcode UPDATE = tcode_update
IMPORTING subrc = subrc
TABLES connections = drad_tab texts = drat_tab.
DETERMINE_CONVERSION_ROUTINE CALL FUNCTION 'DETERMINE_CONVERSION_ROUTINE' EXPORTING table = 'RMCLF' field = 'DOKNR'
IMPORTING conve = conve.
CONVERT_FIELD_TO_INTERN_FORMAT CALL FUNCTION 'CONVERT_FIELD_TO_INTERN_FORMAT' EXPORTING efeld = rmclf-doknr dtype = 'CHAR' conve = conve
IMPORTING error = error_flag ifeld = rmclf-doknr messg = message msgln = message_length.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = l_msgty msgid = l_msgid msgno = l_msgno msgv1 = l_msgv1 msgv2 = l_msgv2 msgv3 = l_msgv3 msgv4 = l_msgv4 msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgty = msgty msgid = msgid msgno = msgno msgv1 = space msgv2 = space msgv3 = space msgv4 = space msgv5 = space
IMPORTING error = error_flag messg = message msgln = message_length.
KEY_ZU_OBJEKT CALL FUNCTION 'KEY_ZU_OBJEKT' EXPORTING objekt = doc_objects-dokob
IMPORTING key1 = keyf-keyf01 key2 = keyf-keyf02 key3 = keyf-keyf03 key4 = keyf-keyf04 key5 = keyf-keyf05 key6 = keyf-keyf06 key7 = keyf-keyf07 key8 = keyf-keyf08 key9 = keyf-keyf09 key10 = keyf-keyf10 len1 = kfln-kfln01 len2 = kfln-kfln02 len3 = kfln-kfln03 len4 = kfln-kfln04 len5 = kfln-kfln05 len6 = kfln-kfln06 len7 = kfln-kfln07 len8 = kfln-kfln08 len9 = kfln-kfln09 len10 = kfln-kfln10
EXCEPTIONS no_objekt = 04.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING langu = langu tabname = tabna withtext = 'X'
TABLES fieldtab = field_tab
EXCEPTIONS internal_error = 04 no_texts_found = 08 table_has_no_fields = 12 table_not_activ = 16.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'PRPS' LFIELDNAME = 'POSID' IMPORTING DFIES_WA = dfies EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3 .
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = field_tab-fieldtext locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = kflnxx locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = text-001 locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
FILL_STRING CALL FUNCTION 'FILL_STRING' EXPORTING delim = tcis-delim field = desc_length locat = string_loc strln = nd_string_length strng = nd_string strnm = 'ND_STRING'
IMPORTING error = error_flag messg = message msgln = message_length rloct = string_loc rstrg = nd_string.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name MCDOCF20 or its description.