PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

abap-tvarvc

A helper class for reading TVARVC parameters and select-options from ABAP, with one method for a single parameter and two for select-options, raising zcx_core_tvarvc when a read fails.

A configuration value lives as a pair entry maintained in STVARV, and reading it back means picking the right access and building the select-options structure each time. zcl_core_tvarvc, behind the interface zif_core_tvarvc, wraps that in three methods: read_parameter for a single value typed rsparam, read_select_options for one parameter whose values are split by a separator, and read_select_options_tab for a table of select-options rows, the last two typed rsparam_tt. Each has its own test program named in the documentation, and a read that fails raises zcx_core_tvarvc, which carries raise_message.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
ConfigurationABAPConfigurationcapabilityPer-environment settings without per-environment code — profiles, layered configuration, and bindings resolved from the platform at start-up.

Who is behind it

raketenstart-abapraketenstart-abapOrganisationMaintains this
In the atlas: maintains 2
@raketenstart-abap
maintainerArthur SilvaPersonContributes to this
In the atlas: contributes to 2
@oarthursilva
1 contributor

Before choosing this

Signals

ActivityQuietNo published releases; repository quiet for 33 months

It publishes no releases, and its repository has been quiet for at least 24 full months. This may be normal for stable software; check whether its current state still fits your use.

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
Inside its host
Distributed through
does not say

Connections1

README

quoted from raketenstart-abap/abap-tvarvc under MIT, read
raketenstart-abap/abap-tvarvc/README.mdOn GitHub

abap-tvarvc

A TVARVC helper class that makes easy and unique the process of selecting configuration data from database.

  • traceability
  • straightforward approach
  • easy to use

Diagram

Instantiating

  • create an pair value entry on STVARV;
  • create a variable containing the key name;
  • use snippet below to instantiate the TVARVC Helper.
DATA go_tvarvc TYPE REF TO zif_core_tvarvc.
DATA gx_tvarvc TYPE REF TO zcx_core_tvarvc.

CONSTANTS gc_tvarvc_entry TYPE string VALUE 'Z_TEST_TVARVC_SELECT_OPTIONS'.

CREATE OBJECT go_tvarvc TYPE zcl_core_tvarvc.

TRY.
    gt_tvarvc = go_tvarvc->read_select_options( gc_tvarvc_entry ).

  CATCH zcx_core_tvarvc INTO gx_tvarvc.
    gx_tvarvc->raise_message( ).
ENDTRY.

Examples and documentation

Main class is ZCL_CORE_TVARVC.

Find methods of TVARVC Helper below aside of its documentation.

read_parameter

Read a single parameter. Value is returned into a flat structure type of rsparam_tt.

  • input:
    • iv_name TYPE (string)
  • result: TYPE rsparam

Example: Z_TEST_TVARVC_PARAMETER.

See source code here.

read_select_options

Read a single parameter with values splitted by a separator. Values are returned into a internal table type of rsparam_tt.

  • input:
    • iv_name TYPE (string)
    • iv_separator TYPE (string)
  • result: TYPE rsparam_tt

Example: Z_TEST_TVARVC_SELECT_OPTIONS.

See source code here.

read_select_options_tab

Read a select options values. Values are returned into a internal table type of rsparam_tt.

  • input:
    • iv_name TYPE (string)
  • result: TYPE rsparam_tt

Example: Z_TEST_TVARVC_SELECT_OPTIONS_T.

See source code here.

MIT, read
Configuration
  1. config-managementTheme, CSS and CSP settings of abap2UI5 pages kept in tablesfrom ABAP
  2. abaKLibrary for managing ABAP constants from registered sourcesfrom ABAP
  3. aqoABAP application options as a structure with a generated editorfrom ABAP
  4. com.sap.cds:cds-feature-cloudfoundryReads bound service credentials on SAP BTP, Cloud Foundry for CAP Javafrom CAP
  5. com.sap.cds:cds-feature-k8sReads SAP BTP Operator service bindings on Kyma for CAP Javafrom CAP
  6. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  7. abap-dynamic-assignmentFramework for runtime parameters, ranges and value mappings in ABAPfrom ABAP
  8. abap-gencustGeneric customizing table and reader for ad hoc ABAP parametersfrom ABAP
  9. @sap/cdsCAP Node.js runtimefrom CAP

Details

Sources3
dotabapdiscovered herechecked
github.com/raketenstart-abap/abap-tvarvctree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viadotabap
first seen in the atlas
ecosystem and domainabap, operations-and-runtime
abaplint
issues under its own abaplint configuration124
lines394
statements206
objects12
files16
analysed, master
abaplint version2.120.84
Contributors1

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:raketenstart-abap-abap-tvarvc
JSON
/artifacts/raketenstart-abap-abap-tvarvc.json
MCP
Connecting an agent