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

SAPF100_POSTINGS SAP ABAP INCLUDE - SAPF100POSTINGS







SAPF100_POSTINGS 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 SAPF100_POSTINGS 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 SAPF100_POSTINGS. "Basic submit
SUBMIT SAPF100_POSTINGS AND RETURN. "Return to original report after report execution complete
SUBMIT SAPF100_POSTINGS 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 SAPF100_POSTINGS

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:

FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' EXPORTING I_LDGRP = ld_ldgrp IMPORTING ET_LEDGER = lt_ledger EXCEPTIONS ERROR_IN_LEDGERGROUP = 1 OTHERS = 2.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' * EXPORTING * I_CLIENT = SY-MANDT IMPORTING E_RLDNR = ld_ledger EXCEPTIONS NOT_FOUND = 1 MORE_THAN_ONE = 2 OTHERS = 3 .

FAGL_GET_ACTIVE_MGPLN CALL FUNCTION 'FAGL_GET_ACTIVE_MGPLN' EXPORTING I_BUKRS = belege-bukrs I_RLDNR = ld_ledger IMPORTING * ET_FAGL_MIG_002 = et_fagl_mig_001 = lt_mig_1 * EF_ACTIVE_MGPLN = EXCEPTIONS * INVALID_INPUT = 1 * NO_DATA_FOUND = 2 * INVALID_CUSTOMIZING = 3 OTHERS = 4.

FAGL_MIGRATION_ACTIVE * CALL FUNCTION 'FAGL_MIGRATION_ACTIVE' * EXPORTING * i_bukrs = belege-bukrs * i_rldnr = ld_ledger * IMPORTING * E_MG_ACTIVE = lb_mg_active.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' * EXPORTING * I_CLIENT = SY-MANDT IMPORTING E_RLDNR = ld_ledger EXCEPTIONS NOT_FOUND = 1 MORE_THAN_ONE = 2 OTHERS = 3.

FAGL_GET_ACTIVE_MGPLN CALL FUNCTION 'FAGL_GET_ACTIVE_MGPLN' EXPORTING I_BUKRS = belege-bukrs I_RLDNR = ld_ledger IMPORTING * ET_FAGL_MIG_002 = et_fagl_mig_001 = lt_mig_1 * EF_ACTIVE_MGPLN = EXCEPTIONS * INVALID_INPUT = 1 * NO_DATA_FOUND = 2 * INVALID_CUSTOMIZING = 3 OTHERS = 4.

POSTING_INTERFACE_START call function 'POSTING_INTERFACE_START' exporting i_function = func i_group = par_bnam i_keep = 'X' i_mode = mode i_user = user * create batch input when update mode and error occurs i_xbdcc = par_bi exceptions error_message = 1 others = 6.

VALUATION_SL_POSTINGS CALL FUNCTION 'VALUATION_SL_POSTINGS' EXPORTING I_bwber = p_bwber i_new_awref = g_NEW_AWREF I_COMP = 'GL' old_awref = bu_waertab-sl_awref IMPORTING e_awref = g_awref TABLES T_BKPF = t_bkpf T_BSEG = t_bseg EXCEPTIONS error_message = 1 others = 1.

POSTING_INTERFACE_DOCUMENT call function 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FBB1' IMPORTING e_msgid = syst-msgid e_msgty = syst-msgty e_msgno = syst-msgno e_msgv1 = syst-msgv1 e_msgv2 = syst-msgv2 e_msgv3 = syst-msgv3 e_msgv4 = syst-msgv4 e_subrc = subrc TABLES t_ftpost = ftpost t_blntab = xblntab t_fttax = xfttax EXCEPTIONS error_message = 9 others = 9.

POSTING_INTERFACE_END call function 'POSTING_INTERFACE_END'.

FI_SPLIT_MOVE_TO_BATCH_INPUT * call function 'FI_SPLIT_MOVE_TO_BATCH_INPUT' * EXPORTING * company_code = buchung-bukrs * GL_ACCOUNT_NUMBER = ikto * X_BS_ACCOUNT = ska1-xbilk * add_acct_ass = buchung-addaa * TABLES * batch_input_data = lt_ftpost.

FI_SPLIT_MOVE_TO_BATCH_INPUT CALL FUNCTION 'FI_SPLIT_MOVE_TO_BATCH_INPUT' EXPORTING COMPANY_CODE = buchung-bukrs GL_ACCOUNT_NUMBER = ikto ID_BUDAT = p_bbudat X_BS_ACCOUNT = ska1-xbilk ADD_ACCT_ASS = buchung-addaa TABLES BATCH_INPUT_DATA = lt_ftpost EXCEPTIONS * ASSIGNMENT_NOT_SET = 1 * INTERNAL_ERROR = 2 OTHERS = 3.

FI_FIELD_SELECTION_DETERMINE call function 'FI_FIELD_SELECTION_DETERMINE' EXPORTING i_bschl = pa_buschl i_bukrs = pa_bukrs i_saknr = pa_saknr IMPORTING e_faus1 = tbsl-faus1 e_faus2 = tbsl-faus2 EXCEPTIONS error_message = 4 others = 4.

READ_SACHKONTO CALL FUNCTION 'READ_SACHKONTO' EXPORTING buchungskreis = ibukrs sachkonto = iaccount IMPORTING sachkonto_wa = s_skb1 EXCEPTIONS OTHERS = 0.

COPCA_GET_DEFAULT_PRCTR_T8A30 CALL FUNCTION 'COPCA_GET_DEFAULT_PRCTR_T8A30' EXPORTING I_ACCOUNT = iaccount I_COMPANY_CODE = ibukrs I_BUSINESS_AREA = igsber IMPORTING E_PRCTR = bseg-prctr EXCEPTIONS error_message = 0 others = 0.

K_ACCOUNT_ASSIGNMENT_GET CALL FUNCTION 'K_ACCOUNT_ASSIGNMENT_GET' EXPORTING BUKRS = ibukrs * BWKEY = ' ' gsber = igsber * I_PRCTR = ' ' kstar = iaccount * WERKS = ' ' * I_COBL = IMPORTING * AUFNR = * KOSTL = prctr = bseg-prctr * E_PAOBJNR = * E_REGEL = * E_XGSBER = .

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = bu_waertab-kdft_budat i_bukrs = buchung-bukrs IMPORTING e_monat = ptd_monat EXCEPTIONS OTHERS = 1.



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