SAP Reports / Programs | Personnel Management | Personnel Administration | France(PA-PA-FR) SAP PA

RPTQTAF0 SAP ABAP Report - Generation of absence quotas specific to France







RPTQTAF0 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 RPTQTAF0 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 RPTQTAF0. "Basic submit
SUBMIT RPTQTAF0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTQTAF0 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: HOLDDATE = Block bat. input session up to
Selection Text: KEEP = Keep processed session
Selection Text: MAP_NAME = Name of batch input session
Selection Text: SE_KTART = Quota type
Title: Generation of absence quotas specific to France
Text Symbol: 001 = Absences quota generated
Text Symbol: 002 = Gener. period
Text Symbol: AUS = select.
Text Symbol: COL = old / new quota records
Text Symbol: DAL = display all quota records
Text Symbol: DI1 = Display screens
Text Symbol: DI2 = Do not display screens
Text Symbol: DI3 = Display errors only
Text Symbol: DIS = Output options
Text Symbol: DNW = Display only the new quota records
Text Symbol: GEN = Gener. type
Text Symbol: PU1 = Batch input
Text Symbol: PU2 = Direct
Text Symbol: PU3 = By record
Text Symbol: PU4 = Test
Text Symbol: SEK = Quotas to be generated


INCLUDES used within this REPORT RPTQTAF0

INCLUDE RPTQTA01.
INCLUDE RPTQTA02.


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_FR_QTA_SET_VALIDITY_PERIOD CALL FUNCTION 'HR_FR_QTA_SET_VALIDITY_PERIOD' EXPORTING im_pernr = pernr-pernr im_begda = pnpbegda im_endda = pnpendda im_tab_abwktart_sel = se_ktart[] im_tab_p2006 = p2006[] im_tab_p0001 = p0001[] IMPORTING ex_begda = l_begda ex_endda = l_endda ex_returncode = l_returncode CHANGING ch_tab_error = l_tab_error.

HR_QUOTAS_DEFAULT_AT_ENTRY CALL FUNCTION 'HR_QUOTAS_DEFAULT_AT_ENTRY' EXPORTING def_pernr = pernr-pernr IMPORTING def_begda_orig = begda_orig def_endda_orig = endda_orig TABLES def_p0000 = p0000 def_p0001 = p0001 def_p0002 = p0002 def_p0004 = p0004 def_p0007 = p0007 def_p0008 = p0008 def_p0016 = p0016 "XDGL9CK000472 def_p0019 = p0019 def_p0041 = p0041 def_p2001 = p2001 def_p2006 = p2006 def_value_tab = p_default def_value_tab_detail = p_default_detail def_abwktart_sel = se_ktart[] "note526335 CHANGING * def_begda = pn-begda * def_endda = pn-endda def_begda = l_begda def_endda = l_endda EXCEPTIONS quomo_not_defined = 1 customizing_error = 2 endda_lt_begda = 3 no_rule_applied = 4 no_active_period = 5.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' "note 676546 EXPORTING "note 676546 pernr = pernr-pernr "note 676546 arbgb = '72' "note 676546 msgty = 'E' "note 676546 msgno = '272'. "note 676546

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = l_wa_error-pernr arbgb = l_wa_error-arbgb msgty = l_wa_error-msgty msgno = l_wa_error-msgno msgv1 = l_wa_error-msgv1 msgv2 = l_wa_error-msgv2 msgv3 = l_wa_error-msgv3 msgv4 = l_wa_error-msgv4.



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