SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

MFIAPSA_EXPO_FORMS SAP ABAP INCLUDE - Include MFIAPSA_EXPO_FORMS







MFIAPSA_EXPO_FORMS 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 MFIAPSA_EXPO_FORMS 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 MFIAPSA_EXPO_FORMS. "Basic submit
SUBMIT MFIAPSA_EXPO_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT MFIAPSA_EXPO_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include MFIAPSA_EXPO_FORMS


INCLUDES used within this REPORT MFIAPSA_EXPO_FORMS

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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = gs_rev-obj_sys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

BAPI_ACC_DOCUMENT_REV_POST CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST' EXPORTING reversal = gs_rev bus_act = lv_bus_act IMPORTING obj_type = lv_obj_type obj_key = lv_obj_key obj_sys = lv_obj_sys TABLES return = gt_return.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING no_value_check = ' ' popup_title = text-019 * START_COLUMN = '5' * START_ROW = '5' IMPORTING returncode = lv_return_code TABLES fields = lt_sval EXCEPTIONS error_in_fields = 1 OTHERS = 2.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = ls_cocd_nro-nrnr"'01' object = 'FIAPSA_NRE' * QUANTITY = '1' subobject = gs_header-bukrs"'SA01' toyear = gs_header-gjahr"'2012' * IGNORE_BUFFER = ' ' IMPORTING number = gv_expno * QUANTITY = * RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = fiapsa_s_ordr_hd-bukrs IMPORTING E_T001 = gs_t001 EXCEPTIONS system_error = 1 OTHERS = 2 .

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_bukrs = fiapsa_s_ordr_hd-bukrs i_lifnr = fiapsa_s_ordr_hd-lifnr IMPORTING e_kred = gs_vendor EXCEPTIONS vendor_missing = 1 OTHERS = 2.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = form_name IMPORTING e_funcname = funcmodule_name * E_INTERFACE_TYPE = * EV_FUNCNAME_INBOUND = .

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = output_param EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4 .

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'FISA_EO_PA' objkey = objkey event = 'START_APPR_WF' * CREATOR = ' ' * TAKE_WORKITEM_REQUESTER = ' ' * START_WITH_DELAY = ' ' * START_RECFB_SYNCHRON = ' ' * NO_COMMIT_FOR_QUEUE = ' ' * DEBUG_FLAG = ' ' * NO_LOGGING = ' ' * IDENT = * IMPORTING * EVENT_ID = * RECEIVER_COUNT = * TABLES * EVENT_CONTAINER = EXCEPTIONS objtype_not_found = 1 OTHERS = 2 .

FMDT_READ_MD_ACCOUNT_CHART CALL FUNCTION 'FMDT_READ_MD_ACCOUNT_CHART' EXPORTING input = gs_input IMPORTING output = gs_output EXCEPTIONS not_found = 1 do_not_stop = 2 OTHERS = 3.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = lv_amount * CURRENCY = ' ' * FILLER = ' ' language = sy-langu IMPORTING in_words = lv_spell EXCEPTIONS not_found = 1 too_large = 2 OTHERS = 3.

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_bukrs = gs_header-bukrs i_lifnr = gs_header-lifnr IMPORTING e_kred = lv_ven_data EXCEPTIONS vendor_missing = 1 OTHERS = 2.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * CLIENT = SY-MANDT date = sy-datum foreign_amount = p_wrbtr foreign_currency = p_waers local_currency = gs_t001-waers * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = p_dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-001 name = 'ICON_YELLOW_LIGHT' IMPORTING result = fiapsa_s_ordr_hd-ampel.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-002 name = 'ICON_RED_LIGHT' IMPORTING result = fiapsa_s_ordr_hd-ampel.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-003 name = 'ICON_GREEN_LIGHT' IMPORTING result = fiapsa_s_ordr_hd-ampel.

POPUP_TO_CONFIRM





CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004"' ' * DIAGNOSE_OBJECT = ' ' text_question = text-005 text_button_1 = text-026 * ICON_BUTTON_1 = ' ' text_button_2 = text-027 * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

