SAP ABAP Class CL_HRPP_DOCUMENTS (Generation of Posting Documents)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX-DT (Application Component) Data Transfer
     PCPO (Package) PY: Posting Transfer
Properties
Class CL_HRPP_DOCUMENTS  
Short Description Generation of Posting Documents    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PCPO   PY: Posting Transfer 
Created 20071016   SAP 
Last change 20080505   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRPP_DOCUMENTS has no forward declaration.
Interfaces
Class CL_HRPP_DOCUMENTS has no interface implemented.
Friends
Class CL_HRPP_DOCUMENTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLEARACCOUNTS Static Attribute Private Type reference (TYPE) HRPP_T_CLACCOUNT Company Codes - Clearing Accounts 20071114
2 DOC_SUBRC Static Attribute Private Type reference (TYPE) SY-SUBRC Status of Document Creation 20071024
3 HEADER Instance attribute Private Type reference (TYPE) PPDHD Transfer to Accounting: Document Header 20071016
4 HEADER_MESSAGES Instance attribute Private Type reference (TYPE) HRPP_T_MSG_CCODE Messages 20071022
5 LINES Instance attribute Private Type reference (TYPE) HRPP_T_LINE Posting Transfer: Aggregated Posting Items 20071016
6 LINES_MANAGER Static Attribute Private Object reference (TYPE REF TO) CL_HRPP_LINES_MANAGER Structure and Aggregation of Posting Items 20071105
7 LINE_MESSAGES Instance attribute Private Type reference (TYPE) HRPP_T_MSG_LINE Messages for a Posting Item 20071022
8 PPDHD Instance attribute Private Type reference (TYPE) PPDHD Transfer to Accounting: Document Header 20071016
9 PPDIT Instance attribute Private Type reference (TYPE) HRPP_T_PPDIT Transfer to Accounting: Lines in HR IDOCs 20071016
10 PPDIT_HASH Instance attribute Private Type reference (TYPE) HRPP_T_PPDIT_HASH Hash Table for PPDIT Lines 20071115
11 PPDIX Instance attribute Private Type reference (TYPE) HRPP_T_PPDIX Table Type of PPDIX 20071016
12 PPDMSG Instance attribute Private Type reference (TYPE) HRPP_T_PPDMSG Transfer to Accounting: Table of Error Messages 20071016
13 PPDSH Instance attribute Private Type reference (TYPE) HRPP_T_PPDSH Table Type for PPDSH 20071022
14 PPDST Instance attribute Private Type reference (TYPE) HRPP_T_PPDST Transfer FI/CO: Table of Subst. Objects 20071016
15 SPLIT_ACTIVE Instance attribute Private Type reference (TYPE) FLAG Split Active for This Company Code 20071016
16 SPLIT_LINES Instance attribute Private Type reference (TYPE) HRPP_T_SPLIT Technical Document Split Lines 20071016
17 SUBSTITUTIONS Instance attribute Private Type reference (TYPE) HRPP_T_SUBST Posting Transfer: Substituted Account Assignment Objects 20071019
18 TAX_PPDIT Instance attribute Private Type reference (TYPE) HRPP_T_TAX_PPDIT Interim Table Tax PPDIT 20071017
19 VAT_COMPARE Instance attribute Private Type reference (TYPE) HRPP_T_COMPARE_VAT Comparison: Tax/Gross Amount 20071017
20 XBLNR Static Attribute Private Type reference (TYPE) XBLNR Reference Document Number 20071024
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BAPIFUNCTION Instance method Private Method Add Information Message Via Called BAPIs 20071022
2 ADD_MESSAGE Instance method Private Method Message for a Posting Item 20071022
3 ADD_PPDIT Instance method Private Method Adds a Line to Table PPDIT 20071108
4 ADD_PPDIX Instance method Private Method Adds a Line to Table PPDIX 20071108
5 ADD_PPDMSG Instance method Private Method Fill PPDMSG 20071016
6 ADD_PPDST Instance method Private Method Fill PPDST 20071016
7 ADD_TAX_PPDIT Instance method Private Method Fill Interim Table for Taxes 20071017
8 CHECK_AND_SET_STATUS Static method Private Method Set Run Status to '21' (Document Creation in Progress) 20071024
9 CHECK_BAPI_MSG Instance method Private Method Check BAPI Call Messages for Removed Calls 20071107
10 CHECK_DOCUMENT Instance method Private Method Check Document for Completeness 20071016
11 COMPLETE_DOCUMENT Instance method Private Method Complete Document 20071016
12 COMPLETE_LINES Instance method Private Method Supply Document Items with Missing Information 20071016
13 COMPLETE_PPDIT Instance method Private Method Fill PPDIT and PPDIX 20071108
14 COMPLETE_SPLIT_LINES Instance method Private Method Complete Split Items 20071016
15 COMPLETE_VAT_LINES Instance method Private Method Complete Tax Items 20071016
16 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20071018
17 CREATE_DOCUMENT Instance method Public Method Create Document 20071016
18 CREATE_DOCUMENT_OBJECTS Static method Public Method Generation of Posting Document Objects 20071023
19 CREATE_HEADER_LINE Instance method Private Method Generate Document Header 20071016
20 CREATE_NUMBER_RANGE Instance method Private Method Create Number Range for Document Number 20071016
21 CREATE_OBJECT Static method Private Method Generates Individual Document Objects for Header Rows 20071023
22 CREATE_SPLIT_LINES Instance method Private Method Generate Technical Split Items for Adjusting Document 20071016
23 CREATE_VAT_LINE Instance method Private Method Generate Tax Item 20071016
24 GET_DOCUMENT_NUMBER Instance method Private Method Determine Document Number 20071016
25 GET_MWSKZ Instance method Private Method Determine Tax Indicator 20071016
26 GET_SGTXT Instance method Private Method Determine Item Text 20071016
27 GET_SUBRC Static method Public Method Return Status of Document Creation 20071024
28 GET_VAT_AMOUNT Instance method Private Method Determine Tax Amount 20071016
29 SAVE_DOCUMENT Instance method Private Method Save Document to Database 20071018
30 SET_DOCUMENT_STATUS Instance method Private Method Specify Document Status 20071016
Events
Class CL_HRPP_DOCUMENTS has no event.
Types
Class CL_HRPP_DOCUMENTS has no local type.
Method Signatures

