SAP ABAP Class CL_MMPUR_IV_PLAN (Invoice Plan)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-SRV-IP (Application Component) Invoicing Plan
     MMPUR_IP (Package) Purchasing Extended Function for Invoice Plan
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MMPUR_IV_PLAN Interface for Invoice Plan 20061218
Properties
Class CL_MMPUR_IV_PLAN  
Short Description Invoice Plan    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MMPUR_IP   Purchasing Extended Function for Invoice Plan 
Created 20061218   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MMPUR_IV_PLAN has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_MMPUR_IV_PLAN Interface for Invoice Plan 20061218
Friends
Class CL_MMPUR_IV_PLAN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MYT_IV_PLAN_ITEM Instance attribute Private Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type for Purchasing Invoice Plan Itemx(Change Paramet) 20061218
2 MYT_IV_PLAN_ITEMX Instance attribute Private Type reference (TYPE) IV_PLAN_ITEMX_TTY Table Type for Purchasing Invoice Plan Item 20061218
3 MYT_IV_PLAN_ITEM_OLD Instance attribute Private Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type for Purchasing Invoice Plan Itemx(Change Paramet) 20061218
4 MYT_TFPLT Instance attribute Private Type reference (TYPE) TFPLT_TTY Table Type: Date Type for Billing Plan Type 20070409
5 MY_DB_REF Instance attribute Private Object reference (TYPE REF TO) CL_MMPUR_IV_PLAN_DB Invoice Plan DB Operation 20061218
6 MY_IV_PLAN_HEADER Instance attribute Private Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20061218
7 MY_IV_PLAN_HEADERX Instance attribute Private Type reference (TYPE) INVOICE_PLAN_HEADERX Purchasing: Invoice Plan Header Datax(Change Parameter) 20061218
8 MY_IV_PLAN_HEADER_OLD Instance attribute Private Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20061218
9 MY_MSG_REF Instance attribute Private Object reference (TYPE REF TO) CL_MESSAGE_HANDLER_MM Message Handler 20080128
10 MY_PO_DATA Instance attribute Private Type reference (TYPE) INVOICE_PLAN_PUR_DATA Purchasing Data for Invoice Plan 20061218
11 MY_PO_DATAX Instance attribute Private Type reference (TYPE) INVOICE_PLAN_PUR_DATAX Purchasing Data for Invoice Plan Change Parameter 20080128
12 MY_PO_ITEM_REFERENCE Instance attribute Private Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM PO Item External View 20070305
13 MY_PROCESS_SUCCESS Instance attribute Private Type reference (TYPE) FLAG General Flag 20061218
14 MY_SEQUENCE Static Attribute Private Type reference (TYPE) I Temporary invoice plan number 20070302
15 MY_TFPLA Instance attribute Private Type reference (TYPE) TFPLA Billing Plan Type 20070409
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_IV_PLAN_DATA Instance method Private Method Common Checks for Invoice Plan( Peridic + Partial) 20061218
2 CHECK_IV_PLAN_PARTIAL Instance method Private Method checks for Partial Invoice Plan 20070219
3 CHECK_IV_PLAN_PERIODIC Instance method Private Method checks for Periodic Invoice Plan 20070219
4 CHECK_IV_RULE Instance method Private Method Checking rule for start date 20070214
5 CHECK_PO_DATA Instance method Private Method Check Purchase Order Data 20061218
6 CONSTRUCTOR Instance method Public Constructor Constructor for IV Plan 20061218
7 FILL_DATA Instance method Private Method Fill Default/Customization Data 20070330
8 GENERATE_DATES Instance method Private Method Generate Dates for IV Plan Item data 20070221
9 GENERATE_PERIODIC_ITEMS Instance method Public Method Generate Periodic Items 20070321
10 GET_HEADER Instance method Public Method Get current state of header data 20120615
11 GET_ITEMS Instance method Public Method Get current item state of invoice plan items 20120615
12 GET_IV_PLAN_DATA Instance method Public Method Get Invoice Plan Data 20061218
13 GET_IV_PLAN_FOR_MLRP Instance method Public Method Get IV Plan data to fill Global data in MLRP & EINS 20070302
14 GET_IV_PLAN_STATUS Instance method Private Method Get Invoice plan status(A/B/C) 20070305
15 GET_PO_DATA Instance method Public Method Get Purchase Order Data 20061218
16 MERGE_IV_PLAN_HEADER Instance method Private Method Merging of IV Plan Header Data 20061218
17 MERGE_IV_PLAN_ITEM Instance method Private Method Merging of IV Plan ITEM Data 20061218
18 NEXT_NUMBER Instance method Private Method Create new temporary invoice plan number 20070302
19 POST Instance method Public Method Post of Invoice Plan for PO 20061218
20 PRE_PROCESS_CHECK Instance method Private Method Pre Processing Checks for IV Plan 20070330
21 PROCESS Instance method Public Method Process of Invoice Plan for PO 20061218
22 SET_IV_PLAN_DATA Instance method Public Method Set Invoice Plan Data 20061218
23 SET_PO_DATA Instance method Public Method Set Purchase Order Data 20061218
24 SET_PO_NUM_FOR_SAVE Instance method Public Method Set Acutal PO Number 20070104
Events
Class CL_MMPUR_IV_PLAN has no event.
Types
Class CL_MMPUR_IV_PLAN has no local type.
Method Signatures

