SAP Reports / Programs | Personnel Management | Personnel Administration | Switzerland(PA-PA-CH) SAP PA

RPUXS2C0 SAP ABAP Report - Export







RPUXS2C0 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 RPUXS2C0 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 RPUXS2C0. "Basic submit
SUBMIT RPUXS2C0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUXS2C0 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: S_UPDA = Update
Selection Text: S_REPE = Repetition
Selection Text: S_PROT_F = Display Log
Selection Text: S_PROT = Display Log
Selection Text: S_ORIG = Only Original Periods
Selection Text: R_WTYP = Export Wage Types
Selection Text: R_PREL = Export Master Data
Selection Text: R_PCL2 = Export PCL2 Data
Selection Text: R_PCL1 = Export PCL1 Data
Selection Text: PERSONS = Personnel Number
Selection Text: MFILE = Main Export File
Selection Text: FORMAT = File Layout
Selection Text: FLDID = Interface Format
Selection Text: DATASET = Name of Export File
Selection Text: BINARY = Binary Mode
Selection Text: APPEND = Append to Export Files
Selection Text: AFILE4 = Additional Export File 4
Selection Text: AFILE3 = Additional Export File 3
Selection Text: AFILE2 = Additional Export File 2
Selection Text: AFILE1 = Additional Export File 1
Selection Text: ABKRS = Payroll Area
Title: Export
Text Symbol: T06 = Export PCL1 Data
Text Symbol: T05 = Seq.No.
Text Symbol: T04 = S
Text Symbol: T03 = In-Period (Start - End)
Text Symbol: T02 = For-Period (Start - End)
Text Symbol: T01 = Interface results: Contents table for personnel numbers
Text Symbol: S24 = Adjust the Version of Your Interface According to Note 593139
Text Symbol: S23 = The Current Version Number Requires a Reorganization of Version Management
Text Symbol: S22 = Version:
Text Symbol: S19 = the structure, the following data definition is in the same position:
Text Symbol: S18 = However, in the DDIC for
Text Symbol: S17 = include of your export program
Text Symbol: S16 = The following field is defined for the structure in the third
Text Symbol: S15 = Export program obsolete, regeneration required
Text Symbol: S14 = File is locked by another program
Text Symbol: S13 = Error in lock management





Text Symbol: S12 = No payroll area selected for export
Text Symbol: S11 = Name for export file was NOT specified
Text Symbol: S10 = Choice made:
Text Symbol: S09 = 2 = Data is exported in the original payroll period only
Text Symbol: S08 = 1 = Data is always exported
Text Symbol: S07 = 0 = Data is never exported
Text Symbol: S06 = The following rules apply when choosing export data:
Text Symbol: S05 = Export file:
Text Symbol: S04 = An error occurred when opening the "export file"
Text Symbol: S03 = File modifier:
Text Symbol: S02 = in Table T532A
Text Symbol: S01 = The "file modifier" chosen on the selection screen is not contained
Text Symbol: E68 = Personnel number has retroactive change of payroll area
Text Symbol: E67 = for payroll area
Text Symbol: E66 = Retr.accntng too far back
Text Symbol: E65 = for Argument
Text Symbol: E64 = No entry in table
Text Symbol: E63 = No valid infotype 0001 for the time:
Text Symbol: E62 = New version number and version description are generated
Text Symbol: E61 = Solution: Regenerate interface format
Text Symbol: E60 = RPCLSIF_GEN: Incompatible data structures with same version number
Text Symbol: E59 = Internal error when converting the old interface result:
Text Symbol: E58 = (Online-Help Interface Toolbox:' Automatic conversion'/'manual conversion')
Text Symbol: E56 = Possible cause of error: Missing version description in T532K/T532L
Text Symbol: E55 = Automatic conversion of the old interface result was unsuccessful
Text Symbol: E53 = Personnel number cannot be unlocked
Text Symbol: T07 = Export PCL2 Data
Text Symbol: W09 = No read authorizations for clusters "ID" or "IF" exist
Text Symbol: W08 = No simulation authorizations for clusters "ID" or "IF" exist
Text Symbol: W07 = No update authorizations for clusters "ID" or "IF" exist
Text Symbol: W06 = Following personnel no. was not exported
Text Symbol: W05 = Personnel no. already exported to
Text Symbol: W04 = PArea ignored because not released :
Text Symbol: W03 = Payroll area ignored (incorrect period modifier):
Text Symbol: W02 = PArea ignored (cannot be accounted acc. to T549A):
Text Symbol: W01 = Control record missing for payroll area:
Text Symbol: U13 = Main Export File
Text Symbol: U12 = Append File
Text Symbol: U11 = Bin. Mode