Method ADD_BAPIFUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FUNCTION_NUM Call by reference Type reference (TYPE) I Identifizierende Nummer einer BAPI-Funktion 20071022

Method ADD_BAPIFUNCTION on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MSGID Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20071022
2 Importing MSGNO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20071022
3 Importing MSGTY Call by reference Type reference (TYPE) SYMSGTY Nachrichtentyp 20071022
4 Importing MSGV1 Call by reference Type reference (TYPE) C Nachrichtenvariable 20071022
5 Importing MSGV2 Call by reference Type reference (TYPE) C Nachrichtenvariable 20071022
6 Importing MSGV3 Call by reference Type reference (TYPE) C Nachrichtenvariable 20071022
7 Importing MSGV4 Call by reference Type reference (TYPE) C Nachrichtenvariable 20071022
8 Importing TSLIN Call by reference Type reference (TYPE) HRPP_LINUM Zeilennummer der Datenübergabe 20071022

Method ADD_MESSAGE on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_PPDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PPDIT_WA Call by reference Type reference (TYPE) PPDIT Überleitung FI/CO: Zeilen des HR-Zwischenbelegs 20071108

Method ADD_PPDIT on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_PPDIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOCLIN Call by reference Type reference (TYPE) HRPP_DOCLIN Zeilennummer des Belegs 20071108
2 Importing TSLIN Call by reference Type reference (TYPE) HRPP_LINUM Zeilennummer der Datenübergabe 20071108

Method ADD_PPDIX on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_PPDMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOCLIN Call by reference Type reference (TYPE) HRPP_DOCLIN Zeilennummer des Belegs 20071022
2 Importing TSLIN Call by reference Type reference (TYPE) HRPP_LINUM Zeilennummer der Datenübergabe 20071022

Method ADD_PPDMSG on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_PPDST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOCLIN Call by reference Type reference (TYPE) HRPP_DOCLIN Zeilennummer des Belegs 20071019
2 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071019
3 Importing NET Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20071019

Method ADD_PPDST on class CL_HRPP_DOCUMENTS has no exception.

Method ADD_TAX_PPDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITTYP Call by reference Type reference (TYPE) HRPP_ITTYP Zeilentyp des Abrechnungsbelegs 20071017
2 Importing KSTAT Call by reference Type reference (TYPE) KSTAT Kondition ist statistisch 20071017
3 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071017
4 Exporting LINE_NUMBER Call by reference Type reference (TYPE) INT4 Kennzeichen: Letzte Zeile 20071017
5 Importing MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20071017
6 Importing TAX_ITEM Call by reference Type reference (TYPE) RTAX1U38 Steuersätze und Beträge für mehere Kennzeichen 20071017

