CL_CRM_CFG_SC_TEST_DATA - Solution Configurator: provide test data

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Functionality

Information about the unit test constants we use for testing (view CRM_UNIT_CONSTS)

CL_CRM_CFG_SC_TEST_DATA-CROSS_SELL_IPC_GUID

The guid of a product with following properties:
Product is configurable. Its model contains a numericcharacteristic QUANTITY with a default value. It has a cross-selling option to another product, the quantity of this product is derived via characteristic QUANTITY.

It has an up-sell option to the product we refer to in UP_SELL_TARGET_IPC_GUID. There are three value propagations maintained:

(1) Copy Identical Characteristics

(2) The product we refer to in UP_SELL_TARGET_NEW_DEFAULT is new default in its group (per default, it is not default)

(3) A fix characteristic value we refer to in UP_SELL_TARGET_VALUEC is propagated to the characteristicUP_SELL_TARGET_CHARA of the first configurable sub product in the first group of the product we refer to in UP_SELL_TARGET_IPC_GUID

CL_CRM_CFG_SC_TEST_DATA-CROSS_SELL_IPC_QTY

The default value of characteristic QUANTITY.

CL_CRM_CFG_SC_TEST_DATA-GROUP1

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP2

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP3

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP4

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP5

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP6

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP7

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-GROUP8

A valid group, maintained in view COV_IL_GROUPS_ID

CL_CRM_CFG_SC_TEST_DATA-RP_CATEGORY

The guid of a product category that is valid for rate plans, i.e. the corresponding IL types have to be assigned and the corresponding product roles. See view CRMV_PRODROLECAT.

Also up-selling and cross-selling IL's must be assigned.

CL_CRM_CFG_SC_TEST_DATA-SALESPACK_CATEGORY

The guid of a product category that is valid for sales packages, i.e. the corresponding IL types have to be assigned and the corresponding product roles. See view CRMV_PRODROLECAT.

Also up-selling and cross-selling IL's must be assigned.

CL_CRM_CFG_SC_TEST_DATA-UP_SELL_TARGET_CHARA

See description for CROSS_SELL_IPC_GUID.

CL_CRM_CFG_SC_TEST_DATA-UP_SELL_TARGET_IPC_GUID

See description for CROSS_SELL_IPC_GUID.

CL_CRM_CFG_SC_TEST_DATA-UP_SELL_TARGET_NEW_DEFAULT

See description for CROSS_SELL_IPC_GUID.

CL_CRM_CFG_SC_TEST_DATA-UP_SELL_TARGET_VALUEC

See description for CROSS_SELL_IPC_GUID.

Information about the test models created through CL_CRM_CFG_SC_TEST_DATA

Creates test data for the Solution Configurator. Called from ABAP unit test classes.

Description of models:

SIMPLE: 5 sales components. 4 are mandatory children, one is an optional, not-selected child. All of them with different sort numbers for testing the sorting.

RPC: Rate plan combination. Two components.

RECURSIVE: One sales component. The sales component refers to the root product. The is for testing the handling of such recursions, the SC should stop after a certain number of iterations.

GROUPS: 8 sales components. The first one (SORT 10) is a mandatory instance.
The next two ones (SORT 20 and 30) are grouped into GROUP1. No instance out of this group is selected per default.
Three of the instances are grouped into GROUP2. The instance with SORT 40 is selected per default.

One group interlinkage is created in addition. On instance is assigned to this group.

GROUPS_MAND_NODE: 7 sales components. The first one (SORT 10) is a mandatory instance.
The nexttwo ones (SORT 20 and 30) are grouped into GROUP1. No instance out of this group is selected per default. No instance is optional i.e. this node should result into a mandatory group node.
Three of the instances are grouped into GROUP2. The instance with SORT 40 is selected per default.

One group interlinkage is created in addition. No instance is assigned to this group.

PREREQ: Three sales components on the first level. One is an optional but per default selected children,the second has the first as prerequisite. The third has a non-existing product as prerequisite.
The first child also has one sales component which is a mandatory child.

IL_COND: Three dependent components. The first one is valid only to 01/01/2006, the second one valid only for process type ISTC.

CONFIG: In total four sub-items. One is the IDES configurable 898. This has 899 as sub-item via an ILof type dependent component. Two rules for value propagation are maintained, one that will fail and one that will succeed.

Another child has product 899 as prerequisite. 899 is as well IPC sub-item of 898.

CONFIG_2: We use this for calculating the quantity from a characteristic value

Relationships

Example

Notes

Further information



BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.


Length: 5415 Date: 20120526 Time: 104421     triton ( 206 ms )