Method CHECK_IV_PLAN_DATA Signature

Method CHECK_IV_PLAN_DATA on class CL_MMPUR_IV_PLAN has no parameter.
# Exception Resumable Description Created on
1 ERROR_CHECK_IV_PLAN_DATA Error in IV Plan Data 20061218

Method CHECK_IV_PLAN_PARTIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMT_DATE_DTRMN_RULE Call by reference Type reference (TYPE) U_16278_TTY Table Type: Date Determination Rule Description 20070219
2 Importing IMT_IV_BLOCKING_REASON Call by reference Type reference (TYPE) V_MTVFS_TTY Table Type: Invoicing Plan Blocking Reason 20070219
3 Importing IMT_IV_DATE_CATEGORY Call by reference Type reference (TYPE) U_16282_TTY Table Type: Invoice Plan Date Category 20070219
4 Importing IMT_IV_PLAN_DATE_ID Call by reference Type reference (TYPE) V_MTVTB_TTY Table Type: Invoice Plan Date Id and Description 20070219
5 Importing IM_IV_PLAN_TYPE Call by reference Type reference (TYPE) S_TFPLAB Generierte Tabelle zu einem View 20070219
# Exception Resumable Description Created on
1 ERROR_CHECK_IV_PLAN_PARTIAL Error in Check of Invoice Plan Partial 20070219

Method CHECK_IV_PLAN_PERIODIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMT_DATE_DTRMN_RULE Call by reference Type reference (TYPE) U_16278_TTY Table Type: Date Determination Rule Description 20070219
2 Importing IMT_IV_BLOCKING_REASON Call by reference Type reference (TYPE) V_MTVFS_TTY Table Type: Invoicing Plan Blocking Reason 20070219
3 Importing IMT_IV_DATE_CATEGORY Call by reference Type reference (TYPE) U_16282_TTY Table Type: Invoice Plan Date Category 20070219
4 Importing IMT_IV_PLAN_DATE_ID Call by reference Type reference (TYPE) V_MTVTB_TTY Table Type: Invoice Plan Date Id and Description 20070219
5 Importing IM_IV_PLAN_TYPE Call by reference Type reference (TYPE) S_TFPLAB Generierte Tabelle zu einem View 20070219
# Exception Resumable Description Created on
1 ERROR_CHECK_IV_PLAN_PERIODIC Error in checks of peridic invoice plan 20070219

Method CHECK_IV_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TARGET_DATE Call by reference Type reference (TYPE) BEDAT_FP Date for billing plan/invoice plan 20070214
2 Importing IM_DATE_RULE Value transfer Type reference (TYPE) BEDAT_FPK Rule for Date of Billing/Invoicing Plan 20070214
3 Importing IM_RULE_TEXT Call by reference Type reference (TYPE) RULE_TEXT Rule Text 20070214
# Exception Resumable Description Created on
1 ERROR_CHECK_IV_RULE Error in Checking of Start Date Rule 20070214

Method CHECK_PO_DATA Signature

Method CHECK_PO_DATA on class CL_MMPUR_IV_PLAN has no parameter.
# Exception Resumable Description Created on
1 ERROR_CHECK_PO_DATA Error in PO Data 20061218

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PO_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM PO Item External View 20070306