Method ADD_TAX_PPDIT on class CL_HRPP_DOCUMENTS has no exception.

Method CHECK_AND_SET_STATUS Signature

Method CHECK_AND_SET_STATUS on class CL_HRPP_DOCUMENTS has no parameter.
# Exception Resumable Description Created on
1 RUN_LOCKED Auswertungslauf gesperrt 20071024
2 RUN_NOT_FOUND Auswertungslauf nicht gefunden 20071024
3 UNKNOWN_ERROR 20071024
4 WRONG_STATUS Falscher Status des Auswertungslaufs 20071024

Method CHECK_BAPI_MSG Signature

Method CHECK_BAPI_MSG on class CL_HRPP_DOCUMENTS has no parameter.
Method CHECK_BAPI_MSG on class CL_HRPP_DOCUMENTS has no exception.

Method CHECK_DOCUMENT Signature

Method CHECK_DOCUMENT on class CL_HRPP_DOCUMENTS has no parameter.
Method CHECK_DOCUMENT on class CL_HRPP_DOCUMENTS has no exception.

Method COMPLETE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CONTINUE Call by reference Type reference (TYPE) FLAG Beleg weiterbearbeiten 20071018

Method COMPLETE_DOCUMENT on class CL_HRPP_DOCUMENTS has no exception.

Method COMPLETE_LINES Signature

Method COMPLETE_LINES on class CL_HRPP_DOCUMENTS has no parameter.
Method COMPLETE_LINES on class CL_HRPP_DOCUMENTS has no exception.

Method COMPLETE_PPDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071108
2 Importing NETAMT Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20071108

Method COMPLETE_PPDIT on class CL_HRPP_DOCUMENTS has no exception.

Method COMPLETE_SPLIT_LINES Signature

Method COMPLETE_SPLIT_LINES on class CL_HRPP_DOCUMENTS has no parameter.
Method COMPLETE_SPLIT_LINES on class CL_HRPP_DOCUMENTS has no exception.

Method COMPLETE_VAT_LINES Signature

Method COMPLETE_VAT_LINES on class CL_HRPP_DOCUMENTS has no parameter.
Method COMPLETE_VAT_LINES on class CL_HRPP_DOCUMENTS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HEAD Call by reference Type reference (TYPE) HRPP_S_HEADER Buchungsüberleitung: Header der Buchungsposten 20071018
2 Importing HEADER_MESSAGES Call by reference Type reference (TYPE) HRPP_T_MSG_CCODE Meldungen zum Buchungskreis 20071022
3 Importing KTOSL Call by reference Type reference (TYPE) KTOSL Vorgangsschlüssel 20071018
4 Importing LINES Call by reference Type reference (TYPE) HRPP_T_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071018
5 Importing LINE_MESSAGES Call by reference Type reference (TYPE) HRPP_T_MSG_LINE Meldungen 20071022
6 Importing SPLIT Call by reference Type reference (TYPE) FLAG Belegsplit aktiv 20071018
7 Importing SUBSTITUTIONS Call by reference Type reference (TYPE) HRPP_T_SUBST Buchungsüberleitung: Substituierte Kontierungsobjekte 20071019

Method CONSTRUCTOR on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_DOCUMENT Signature

Method CREATE_DOCUMENT on class CL_HRPP_DOCUMENTS has no parameter.
Method CREATE_DOCUMENT on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_DOCUMENT_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DOCUMENTS Call by reference Type reference (TYPE) HRPP_T_DOCUMENTS Tabelle mit Buchungsbeleg-Objekten 20071023
2 Importing LINES_MANAGER Call by reference Object reference (TYPE REF TO) CL_HRPP_LINES_MANAGER Aufbau und Verdichtung der Buchungszeilen 20071105

Method CREATE_DOCUMENT_OBJECTS on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_HEADER_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HEAD Call by reference Type reference (TYPE) HRPP_S_HEADER Buchungsüberleitung: Header der Buchungsposten 20071017
2 Importing KTOSL Call by reference Type reference (TYPE) KTOSL Vorgangsschlüssel 20071017

