Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module to check dependencies

0 Likes
1,587

Hi all,

How can i check dependencies, created in CU01?

The function module 'CUKD_GET_XREF' returns only values of Characteristics, which used in dependencies.

But does not return information about operator: OR, AND etc, and about EQUAL or NOT EQUAL etc.

How can i check correct entries of Characteristics, used in my dependencies?

Thank you.

4 REPLIES 4
Read only

Clemenss
Active Contributor
0 Likes
1,167
Program                                 Found locations/short description

LCURTF15                           691       CALL FUNCTION 'CUKD_GET_XREF'
                                                  EXPORTING
                                                       KNNUM        = XCUKB-KNNUM
                                                       DATE         = INT_DATE
                                                  TABLES
                                                       XREF_TAB     = LT_XREF
                                                  EXCEPTIONS
                                                       NO_REC_FOUND = 0.

LCURTF19                            85       CALL FUNCTION 'CUKD_GET_XREF'
                                                  EXPORTING
                                                       KNNUM        = XCUKB-KNNUM
                                                       DATE         = INT_DATE
                                                  TABLES
                                                       XREF_TAB     = LT_XREF
                                                  EXCEPTIONS
                                                       NO_REC_FOUND = 0.

LCUXAF15                           692       CALL FUNCTION 'CUKD_GET_XREF'
                                                  EXPORTING
                                                       KNNUM        = XCUKB-KNNUM
                                                       DATE         = INT_DATE
                                                  TABLES
                                                       XREF_TAB     = LT_XREF
                                                  EXCEPTIONS
                                                       NO_REC_FOUND = 0.

LCUXAF19                            82       CALL FUNCTION 'CUKD_GET_XREF'
                                                  EXPORTING
                                                       KNNUM        = XCUKB-KNNUM
                                                       DATE         = INT_DATE
                                                  TABLES
                                                       XREF_TAB     = LT_XREF
                                                  EXCEPTIONS
                                                       NO_REC_FOUND = 0.
Read only

0 Likes
1,167

Thanks,

But how this can help me?

Read only

0 Likes
1,167

When i assign values to characteristics in classification of material(MM02) function module 'CUKD_GET_XREF' does not call!

Read only

0 Likes
1,167

I have created characteristics of class:

1) name: AAA

values: 111, 222, 333

2) name: BBB

values: 444, 555, 777

I have created dependency ZTEST:

$SELF.BBB = '444' or $SELF.BBB = '555'

and assign it to AAA=111.

Now, when i assign characteristics to material, when i assign BBB=777, in AAA i can see only value 222 and 333.

When i assigning AAA=111, and BBB=777, i have an error when check.

How can do this steps(get error or not) by Function module or Z-program?

Thanks.