Method CONSTRUCTOR on class CL_MMPUR_IV_PLAN has no exception.

Method FILL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHT_IV_PLAN_ITEM Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type: Purchasing Invoice Plan Itemx(Change Parameter) 20070330
2 Changing CH_IV_PLAN_HEADER Call by reference Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20070330

Method FILL_DATA on class CL_MMPUR_IV_PLAN has no exception.

Method GENERATE_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMT_IV_PLAN_ITEM_REF Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type: Purchasing Invoice Plan Itemx(Change Parameter) 20070221
2 Importing IM_IV_PLAN_HEADER_REF Call by reference Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20070221
# Exception Resumable Description Created on
1 ERROR_GENERATE_DATES Error in Generating dates 20070221

Method GENERATE_PERIODIC_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXT_IV_PLAN_ITEM Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type: Purchasing Invoice Plan Itemx(Change Parameter) 20070321
2 Importing IM_FPLTR Call by reference Type reference (TYPE) FPLTR Item for billing plan/invoice plan/payment cards 20070321
3 Importing IM_FROM_DATE Call by reference Type reference (TYPE) SYCDATE Obsolete ABAP System Field 20070321
4 Importing IM_IN_ADVANCE Call by reference Type reference (TYPE) FLAG General Flag 20070321
5 Importing IM_MTEND Call by reference Type reference (TYPE) MTEND Last of the month switch for date determination 20070329
6 Importing IM_PERIOD Call by reference Type reference (TYPE) PERIO_FP Rule for Origin of Next Billing/Invoice Date 20070321
7 Importing IM_TFPLA Call by reference Type reference (TYPE) TFPLA Billing Plan Type 20070321
8 Importing IM_TFPLT Call by reference Type reference (TYPE) TFPLT Date Type for Billing Plan Type 20070321
9 Importing IM_TO_DATE Call by reference Type reference (TYPE) SYCDATE Obsolete ABAP System Field 20070321
10 Importing IM_TVRG Call by reference Type reference (TYPE) U_16278 Calendar used to determine dates 20070330

Method GENERATE_PERIODIC_ITEMS on class CL_MMPUR_IV_PLAN has no exception.

Method GET_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DATA Call by reference Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20120615

Method GET_HEADER on class CL_MMPUR_IV_PLAN has no exception.

Method GET_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type: Purchasing Invoice Plan Itemx(Change Parameter) 20120615

Method GET_ITEMS on class CL_MMPUR_IV_PLAN has no exception.

Method GET_IV_PLAN_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXT_IV_PLAN_ITEM Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type for Purchasing Invoice Plan Itemx(Change Paramet) 20061218
2 Exporting EX_IV_PLAN_HEADER Call by reference Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20061218
3 Importing IM_DB_ONLY Call by reference Type reference (TYPE) FLAG 'X' General Flag 20061218
4 Importing IM_DISPLAY_ONLY Call by reference Type reference (TYPE) FLAG General Flag 20070305
5 Importing IM_FPLNR Call by reference Type reference (TYPE) FPLNR Billing plan number / invoicing plan number 20061218
6 Importing IM_FPLTR Call by reference Type reference (TYPE) FPLTR Item for billing plan/invoice plan/payment cards 20061218
7 Importing IM_MODIFY_ONLY Call by reference Type reference (TYPE) FLAG General Flag 20061218
# Exception Resumable Description Created on
1 ERROR_MODIFY_ONLY_DB_ONLY_SET 20070112
2 NO_DATA_FOUND No Data Found 20070112

Method GET_IV_PLAN_FOR_MLRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXT_UFPLA Call by reference Type reference (TYPE) UFPLA_TTY Table Type: Invoice Plan Item 20070302
2 Exporting EXT_UFPLA_OLD Call by reference Type reference (TYPE) UFPLA_TTY Table Type: Invoice Plan Item 20070302
3 Exporting EXT_UFPLT Call by reference Type reference (TYPE) UFPLT_TTY Table Type: Invoice Plan Item Data 20070302
4 Exporting EXT_UFPLT_OLD Call by reference Type reference (TYPE) UFPLT_TTY Table Type: Invoice Plan Item Data 20070302

Method GET_IV_PLAN_FOR_MLRP on class CL_MMPUR_IV_PLAN has no exception.

