Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting Duplicates while using a Class

Former Member
0 Likes
472

Hi Guys,

I am using the belo methos and class


      try.
          cl_salv_hierseq_table=>factory(
            exporting
              t_binding_level1_level2 = lt_binding
            importing
              r_hierseq               = gr_hierseq
            changing
              t_table_level1           = gt_master
              t_table_level2           = gt_slave ).
        catch cx_salv_data_error cx_salv_not_found

When I am display my records i am getting duplicate entries in the output..

For example if I am having one delivery in expand area.I am getting one entry.

If i have 2 entries i am getting 2 boxes and so on.

Can any one of u let me know.

3 REPLIES 3
Read only

Former Member
0 Likes
421

Guys any Idea on this.

Read only

Former Member
0 Likes
421

Hi,

try sorting the internal table that pass the internal table to the method..

let me know if this doen't work

regards

ravi

Read only

Former Member
0 Likes
421

Hi Guys Solved it myself....