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 | 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 | Static Attribute | Private | Type reference (TYPE) | TT_OBJ_REF | Reference table | 20080425 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | ATP_PAR_HEAD | Header of buffer for Product Availability Requirement | 20080425 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TBL_ATP_PAR_ATPTERM | Table:Shipping and Transp. Sched. Dates/Times, w. Posguid | 20080508 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | TBL_ATP_PAR_ITEM | Standard table of ProductAvailabilityRequirementItem | 20080425 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TBL_ATP_PAR_MDVE | Table: Availability check result, with posguid | 20080508 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | User Name | 20080428 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | adjusts the external IDs of items | 20080430 | |
| 2 | Instance method | Public | Method | Executes necessary actions for ATP | 20080430 | |
| 3 | Instance method | Protected | Method | Cancels the PAR | 20080429 | |
| 4 | Instance method | Protected | Method | Cancels item of PAR | 20080429 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20080425 | |
| 6 | Static method | Public | Method | Creates object for non-existing PAR | 20080425 | |
| 7 | Instance method | Protected | Method | Creates new items for PAR | 20080430 | |
| 8 | Static method | Protected | Method | Creates PAR-ID | 20080425 | |
| 9 | Instance method | Public | Method | Delete canceled item out of PAR instance | 20080807 | |
| 10 | Static method | Private | Method | Finds object for given key | 20080428 | |
| 11 | Static method | Public | Method | Gets reference to PAR | 20080425 | |
| 12 | Static method | Public | Method | Export Items To FG LATP | 20080603 | |
| 13 | Static method | Private | Method | Loads object from database | 20080428 | |
| 14 | Static method | Public | Method | Cancels (items of) an existing PAR | 20080428 | |
| 15 | Static method | Public | Method | Creates a PAR object | 20080425 | |
| 16 | Static method | Public | Method | Pass Delta from items which where canceld in this LUW | 20080804 | |
| 17 | Static method | Public | Method | Reads all data from a PAR | 20080425 | |
| 18 | Instance method | Protected | Method | Instance: pass Delta from i. which where canceld in this LUW | 20080804 | |
| 19 | Static method | Public | Method | Delete persisten enquue entries form ATP check (ATP+QUOT) | 20080505 | |
| 20 | Static method | Public | Method | Sets new external item IDs | 20080430 | |
| 21 | Instance method | Public | Method | Sets user name of person responsible for the DB-change | 20080428 | |
| 22 | Instance method | Private | Method | triggers a write action on commit | 20080429 | |
| 23 | Instance method | Protected | Method | verifies internal and external consistency of items | 20080430 | |
| 24 | 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 | 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 | CS_ATPCA | Call by reference | Type reference (TYPE) | ATPCA | ATP Controller: Control Parameters | 20080430 | |||
| 2 | CT_ATPALL | Call by reference | Type reference (TYPE) | TBL_ATPALL | Table: ATP Server: Product Allocation Data | 20080509 | |||
| 3 | CT_ATPCS | Call by reference | Type reference (TYPE) | TBL_ATPCS | ATP: table of requirements | 20080430 | |||
| 4 | CT_ATPFIELD | Call by reference | Type reference (TYPE) | TBL_ATPFIELD | Product Allocation: Characteristic Catalog | 20080509 | |||
| 5 | CT_ATPRE | Call by reference | Type reference (TYPE) | TBL_ATPRE | Table: ATP: Data for Reference Relationships | 20080509 | |||
| 6 | CT_ATPSDU | Call by reference | Type reference (TYPE) | TBL_ATPSDU | Table: ATP: Scheduling Durations | 20080509 | |||
| 7 | CT_ATPSOP | Call by reference | Type reference (TYPE) | TBL_ATPSOP | Table: ATP: Options for Shipment Scheduling | 20080509 | |||
| 8 | CT_ATPSSP | Call by reference | Type reference (TYPE) | TBL_ATPSSP | Table: ATP: Scheduling: Goods Rcpt View of Customer Master | 20080509 | |||
| 9 | CT_ATPTERM | Call by reference | Type reference (TYPE) | TBL_ATPTERM | Table: Dates/Times: Transportation and Shipment Scheduling | 20080430 | |||
| 10 | CT_MDVE | Call by reference | Type reference (TYPE) | TBL_MDVE | Table: Result of Availability Check | 20080430 | |||
| 11 | CV_ERROR | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20080430 | |||
| 12 | IV_SCHEDSH | Call by reference | Type reference (TYPE) | VSTRM | Activate delivery scheduling | 20080430 | |||
| 13 | IV_SCHEDTR | Call by reference | Type reference (TYPE) | TRTRM | Activate transportation scheduling | 20080430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IS_DELTA_FREE | Call by reference | Type reference (TYPE) | ATP_PAR_DELTA_FREE | ATP: Free Delta for | 20080806 | |||
| 2 | IT_ITEMS | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM_ID | Table of ProductAvailabilityRequirementItemID | 20080429 | |||
| 3 | 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 | IS_PAR_HEAD | Value transfer | Type reference (TYPE) | ATP_PAR_HEAD | Header of buffer for Product Availability Requirement | 20080425 | |||
| 2 | IT_PAR_ATPTERM | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ATPTERM | Table:Shipping and Transp. Sched. Dates/Times, w. Posguid | 20080508 | |||
| 3 | IT_PAR_ITEM | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM | Standard table of ProductAvailabilityRequirementItem | 20080425 | |||
| 4 | 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 | IV_PAR_ID | Value transfer | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080425 | |||
| 2 | IV_TRGUID | Value transfer | Type reference (TYPE) | APOTRGUID | ATP: Unique ID for relevant transaction in APO server | 20080425 | |||
| 3 | RO_PAR | Value transfer | Object reference (TYPE REF TO) | CL_ATP_PAR | ProductAvailabilityRequirement | 20080425 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Duplicate Key | 20080425 |
Method CREATE_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ATPCS | Call by reference | Type reference (TYPE) | TBL_ATPCS | ATP: table of requirements | 20080430 | |||
| 2 | IT_ATPTERM | Call by reference | Type reference (TYPE) | TBL_ATPTERM | Table: Dates/Times: Transportation and Shipment Scheduling | 20080508 | |||
| 3 | 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 | 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 | IT_ITEMS_TO_DELETE | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM | Standard table of ProductAvailabilityRequirementItem | 20080807 | |||
| 2 | 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 | IV_PAR_ID | Call by reference | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080428 | |||
| 2 | IV_TRGUID | Call by reference | Type reference (TYPE) | APOTRGUID | ATP: Unique ID for relevant transaction in APO server | 20080428 | |||
| 3 | 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 | IV_PAR_ID | Value transfer | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080425 | |||
| 2 | IV_RETURN_CANCELED_PAR | Value transfer | Type reference (TYPE) | FLAG | Return canceled PAR | 20080804 | |||
| 3 | IV_TRGUID | Value transfer | Type reference (TYPE) | APOTRGUID | ATP: Unique ID for relevant transaction in APO server | 20080425 | |||
| 4 | RO_PAR | Value transfer | Object reference (TYPE REF TO) | CL_ATP_PAR | ProductAvailabilityRequirement | 20080425 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PAR is missing | 20080428 |
Method ITEMS_EXPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LATP_ITEM | Call by reference | Type reference (TYPE) | TBL_LATP_ITEM | Table: Item Readable and with Item Indicator and Transaction | 20080604 | |||
| 2 | EV_COUNT_ALL | Call by reference | Type reference (TYPE) | I | Count of Allocation Lines | 20080603 | |||
| 3 | IT_ATPCS | Call by reference | Type reference (TYPE) | TBL_ATPCS | ATP: table of requirements | 20080603 | |||
| 4 | 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 | IV_PAR_ID | Call by reference | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080428 | |||
| 2 | IV_TRGUID | Call by reference | Type reference (TYPE) | APOTRGUID | ATP: Unique ID for relevant transaction in APO server | 20080428 | |||
| 3 | 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 | IS_DELTA_FREE | Call by reference | Type reference (TYPE) | ATP_PAR_DELTA_FREE | ATP: Free Delta for | 20080806 | |||
| 2 | IT_ITEMS | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM_ID | Table of ProductAvailabilityRequirementItemID | 20080428 | |||
| 3 | IV_CHANGER | Value transfer | Type reference (TYPE) | SYUNAME | User Name | 20080428 | |||
| 4 | IV_DELETE_ITEMS | Call by reference | Type reference (TYPE) | FLAG | Additional action - delete Items | 20080806 | |||
| 5 | IV_PAR_ID | Value transfer | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080428 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PAR is missing | 20080430 |
Method PAR_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PAR_ID | Call by reference | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080425 | |||
| 2 | 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 | 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 | IS_DELTA_FREE | Call by reference | Type reference (TYPE) | ATP_PAR_DELTA_FREE | ATP: Free Delta for | 20080806 | |||
| 2 | IT_ITEMS | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM_ID | Table of ProductAvailabilityRequirementItemID | 20080804 | |||
| 3 | IV_PAR_ID | Value transfer | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080804 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PAR is missing | 20080804 |
Method PAR_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PAR_HEAD | Value transfer | Type reference (TYPE) | ATP_PAR_HEAD | Header of buffer for Product Availability Requirement | 20080425 | |||
| 2 | ET_PAR_ATPTERM | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ATPTERM | Table:Shipping and Transp. Sched. Dates/Times, w. Posguid | 20080521 | |||
| 3 | ET_PAR_ITEM | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM | Standard table of ProductAvailabilityRequirementItem | 20080425 | |||
| 4 | ET_PAR_MDVE | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_MDVE | Table: Availability check result, with posguid | 20080521 | |||
| 5 | IV_PAR_ID | Call by reference | Type reference (TYPE) | PAR_ID | ProductAvailabilityRequirement ID for Nummber Range Object | 20080425 | |||
| 6 | 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 | PAR is missing | 20080430 |
Method PASS_ITEM_DELTA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DELTA_FREE | Call by reference | Type reference (TYPE) | ATP_PAR_DELTA_FREE | ATP: Free Delta for | 20080806 | |||
| 2 | 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 | IS_DELTA_FREE | Call by reference | Type reference (TYPE) | ATP_PAR_DELTA_FREE | ATP: Free Delta for | 20080806 | |||
| 2 | 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 | IS_PAR_ITEM | Call by reference | Type reference (TYPE) | ATP_PAR_ITEM_EXT_ID | External IDs of ProductAvailabilityRequirement items | 20080430 | |||
| 2 | IT_PAR_ITEM | Call by reference | Type reference (TYPE) | TBL_ATP_PAR_ITEM_EXT_ID | Table of external IDs for Par Item | 20080430 | |||
| 3 | IV_TRGUID | Value transfer | Type reference (TYPE) | APOTRGUID | ATP: Unique ID for relevant transaction in APO server | 20080430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Element is missing | 20080430 |
Method SET_RESPONSIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | CT_ATPCS | Call by reference | Type reference (TYPE) | TBL_ATPCS | ATP: table of requirements | 20080430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 |