SAP Reports / Programs | Personnel Management | Personnel Administration | Taiwan(PA-PA-TW) SAP PA

MP035540 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HELP_VALUES_GET_WITH_TABLE * CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' * EXPORTING ** display = display * fieldname = fnam * tabname = tnam * no_conversion = 'X' * IMPORTING * select_value = class * TABLES * fields = ihelp_fields * valuetab = helptab * EXCEPTIONS * field_not_in_ddic = 01 * more_then_one_selectfield = 02 * no_selectfield = 03.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'IACAT' value_org = 'S' TABLES value_tab = help_tab return_tab = ret_value EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * display = display fieldname = fnam tabname = tnam IMPORTING select_value = p0355-nhisr TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * display = display fieldname = fnam tabname = tnam IMPORTING select_value = p0355-exrsn TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = old_date IMPORTING date_internal = new_date.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = r_wagetype-begda foreign_amount = r_wagetype-betrg foreign_currency = r_wagetype-waers local_currency = 'TWD' * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = r_wagetype-betrg * 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.

RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' "read wagetype of I0008 EXPORTING * APPLI = 'E' begda = $begda endda = $endda infty = $infty * OBJPS = ' ' pernr = $pernr * SEQNR = ' ' subty = space TABLES ppbwla = inttab * PP0001 = * PP0007 = * pp0008 = EXCEPTIONS error_at_indirect_evaluation = 1 OTHERS = 2 .

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0021' number = p0355-pernr subtype = p0021-subty objectid = p0021-objps recordnumber = p0021-seqnr validityend = p0021-endda validitybegin = p0021-begda record = p0021 operation = 'INS' view_identifier = '42' secondary_record = p0352 dialog_mode = '2' " 0: no dialog, 1: dialog when error " 2: with dialog * nocommit = 'X' IMPORTING return = return EXCEPTIONS OTHERS = 0.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0355-pernr infty = $infty begda = $begda endda = $endda IMPORTING subrc = subrc TABLES infty_tab = $result EXCEPTIONS infty_not_found = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'EXRSN' dynprofield = 'P0355-EXRSN' dynpprog = sy-cprog dynpnr = sy-dynnr value_org = 'S' TABLES value_tab = help_tab return_tab = return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = lv_temp_ssiam sign = '+' IMPORTING output = p_ssiam EXCEPTIONS input_invalid = 01 overflow = 02 type_invalid = 03.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = lv_temp_examt sign = '+' IMPORTING output = p_examt EXCEPTIONS input_invalid = 01 overflow = 02 type_invalid = 03.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * display = display fieldname = fnam tabname = tnam IMPORTING select_value = p0355-nhicr TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'PTW_OTRSN' * STATE = 'A' langu = sy-langu TABLES dd07v_tab = gt_otrsn[] EXCEPTIONS illegal_input = 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 MP035540 or its description.