Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from JCROSBYME on Jul 24 at 10:22 AM Hi, I would copy the lt_category table to another internal table with the same structure, let's call it lt_cat, then loop on this new table assigning it to a structure for this table (ls_cat?). Use the key in ls_cat to loop on the child table (loop on lt_cat into ls_cat where ...guid = ...guid) and then append the children found to lt_category. This should cover each record in the lt_category table and append the children without having to keep track where the "child" records start in lt_category. The downside to this is you end up having a loop within a loop, but I do not see another way around it using internal tables. Sorry I do not have time to setup and try the code.
| | | ---------------Original Message--------------- From: JAGADISH757 Sent: Saturday, June 21, 2014 4:50 PM Subject: Reading from Internal Table i have an internal table(lt_category) these are level1 we have to search their child in another internal table itab (w tab-category_guid =wt_category- parent_guid) if child is found ... the record must be appended to lt_category so by this we can search rest of the generations also. l1-> l2>l3- till the last generation ln NOTE: if a parent has 10 childs , every child must be appended to (lt_category) could any 1 help me out if possible please provide the code thanks in advance | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |