SAP Reports / Programs | Personnel Management | Personnel Administration | USA(PA-PA-US) SAP PA

RPSAAPU2 SAP ABAP Report - AAP: Workforce Distribution Report USA







RPSAAPU2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report compiles a statistic of employees by job and pay scale group for a key date...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 RPSAAPU2 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 RPSAAPU2. "Basic submit
SUBMIT RPSAAPU2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPSAAPU2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Affirmative Action: Workforce Distribution
Selection Text: SO_TRFGR = Pay scale group
Selection Text: SO_STELL = Job
Selection Text: P_LAY06 = D .
Selection Text: PA_SUMRY = Total after every step
Selection Text: PA_ORGEH = Display org. unit level
Selection Text: PA_OONLY = Statistics by org. unit only
Selection Text: PA_NLIST = Print list of names
Title: AAP: Workforce Distribution Report USA
Text Symbol: E12 = T503T: No entry for:
Text Symbol: SS1 = Print list of names
Text Symbol: SS2 = Statistics by org. unit only
Text Symbol: SS3 = Display org. unit level
Text Symbol: SS4 = Total after every step
Text Symbol: STA = +3+
Text Symbol: STL = Job:
Text Symbol: STT = Key date $1
Text Symbol: SUM = SUMMARY FOR:
Text Symbol: SX1 = Male
Text Symbol: SX2 = Female
Text Symbol: T01 = Company:
Text Symbol: T02 = Pers. area:
Text Symbol: T03 = Pers. subarea:
Text Symbol: T04 = Org. unit:
Text Symbol: T05 = Job - - - - - - - - - - - - - - -Pay- - /-Total-/Minority/ - - - - - - - - Male - - - - - - - /- - - - - - - Female - - - - - - /
Text Symbol: T06 = Code Text scale g. # # Total White Black Hisp. Asian NatAm Total White Black Hisp. Asian NatAm.
Text Symbol: T07 = Per. no. Name Ethnic origin Gender Pay scale EE group EE subgroup .
Text Symbol: TOT = TOTAL SELECTION
Text Symbol: TT1 = Total
Text Symbol: ZEN = Number of errors found:
Text Symbol: ZER = ERROR LOG:
Text Symbol: ZRM = Evaluation period $1 to $2
Text Symbol: 001 = Workforce Distribution
Text Symbol: 004 = Key date
Text Symbol: 005 = Total
Text Symbol: 006 = Minority
Text Symbol: 007 = Male White
Text Symbol: 008 = Male Black





Text Symbol: 009 = Male Hisp.
Text Symbol: 010 = Male Asian
Text Symbol: 011 = Male Native American
Text Symbol: 012 = Female White
Text Symbol: 013 = Female Black
Text Symbol: 014 = Female Hisp.
Text Symbol: 015 = Female Asian
Text Symbol: 016 = Female Native American
Text Symbol: 017 = Name
Text Symbol: 018 = Job Title
Text Symbol: 019 = EtOrDesc
Text Symbol: 020 = Gender
Text Symbol: 021 = Male Total
Text Symbol: 022 = Female Total
Text Symbol: AST = ******************************
Text Symbol: DTL = ***** DETAILED LIST *****
Text Symbol: E01 = Invalid code for ethnic origin:
Text Symbol: E02 = No entries in T505R for MOLGA:
Text Symbol: E04 = Infotype not available:
Text Symbol: E05 = Feature EEOCL: No entry for:
Text Symbol: E06 = Error assigning field name to :
Text Symbol: E07 = No entry in T505S for RACKY:
Text Symbol: E08 = No entry in T513S for date:
Text Symbol: E09 = T501T: No entries for language:
Text Symbol: E10 = T503T: No entries for language:
Text Symbol: E11 = T501T: No entry for:


INCLUDES used within this REPORT RPSAAPU2

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:

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = const-molga langu = sy-langu format = const-formt IMPORTING edit_name = line1-fname retcode = temps-subrc.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' "WJIALRK047795 EXPORTING companycode = bukrs language = sy-langu IMPORTING comp_name = hrca_t001-comp_name * CITY = * COUNTRY = * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = * ADDRESS = EXCEPTIONS not_found = 1 OTHERS = 2.

HRCA_PLANT_GETDETAIL CALL FUNCTION 'HRCA_PLANT_GETDETAIL' "WJIALRK047795 EXPORTING plant = werks language = sy-langu IMPORTING name = hrca_t001w-name EXCEPTIONS not_found = 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 RPSAAPU2 or its description.