SAP ABAP Class CL_AMC_PATTERN_TEST (AMC pattern tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-AC (Application Component) ABAP Channels
⤷
SAMC_APPLICATION (Package) ABAP Messaging Channel Applications
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AMC_MESSAGE_RECEIVER | ABAP Messaging Channel Message Receiver | 20120418 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AMC_MESSAGE_RECEIVER_TEXT | AMC receiver for text (STRING) messages | 20120418 |
Properties
| Class | CL_AMC_PATTERN_TEST | |
| Short Description | AMC pattern tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SAMC_APPLICATION | ABAP Messaging Channel Applications |
| Created | 20120413 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_AMC_MESSAGE_RECEIVER | ABAP Messaging Channel Message Receiver | 20120418 | ||
| 2 | IF_AMC_MESSAGE_RECEIVER_TEXT | AMC receiver for text (STRING) messages | 20120418 |
Friends
Class CL_AMC_PATTERN_TEST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | AMC_CHANNEL_ID | '/event_text' | Identifier of the ABAP Messaging Channel | 20120917 | ||
| 2 | Constant | Public | Type reference (TYPE) | AMC_APPLICATION_ID | 'AMC_PATTERN_TEST' | ABAP Messaging Channel Application identifier | 20120917 | ||
| 3 | Constant | Public | Type reference (TYPE) | AMC_CHANNEL_ID | '/request_response_text' | Identifier of the ABAP Messaging Channel | 20120917 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'Event' | Pattern type Event | 20120917 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'RequestResponse' | Pattern type Event | 20120917 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'Response' | Pattern type Event | 20120917 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20120917 | ||||
| 8 | Instance attribute | Public | Type reference (TYPE) | STRING | Received text message | 20120917 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | GT_AMC_PATTERN_MESSAGE | 20120917 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Internal use only: Serlize the pattern message | 20120917 | |
| 2 | Static method | Public | Method | Internal use only: Create AMC consumer session | 20120917 | |
| 3 | Static method | Public | Method | Internal use only: Serlize the pattern message | 20120917 | |
| 4 | Static method | Public | Method | Internal use only: Create AMC consumer and receive message | 20120917 | |
| 5 | Static method | Public | Method | Internal use only: Create AMC consumer | 20120917 | |
| 6 | Static method | Public | Method | Internal use only: Create AMC consumer | 20120917 | |
| 7 | Static method | Public | Method | Internal use only: Send simple text message | 20120917 | |
| 8 | Static method | Public | Method | Internal use only: Send message with RequestResponse pattern | 20120917 | |
| 9 | Static method | Public | Method | Internal use only: Send message withResponse pattern | 20120917 | |
| 10 | Static method | Public | Method | Internal use only: Send message with Event pattern | 20120917 |
Events
Class CL_AMC_PATTERN_TEST has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GT_AMC_PATTERN_MESSAGE | Public | See coding | 20120917 | begin of gt_amc_pattern_message,
pattern type string,
message type string,
response_channel_ext_id type AMC_CHANNEL_EXTENSION_ID,
end of gt_amc_pattern_message
|
Method Signatures
Method ASSEMBLE_MESSAGE_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MESSAGE | Value transfer | Type reference (TYPE) | STRING | 20120917 | ||||
| 2 | IV_PATTERN_MESSAGE | Call by reference | Type reference (TYPE) | GT_AMC_PATTERN_MESSAGE | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method CREATE_RECEIVER_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 |
Method CREATE_RECEIVER_SESSION on class CL_AMC_PATTERN_TEST has no exception.
Method DISASSEMBLE_MESSAGE_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MESSAGE | Value transfer | Type reference (TYPE) | STRING | 20120917 | ||||
| 2 | RV_PATTERN_MESSAGE | Value transfer | Type reference (TYPE) | GT_AMC_PATTERN_MESSAGE | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method RECEIVE_SIMPLE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | MESSAGE | Value transfer | Type reference (TYPE) | STRING | 20120917 | ||||
| 4 | WAITING_TIME | Call by reference | Type reference (TYPE) | I | 30 | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method REGISTER_CHANNEL_SIMPLE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | RO_RECEIVER | Value transfer | Object reference (TYPE REF TO) | CL_AMC_PATTERN_TEST | AMC pattern tests | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method REGISTER_CHANNEL_STRUC_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | RO_RECEIVER | Value transfer | Object reference (TYPE REF TO) | CL_AMC_PATTERN_TEST | AMC pattern tests | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method SEND_SIMPLE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | IV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method SEND_STRUCTURED_REQ_RESP_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | IV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20120917 | ||||
| 4 | IV_RESPONSE_CHANNEL_EXT_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Call back response extension to the Channel Ids | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method SEND_STRUCTURED_RESPONSE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | IV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
Method SEND_STRUCTURED_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANNEL_EXTENSION_ID | Call by reference | Type reference (TYPE) | AMC_CHANNEL_EXTENSION_ID | Extension to the Channel Ids | 20120917 | |||
| 2 | IV_CHANNEL_ID | Value transfer | Type reference (TYPE) | AMC_CHANNEL_ID | Identifier of the ABAP Messaging Channel | 20120917 | |||
| 3 | IV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20120917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error handling class for ABAP Messaging Channels (AMC) | 20120917 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 805 |