SAP Reports / Programs

HROIADVA SAP ABAP Report - Advances: Calculation and statement







HROIADVA is a standard Executable ABAP Report 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 HROIADVA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M61_IADVA - Advances


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


Text pool values


Selection Text: VALU11 = Range of valuation
Selection Text: VALU10 = Range of valuation
Selection Text: VALU09 = Range of valuation
Selection Text: VALU08 = Range of valuation
Selection Text: VALU07 = Range of valuation
Selection Text: VALU06 = Range of valuation
Selection Text: VALU05 = Range of valuation
Selection Text: VALU04 = Range of valuation
Selection Text: VALU03 = Range of valuation
Selection Text: VALU02 = Range of valuation
Selection Text: VALU01 = Range of valuation
Selection Text: TITLE2 = Secondary report title
Selection Text: SUBTOT = Subtotals
Selection Text: REKAP = Print Recapitulation
Selection Text: P_TRAN = Save Off-Cycle Payments
Selection Text: P_TRAD = Delete Existing Off-Cycle
Selection Text: P_SICKL = Sick Leave Type
Selection Text: P_ROUND = Round Amount for IT0267
Selection Text: P_PRINT = Print version after payroll
Selection Text: P_PERC = Advance Percentage
Selection Text: P_LVTEMP = Display variant
Selection Text: P_LGART = Salary Wage Type
Selection Text: P_DOCLG = Advance doc. wage type
Selection Text: P_CALC = Calculate Advance
Selection Text: P_ALV = Output into ALV table
Selection Text: P_ADVLG = Advance wage type
Selection Text: P_ABSEN = Absence Type
Selection Text: PAR_LINE = Key cols in item area w/o rept
Selection Text: H_COUNT = Key cols in header
Selection Text: DETAIL = Print Items
Selection Text: CNT_RES = Key cols for counter reset
Selection Text: CNT_KEY = Key cols for counter
Selection Text: CNT_INC = Key cols for counter incremen.
Title: Advances: Calculation and statement
Text Symbol: X99 = Off-cycle payroll ident.
Text Symbol: A01 = Off-cycle already exists.
Text Symbol: A02 = Off-cycle deleted.
Text Symbol: A03 = Off-cycle can't be deleted due to latest payroll





Text Symbol: A04 = Off-cycle can't be deleted due to FI posting
Text Symbol: BI1 = Basic Pay Worked hours Sick leaves Advance amount
Text Symbol: H01 = Result
Text Symbol: TT3 = Other output
Text Symbol: TT2 = Output parameters
Text Symbol: TT1 = Report parameters
Text Symbol: H02 = Signature
Text Symbol: T01 = Advance details


INCLUDES used within this REPORT HROIADVA

INCLUDE HROLXXL6.
INCLUDE HROLXXL7.


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_RO_GENWS_IN_INTERVAL CALL FUNCTION 'HR_RO_GENWS_IN_INTERVAL' EXPORTING begda = lv_begda endda = lv_endda mofid = wa_t001p-mofid TABLES i0007 = p0007 i2003 = p2003 gpsp = gws. "I0000 = p0000

HR_PERSONAL_WORK_SCHEDULE * CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' * EXPORTING * pernr = pernr-pernr * begda = lv_begda * endda = lv_endda * TABLES * i0001 = p0001 * i0002 = p0002 * i0007 = p0007 * perws = pws * EXCEPTIONS * error_occured = 1 * abort_occured = 2 * OTHERS = 3.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = lv_begda end = lv_endda IMPORTING fire_date = lv_firda TABLES pphifi = lt_phifi pp0000 = p0000 pp0001 = p0001.

RP_EVALUATE_INDIRECTLY_P0008 CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0008' EXPORTING pbegda = p0008-begda pmolga = wa_t001p-molga pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 ppernr = pernr-pernr TABLES ptbindbw = tbindbw EXCEPTIONS bad_parameters = 1 error_at_indirect_evaluation = 2 OTHERS = 3.

HR_RO_GENWS_IN_INTERVAL * CALL FUNCTION 'HR_RO_GENWS_IN_INTERVAL' * EXPORTING * begda = lv_begda * endda = lv_endda * mofid = wa_t001p-mofid * TABLES * gpsp = gws.

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' begda = pn-begda endda = pn-endda bondt = bondt payty = payty payid = payid tprun = '' tpall = '' TABLES runs = runs myrg = myrg rtdet = rtdet.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_pernr infty = '0267' begda = bondt endda = bondt TABLES infty_tab = it_0267.

CD_READ_RGDIR CALL FUNCTION 'CD_READ_RGDIR' EXPORTING persnr = lv_pernr TABLES in_rgdir = it_myrg EXCEPTIONS no_record_found = 1 OTHERS = 2.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0267' number = wa_0267-pernr subtype = wa_0267-subty validityend = wa_0267-begda validitybegin = wa_0267-endda recordnumber = wa_0267-seqnr record = wa_0267 operation = 'DEL' IMPORTING return = return.



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