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

MFIAPSA_ADPREQ_FORMS SAP ABAP INCLUDE - Include MFIGLSA_ADVPAYMREQ_FORMS







MFIAPSA_ADPREQ_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_ADPREQ_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_ADPREQ_FORMS. "Basic submit
SUBMIT MFIAPSA_ADPREQ_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT MFIAPSA_ADPREQ_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 MFIGLSA_ADVPAYMREQ_FORMS


INCLUDES used within this REPORT MFIAPSA_ADPREQ_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:

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = nrnr object = 'FIAPSA_NRA' subobject = bukrs toyear = gjahr IMPORTING number = gv_number_range 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.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'FIAPSA_STATUS' value = gv_pst langu = sy-langu IMPORTING dd07v_wa = gv_text EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'FISAPAYREQ' objkey = objkey event = 'CREATED' EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-001"' ' text_question = text-002 text_button_1 = 'Yes' "'JA'(001) text_button_2 = 'No'"'NEIN'(002) IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

ENQUEUE_EFIAPSAD_ADP_HD CALL FUNCTION 'ENQUEUE_EFIAPSAD_ADP_HD' EXPORTING mode_fiapsad_adp_hd = 'E' mandt = sy-mandt gjahr = gjahr advpnr = gs_fiapsad_adp_hd-advpnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFIAPSAD_ADP_HD CALL FUNCTION 'DEQUEUE_EFIAPSAD_ADP_HD' EXPORTING mode_fiapsad_adp_hd = 'E' mandt = sy-mandt gjahr = gjahr advpnr = gs_fiapsad_adp_hd-advpnr.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-001"' ' text_question = text-003 text_button_1 = 'YES' "'JA'(001) text_button_2 = 'NO'"'NEIN'(002) IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-001"' ' text_question = text-002 text_button_1 = 'Yes' "'JA'(001) text_button_2 = 'No'"'NEIN'(002) IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

FIAPSA_CRE_EO_FROM_ADP CALL FUNCTION 'FIAPSA_CRE_EO_FROM_ADP' EXPORTING bukrs = bukrs gjahr = gs_fiapsad_adp_lt-gjahr advpnr = gs_fiapsad_adp_hd-advpnr lifnr = gs_fiapsad_adp_hd-lifnr.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = ls_step EXCEPTIONS stepl_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr determine_loop_index = ls_index TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = gs_fiapsad_adp_lt-kblnr IMPORTING output = gs_fiapsad_adp_lt-kblnr.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'BLPOS' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SAPMFIAPSA_ADPREQ ' value_org = 'S' TABLES value_tab = lt_kblp return_tab = lt_ret1 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = lt_comitem EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 UNDEFIND_ERROR = 7 OTHERS = 8.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005"' ' * DIAGNOSE_OBJECT = ' ' text_question = text-006 text_button_1 = 'Yes' "'Ja'(001) * ICON_BUTTON_1 = ' ' text_button_2 = 'No'"'Nein'(002) IMPORTING answer = lv_answer_rev * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'FIAPSA_STATUS' value = gs_fiapsad_adp_hd-status langu = sy-langu IMPORTING dd07v_wa = gv_text EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

HRCA_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HRCA_GETEMPLOYEEDATA_FROMUSER' EXPORTING username = sy-uname validbegin = sy-datum IMPORTING employeenumber = pernr employmentstatus = lv_state EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 infty_not_found = 3 call_others = 4 OTHERS = 5.

BAPI_EMPLOYEE_GETDATA CALL FUNCTION 'BAPI_EMPLOYEE_GETDATA' EXPORTING employee_id = pernr date = sy-datum IMPORTING return = return TABLES org_assignment = gt_empdet personal_data = gt_perdata.

BAPI_EMPLOYEE_GETDATA





CALL FUNCTION 'BAPI_EMPLOYEE_GETDATA' DESTINATION gc_rfcdest EXPORTING employee_id = gs_fiapsad_adp_hd-pernr date = sy-datum IMPORTING return = return TABLES org_assignment = gt_empdet"ENH_OK personal_data = gt_perdata"ENH_OK EXCEPTIONS system_failure = 1 MESSAGE lv_mesg communication_failure = 2 MESSAGE lv_mesg OTHERS = 3.

BAPI_EMPLOYEE_GETDATA CALL FUNCTION 'BAPI_EMPLOYEE_GETDATA' EXPORTING employee_id = gs_fiapsad_adp_hd-pernr date = sy-datum IMPORTING return = return TABLES org_assignment = gt_empdet personal_data = gt_perdata.



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