Vous êtes sur la page 1sur 3

Tables in Constraints

PDF download from SAP Help Portal:


http://help.sap.com/saphelp_erp60_sp/helpdata/en/b6/63b6531de6b64ce10000000a174cb4/content.htm

Created on December 30, 2016

The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help
Portal.

Note

This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.

© 2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP
SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are
provided by SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP
Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set
forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in
Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Table of content

PUBLIC Page 1 of 3
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Table of content
1 Tables in Constraints

PUBLIC Page 2 of 3
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
1 Tables in Constraints

Purpose
You can use tables in constraints to:
Restrict the allowed values of characteristics using restrictable characteristics (see Example: Restricting a Characteristic with a Table ).
Infer values.
Enter conditions in the CONDITIONS section.
Inferring Values
You can use tables in constraints to set characteristic values, as in actions and procedures. The difference is that you can process the table in several
different directions in constraints, because you can define different value assignment alternatives.

Process flow
Configurable material BIKE has characteristics DYNAMO and HEADLAMP. The values of these 2 characteristics influence each other.
1. Choose Tools Table structure Create.
2. Create table T_LIGHT and assign your 2 characteristics to it.

All characteristics are single-value, so you use the same characteristics in the table and in the class.
The difference is that you can define several value assignment alternatives, so you can use either characteristic to infer a value from the other.

Characteristics Alternative 1 Alternative 2

HEADLAMP X

DYNAMO X

3. Choose Tools Table entries and enter the following combinations of values:
4.

HEADLAMP DYNAMO

Halogen Elektra

Lumotec Axa

FER FER dynamo

5. Create a dependency net with the following constraint:


6. OBJECTS:
BK IS_A (300)BIKE
RESTRICTIONS:
TABLE T_LIGHT
(HEADLAMP = BK.HEADLAMP,
DYNAMO = BK.DYNAMO)
INFERENCES:
BK.HEADLAMP, BK.DYNAMO
7. Allocate the dependency net to the configuration profile.

Result
As soon as you assign a value to characteristic HEADLAMP or DYNAMO, the value for the other characteristic is inferred by the table call.

PUBLIC Page 3 of 3
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Vous aimerez peut-être aussi