Text Symbol: U10 = Additional Export File 4
Text Symbol: U09 = Additional Export File 3
Text Symbol: U08 = Additional Export File 2
Text Symbol: U07 = Additional Export File 1
Text Symbol: U06 = File Layout
Text Symbol: U05 = Date of Payroll Run
Text Symbol: U04 = Date of Payroll Run
Text Symbol: U03 = Original
Text Symbol: U02 = Alway
Text Symbol: U01 = Never
Text Symbol: U00 = ** NOTE: Text elements U01 - U03 must not be longer than 10 characters
Text Symbol: T33 = Difference noted for the following entry:
Text Symbol: T25 = Validity
Text Symbol: T24 = Run Date
Text Symbol: T23 = ID
Text Symbol: T22 = PerMo
Text Symbol: T21 = PArea
Text Symbol: T20 = ID
Text Symbol: T19 = Ty.
Text Symbol: T18 = In-Period (Start - End)
Text Symbol: T17 = PerMo
Text Symbol: T16 = PArea
Text Symbol: T15 = Seq. No.
Text Symbol: T14 = Ty.
Text Symbol: T13 = For-Period (Start - End)
Text Symbol: T12 = S
Text Symbol: T11 = ID
Text Symbol: T10 = Ty.
Text Symbol: T09 = Exp. Wage Types
Text Symbol: T08 = Exp. Master Data
Text Symbol: 028 = S
Text Symbol: 029 = Number
Text Symbol: 030 = Number of Rejected Personnel Nos
Text Symbol: 031 = File Layout Conversion (Output)
Text Symbol: 032 = File Layout
Text Symbol: 033 = Main Export File
Text Symbol: 034 = Additional Export File 1
Text Symbol: 035 = Additional Export File 2
Text Symbol: 036 = Additional Export File 3



Text Symbol: 037 = Additional Export File 4
Text Symbol: 038 = No. of Exported Records
Text Symbol: 039 = Append File
Text Symbol: 040 = Bin. Mode
Text Symbol: 041 = No Entries
Text Symbol: 042 = Notifications
Text Symbol: A01 = Personnel No.:
Text Symbol: A02 = Errors:
Text Symbol: A03 = *-------------------------------------------------------------------------*
Text Symbol: A04 = Program Terminated
Text Symbol: A05 = Terminate:
Text Symbol: A06 = Note:
Text Symbol: B01 = Export Files
Text Symbol: B02 = Export Options
Text Symbol: B03 = Special Payroll Run
Text Symbol: B04 = File Layout Conversion
Text Symbol: B05 = File Layout
Text Symbol: 027 = In-Period (Start - End)
Text Symbol: 001 = Personnel No.:
Text Symbol: 002 = Payroll Periods
Text Symbol: 003 = Period
Text Symbol: 004 = Start
Text Symbol: 005 = End
Text Symbol: 006 = Previous Result/Current Result
Text Symbol: 007 = Export
Text Symbol: 008 = Payroll Period:
Text Symbol: 009 = No Previous Results Available
Text Symbol: 010 = Retroaccounting Check for W Types
Text Symbol: 011 = Change Check
Text Symbol: 012 = Export Statistics
Text Symbol: 013 = No. of Personnel Numbers Selected
Text Symbol: 014 = No. of Personnel Nos in Export File
Text Symbol: 015 = Export File
Text Symbol: 016 = Update Interface Results
Text Symbol: 017 = Y
Text Symbol: 018 = No
Text Symbol: 019 = Export Data
Text Symbol: 020 = Status of Export Program
Text Symbol: 021 = Export Program Was Generated On
Text Symbol: 022 = At
Text Symbol: 023 = By User
Text Symbol: 024 = Repetition of Export
Text Symbol: 025 = Interface Directory
Text Symbol: 026 = For-Period (Start - End)
Text Symbol: B06 = Output Files
Text Symbol: E27 = Retro.acc.date further back in past than personal earliest poss. RA date
Text Symbol: E28 = Retro.account.date:
Text Symbol: E29 = Personal earliest poss. retro.acctg date:
Text Symbol: E30 = Internal error when filling APER
Text Symbol: E31 = Current interface directory and payroll directory are not compatible
Text Symbol: E32 = It is likely that a previous result was not exported
Text Symbol: E33 = Difference noted for the following entry:
Text Symbol: E34 = Sequential number of payroll result:
Text Symbol: E35 = Seq. number of interface directory:
Text Symbol: E36 = Interface result with following number could not be found in the payroll results:
Text Symbol: E37 = Periods must not be changed if an additional export takes place
Text Symbol: E38 = Interface recognized that the current period was already exported
Text Symbol: E39 = Periods currently selected are different from those already
Text Symbol: E40 = exported
Text Symbol: E41 = Compare payroll periods:
Text Symbol: E42 = Interface results exist in the future
Text Symbol: E43 = Results in question are as follows:
Text Symbol: E44 = Cluster "ID" could not be updated
Text Symbol: E45 = due to a technical error
Text Symbol: E46 = Cluster "IF" could not be updated
Text Symbol: E47 = due to a technical error
Text Symbol: E48 = Cluster "IF" could not be imported
Text Symbol: E49 = due to a technical error
Text Symbol: E50 = Cluster "ID" could not be imported
Text Symbol: E51 = due to a technical error
Text Symbol: E52 = Personnel number cannot be locked
Text Symbol: E26 = An error occurred when reading Table 549R
Text Symbol: B07 = Options
Text Symbol: E01 = Could Not Read Cluster CD for the Personnel Number
Text Symbol: E02 = Could Not Determine Wage and Salary Type Modifier
Text Symbol: E03 = Entry Missing from Table T500L for the Wage and Salary Type Modifier
Text Symbol: E04 = Wage and Salary Type Modifier:
Text Symbol: E05 = No Payroll Results Exist
Text Symbol: E06 = An Error Occurred When Reading Table 549A
Text Symbol: E07 = An Error Occurred When Reading Table 549Q
Text Symbol: E08 = The "cluster" for the chosen personnel number is incompatible
Text Symbol: E09 = with the "current cluster" for the export program
Text Symbol: E10 = Cluster:
Text Symbol: E11 = Current Cluster:
Text Symbol: E12 = Selected personnel number could not be processed
Text Symbol: E13 = The payroll period table contains no entries
Text Symbol: E14 = Export program discovered a retroactive calculation. The attempt to
Text Symbol: E15 = read a retro. accounting result was unsuccessful. A subsequent attempt
Text Symbol: E16 = to read the curr.payroll result was made; it was also unsuccessful
Text Symbol: E17 = Payroll Period:
Text Symbol: E18 = You cannot export data that is not current.
Text Symbol: E19 = End date of last export:
Text Symbol: E20 = End date of current selection period:
Text Symbol: E21 = The interface recognized that the current selection period was already
Text Symbol: E22 = exported. The earliest retroactive accounting period of the last export does
Text Symbol: E23 = not correspond to the current.
Text Symbol: E24 = Earliest retro period of last exp:
Text Symbol: E25 = Earliest retro period of curr. exp:


INCLUDES used within this REPORT RPUXS2C0

INCLUDE RPUXS2C2.
INCLUDE RPC2IF00.
INCLUDE RPC2ID00.
INCLUDE RPCIFM41.
INCLUDE RPCIFM45.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.
INCLUDE RPPPDR00.
INCLUDE RPC2CD00.
INCLUDE RPUXS2C1.
INCLUDE RPUXS2C3.
INCLUDE RPUXS2C4.
INCLUDE RPUXS2C5.
INCLUDE RPUXS2C6.
INCLUDE RPUXS2C7.
INCLUDE RPUXS2C8.
INCLUDE RPUXS2C9.
INCLUDE RPCIFM47.


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:

RSTS_CHECK_NAME CALL FUNCTION 'RSTS_CHECK_NAME' EXPORTING NAME = help_name EXCEPTIONS FB_NAME_INVALID = 1 OTHERS = 2.

RSTS_CHECK_NAME *$F$CALL FUNCTION 'RSTS_CHECK_NAME' *$F$ EXPORTING *$F$ NAME = help_name *$F$ EXCEPTIONS *$F$ FB_NAME_INVALID = 1 *$F$ OTHERS = 2.

RSTS_CHECK_NAME *$F$CALL FUNCTION 'RSTS_CHECK_NAME' *$F$ EXPORTING *$F$ NAME = help_name *$F$ EXCEPTIONS *$F$ FB_NAME_INVALID = 1 *$F$ OTHERS = 2.

RSTS_CHECK_NAME *$F$CALL FUNCTION 'RSTS_CHECK_NAME' *$F$ EXPORTING *$F$ NAME = help_name *$F$ EXCEPTIONS *$F$ FB_NAME_INVALID = 1 *$F$ OTHERS = 2.

RSTS_CHECK_NAME *$F$CALL FUNCTION 'RSTS_CHECK_NAME' *$F$ EXPORTING *$F$ NAME = help_name *$F$ EXCEPTIONS *$F$ FB_NAME_INVALID = 1 *$F$ OTHERS = 2.

RSTS_CHECK_NAME *$F$CALL FUNCTION 'RSTS_CHECK_NAME' *$F$ EXPORTING *$F$ NAME = help_name *$F$ EXCEPTIONS *$F$ FB_NAME_INVALID = 1 *$F$ 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 RPUXS2C0 or its description.