SAP ABAP Class CL_ATP_PAR (ProductAvailabilityRequirement)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BF (Application Component) Basic Functions
     ATPG (Package) From APO Interfaces bapi_apotp_check
Properties
Class CL_ATP_PAR  
Short Description ProductAvailabilityRequirement    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ATPG   From APO Interfaces bapi_apotp_check 
Created 20080425   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_ATP_PAR has no interface implemented.
Friends
Class CL_ATP_PAR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_OBJ_REF Static Attribute Private Type reference (TYPE) TT_OBJ_REF Reference table 20080425
2 MS_PAR_HEAD Instance attribute Public Type reference (TYPE) ATP_PAR_HEAD Header of buffer for Product Availability Requirement 20080425
3 MT_PAR_ATPTERM Instance attribute Private Type reference (TYPE) TBL_ATP_PAR_ATPTERM Table:Shipping and Transp. Sched. Dates/Times, w. Posguid 20080508
4 MT_PAR_ITEM Instance attribute Public Type reference (TYPE) TBL_ATP_PAR_ITEM Standard table of ProductAvailabilityRequirementItem 20080425
5 MT_PAR_MDVE Instance attribute Private Type reference (TYPE) TBL_ATP_PAR_MDVE Table: Availability check result, with posguid 20080508
6 MV_UNAME Instance attribute Private Type reference (TYPE) SYUNAME User Name 20080428
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_ITEM_IDS Instance method Private Method adjusts the external IDs of items 20080430
2 ATP_ACTION Instance method Public Method Executes necessary actions for ATP 20080430
3 CANCEL_DB Instance method Protected Method Cancels the PAR 20080429
4 CANCEL_ITEM Instance method Protected Method Cancels item of PAR 20080429
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080425
6 CREATE_ELEMENT Static method Public Method Creates object for non-existing PAR 20080425
7 CREATE_ITEMS Instance method Protected Method Creates new items for PAR 20080430
8 CREATE_PAR_ID Static method Protected Method Creates PAR-ID 20080425
9 DELETE_CANCELED_ITEM Instance method Public Method Delete canceled item out of PAR instance 20080807
10 FIND_ELEMENT Static method Private Method Finds object for given key 20080428
11 GET_ELEMENT Static method Public Method Gets reference to PAR 20080425
12 ITEMS_EXPORT Static method Public Method Export Items To FG LATP 20080603
13 LOAD_ELEMENT Static method Private Method Loads object from database 20080428
14 PAR_CANCEL Static method Public Method Cancels (items of) an existing PAR 20080428
15 PAR_CREATE Static method Public Method Creates a PAR object 20080425
16 PAR_PASS_ITEM_DELTA Static method Public Method Pass Delta from items which where canceld in this LUW 20080804
17 PAR_READ Static method Public Method Reads all data from a PAR 20080425
18 PASS_ITEM_DELTA Instance method Protected Method Instance: pass Delta from i. which where canceld in this LUW 20080804
19 PERS_ENQ_DELETE Static method Public Method Delete persisten enquue entries form ATP check (ATP+QUOT) 20080505
20 SET_ITEM_ID Static method Public Method Sets new external item IDs 20080430
21 SET_RESPONSIBLE Instance method Public Method Sets user name of person responsible for the DB-change 20080428
22 TRIGGER_WRITE Instance method Private Method triggers a write action on commit 20080429
23 VERIFY_ITEMS Instance method Protected Method verifies internal and external consistency of items 20080430
24 WRITE_TO_DB Instance method Public Method Writes object to database 20080429
Events
Class CL_ATP_PAR has no event.
Types
Class CL_ATP_PAR has no local type.
Method Signatures

Method ADJUST_ITEM_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ITEM_ID Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_EXT_ID Table of external IDs for Par Item 20080430

Method ADJUST_ITEM_IDS on class CL_ATP_PAR has no exception.

Method ATP_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ATPCA Call by reference Type reference (TYPE) ATPCA ATP Controller: Control Parameters 20080430
2 Changing CT_ATPALL Call by reference Type reference (TYPE) TBL_ATPALL Table: ATP Server: Product Allocation Data 20080509
3 Changing CT_ATPCS Call by reference Type reference (TYPE) TBL_ATPCS ATP: table of requirements 20080430
4 Changing CT_ATPFIELD Call by reference Type reference (TYPE) TBL_ATPFIELD Product Allocation: Characteristic Catalog 20080509
5 Changing CT_ATPRE Call by reference Type reference (TYPE) TBL_ATPRE Table: ATP: Data for Reference Relationships 20080509
6 Changing CT_ATPSDU Call by reference Type reference (TYPE) TBL_ATPSDU Table: ATP: Scheduling Durations 20080509
7 Changing CT_ATPSOP Call by reference Type reference (TYPE) TBL_ATPSOP Table: ATP: Options for Shipment Scheduling 20080509
8 Changing CT_ATPSSP Call by reference Type reference (TYPE) TBL_ATPSSP Table: ATP: Scheduling: Goods Rcpt View of Customer Master 20080509
9 Changing CT_ATPTERM Call by reference Type reference (TYPE) TBL_ATPTERM Table: Dates/Times: Transportation and Shipment Scheduling 20080430
10 Changing CT_MDVE Call by reference Type reference (TYPE) TBL_MDVE Table: Result of Availability Check 20080430
11 Changing CV_ERROR Call by reference Type reference (TYPE) FLAG General Flag 20080430
12 Importing IV_SCHEDSH Call by reference Type reference (TYPE) VSTRM Activate delivery scheduling 20080430
13 Importing IV_SCHEDTR Call by reference Type reference (TYPE) TRTRM Activate transportation scheduling 20080430
# Exception Resumable Description Created on
1 FOREIGN_PAR Item in foreign PAR 20080430

