CAPA

Charge Plans, Refill Plans, and Allowance Plans (Master Data)

Definition


The CAPA table contains the basic definition of the logic plans (charge plans, refill plans, and allowance plans) stored in the pricing catalog of a service provider

Description


The CAPA table contains the basic definition of the charge plans, refill plans, and allowance plans stored in the pricing catalog of a service provider.

These definitions are completed with information stored in the CAPA_xx database tables (CAPA_COUNTER, CAPA_ACCOUNT_ASSIGNMENT, ...) and in the database tables dedicated to the items of these plans (see the CAPI table).

Note

For compatibility reasons, the technical name (CAPA) of this database table remains unchanged even if the table concerns the refill plans and allowance plans configured in the SAP CC system.

Technical Data


Schema Version 2025.0.0
Tablespace CATALOG_DATA
Partitioned No

Summary


The CAPA table is defined by the following columns in your back-end database. See the column details for more information.

Name PK FK IX Uses Used by Definition
OID PK_CAPA       

The unique identifier of the plan. It is generated by the SAP CC system.
CLIENT_NUMBER     IX_CAPA_OWNERIX_CAPA_EXT_ID   

    The client number associated to the plan
    EXT_ID     IX_CAPA_EXT_ID   

    The external identifier of the plan, corresponding to the name of the plan in the SAP CC Core Tool user interface
    TYPE        

      The type of the plan

      More...

      OWNER     IX_CAPA_OWNER   

        The owner of the plan: the service provider and its pricing catalog
        STATUS        

          The status of the plan

          More...

          ATTRIBUTES        

            The attributes which qualify the plan (a set of binary flags).

            More...

            DESCRIPTION        

              The description of the plan

              Column Details

              The database schema defines the following columns. Check the definitions, types, available indexes, and formats:

              OID

              Definition The unique identifier of the plan. It is generated by the SAP CC system.
              Type DECIMAL(28), NOT NULL
              Primary Key PK_CAPA

              CLIENT_NUMBER

              Definition The client number associated to the plan
              Type DECIMAL(3), NOT NULL
              Available Index IX_CAPA_OWNER
              Available Index IX_CAPA_EXT_ID

              EXT_ID

              Definition The external identifier of the plan, corresponding to the name of the plan in the SAP CC Core Tool user interface
              Type VARCHAR(256), NOT NULL
              Available Index IX_CAPA_EXT_ID

              TYPE

              Definition The type of the plan
              Format

              The possible values are:

              • 0: Charge plan
              • 1: Refill plan
              • 2: Allowance Plan

              Type DECIMAL(1), NOT NULL

              OWNER

              Definition The owner of the plan: the service provider and its pricing catalog
              Type VARCHAR(256), NOT NULL
              Available Index IX_CAPA_OWNER

              STATUS

              Definition The status of the plan
              Format

              The possible values are:

              • 0: open
              • 1: released
              • 2: obsolete

              Type DECIMAL(1), NOT NULL

              ATTRIBUTES

              Definition The attributes which qualify the plan (a set of binary flags).
              Description

              The attributes which qualify the plan. Example: SHAREABLE flag indicates if an allowance plan is shareable.

              Format

              This column is an unsigned short int whose each bit is attached to an existing attributes or reserved for attributes implemented later on (see the bits NOT_USED).

              If a bit is set to 1, the plan has the related attribute; otherwise, the bit is set to 0.

              Each new attribute is assigned to a bit from the LSB to the MSB.

              For now, only the LSB is used for indicating:

              • if an allowance plan is shareable
              • if a plan uses shared allowance
              • if a charge plan or an allowance plan is managed by SAP CC Cockpit
              • if a charge plan or a refill plan does not create any shared allowances

              MS Byte: [NOT_USED][NOT_USED][NOT_USED][NOT_USED][NOT_USED][NOT_USED][NOT_USED][NOT_USED]

              LS Byte: [NOT_USED][NOT_USED][NOT_USED][NOT_USED][CREATE_SHARED_ALLOWANCE_NOT_USED][MANAGED_BY_COCKPIT][USE_SHARED_ALLOWANCE][SHAREABLE]

              Type DECIMAL(4), NOT NULL
              Default 0

              DESCRIPTION

              Definition The description of the plan
              Type VARCHAR(2000), NULL

              Primary Key Details

              See the primary key information:

              PK_CAPA

              Column(s) OID
              Tablespace CATALOG_INDX

              Index Details

              The following database indexes are available in the CAPA database table to improve the speed of data retrieval operations during the business processes of SAP Convergent Charging:

              IX_CAPA_OWNER

              Indexed Column(s) CLIENT_NUMBER, OWNER
              Unique No
              Partitioned No
              Tablespace CATALOG_INDX

              IX_CAPA_EXT_ID

              Indexed Column(s) CLIENT_NUMBER, EXT_ID
              Unique No
              Partitioned No
              Tablespace CATALOG_INDX