‎2010 Dec 10 5:56 PM
Hello,
I created a function module that will be called by an object dependency in VC. However, when I try to test this functionality, I am getting the following error:
Function ZVC_E_TEST_1 is not declared
Message no. 28152
Diagnosis
The syntax check found an error in the function entry ZVC_E_TEST_1. The function is not created for used in object dependencies (declared).
Procedure
Check your entry for the function or declare the function using the Tools -> Function-> Create function in the variants menu.
Can someone please let me know how to resolve this issue?
Thanks,
Rugmani
‎2010 Dec 10 10:32 PM
Have you used Transaction CU65 to create your Variant Function? In this transaction you define the Characteristics to be used and also whether they are for input or output. You also assign the ABAP Function Module to the Variant Function as well. Using the SAP Help will give you more details on how to define a Variant Function, which I found to be very useful when writing my first Variant Function.
‎2010 Dec 10 10:32 PM
Have you used Transaction CU65 to create your Variant Function? In this transaction you define the Characteristics to be used and also whether they are for input or output. You also assign the ABAP Function Module to the Variant Function as well. Using the SAP Help will give you more details on how to define a Variant Function, which I found to be very useful when writing my first Variant Function.