06-13-2013 3:29 PM
Dear all,
i want to filter all the hierarchical task lists in system based on their dependancy, say, if there is a characteristic called 'REGISTRATION', then i want to see all the Hierarchical task lists having registration as 'ABCD-123' (REGISTRATION = 'ABCD-123').
I have done debugging and found out the following:
1. All these dependencies are being stored in table CUXREF as a knowledge element. That is if i pass the required characteristic value, in our example 'ABCD-123' to the field 'ATWRT' of table 'CUXREF' then i am able to get knowledge elements of all the hierarchical task lists which are having dependency as REGISTRATION = 'ABCD-123'.
Now, i want a link between this knowledge element and actual hierarchical task list which has the dependency. In debugging i could find that there is no such link maintained, and the field 'KNNUM' is being generated as the next number using function module 'NUMBER_GET_NEXT'.
I request you all to kindly suggest me an option or work around to achieve the same. Thank you.
Regards,
Kartik
06-14-2013 7:04 AM
Dear all,
The following approach worked to achieve the requirement:
1. Database table CUXREF
Table entreis by passing the fields ATINN = REGISTRATION, ATWRT = ABCD-123
3. Copy the entries in field KUNNM
4. Pass the copied entries to table CUOB, field KUNNM
5. Copy the entries in field KNOBJ
6. Pass the copied entries to table PLPO, field KNOBJ
Thanks and regards,
Kartik
06-13-2013 4:25 PM
06-14-2013 7:04 AM
Dear all,
The following approach worked to achieve the requirement:
1. Database table CUXREF
Table entreis by passing the fields ATINN = REGISTRATION, ATWRT = ABCD-123
3. Copy the entries in field KUNNM
4. Pass the copied entries to table CUOB, field KUNNM
5. Copy the entries in field KNOBJ
6. Pass the copied entries to table PLPO, field KNOBJ
Thanks and regards,
Kartik