SAP Reports / Programs | Personnel Management | Benefits(PA-BN) SAP PA

BEN45F01 SAP ABAP INCLUDE - Form Routines







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


Text pool values


Table entries to be translated
Selection Text: N_CURRE = New currency
Selection Text: N_BEGDA = Cutoff day currency conversion
Selection Text: N_BAREA = Benefit area
Title: Form Routines
Text Symbol: TP2 = Errors that occurred during currency translation
Text Symbol: TP1 = Salary groups to be translated
Text Symbol: T13 = New amount
Text Symbol: T12 = Old amount
Text Symbol: T11 = Amount field
Text Symbol: T10 = Validity period
Text Symbol: T09 = Key fields
Text Symbol: T08 = Upper tol.limit
Text Symbol: T07 = Lower tol.limit
Text Symbol: T06 = Salary group
Text Symbol: T05 = New
Text Symbol: T04 = Age
Text Symbol: T03 = to
Text Symbol: T02 = From
Text Symbol: T01 = Key fields
Text Symbol: P05 = Put entry in currency table?
Text Symbol: P04 = (Salary groups were also translated)
Text Symbol: P03 = (Salary groups were not translated)
Text Symbol: P02 = Convert table entries?
Text Symbol: P01 = Confirmation of currency translation
Text Symbol: N01 = No errors found
Text Symbol: H05 = Error description
Text Symbol: H04 = Criteria ID
Text Symbol: H03 = View
Text Symbol: H02 = Cutoff day for transl.
Text Symbol: H01 = Benefit area
Text Symbol: E99 = Error occurred when translating amount
Text Symbol: E04 = No entry in table dd031 for
Text Symbol: E03 = Amount was reduced to maximum
Text Symbol: E02 = Overflow in calculation
Text Symbol: E01 = No exchange rate found
Text Symbol: B01 = Total :


INCLUDES used within this REPORT BEN45F01

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:

HR_BEN_GET_CURRENCY call function 'HR_BEN_GET_CURRENCY' exporting barea = barea datum = reaction = no_msg importing currency = subrc = subrc tables error_table = error_table.

HR_BEN_GET_TEXT_TABLE_NAME call function 'HR_BEN_GET_TEXT_TABLE_NAME' exporting tabname = tabname reaction = no_msg importing text = tabtext subrc = subrc tables error_table = error_table.

POPUP_TO_DECIDE_INFO call function 'POPUP_TO_DECIDE_INFO' exporting textline1 = textline1 textline2 = textline2 titel = title importing answer = answer exceptions others = 1.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = begda foreign_amount = amount foreign_currency = old_curre local_currency = new_curre rate = rate importing local_amount = new_amount exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = tabname fieldname = fieldname tables dfies_tab = dfies_tab exceptions not_found = 1 internal_error = 2 others = 3.

HR_BEN_GET_RATIO_CURRENCIES call function 'HR_BEN_GET_RATIO_CURRENCIES' exporting from_currency = old_curre to_currency = new_curre reaction = no_msg importing ratio = ratio subrc = subrc tables error_table = error_table.

HR_BEN_GET_TEXT_TABLE_NAME call function 'HR_BEN_GET_TEXT_TABLE_NAME' exporting tabname = tabname reaction = no_msg importing text = tabtext subrc = subrc tables error_table = error_table.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = errorlog-tabname fieldname = errorlog-fieldname importing dfies_wa = dfies_wa exceptions not_found = 1 internal_error = 2 others = 3.

HR_BEN_GET_TEXT_DATA_ELEMENT call function 'HR_BEN_GET_TEXT_DATA_ELEMENT' exporting rollname = dfies_wa-rollname tlength = '2' reaction = no_msg importing text = field_text subrc = subrc tables error_table = error_table.

RS_REFRESH_FROM_SELECTOPTIONS call function 'RS_REFRESH_FROM_SELECTOPTIONS' exporting curr_report = repid tables selection_table = seltab exceptions not_found = 1.



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