Method CANCEL_DB Signature

Method CANCEL_DB on class CL_ATP_PAR has no parameter.
Method CANCEL_DB on class CL_ATP_PAR has no exception.

Method CANCEL_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_FREE Call by reference Type reference (TYPE) ATP_PAR_DELTA_FREE ATP: Free Delta for 20080806
2 Importing IT_ITEMS Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_ID Table of ProductAvailabilityRequirementItemID 20080429
3 Importing IV_DELETE_ITEMS Call by reference Type reference (TYPE) FLAG Additional action - delete Items 20080806

Method CANCEL_ITEM on class CL_ATP_PAR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PAR_HEAD Value transfer Type reference (TYPE) ATP_PAR_HEAD Header of buffer for Product Availability Requirement 20080425
2 Importing IT_PAR_ATPTERM Call by reference Type reference (TYPE) TBL_ATP_PAR_ATPTERM Table:Shipping and Transp. Sched. Dates/Times, w. Posguid 20080508
3 Importing IT_PAR_ITEM Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM Standard table of ProductAvailabilityRequirementItem 20080425
4 Importing IT_PAR_MDVE Call by reference Type reference (TYPE) TBL_ATP_PAR_MDVE Table: Availability check result, with posguid 20080508

Method CONSTRUCTOR on class CL_ATP_PAR has no exception.

Method CREATE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAR_ID Value transfer Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080425
2 Importing IV_TRGUID Value transfer Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080425
3 Returning RO_PAR Value transfer Object reference (TYPE REF TO) CL_ATP_PAR ProductAvailabilityRequirement 20080425
# Exception Resumable Description Created on
1 DUPLICATE_KEY Duplicate Key 20080425

Method CREATE_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ATPCS Call by reference Type reference (TYPE) TBL_ATPCS ATP: table of requirements 20080430
2 Importing IT_ATPTERM Call by reference Type reference (TYPE) TBL_ATPTERM Table: Dates/Times: Transportation and Shipment Scheduling 20080508
3 Importing IT_MDVE Call by reference Type reference (TYPE) TBL_MDVE Table: Result of Availability Check 20080508

Method CREATE_ITEMS on class CL_ATP_PAR has no exception.

Method CREATE_PAR_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PAR_ID Value transfer Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080425

Method CREATE_PAR_ID on class CL_ATP_PAR has no exception.

Method DELETE_CANCELED_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ITEMS_TO_DELETE Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM Standard table of ProductAvailabilityRequirementItem 20080807
2 Importing IT_POSGUID_TO_DELETE Call by reference Type reference (TYPE) TBL_POSGUID ATP: Item GUID Table 20080807

Method DELETE_CANCELED_ITEM on class CL_ATP_PAR has no exception.

Method FIND_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAR_ID Call by reference Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080428
2 Importing IV_TRGUID Call by reference Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080428
3 Returning RS_ELEMENT Value transfer Type reference (TYPE) ST_OBJ_REF 20080428

Method FIND_ELEMENT on class CL_ATP_PAR has no exception.

Method GET_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAR_ID Value transfer Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080425
2 Importing IV_RETURN_CANCELED_PAR Value transfer Type reference (TYPE) FLAG Return canceled PAR 20080804
3 Importing IV_TRGUID Value transfer Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080425
4 Returning RO_PAR Value transfer Object reference (TYPE REF TO) CL_ATP_PAR ProductAvailabilityRequirement 20080425
# Exception Resumable Description Created on
1 MISSING_PAR PAR is missing 20080428

Method ITEMS_EXPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LATP_ITEM Call by reference Type reference (TYPE) TBL_LATP_ITEM Table: Item Readable and with Item Indicator and Transaction 20080604
2 Exporting EV_COUNT_ALL Call by reference Type reference (TYPE) I Count of Allocation Lines 20080603
3 Importing IT_ATPCS Call by reference Type reference (TYPE) TBL_ATPCS ATP: table of requirements 20080603
4 Importing IT_ATPFIELD Call by reference Type reference (TYPE) TBL_ATPFIELD Product Allocation: Characteristic Catalog 20080603

