Hi,
Component - GS_WFI
Enhancement Set - /CFCRMX2/CMLIMITS
View - WFIResultList
Requirement - In worklist, fields ship to party and Vendor needs to added for all the claims / returns that has come for approval.
I have enhanced the viewWFIResultListand added 2 attributes ZVendor and ZShip_To within the context node WFILISTNODE. Now I have added a data fetch logic within the get methods Get_ZVendor and Get_ZShip_To. The data fetch logic uses a common function module to fetch Vendor and Ship to party value. When I'm using same function module to fetch both the data then I wonder why should I write the same logic within each of the get method. It is going to affect performance. Is it possible to write the data fetch logic in some method in context node class (_CN00) and just set the value of the attribute in the Get methods? I tried adding a new method within the context node class but the method is not getting triggered. Should I call the method somewhere? If yes then where should I call that method? Or if there is any other way to do it then please suggest.
Thanks in advance!!
Best Regards,
Sriram.