SAP Reports / Programs | Payroll | Denmark(PY-DK) SAP PY

RPCPEXM0 SAP ABAP Report - Export







RPCPEXM0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to prepare the gross payroll data for PBS...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 RPCPEXM0 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_M09_CPEX - Gross Export to PBS format


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 RPCPEXM0. "Basic submit
SUBMIT RPCPEXM0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCPEXM0 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_PROT = D Log
Selection Text: PAYTY = D Payroll type
Selection Text: PAYID = D Payroll identifier
Selection Text: PAYDT = D Payment date
Selection Text: MFILE = D File name
Selection Text: DK_PAYDT = D Payment Date
Title: Export
Text Symbol: E66 = Retr.accntng too far back
Text Symbol: E67 = for payroll area
Text Symbol: S01 = The "file modifier" chosen on the selection screen is not contained
Text Symbol: S02 = in Table T532A
Text Symbol: S03 = File modifier:
Text Symbol: S04 = An error occurred when opening the "export file"
Text Symbol: S05 = Export file:
Text Symbol: S06 = The following rules apply when choosing export data:
Text Symbol: S07 = 0 = Data is never exported
Text Symbol: S08 = 1 = Data is always exported
Text Symbol: S09 = 2 = Data is exported in the original payroll period only
Text Symbol: S10 = Choice made:
Text Symbol: S11 = Name for export file was NOT specified
Text Symbol: S12 = No payroll area selected for export
Text Symbol: S13 = Error in lock management
Text Symbol: S14 = File is locked by another program
Text Symbol: T01 = Interface results: Contents table for personnel numbers
Text Symbol: T02 = For-period (from - to)
Text Symbol: T03 = In period (from - to)
Text Symbol: T04 = D
Text Symbol: T05 = Seq.no.
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: E52 = Personnel number cannot be locked
Text Symbol: E51 = due to a technical error
Text Symbol: E50 = Cluster "ID" could not be imported
Text Symbol: E49 = due to a technical error
Text Symbol: E48 = Cluster "IF" could not be imported
Text Symbol: E47 = due to a technical error
Text Symbol: E46 = Cluster "IF" could not be updated
Text Symbol: E45 = due to a technical error
Text Symbol: E44 = Cluster "ID" could not be updated
Text Symbol: E43 = Results in question are as follows:
Text Symbol: E42 = Interface results exist in the future
Text Symbol: T06 = Export PCL1 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 = Runtime
Text Symbol: T24 = Run date





Text Symbol: T23 = ID
Text Symbol: T22 = PerMo
Text Symbol: T21 = PArea
Text Symbol: T20 = ID
Text Symbol: T19 = Typ
Text Symbol: T18 = In period (from - to)
Text Symbol: T17 = PerMo
Text Symbol: T16 = PArea
Text Symbol: T15 = Seq. no.
Text Symbol: T14 = Typ
Text Symbol: T13 = For-period (from - to)
Text Symbol: T12 = D
Text Symbol: T11 = ID
Text Symbol: T10 = Typ
Text Symbol: T09 = Export WTypes
Text Symbol: T08 = Exprt master data
Text Symbol: T07 = Export PCL2 data
Text Symbol: 025 = Interface directory
Text Symbol: 026 = For-period (from - to)
Text Symbol: 027 = In period (from - to)
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: 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: 024 = Repetition of export
Text Symbol: 001 = Personnel No.:
Text Symbol: 002 = Payroll Periods
Text Symbol: 003 = Period
Text Symbol: 004 = Start
Text Symbol: 005 = To
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 WTypes
Text Symbol: 011 = Change validat.
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: 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:
Text Symbol: E26 = An error occurred when reading Table T549R
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 retro accounting date :
Text Symbol: E30 = Internal error when filling APER
Text Symbol: E31 = Current interface directory and payroll directory are not compatible
Text Symbol: E32 = An earlier result has probably not been exported yet
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: E18 = You cannot export data that is not current.
Text Symbol: B02 = Export options
Text Symbol: B03 = Special payroll run
Text Symbol: B04 = File layout conversion
Text Symbol: B05 = File layout
Text Symbol: B06 = Output files
Text Symbol: B07 = Options
Text Symbol: E01 = Cluster CD could not be read for the personnel number
Text Symbol: E02 = Personnel country grouping could not be determined
Text Symbol: E03 = Entry missing from Table T500L for the personnel country grouping
Text Symbol: E04 = Wage type modifier:
Text Symbol: E05 = No payroll results exist
Text Symbol: E06 = An error occurred when reading Table T549A
Text Symbol: E07 = An error occurred when reading Table T549Q
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 = The export program has discovered a retro. 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 :


INCLUDES used within this REPORT RPCPEXM0

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:

No SAP FUNCTION MODULES are executed within this report code!



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