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

SAPMFIAPSA_PYMO_FORM SAP ABAP INCLUDE - Include SAPMFIAPSA_PYMO_FORM







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


INCLUDES used within this REPORT SAPMFIAPSA_PYMO_FORM

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:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gv_transl_date foreign_amount = p_amt foreign_currency = p_for_curr local_currency = p_loc_curr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = p_amt * 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.

CALL_FB08 CALL FUNCTION 'CALL_FB08' EXPORTING i_bukrs = gs_header-bukrs i_belnr = gv_reverse_belnr i_gjahr = gs_header-gjahr * I_BVORG = ' ' i_stgrd = lv_reason_rev * I_VOIDR = * i_budat = lv_datum * I_MONAT = * I_XSIMU = ' ' i_update = 'A' i_mode = 'N' * I_NO_AUTH = ' ' * I_BLDAT = * I_VATDATE = IMPORTING e_budat = lv_rev-pstng_date e_monat = gv_monat * E_XSOFO = EXCEPTIONS not_possible = 1 OTHERS = 2.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = ls_cocd_nro-nrnr object = 'FIAPSA_NRO' * QUANTITY = '1' subobject = gs_fiapsa_s_pymo-bukrs toyear = gs_fiapsa_s_pymo-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.

PAYMENT_METHOD_CHECK CALL FUNCTION 'PAYMENT_METHOD_CHECK' EXPORTING i_bukrs = gs_fiapsa_s_pymo-bukrs i_hbkid = ls_skb1-hbkid i_land1 = gs_fiapsa_s_pymo-land1 i_rzawe = 'A'.

REGUH_CREATE CALL FUNCTION 'REGUH_CREATE' EXPORTING i_bkpf = gs_bkpf i_busab = gs_lfb1-busab i_eikto = gs_lfb1-eikto i_koart = 'K' i_konko = gs_lfb1-lifnr i_lfa1 = gs_lfa1 i_kna1 = kna1 i_rwbtr = gs_bseg-wrbtr i_rbetr = gs_bseg-dmbtr i_valut = gs_bseg-valut.

PAYMENT_FORM_PRINT CALL FUNCTION 'PAYMENT_FORM_PRINT' EXPORTING i_opayf = ls_opayf i_vblnr = gv_reverse_belnr * * I_REPRI = * i_wwert i_cc_curr = fiapsa_s_ordr_hd-waers * IMPORTING * EB_PRINT_ALLOWED = .

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = fiapsa_s_ordr_lt-hkont IMPORTING output = fiapsa_s_ordr_lt-hkont.

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'.

READ_SKA1 CALL FUNCTION 'READ_SKA1' EXPORTING xktopl = gs_fiapsa_s_pymo-ktopl xsaknr = ls_line-saknr * XSKIP_AUTHORITY_CHECK = IMPORTING xska1 = ls_ska1_chp * XSKAT = EXCEPTIONS key_incomplete = 1 not_authorized = 2 not_found = 3 OTHERS = 4.

ENQUEUE_EFIAPSAD_ORDR_HD CALL FUNCTION 'ENQUEUE_EFIAPSAD_ORDR_HD' EXPORTING mode_fiapsad_ordr_hd = 'E' mandt = sy-mandt bukrs = p_bukrs ordno = p_expno gjahr = p_gjahr ordtyp = p_ordtyp EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007 * DIAGNOSE_OBJECT = ' ' text_question = text-008 text_button_1 = 'Yes' * ICON_BUTTON_1 = ' ' text_button_2 = 'No' * 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 .

DEQUEUE_EFIAPSAD_ORDR_HD CALL FUNCTION 'DEQUEUE_EFIAPSAD_ORDR_HD' EXPORTING mode_fiapsad_ordr_hd = 'E' mandt = sy-mandt bukrs = p_bukrs ordno = p_expno gjahr = p_gjahr ordtyp = p_ordtyp.

FIAPSA_POST_PAYMENT_ORDER CALL FUNCTION 'FIAPSA_POST_PAYMENT_ORDER' EXPORTING i_bukrs = gs_header-bukrs i_pymt_ordr_no = gs_header-ordno i_gjahr = gs_header-gjahr TABLES lt_bdcmsgcoll = gt_bdcmsgcoll.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'FIAPSA_PSTAT' value = gv_char10 langu = sy-langu * TEXTS_ONLY = ' ' IMPORTING dd07v_wa = gs_dd07v EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004 * DIAGNOSE_OBJECT = ' ' text_question = text-005 text_button_1 = 'Yes' * ICON_BUTTON_1 = ' ' text_button_2 = 'No' * 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 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004 * DIAGNOSE_OBJECT = ' ' text_question = text-005 text_button_1 = 'Yes' * ICON_BUTTON_1 = ' ' text_button_2 = 'No' * 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 .

FIAPSA_HANDLE_APPROVE_PROCESS





CALL FUNCTION 'FIAPSA_HANDLE_APPROVE_PROCESS' EXPORTING i_t100s = gs_input_t100s IMPORTING e_result = gv_approver_action.

FIAPSA_HANDLE_APPROVE_PROCESS CALL FUNCTION 'FIAPSA_HANDLE_APPROVE_PROCESS' EXPORTING i_t100s = gs_input_t100s IMPORTING e_result = gv_approver_action.

FIAPSA_HANDLE_APPROVE_PROCESS CALL FUNCTION 'FIAPSA_HANDLE_APPROVE_PROCESS' EXPORTING i_t100s = gs_input_t100s IMPORTING e_result = gv_approver_action.

FIAPSA_HANDLE_APPROVE_PROCESS CALL FUNCTION 'FIAPSA_HANDLE_APPROVE_PROCESS' EXPORTING i_t100s = gs_input_t100s IMPORTING e_result = gv_approver_action.

READ_SKA1 CALL FUNCTION 'READ_SKA1' EXPORTING xktopl = gs_fiapsa_s_pymo-ktopl xsaknr = ls_line_gl-saknr * XSKIP_AUTHORITY_CHECK = IMPORTING xska1 = ls_ska1_gl * XSKAT = EXCEPTIONS key_incomplete = 1 not_authorized = 2 not_found = 3 OTHERS = 4.



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