MV50AFCD is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for The Include contains FORM routines that are required for creating and processing change documents in the delivery...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter MV50AFCD 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: Change Documents
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LIEFERUNG_WRITE_DOCUMENT CALL FUNCTION 'LIEFERUNG_WRITE_DOCUMENT' IN UPDATE TASK EXPORTING objectid = lf_aenderungsobjekt tcode = sy-tcode utime = sy-uzeit udate = sy-datum username = sy-uname * PLANNED_CHANGE_NUMBER = ' ' * OBJECT_CHANGE_INDICATOR = 'U' * PLANNED_OR_REAL_CHANGES = ' ' * ICDTXT_LIEFERUNG = ' ' n_likp = ls_new_likp o_likp = ls_old_likp upd_likp = lf_upd_likp upd_lips = lf_upd_lips upd_vbpa = lf_upd_vbpa n_vbuk = ls_new_vbuk o_vbuk = ls_old_vbuk upd_vbuk = lf_upd_vbuk TABLES icdtxt_lieferung = lt_icdtxt_lief xlips = lt_cd_xlips ylips = lt_cd_ylips xvbpa = lt_cd_xvbpa yvbpa = lt_cd_yvbpa EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.