on 09-29-2015 4:37 PM
Hello Gurus,
I want to make the following dependency between two characteristics. The problem is that the value that will be determined will be selected from a custom table.
Example
The following characteristics:
ZGSM
ZGRD
ZCAL
Are in a class.
I want the combination of ZGSM and ZGRD, automatically determine the value of ZCAL from the custom table (z).
What are the steps for implenent the above functionality ?
Best Regards,
Hi Stratos,
If you mean a database table (Z table from SE16N), then a possible solution could be to use a User-Defined Function:
User-Defined Functions - Variant Configuration (LO-VC) - SAP Library
to be called from an object dependency (Procedure).
The dependecy will pass the
ZGSM
ZGRD
characteristics as input parameters for the function, that in turn will return the value for ZCAL characteristic (output parameter).
The function itself will execute a SELECT statement from the database table.
The object dependency will be inserted in the configuration profile.
As soon as the two input characteristics will be valuated, then the dependecy will trigger the function that will return the output characteristic value.
If you need any further detail, feel free to ask.
Thanks and bye,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems it can be archived through variant tables and dependency type procedure.
Please go through below link it may help you.
I suggest setup a small example after reading this document and check result, if you see any issue, please create a thread explaining your setup and forum will help you.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.