SAP Reports / Programs

RPTVISE0 SAP ABAP Report - Create absences for the day before a public holiday







RPTVISE0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to recover social insurance economic assistance payments if an absence falls on a saturday or the day before a public holiday...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPTVISE0 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 RPTVISE0. "Basic submit
SUBMIT RPTVISE0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTVISE0 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: ABS = Absence
Selection Text: BEGDA = From
Selection Text: ENDDA = Until
Selection Text: PERNR = Personnel number
Title: Create absences for the day before a public holiday
Text Symbol: 001 = Add absence
Text Symbol: 002 = for day before public holiday?
Text Symbol: 003 = Shift:
Text Symbol: 004 = Yes
Text Symbol: 005 = No


INCLUDES used within this REPORT RPTVISE0

INCLUDE MPPDAT00.
INCLUDE MPZDAT02.
INCLUDE MP2DUMMY.


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_99S_COPY_STRUC1_STRUC2 CALL FUNCTION 'HR_99S_COPY_STRUC1_STRUC2' EXPORTING P_STRUCT1 = seltab IMPORTING P_STRUCT2 = m0001 .

HR_99S_COPY_STRUC1_STRUC2 call function 'HR_99S_COPY_STRUC1_STRUC2' exporting p_struct1 = seltab importing p_struct2 = m0007.

RP_DAYPROGRAM * CALL FUNCTION 'RP_DAYPROGRAM' "XLX * EXPORTING "XLX * INPUT = PTPRG_E "XLX * IMPORTING "XLX * OUTPUT = PTPRG_E "XLX * TABLES "XLX * I550AN = I550AN "XLX * I550AO = I550AO "XLX * I550PN = I550PN "XLX * I550PO = I550PO "XLX * PP0001 = M0001 "XLX * PP0002 = M0002 "XLX * PP0007 = M0007 "XLX * PP2001 = M2001 "XLX * PP2002 = M2002 "XLX * PP2003 = M2003. "XLX

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' "XLX exporting "XLX pernr = ptprg_e-pernr "XLX begda = ptprg_e-datum "XLX endda = ptprg_e-datum "XLX tables "XLX i0000 = m0000 "XLX i0001 = m0001 "XLX i0002 = m0002 "XLX i0007 = m0007 "XLX i2001 = m2001 "XLX i2002 = m2002 "XLX i2003 = m2003 "XLX perws = perws "XLX exceptions "XLX error_occured = 1 "XLX abort_occured = 2 "XLX others = 3. "XLX

RP_DAYPROGRAM * CALL FUNCTION 'RP_DAYPROGRAM' "XLX * EXPORTING "XLX * INPUT = PTPRG_E "XLX * IMPORTING "XLX * OUTPUT = PTPRG_E "XLX * TABLES "XLX * I550AN = I550AN "XLX * I550AO = I550AO "XLX * I550PN = I550PN "XLX * I550PO = I550PO "XLX * PP0001 = M0001 "XLX * PP0002 = M0002 "XLX * PP0007 = M0007 "XLX * PP2001 = M2001 "XLX * PP2002 = M2002 "XLX * PP2003 = M2003. "XLX

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' "XLX exporting "XLX pernr = ptprg_e-pernr "XLX begda = ptprg_e-datum "XLX endda = ptprg_e-datum "XLX tables "XLX i0000 = m0000 "XLX i0001 = m0001 "XLX i0002 = m0002 "XLX i0007 = m0007 "XLX i2001 = m2001 "XLX i2002 = m2002 "XLX i2003 = m2003 "XLX perws = perws "XLX exceptions "XLX error_occured = 1 "XLX abort_occured = 2 "XLX others = 3. "XLX

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text-001 textline2 = text-002 textline3 = help_text text_option1 = text-004 text_option2 = text-005 titel = '' start_column = 25 start_row = 6 importing answer = the_answer.



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