Method GET_IV_PLAN_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHT_IV_PLAN_ITEM Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type: Purchasing Invoice Plan Itemx(Change Parameter) 20070306
2 Importing IM_EBELN Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20070305
3 Importing IM_EBELP Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20070305
4 Importing IM_WAERS Call by reference Type reference (TYPE) WAERS Currency Key 20070305
5 Importing IM_WEBRE Call by reference Type reference (TYPE) WEBRE Indicator: GR-Based Invoice Verification 20070305

Method GET_IV_PLAN_STATUS on class CL_MMPUR_IV_PLAN has no exception.

Method GET_PO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PO_DATA Call by reference Type reference (TYPE) INVOICE_PLAN_PUR_DATA Purchasing Data for Invoice Plan 20061218

Method GET_PO_DATA on class CL_MMPUR_IV_PLAN has no exception.

Method MERGE_IV_PLAN_HEADER Signature

Method MERGE_IV_PLAN_HEADER on class CL_MMPUR_IV_PLAN has no parameter.
# Exception Resumable Description Created on
1 ERROR_MERGE_IV_PLAN_HEADER Error Merge 20061218

Method MERGE_IV_PLAN_ITEM Signature

Method MERGE_IV_PLAN_ITEM on class CL_MMPUR_IV_PLAN has no parameter.
# Exception Resumable Description Created on
1 ERROR_MERGE_IV_PLAN_ITEM Error in Merge of Invoice Plan Item 20070307

Method NEXT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_NUMBER Value transfer Type reference (TYPE) FPLNR Fakturierungs- / Rechnungsplannummer 20070302

Method NEXT_NUMBER on class CL_MMPUR_IV_PLAN has no exception.

Method POST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PO_NUMBER Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20070102

Method POST on class CL_MMPUR_IV_PLAN has no exception.

Method PRE_PROCESS_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY_TYPE Call by reference Type reference (TYPE) FLAG General Flag 20070330
# Exception Resumable Description Created on
1 ERROR_PRE_PROCESS_CHECKS error in pre processing checks 20070330

Method PROCESS Signature

Method PROCESS on class CL_MMPUR_IV_PLAN has no parameter.
# Exception Resumable Description Created on
1 ERROR_PROCESS_IV Error in Process of Invoice Plan 20061218

Method SET_IV_PLAN_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMT_IV_PLAN_ITEM Call by reference Type reference (TYPE) IV_PLAN_ITEM_TTY Table Type for Purchasing Invoice Plan Itemx(Change Paramet) 20061218
2 Importing IMT_IV_PLAN_ITEMX Call by reference Type reference (TYPE) IV_PLAN_ITEMX_TTY Table Type for Purchasing Invoice Plan Item 20061218
3 Importing IM_IV_PLAN_HEADER Call by reference Type reference (TYPE) INVOICE_PLAN_HEADER Purchasing: Invoice Plan Header Data 20061218
4 Importing IM_IV_PLAN_HEADERX Call by reference Type reference (TYPE) INVOICE_PLAN_HEADERX Purchasing: Invoice Plan Header Datax(Change Parameter) 20061218
5 Importing IM_PO_DATA Call by reference Type reference (TYPE) INVOICE_PLAN_PUR_DATA Purchasing Data for Invoice Plan 20061218
6 Importing IM_PO_DATAX Call by reference Type reference (TYPE) INVOICE_PLAN_PUR_DATAX Purchasing Data for Invoice Plan Change Parameter 20061218

Method SET_IV_PLAN_DATA on class CL_MMPUR_IV_PLAN has no exception.

Method SET_PO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PO_DATA Call by reference Type reference (TYPE) INVOICE_PLAN_PUR_DATA Purchasing Data for Invoice Plan 20061218
2 Importing IM_PO_DATAX Call by reference Type reference (TYPE) INVOICE_PLAN_PUR_DATAX Purchasing Data for Invoice Plan Change Parameter 20061218

Method SET_PO_DATA on class CL_MMPUR_IV_PLAN has no exception.

Method SET_PO_NUM_FOR_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FPLNR Call by reference Type reference (TYPE) FPLNR Billing plan number / invoicing plan number 20070302
2 Importing IM_PO_NUMBER Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20070104

Method SET_PO_NUM_FOR_SAVE on class CL_MMPUR_IV_PLAN has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700