MF05AFHENJ 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 MF05AFHENJ 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DOCHEADERFIELD_INIT CALL FUNCTION 'DOCHEADERFIELD_INIT' EXPORTING i_t020 = t020 i_firstcall = first_call i_koart = 'S' i_document_exists = g_document_exists CHANGING c_head = acgl_head.
FI_DOCUMENT_TYPE_DATA CALL FUNCTION 'FI_DOCUMENT_TYPE_DATA' EXPORTING i_blart = acgl_head-blart i_koart = 'S' i_langu = sy-langu IMPORTING e_t003 = t003 e_ltext = _txt EXCEPTIONS error_message = 01.
DOCHEADERFIELD_MODIFY CALL FUNCTION 'DOCHEADERFIELD_MODIFY' EXPORTING i_bkpf = bkpf i_sgroup2 = screen-group2 i_sgroup3 = screen-group3 i_sgroup4 = screen-group4 i_param = rfopt i_parame = rfopte i_t020 = t020 i_name = fieldname i_firstcall = first_call i_anzbz = rf05a-anzbz i_document_exists = g_document_exists i_status = g_status i_headvalch = x_headvalch "Note1078655 IMPORTING e_screeninput = screen-input e_screenoutput = screen-output e_screenrequired = screen-required e_screeninvisible = screen-invisible e_changed = changed.
CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' EXPORTING i_land1 = t001-land1 IMPORTING e_fi_isactive = xwia.
FI_VALIDATION_HEADER CALL FUNCTION 'FI_VALIDATION_HEADER' EXPORTING i_bkpf = bkpf EXCEPTIONS error_message = 1.
HEADERVALIDATION_CHECKED CALL FUNCTION 'HEADERVALIDATION_CHECKED'. "Note 654401
FI_VALIDATION_HEADER CALL FUNCTION 'FI_VALIDATION_HEADER' "Note 754620 EXPORTING "Note 754620 i_bkpf = bkpf. "Note 754620
HEADERVALIDATION_CHECKED CALL FUNCTION 'HEADERVALIDATION_CHECKED'. "Note 654401
LINEITEM_READ_TTXD CALL FUNCTION 'LINEITEM_READ_TTXD' "Note 212989 EXPORTING "Note 212989 i_kalsm = tax-kalsm "Note 212989 IMPORTING "Note 212989 e_ttxd = ttxd. "Note 212989
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SHD0' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.