SAP Reports / Programs | Payroll | Non Profit Organizations(PY-NPO) SAP PY

MP096550 SAP ABAP INCLUDE - module after input







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

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_inactive info = 'Beleg noch nicht geprüft'(065) add_stdinf = space IMPORTING RESULT = t7unpad_egexpmgt_receipt_ok EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_green info = 'Receipt checked'(066) add_stdinf = space IMPORTING RESULT = t7unpad_egexpmgt_receipt_ok EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_inactive info = 'Beleg noch nicht geprüft'(065) add_stdinf = space IMPORTING RESULT = t7unpad_egexpmgt_receipt_ok EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_green info = 'Receipt checked'(066) add_stdinf = space IMPORTING RESULT = t7unpad_egexpmgt_receipt_ok EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = datum foreign_amount = dummy_famount foreign_currency = fwae local_currency = hwae rate = 0 type_of_rate = 'M' IMPORTING exchange_rate = ukurs foreign_factor = ffact local_amount = dummy_tamount local_factor = tfact EXCEPTIONS no_rate_found = 04 overflow = 08.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = datum foreign_amount = amount foreign_currency = fwae local_currency = hwae rate = 0 type_of_rate = 'M' IMPORTING fixed_rate = kurs foreign_factor = ffact local_factor = tfact EXCEPTIONS no_rate_found = 04 overflow = 08.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = t7unpad_egexpmgt-exdat foreign_amount = dummy_famount foreign_currency = t7unpad_egexpmgt-waers local_currency = t7unpad_egexpmgt-paycurr rate = 0 type_of_rate = 'M' IMPORTING exchange_rate = t7unpad_egexpmgt-kursb foreign_factor = t7unpad_egexpmgt-ffact local_amount = dummy_tamount local_factor = t7unpad_egexpmgt-tfact EXCEPTIONS no_rate_found = 04 overflow = 08.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = t7unpad_egexpmgt-exdat foreign_amount = dummy_famount foreign_currency = t7unpad_egexpmgt-waers local_currency = t7unpad_egexpmgt-paycurr rate = 0 type_of_rate = 'M' IMPORTING exchange_rate = t7unpad_egexpmgt-kursb foreign_factor = t7unpad_egexpmgt-ffact local_amount = dummy_tamount local_factor = t7unpad_egexpmgt-tfact EXCEPTIONS no_rate_found = 04 overflow = 08.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = bukrs language = sy-langu IMPORTING comp_name = t001_butxt city = t001_ort01 country = t001_land1 currency = t001_waers langu = t001_spras chrt_accts = t001_ktopl fy_variant = t001_periv rate_deviation = t001_waabw jurisdiction = t001_txjcd EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = sy-datum FOREIGN_AMOUNT = l_t511p-betrg FOREIGN_CURRENCY = l_t511p-waers LOCAL_CURRENCY = p0965-egcur TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = l_amount EXCEPTIONS OTHERS = 01.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-w11 * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = text-w12 TEXT_BUTTON_1 = 'Off Cycle Payment'(011) ICON_BUTTON_1 = ' ' TEXT_BUTTON_2 = 'Reg.Payroll Payment'(012)

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = 'EG_PAYMENT' reportname = 'EG_PAYMENT_0267' IMPORTING mapname = map_name.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = map_name holddate = p0965-egadv_pydate user = sy-uname keep = 'X'.

HR_UN_FILL_BI_IT0267 CALL FUNCTION 'HR_UN_FILL_BI_IT0267' EXPORTING P0965 = p0965 * BEGDA = * ENDDA = INFTY = '0267' PAYDATE = q0965-egadv_pydate BALANCE = l_balance * BALANCE = zqresult-balance CURRENCY = zqresult-waers IMPORTING BI_TAB = lt_bdcdata.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = 'EG_PAYMENT' reportname = 'EG_PAYMENT_0015' IMPORTING mapname = map_name.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = map_name holddate = p0965-egadv_pydate user = sy-uname keep = 'X'.

HR_UN_FILL_BI_IT0015





CALL FUNCTION 'HR_UN_FILL_BI_IT0015' EXPORTING P0965 = p0965 * BEGDA = * ENDDA = INFTY = '0015' PAYDATE = q0965-egadv_pydate BALANCE = l_balance * BALANCE = zqresult-balance CURRENCY = zqresult-waers IMPORTING BI_TAB = lt_bdcdata.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_STRUCTURE_NAME = 'PUNPAD_EGPRVW' I_SCREEN_START_COLUMN = 10 I_SCREEN_START_LINE = 05 I_SCREEN_END_COLUMN = 110 I_SCREEN_END_LINE = 34 TABLES t_outtab = l_preview EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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