SAP ABAP Class J_3RF_FIND_PAYMENTS (Finding payments for invoice)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     J3RF (Package) Localization Russia: FI
Properties
Class J_3RF_FIND_PAYMENTS  
Short Description Finding payments for invoice    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package J3RF   Localization Russia: FI 
Created 20111216   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class J_3RF_FIND_PAYMENTS has no forward declaration.
Interfaces
Class J_3RF_FIND_PAYMENTS has no interface implemented.
Friends
Class J_3RF_FIND_PAYMENTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CUSTOMER Constant Private Type reference (TYPE) C 'D' 20111227
2 GC_VENDOR Constant Private Type reference (TYPE) C 'K' 20111227
3 MC_AUGBL Constant Private Type reference (TYPE) STRING 'AUGBL' 20111222
4 MC_BSTAT Constant Private Type reference (TYPE) STRING 'BSTAT' 20111219
5 MC_DOCTYPE_RESET Constant Private Type reference (TYPE) C 'B' 20111219
6 MC_OBJEKT Constant Private Type reference (TYPE) CDHDR-OBJECTCLAS 'BELEGR' Object class 20111219
7 MO_READER Instance attribute Protected Object reference (TYPE REF TO) J_3RF_DB_READER Database reader 20120229
8 MT_PAYMENTS Instance attribute Private Type reference (TYPE) J_3RFPAYMNTS_TT Payments which are found for an invoice 20120117
9 MV_BELNR Instance attribute Private Type reference (TYPE) BKPF-BELNR Accounting Document Number 20111219
10 MV_BUKRS Instance attribute Private Type reference (TYPE) BKPF-BUKRS Company Code 20111219
11 MV_BUZEI Static Attribute Private Type reference (TYPE) BSEG-BUZEI mv_buzei 20120117
12 MV_CHECK_HISTORY Instance attribute Private Type reference (TYPE) C 20120111
13 MV_DATE Instance attribute Private Type reference (TYPE) BKPF-BLDAT Posting Date in the Document 20111219
14 MV_DMBTR Static Attribute Private Type reference (TYPE) BSEG-DMBTR Amount in Local Currency 20120125
15 MV_GJAHR Instance attribute Private Type reference (TYPE) BKPF-GJAHR Fiscal Year 20111219
16 MV_PARTNER Instance attribute Private Type reference (TYPE) J_3RF_PARTN Vendor or Customer 20111227
17 MV_WRBTR Instance attribute Private Type reference (TYPE) BSEG-DMBTR Amount in Local Currency 20120125
Methods
# Method Level Visibility Method type Description Created on
1 CHANGEDOCUMENT_READ_HEADERS Instance method Protected Method CHANGEDOCUMENT_READ_HEADERS 20120302
2 CHANGEDOCUMENT_READ_POSITIONS Instance method Protected Method CHANGEDOCUMENT_READ_POSITIONS 20120302
3 CHECK_DOC_HISTORY Instance method Private Method 20111219
4 CHECK_REVERSALS Instance method Private Method check if some of the payments are reversed on date 20111219
5 CHECK_REVERSAL_DOC Instance method Private Method Check reversal document 20111219
6 CONSTRUCTOR Instance method Public Constructor 20120302
7 CREATE_READER Instance method Protected Method Create db reader 20120302
8 FIND_PAYMENTS Instance method Public Method Finding payments depending on date 20111216
9 GET_CLEARING_FOR_PAY Instance method Private Method Get clearing for payments 20120119
10 GET_PAYMENTS_CLR Instance method Private Method Get payments from bse_clr 20120117
11 GET_PAYMENTS_DP Instance method Private Method Get downpayments 20120117
12 SET_OBJECTID Instance method Protected Method Set object id 20111219
Events
Class J_3RF_FIND_PAYMENTS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CLR Protected See coding 20120302 BEGIN OF ty_clr, belnr TYPE bkpf-belnr, gjahr TYPE bkpf-gjahr, bldat TYPE bkpf-bldat, budat TYPE bkpf-budat, cpudt TYPE bkpf-cpudt, hwaer TYPE bkpf-hwaer, waers TYPE bkpf-waers, * dmbtr TYPE bseg-dmbtr, * wrbtr TYPE bseg-wrbtr, stblg TYPE bkpf-stblg, stjah TYPE bkpf-stjah, bstat TYPE bkpf-bstat, END OF ty_clr
2 TY_CLR_TAB Private See coding 20111216 ty_clr_tab TYPE STANDARD TABLE OF ty_clr WITH DEFAULT KEY
3 TY_GJAHR Private See coding 20120229 TY_GJAHR TYPE c LENGTH 4
Method Signatures

Method CHANGEDOCUMENT_READ_HEADERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CDHDR Call by reference Type reference (TYPE) CDHDR_TAB Change document header 20120302
2 Importing IV_DATE Call by reference Type reference (TYPE) CDHDR-UDATE Creation date of the change document 20120302
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) CDHDR-OBJECTID Object value 20120302
4 Importing IV_OBJEKT Call by reference Type reference (TYPE) CDHDR-OBJECTCLAS Object class 20120302
# Exception Resumable Description Created on
1 NOT_FOUND 20120302

Method CHANGEDOCUMENT_READ_POSITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EDITPOS Call by reference Type reference (TYPE) CDSHW_TAB Change documents, formatting table 20120302
2 Exporting ES_HEADER Call by reference Type reference (TYPE) CDHDR Change document header 20120302
3 Importing IV_CHANGENUMBER Call by reference Type reference (TYPE) CDPOS-CHANGENR Document change number 20120302
# Exception Resumable Description Created on
1 NOT_FOUND 20120302

Method CHECK_DOC_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REMOVE Call by reference Type reference (TYPE) C 20111219
2 Importing IS_DOC Call by reference Type reference (TYPE) TY_CLR Accounting Document Header 20111219

Method CHECK_DOC_HISTORY on class J_3RF_FIND_PAYMENTS has no exception.

Method CHECK_REVERSALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DOCS Call by reference Type reference (TYPE) TY_CLR_TAB Payments which are found for an invoice 20111219
2 Importing IV_DATE Call by reference Type reference (TYPE) BKPF-BLDAT Date 20111219

Method CHECK_REVERSALS on class J_3RF_FIND_PAYMENTS has no exception.

Method CHECK_REVERSAL_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REMOVE Value transfer Type reference (TYPE) C 20111219
2 Importing IV_BELNR_REVERSE Call by reference Type reference (TYPE) BKPF-STBLG Reverse Document Number 20111219
3 Importing IV_YEAR_REVERSE Call by reference Type reference (TYPE) BKPF-STJAH Reverse document fiscal year 20111219

Method CHECK_REVERSAL_DOC on class J_3RF_FIND_PAYMENTS has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class J_3RF_FIND_PAYMENTS has no parameter.
Method CONSTRUCTOR on class J_3RF_FIND_PAYMENTS has no exception.

Method CREATE_READER Signature

Method CREATE_READER on class J_3RF_FIND_PAYMENTS has no parameter.
Method CREATE_READER on class J_3RF_FIND_PAYMENTS has no exception.

Method FIND_PAYMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PAYMENTS Call by reference Type reference (TYPE) J_3RFPAYMNTS_TT Payments which are found for an invoice 20111216
2 Importing IV_BELNR Call by reference Type reference (TYPE) BKPF-BELNR Assignment of Item Numbers: Material Doc. - Purchasing Doc. 20111216
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BKPF-BUKRS Company Code 20111216
4 Importing IV_BUZEI Call by reference Type reference (TYPE) BSEG-BUZEI Number of Line Item Within Accounting Document 20111226
5 Importing IV_CHECK_HISTORY Call by reference Type reference (TYPE) C 'X' Analyze the date of reversal docs 20120111
6 Importing IV_DATE Call by reference Type reference (TYPE) BKPF-BLDAT Date 20111216
7 Importing IV_GJAHR Call by reference Type reference (TYPE) BKPF-GJAHR Fiscal Year 20111216
# Exception Resumable Description Created on
1 CX_DOC_NOT_RELEVANT CX_DOC_NOT_RELEVANT 20111220

Method GET_CLEARING_FOR_PAY Signature

Method GET_CLEARING_FOR_PAY on class J_3RF_FIND_PAYMENTS has no parameter.
Method GET_CLEARING_FOR_PAY on class J_3RF_FIND_PAYMENTS has no exception.

Method GET_PAYMENTS_CLR Signature

Method GET_PAYMENTS_CLR on class J_3RF_FIND_PAYMENTS has no parameter.
Method GET_PAYMENTS_CLR on class J_3RF_FIND_PAYMENTS has no exception.

Method GET_PAYMENTS_DP Signature

Method GET_PAYMENTS_DP on class J_3RF_FIND_PAYMENTS has no parameter.
Method GET_PAYMENTS_DP on class J_3RF_FIND_PAYMENTS has no exception.

Method SET_OBJECTID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOC_ARCHIVED Call by reference Type reference (TYPE) C 20111219
2 Exporting EV_OBJECT_ID Call by reference Type reference (TYPE) CDHDR-OBJECTID Object value 20111219
3 Importing IS_DOC Call by reference Type reference (TYPE) TY_CLR 20111219

Method SET_OBJECTID on class J_3RF_FIND_PAYMENTS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607