SAP ABAP Class /AIN/CL_CTX_INIT (Initialize activity context Activity)
Hierarchy
☛
AIN (Software Component) AIN 710: Add-On Installation
⤷
AIE-AII (Application Component) Infrastructure
⤷
/AIN/ACTIVITIES (Package) Auto-ID Activities
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /AIN/CL_BASIC_ACTIVITY | Root of all activity classes | 20060815 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /AIN/IF_ACTIVITY | Activity interface | 20060815 |
Properties
| Class | /AIN/CL_CTX_INIT | |
| Short Description | Initialize activity context Activity | |
| Super Class | /AIN/CL_BASIC_ACTIVITY | Root of all activity classes |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /AIN/ACTIVITIES | Auto-ID Activities |
| Created | 20060815 | SAP |
| Last change | 20141109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /AIN/CL_CTX_INIT has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /AIN/IF_ACTIVITY | Activity interface | 20060815 |
Friends
Class /AIN/CL_CTX_INIT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | 'ALWAYS' | Activity Parameter Name | 20130920 | ||
| 2 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | 'CONV_DOCITEM_ID_TO_GUID' | Activity Parameter Name | 20130920 | ||
| 3 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | 'DEFAULT_DOC_TYPE' | Activity Parameter Name | 20070216 | ||
| 4 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | 'DOCUMENT_INPUT' | Activity Parameter Name | 20130920 | ||
| 5 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | '1' | Activity Parameter Name | 20130920 | ||
| 6 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | ' ' | Activity Parameter Name | 20130920 | ||
| 7 | Constant | Private | Type reference (TYPE) | /AIN/ACTIVITY_PARAM_NAME | 'UNDO' | Activity Parameter Name | 20061003 | ||
| 8 | Static Attribute | Private | Object reference (TYPE REF TO) | /AIN/IF_EX_ACTVT000004 | Business add-in interface /AIN/IF_EX_ACTVT000004 | 20070301 | |||
| 9 | Instance attribute | Private | See coding | Table with untagged objs already added to activity contex | 20060925 | ||||
| 10 | Instance attribute | Private | See coding | Table with untagged child objects that already exist | 20060925 | ||||
| 11 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Flag whether Version BAdI is active | 20070301 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Flag whether Version BAdI has been checked | 20070301 | |||
| 13 | Instance attribute | Private | See coding | 20060917 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check untagged object | 20060926 | |
| 2 | Instance method | Private | Method | Convert doc item ID to doc item GUID in the context | 20130916 | |
| 3 | Instance method | Private | Method | Retrieve device group and device data | 20060819 | |
| 4 | Instance method | Private | Method | Retrieve document data | 20060819 | |
| 5 | Instance method | Private | Method | Retrieve document item data (ID and GUID) | 20130916 | |
| 6 | Instance method | Private | Method | Retrieve object internal ID and data | 20060818 | |
| 7 | Instance method | Private | Method | Retrieve untagged child objects | 20060923 | |
| 8 | Instance method | Private | Method | Process complete message | 20070202 | |
| 9 | Instance method | Private | Method | Process event message | 20060815 | |
| 10 | Instance method | Private | Method | Process mobile message | 20060815 |
Events
Class /AIN/CL_CTX_INIT has no event.
Types
Class /AIN/CL_CTX_INIT has no local type.
Method Signatures
Method CHECK_UNTAGGED_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_EPC | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_CTX_EPC_STR | Activity Context EPC list | 20060926 | |||
| 2 | EV_ADD_TO_CONTEXT | Call by reference | Type reference (TYPE) | BOOLE_D | Flag to indicate whether to add to context | 20060926 | |||
| 3 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20061003 | |||
| 4 | IT_TAGFLD | Call by reference | Type reference (TYPE) | /AIN/PUB_TAGFLD_TAB | Tag field name / value | 20060926 |
Method CHECK_UNTAGGED_OBJECT on class /AIN/CL_CTX_INIT has no exception.
Method CONVERT_DOC_ITM_ID_TO_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CONTEXT | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_CONTEXT_STR | Activity Context | 20130916 | |||
| 2 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20130919 | |||
| 3 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20130919 | |||
| 4 | IV_CONVERT_FLAG | Call by reference | Type reference (TYPE) | XFELD | Reaction if no match with document | 20130920 |
Method CONVERT_DOC_ITM_ID_TO_GUID on class /AIN/CL_CTX_INIT has no exception.
Method GET_DEVICE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEVGRP_INTID | Call by reference | Type reference (TYPE) | /AIN/PUB_DEVGRP_INTID | Device Group Internal ID | 20060819 | |||
| 2 | EV_DEV_INTID | Call by reference | Type reference (TYPE) | /AIN/DM_DEV_GUID | Device GUID | 20060819 | |||
| 3 | EV_ID_VERSION | Call by reference | Type reference (TYPE) | /AIN/PUB_ID_VERSION | ID Version | 20060821 | |||
| 4 | EV_LOC_INTID | Call by reference | Type reference (TYPE) | /AIN/PUB_LOC_INTID | Location internal ID | 20060819 | |||
| 5 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060819 | |||
| 6 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060819 | |||
| 7 | IV_DEVGRP_EXTID | Call by reference | Type reference (TYPE) | /AIN/PUB_DEVGRP_EXTID | Device group external ID | 20060819 | |||
| 8 | IV_DEV_EXTID | Call by reference | Type reference (TYPE) | /AIN/DM_DEV_ID | Device ID | 20060819 |
Method GET_DEVICE_DATA on class /AIN/CL_CTX_INIT has no exception.
Method GET_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_BTD_EXTID | Call by reference | Type reference (TYPE) | /AIN/PUB_BTD_EXTID | 20090528 | ||||
| 2 | EV_BTD_INTID | Call by reference | Type reference (TYPE) | /AIN/PUB_BTD_INTID | Business Transaction Document Internal ID | 20060819 | |||
| 3 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060819 | |||
| 4 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060819 | |||
| 5 | IV_BTD_TYPE | Call by reference | Type reference (TYPE) | /AIN/PUB_BTD_TYPE | Business Transaction Document Type | 20060819 |
Method GET_DOCUMENT on class /AIN/CL_CTX_INIT has no exception.
Method GET_DOCUMENT_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DOC_ITEM_CONVERSION | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_ITM_ID_GUID_TAB | Table for Document Item ID and Document Item GUID | 20130916 | |||
| 2 | EV_DOC_ID | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_ID | Document ID | 20130920 | |||
| 3 | EV_DOC_TYPE | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_TYPE | Document Type | 20130920 | |||
| 4 | IV_DOC_GUID | Call by reference | Type reference (TYPE) | /AIN/DM_DOC_GUID | Document GUID | 20130916 |
Method GET_DOCUMENT_ITEMS on class /AIN/CL_CTX_INIT has no exception.
Method GET_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_POBJ_HEADER | Call by reference | Type reference (TYPE) | /AIN/PUB_POBJ_HEADER_TAB | Physical Object Header | 20060818 | |||
| 2 | ET_POBJ_ID | Call by reference | Type reference (TYPE) | /AIN/PUB_POBJ_ID_TAB | Physical Object External ID | 20060821 | |||
| 3 | ET_POBJ_LINK | Call by reference | Type reference (TYPE) | /AIN/PUB_POBJ_EXTID_LINK_TAB | Link of Physical Object Internal and external IDs | 20060818 | |||
| 4 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060818 | |||
| 5 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060818 | |||
| 6 | IT_ID | Call by reference | Type reference (TYPE) | /AIN/PUB_ID_TAB | IDs | 20060917 |
Method GET_OBJECTS on class /AIN/CL_CTX_INIT has no exception.
Method GET_UNTAGGED_CHILD_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060923 | |||
| 2 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060923 | |||
| 3 | IV_POBJ_INTID | Call by reference | Type reference (TYPE) | /AIN/PUB_POBJ_INTID | Physical Object Internal ID | 20060923 | |||
| 4 | IV_PRT_EPC | Call by reference | Type reference (TYPE) | /AIN/PUB_ID | ID | 20060925 | |||
| 5 | IV_PRT_EPC_VERSION | Call by reference | Type reference (TYPE) | /AIN/PUB_ID_VERSION | ID Version | 20060925 |
Method GET_UNTAGGED_CHILD_OBJECTS on class /AIN/CL_CTX_INIT has no exception.
Method PROCESS_MSG_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CONTEXT | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_CONTEXT_STR | Activity Context | 20070202 | |||
| 2 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20070202 | |||
| 3 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20070202 | |||
| 4 | IP_MSG | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_MSG_COMPLETE_STR | Complete (document) message structure | 20070202 |
Method PROCESS_MSG_COMPLETE on class /AIN/CL_CTX_INIT has no exception.
Method PROCESS_MSG_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CONTEXT | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_CONTEXT_STR | Activity Context | 20060815 | |||
| 2 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060815 | |||
| 3 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060815 | |||
| 4 | IP_MSG | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_MSG_SENSOR_STR | Sensor message | 20060815 | |||
| 5 | IV_BTD_TYPE | Call by reference | Type reference (TYPE) | /AIN/PUB_BTD_TYPE | Business Transaction Document Type | 20070216 |
Method PROCESS_MSG_EVENT on class /AIN/CL_CTX_INIT has no exception.
Method PROCESS_MSG_MOBILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CONTEXT | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_CONTEXT_STR | Activity Context | 20060815 | |||
| 2 | EV_STATUS | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_STATUS | Activity Return Status | 20060815 | |||
| 3 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20060815 | |||
| 4 | IP_MSG | Call by reference | Type reference (TYPE) | /AIN/ACTIVITY_MSG_MOBILE_STR | Mobile message structure | 20060815 | |||
| 5 | IV_BTD_TYPE | Call by reference | Type reference (TYPE) | /AIN/PUB_BTD_TYPE | Business Transaction Document Type | 20070216 |
Method PROCESS_MSG_MOBILE on class /AIN/CL_CTX_INIT has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 600 |