SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

FAGL_MM_POST SAP ABAP INCLUDE - FAGLMMPOST







FAGL_MM_POST 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 FAGL_MM_POST into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT FAGL_MM_POST. "Basic submit
SUBMIT FAGL_MM_POST AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_MM_POST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FAGL_MM_POST

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' "#EC TEXT_POOL EXPORTING titlebar = text-250 text_question = text-251 IMPORTING answer = ld_answer.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = ls_documents-rldnr i_orgunit = ls_documents-s_aw-aworg(4) IMPORTING organizational_info = ls_org_data.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = ls_documents-t_acchd t_accit = ls_documents-t_accit t_acccr = ls_documents-t_acccr EXCEPTIONS error_message = 01.

AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = ls_documents-s_aw-awtyp i_awref = ls_documents-s_aw-awref i_aworg = ls_documents-s_aw-aworg EXCEPTIONS error_message = 01.

FI_ACCBELNR_GET CALL FUNCTION 'FI_ACCBELNR_GET' TABLES t_belnr = ls_documents-t_belnr.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' "#EC TEXT_POOL EXPORTING titlebar = 'SUPPORT-MODUS' text_question = text-999 display_cancel_button = 'X' IMPORTING answer = ld_answer.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = ls_documents-rldnr i_orgunit = ls_documents-s_aw-aworg(4) IMPORTING organizational_info = ls_org_data.

FAGL_SET_SIM_MODE CALL FUNCTION 'FAGL_SET_SIM_MODE' EXPORTING ib_trace = abap_on.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' EXPORTING i_free_table = space TABLES t_acchd = ls_documents-t_acchd t_accit = ls_documents-t_accit t_acccr = ls_documents-t_acccr EXCEPTIONS error_message = 01.

FI_DOCUMENT_RETURN CALL FUNCTION 'FI_DOCUMENT_RETURN' TABLES t_accdn = lt_accdn l_bkpf = lt_bkpf l_bseg = lt_bseg.

FAGL_SET_SIM_MODE CALL FUNCTION 'FAGL_SET_SIM_MODE' EXPORTING ib_trace = abap_on.

FAGL_SPL_SIM_GL_VIEW CALL FUNCTION 'FAGL_SPL_SIM_GL_VIEW' EXPORTING i_t_bkpf = lt_bkpf i_t_bseg = lt_bseg.



Contribute (Add Comments)

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 FAGL_MM_POST or its description.