Method CREATE_HEADER_LINE on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_NUMBER_RANGE Signature

Method CREATE_NUMBER_RANGE on class CL_HRPP_DOCUMENTS has no parameter.
# Exception Resumable Description Created on
1 CX_HRPP Buchungsüberleitung Personalabrechnung 20071018

Method CREATE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CCODE_MESSAGES Call by reference Type reference (TYPE) HRPP_T_MSG_CCODE Meldungen zum Buchungskreis 20071023
2 Changing DOCUMENTS Call by reference Type reference (TYPE) HRPP_T_DOCUMENTS Buchungsüberleitung: Erzeugen von Belegen 20071023
3 Importing HEADER Call by reference Type reference (TYPE) HRPP_S_HEADER Überleitung FI/CO: Header der Buchungsposten 20071023
4 Importing KTOSL Call by reference Type reference (TYPE) KTOSL Vorgangsschlüssel 20071023
5 Changing LINES Call by reference Type reference (TYPE) HRPP_T_LINE Tabelle: Verdichtete Buchungsposten 20071023
6 Changing LINE_MESSAGES Call by reference Type reference (TYPE) HRPP_T_MSG_LINE Überleitung FI/CO: Tabelle der Meldungen 20071023
7 Importing SPLIT_ACTIVE Call by reference Type reference (TYPE) FLAG allgemeines flag 20071023
8 Changing SUBSTITUTIONS Call by reference Type reference (TYPE) HRPP_T_SUBST Buchungsüberleitung: Substituierte Kontierungsobjekte 20071023

Method CREATE_OBJECT on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_SPLIT_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071017

Method CREATE_SPLIT_LINES on class CL_HRPP_DOCUMENTS has no exception.

Method CREATE_VAT_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071017
2 Exporting MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20071017
3 Exporting NETAMT Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20071017

Method CREATE_VAT_LINE on class CL_HRPP_DOCUMENTS has no exception.

Method GET_DOCUMENT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DOCNUM Call by reference Type reference (TYPE) HRPP_DOCNUM Belegnummer 20071018
# Exception Resumable Description Created on
1 CX_HRPP Buchungsüberleitung Personalabrechnung 20071018

Method GET_MWSKZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KONTO Call by reference Type reference (TYPE) HKONT Sachkonto der Hauptbuchhaltung 20071017
2 Changing MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20071017
3 Importing TSLIN Call by reference Type reference (TYPE) HRPP_LINUM Zeilennummer der Datenübergabe 20071022

Method GET_MWSKZ on class CL_HRPP_DOCUMENTS has no exception.

Method GET_SGTXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing SGTXT Call by reference Type reference (TYPE) SGTXT Positionstext 20071017
2 Importing TSLIN Call by reference Type reference (TYPE) HRPP_LINUM Zeilennummer der Datenübergabe 20071022
3 Importing ZFBDT Call by reference Type reference (TYPE) DZFBDT Basisdatum für Fälligkeitsberechnung 20071017

Method GET_SGTXT on class CL_HRPP_DOCUMENTS has no exception.

Method GET_SUBRC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SUBRC Call by reference Type reference (TYPE) SY-SUBRC Status der Belegerstellung 20071024

Method GET_SUBRC on class CL_HRPP_DOCUMENTS has no exception.

Method GET_VAT_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ERROR Call by reference Type reference (TYPE) FLAG allgemeines flag 20071017
2 Importing LINE Call by reference Type reference (TYPE) HRPP_S_LINE Buchungsüberleitung: Verdichtete Buchungsposten 20071017
3 Importing MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20071017
4 Exporting TAX_ITEMS Call by reference Type reference (TYPE) HRPP_T_TAX_ITEM Tabelle für Steuerzeilen 20071017

Method GET_VAT_AMOUNT on class CL_HRPP_DOCUMENTS has no exception.

Method SAVE_DOCUMENT Signature

Method SAVE_DOCUMENT on class CL_HRPP_DOCUMENTS has no parameter.
Method SAVE_DOCUMENT on class CL_HRPP_DOCUMENTS has no exception.

Method SET_DOCUMENT_STATUS Signature

Method SET_DOCUMENT_STATUS on class CL_HRPP_DOCUMENTS has no parameter.
Method SET_DOCUMENT_STATUS on class CL_HRPP_DOCUMENTS has no exception.
History
Last changed by/on SAP  20080505 
SAP Release Created in 600