SAP ABAP Class /AIN/CL_UTEST_DOCUMENT (wrapper class for /AIN/DM_DOC_STR)
Hierarchy
☛
AIN (Software Component) AIN 710: Add-On Installation
⤷
AIE-AII (Application Component) Infrastructure
⤷
/AIN/DM (Package) Auto-ID Data Management
⤷
⤷
Properties
| Class | /AIN/CL_UTEST_DOCUMENT | |
| Short Description | wrapper class for /AIN/DM_DOC_STR | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /AIN/DM | Auto-ID Data Management |
| Created | 20060118 | SAP |
| Last change | 20141109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class /AIN/CL_UTEST_DOCUMENT has no interface implemented.
Friends
Class /AIN/CL_UTEST_DOCUMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | /AIN/CL_UTEST_MASTER_DATA | service class, crts and prvds AII master data for unit tests | 20060118 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /AIN/DM_DOC_STR | Document | 20060118 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | CL_AII_ACTION_TAB | 20060118 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | CL_AII_ACTION_OBJECT_TAB | 20060118 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | /AIN/DM_DOC_ITM_TAB | Document-item table | 20060118 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | /AIN/DM_DOC_OBJ_TAB | Document-object table | 20060118 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CL_AII_OBJECT_TAB | 20060118 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | /AIN/DM_ITM_ID | Item ID | 20060118 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | N | 20060118 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | ' ' | indicates if method 'write' has already been called | 20060118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | adds a new document item | 20060118 | |
| 2 | Instance method | Public | Method | adds a document item and document objects | 20060118 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20060118 | |
| 4 | Instance method | Private | Method | 20060118 | ||
| 5 | Instance method | Private | Method | 20060118 | ||
| 6 | Instance method | Private | Method | if an action is supplied, the created object is observed | 20060118 | |
| 7 | Instance method | Public | Method | 20060118 | ||
| 8 | Instance method | Public | Method | 20060118 | ||
| 9 | Instance method | Public | Method | 20060118 | ||
| 10 | Instance method | Public | Method | 20060118 | ||
| 11 | Instance method | Public | Method | 20060118 | ||
| 12 | Instance method | Public | Method | writes document to the database. | 20060118 |
Events
Class /AIN/CL_UTEST_DOCUMENT has no event.
Types
Class /AIN/CL_UTEST_DOCUMENT has no local type.
Method Signatures
Method ADD_DOCUMENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PRODUCT | Call by reference | Type reference (TYPE) | /AIN/DM_PROD_STR | Product | 20060118 | |||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | /AIN/DM_EXP_QUANTITY | Expected Quantity | 20060118 | |||
| 3 | IV_UOM | Call by reference | Type reference (TYPE) | COMT_UNIT | 'EA' | Units of Measure for the Product | 20060118 |
Method ADD_DOCUMENT_ITEM on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method ADD_DOCUMENT_ITEM_AND_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PRODUCT | Call by reference | Type reference (TYPE) | /AIN/DM_PROD_STR | Product | 20060118 | |||
| 2 | IV_ACT | Call by reference | Type reference (TYPE) | /AIN/DM_ACT_QUANTITY | Actual quantity | 20060118 | |||
| 3 | IV_EXP | Call by reference | Type reference (TYPE) | /AIN/DM_EXP_QUANTITY | Expected Quantity | 20060118 | |||
| 4 | IV_PRODUCT_FLAG | Call by reference | Type reference (TYPE) | N | 1 | If 2 line item required then give value 2 | 20060922 | ||
| 5 | IV_UOM | Call by reference | Type reference (TYPE) | COMT_UNIT | 'EA' | Units of Measure for the Product | 20060118 |
Method ADD_DOCUMENT_ITEM_AND_OBJECT on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MASTER_DATA | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_UTEST_MASTER_DATA | service class, crts and prvds AII master data for unit tests | 20060118 | |||
| 2 | IV_ACTION_TYPE | Call by reference | Type reference (TYPE) | /AIN/DM_ACTION_TYPE | Action Type | 20060118 | |||
| 3 | IV_DOC_STATUS | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_STATUS | /AIN/CL_C=>DOC_STATUS_NEW | Document Status | 20060118 | ||
| 4 | IV_DOC_TYPE | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_TYPE | '01' | Document Type | 20060118 |
Method CONSTRUCTOR on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method CREATE_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DOC | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_STR | Document | 20060118 |
Method CREATE_DOCUMENT on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method CREATE_DOCUMENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID | Call by reference | Type reference (TYPE) | /AIN/DM_ITM_GUID | Document Object Item GUID | 20060118 | |||
| 2 | IS_PRODUCT | Call by reference | Type reference (TYPE) | /AIN/DM_PROD_STR | Product | 20060118 | |||
| 3 | IV_ACT | Call by reference | Type reference (TYPE) | /AIN/DM_ACT_QUANTITY | Actual Quantity | 20060118 | |||
| 4 | IV_EXP | Call by reference | Type reference (TYPE) | /AIN/DM_EXP_QUANTITY | Expected Quantity | 20060118 | |||
| 5 | IV_UOM | Call by reference | Type reference (TYPE) | COMT_UNIT | Units of Measure for the Product | 20060118 |
Method CREATE_DOCUMENT_ITEM on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method CREATE_DOCUMENT_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ACTION | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_UTEST_ACTION | wrapper class for /AIN/DM_ACTION_STR | 20060118 | |||
| 2 | IS_PRODUCT | Call by reference | Type reference (TYPE) | /AIN/DM_PROD_STR | Product | 20060118 | |||
| 3 | IV_DOC_ITM_ID | Call by reference | Type reference (TYPE) | /AIN/DM_DOITM_GUID | Document Object Item GUID | 20060118 | |||
| 4 | IV_UOM | Call by reference | Type reference (TYPE) | COMT_UNIT | 'EA' | Units of Measure for the Product | 20060118 |
Method CREATE_DOCUMENT_OBJECT on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method GET_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_GUID | Value transfer | Type reference (TYPE) | /AIN/DM_DOC_GUID | Document GUID | 20060118 |
Method GET_GUID on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method GET_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LS_DOC | Value transfer | Type reference (TYPE) | /AIN/DM_DOC_STR | Document | 20060118 |
Method GET_STRUCTURE on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method SET_ACTION_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTION_TYPE | Call by reference | Type reference (TYPE) | /AIN/DM_ACTION_TYPE | Action Type | 20060118 |
Method SET_ACTION_TYPE on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method SET_DOC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DOC_TYPE | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_TYPE | Document Type | 20060118 |
Method SET_DOC_TYPE on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method SET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STATUS | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_STATUS | Document Status | 20060118 |
Method SET_STATUS on class /AIN/CL_UTEST_DOCUMENT has no exception.
Method WRITE Signature
Method WRITE on class /AIN/CL_UTEST_DOCUMENT has no parameter.
Method WRITE on class /AIN/CL_UTEST_DOCUMENT has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 400 |