‎2006 Dec 06 6:09 AM
I created a persisent classes with fields from LFA1 and LFB1...But the class is not getting activated - it is giving an information message saying "NO mapping defined in the table LFA1 for the key field BUKRS. I have activated all other classes up in the hierachy, but the CL class is not getting activated. Any help in this regard is highly appreciated
‎2007 Feb 09 7:49 AM
I face the same problem in 4.7. That why I was searching for some solution. If I have some solution I will reply. Bye, Peter
‎2007 Feb 12 8:17 PM
Hello Aakash,
I was of the understanding that I can take only few of the table fields and map it to class attributes. So I took only 6 fields of the table SFLIGHT and mapped it to the corresponding 4 attributes of the persistent class. So I was getting the message that 'There is no mapping defined for one or more fields'.
But, you have to define class attributes corresponding to all fields of the table and mapped accordingly all table fields. In such way I could activate the class.
Be carefull by activating:
1. Activate ZCL-class only as 1st (automat. activ. will be also ZCB-part).
2. Activate ZCA-class as the 2nd separately.
If it helps, think on the rewarding of the points. It is shame, I have no one. Peter