Method ITEMS_EXPORT on class CL_ATP_PAR has no exception.

Method LOAD_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAR_ID Call by reference Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080428
2 Importing IV_TRGUID Call by reference Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080428
3 Returning RS_ELEMENT Value transfer Type reference (TYPE) ST_OBJ_REF 20080428

Method LOAD_ELEMENT on class CL_ATP_PAR has no exception.

Method PAR_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_FREE Call by reference Type reference (TYPE) ATP_PAR_DELTA_FREE ATP: Free Delta for 20080806
2 Importing IT_ITEMS Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_ID Table of ProductAvailabilityRequirementItemID 20080428
3 Importing IV_CHANGER Value transfer Type reference (TYPE) SYUNAME User Name 20080428
4 Importing IV_DELETE_ITEMS Call by reference Type reference (TYPE) FLAG Additional action - delete Items 20080806
5 Importing IV_PAR_ID Value transfer Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080428
# Exception Resumable Description Created on
1 MISSING_PAR PAR is missing 20080430

Method PAR_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PAR_ID Call by reference Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080425
2 Exporting EV_TRGUID Call by reference Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080425
# Exception Resumable Description Created on
1 NUMBERRANGE_ERROR Error in number range object 20080425

Method PAR_PASS_ITEM_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_FREE Call by reference Type reference (TYPE) ATP_PAR_DELTA_FREE ATP: Free Delta for 20080806
2 Importing IT_ITEMS Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_ID Table of ProductAvailabilityRequirementItemID 20080804
3 Importing IV_PAR_ID Value transfer Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080804
# Exception Resumable Description Created on
1 MISSING_PAR PAR is missing 20080804

Method PAR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PAR_HEAD Value transfer Type reference (TYPE) ATP_PAR_HEAD Header of buffer for Product Availability Requirement 20080425
2 Exporting ET_PAR_ATPTERM Call by reference Type reference (TYPE) TBL_ATP_PAR_ATPTERM Table:Shipping and Transp. Sched. Dates/Times, w. Posguid 20080521
3 Exporting ET_PAR_ITEM Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM Standard table of ProductAvailabilityRequirementItem 20080425
4 Exporting ET_PAR_MDVE Call by reference Type reference (TYPE) TBL_ATP_PAR_MDVE Table: Availability check result, with posguid 20080521
5 Importing IV_PAR_ID Call by reference Type reference (TYPE) PAR_ID ProductAvailabilityRequirement ID for Nummber Range Object 20080425
6 Importing IV_TRGUID Call by reference Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080425
# Exception Resumable Description Created on
1 MISSING_PAR PAR is missing 20080430

Method PASS_ITEM_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_FREE Call by reference Type reference (TYPE) ATP_PAR_DELTA_FREE ATP: Free Delta for 20080806
2 Importing IT_ITEMS Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_ID Table of ProductAvailabilityRequirementItemID 20080804

Method PASS_ITEM_DELTA on class CL_ATP_PAR has no exception.

Method PERS_ENQ_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_FREE Call by reference Type reference (TYPE) ATP_PAR_DELTA_FREE ATP: Free Delta for 20080806
2 Importing IT_PAR_ITEM Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM Standard table of ProductAvailabilityRequirementItem 20080505

Method PERS_ENQ_DELETE on class CL_ATP_PAR has no exception.

Method SET_ITEM_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PAR_ITEM Call by reference Type reference (TYPE) ATP_PAR_ITEM_EXT_ID External IDs of ProductAvailabilityRequirement items 20080430
2 Importing IT_PAR_ITEM Call by reference Type reference (TYPE) TBL_ATP_PAR_ITEM_EXT_ID Table of external IDs for Par Item 20080430
3 Importing IV_TRGUID Value transfer Type reference (TYPE) APOTRGUID ATP: Unique ID for relevant transaction in APO server 20080430
# Exception Resumable Description Created on
1 MISSING_ELEMENT Element is missing 20080430

Method SET_RESPONSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESPONSIBLE Value transfer Type reference (TYPE) SYUNAME User Name 20080428

Method SET_RESPONSIBLE on class CL_ATP_PAR has no exception.

Method TRIGGER_WRITE Signature

Method TRIGGER_WRITE on class CL_ATP_PAR has no parameter.
Method TRIGGER_WRITE on class CL_ATP_PAR has no exception.

Method VERIFY_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ATPCS Call by reference Type reference (TYPE) TBL_ATPCS ATP: table of requirements 20080430
# Exception Resumable Description Created on
1 FOREIGN_PAR Item in foreign PAR 20080430

Method WRITE_TO_DB Signature

Method WRITE_TO_DB on class CL_ATP_PAR has no parameter.
Method WRITE_TO_DB on class CL_ATP_PAR has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 604