ENQUEUE_EFIAPSAD_ORDR_HD CALL FUNCTION 'ENQUEUE_EFIAPSAD_ORDR_HD' EXPORTING mode_fiapsad_ordr_hd = 'E' mandt = sy-mandt bukrs = gs_header-bukrs ordno = gs_header-ordno gjahr = gs_header-gjahr" ordtyp = 'E' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFIAPSAD_ORDR_HD CALL FUNCTION 'DEQUEUE_EFIAPSAD_ORDR_HD' EXPORTING mode_fiapsad_ordr_hd = 'E' mandt = sy-mandt bukrs = gs_header-bukrs ordno = gs_header-ordno gjahr = gs_header-gjahr ordtyp = 'E'.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = gs_cocd_nro-nrnr object = 'FIAPSA_NRO' * QUANTITY = '1' subobject = gs_header-bukrs toyear = gs_header-gjahr * IGNORE_BUFFER = ' ' IMPORTING number = gv_atchmt_id * QUANTITY = * RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007"' ' * DIAGNOSE_OBJECT = ' ' text_question = text-006 text_button_1 = text-026 * ICON_BUTTON_1 = ' ' text_button_2 = text-027 * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer_rev * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = gs_lt-saknr IMPORTING output = gs_lt-saknr.

BAPI_ACC_DOCUMENT_CHECK CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK' EXPORTING documentheader = wa_docheader * CUSTOMERCPD = * CONTRACTHEADER = TABLES accountgl = lt_glacct * ACCOUNTRECEIVABLE = accountpayable = lt_vendact * ACCOUNTTAX = currencyamount = lt_curramt * CRITERIA = * VALUEFIELD = * EXTENSION1 = return = lt_return * PAYMENTCARD = * CONTRACTITEM = * EXTENSION2 = * REALESTATE = * ACCOUNTWT = .

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

BAPI_CONTROLLINGAREA_FIND CALL FUNCTION 'BAPI_CONTROLLINGAREA_FIND' EXPORTING companycodeid = fiapsa_s_ordr_hd-bukrs IMPORTING controllingareaid = lv_cntr_area * RETURN = .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-022"' ' * DIAGNOSE_OBJECT = ' ' text_question = text-023 text_button_1 = text-026 * ICON_BUTTON_1 = ' ' text_button_2 = text-027 * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer_rev * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

FIAPSA_POST_EXPENDITURE_ORDER CALL FUNCTION 'FIAPSA_POST_EXPENDITURE_ORDER' EXPORTING i_bukrs = gs_header-bukrs i_expo_order_no = gs_header-ordno i_gjahr = gs_header-gjahr * IMPORTING * E_ORDR_HD = TABLES lt_return = lt_return .

FI_DOCUMENT_TYPE_DATA CALL FUNCTION 'FI_DOCUMENT_TYPE_DATA' EXPORTING i_blart = fiapsa_s_ordr_hd-blart * I_KOART = ' ' i_langu = sy-langu * X_DIALOG = ' ' IMPORTING e_t003 = ls_t003 * E_NUMKR = * E_LTEXT = .

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = fiapsa_s_ordr_hd-bukrs * I_OPVAR = ' ' i_gjahr = p_gjahr i_koart = p_koart * I_KONTO = ' ' i_monat = p_poper * I_SPERI = * I_RLDNR = * I_GLVOR = 'RFBU' * I_LDGRP = * IMPORTING * E_OPER = EXCEPTIONS error_period = 1 error_period_acc = 2 invalid_input = 3 OTHERS = 4 .

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = p_date * I_MONMIT = 00 i_periv = gs_t001-periv IMPORTING e_buper = p_buper e_gjahr = p_gjahr EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

FIAPSA_HANDLE_APPROVE_PROCESS CALL FUNCTION 'FIAPSA_HANDLE_APPROVE_PROCESS' EXPORTING i_t100s = ls_input_t100s IMPORTING e_result = lv_approver_action.



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