SAP ABAP Class CL_ESH_APPCON (Execute appliancecontrol OS Commands)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_TOOLS (Package) Tools for BOS
⤷
⤷
Properties
| Class | CL_ESH_APPCON | |
| Short Description | Execute appliancecontrol OS Commands | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_TOOLS | Tools for BOS |
| Created | 20090616 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ESH_APPCON has no forward declaration.
Interfaces
Class CL_ESH_APPCON has no interface implemented.
Friends
Class CL_ESH_APPCON has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SXPGLOGCMD | 'ZAPPCON' | appliancecontrol command | 20090616 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'sudo' | appliancecontrol OS command | 20090616 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | ' /usr/bin/appliancecontrol' | Parameters for appcon command | 20090616 | ||
| 4 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'version' | Parameters of external program (string) | 20100421 | ||
| 5 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'get-ips-for-proxy-exclusion-list' | Parameters of external program (string) | 20100421 | ||
| 6 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'get-private-domain-by-etc-hosts' | Parameters of external program (string) | 20100421 | ||
| 7 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'get-bladecenter-memory' | Parameters of external program (string) | 20090616 | ||
| 8 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'get-trex-master-blade' | Parameters of external program (string) | 20090616 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'hostname' | Physical host name | 20090616 | ||
| 10 | Constant | Public | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | 'setup-security-limits-all' | Parameters of external program (string) | 20100819 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'virtualhostname' | Virtual host name | 20090616 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Create appcon command in SM49 | 20090616 | |
| 2 | Static method | Public | Method | Execute appliance control comman | 20090616 | |
| 3 | Static method | Public | Method | Get ATK version | 20100421 | |
| 4 | Static method | Public | Method | Get IPs for proxy exclusion list | 20100413 | |
| 5 | Static method | Protected | Method | Get numeric version | 20100421 | |
| 6 | Static method | Public | Method | Get private domain | 20100413 | |
| 7 | Static method | Public | Method | Get total memory of whole blade center | 20090616 | |
| 8 | Static method | Public | Method | Get host name of TREX master instance | 20090616 | |
| 9 | Static method | Protected | Method | Check whether appcon command existsin SM49 | 20090616 | |
| 10 | Static method | Protected | Method | Remove blank lines | 20100330 | |
| 11 | Static method | Public | Method | Set up /etc/security/limits.conf | 20100819 |
Events
Class CL_ESH_APPCON has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_IP | Public | See coding | 20100413 | tt_ip TYPE STANDARD TABLE OF string
|
||
| 2 | TT_PROT | Public | See coding | 20090616 | tt_prot TYPE STANDARD TABLE OF btcxpm
|
Method Signatures
Method CREATE_APPCON_COMMAND Signature
Method CREATE_APPCON_COMMAND on class CL_ESH_APPCON has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20090616 |
Method EXECUTE_APPCON_COMMAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROT | Call by reference | Type reference (TYPE) | TT_PROT | Stdout of OS command | 20090616 | |||
| 2 | EV_EXITCODE | Call by reference | Type reference (TYPE) | EXTCMDEXEX-EXITCODE | Exit code of an external program | 20090616 | |||
| 3 | EV_STATUS | Call by reference | Type reference (TYPE) | EXTCMDEXEX-STATUS | Start or exit status of an external program | 20090616 | |||
| 4 | IV_PARAMETERS_STRING | Call by reference | Type reference (TYPE) | SXPGCOLIST-PARAMETERS | Parameters of external program (string) | 20090616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20090616 |
Method GET_ATK_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VERSION | Value transfer | Type reference (TYPE) | I | 20100421 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20100421 |
Method GET_IPS_FOR_PROXY_EXLUSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_IPS | Call by reference | Type reference (TYPE) | TT_IP | 20100413 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20100413 |
Method GET_NUMERIC_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VERSION | Call by reference | Type reference (TYPE) | STRING | Version as a string | 20100421 | |||
| 2 | RV_VERSION | Value transfer | Type reference (TYPE) | I | Version as integer | 20100421 |
Method GET_NUMERIC_VERSION on class CL_ESH_APPCON has no exception.
Method GET_PRIVATE_DOMAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DOMAIN | Call by reference | Type reference (TYPE) | STRING | 20100413 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20100413 |
Method GET_TOTAL_MEMORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MEMORY | Value transfer | Type reference (TYPE) | STRING | Total memory in GB | 20090616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20090616 |
Method GET_TREX_MASTER_HOSTNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HOSTNAME | Call by reference | Type reference (TYPE) | STRING | physical hostname | 20090616 | |||
| 2 | EV_VIRTUALHOSTNAME | Call by reference | Type reference (TYPE) | STRING | virtual hostname | 20090616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20090616 |
Method IS_APPCON_COMMAND_EXISTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FLG_EXISTS | Value transfer | Type reference (TYPE) | FLAG | 'X' if appcon does exists | 20090616 |
Method IS_APPCON_COMMAND_EXISTING on class CL_ESH_APPCON has no exception.
Method REMOVE_BLANK_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PROT | Call by reference | Type reference (TYPE) | TT_PROT | 20100330 |
Method REMOVE_BLANK_LINES on class CL_ESH_APPCON has no exception.
Method SETUP_SECURITY_LIMITS Signature
Method SETUP_SECURITY_LIMITS on class CL_ESH_APPCON has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Appliancecontrol errors | 20100819 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |