Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: ALV set_table_for_first_display

$
0
0

Well I solved my problem creating a Transparent Table with the same fields of internal table.

 

and I use this FM

 

 

CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      i_structure_name = 'ZFI_PE_TBCAMBIAL'
    CHANGING
      ct_fieldcat = pt_fieldcat[]
    EXCEPTIONS
      inconsistent_interface = 1
      program_error = 2
      OTHERS = 3.

 

 

Finally this.

     

call method grid2->set_table_for_first_display
           exporting i_structure_name = 'ZFI_PE_TBCAMBIAL'
                     is_layout        = gs_layout
           changing  it_outtab        = ITAB_DATAFINAL[].

 

 

 

It works, when I have more time I will keep on trying with an internal table.

 


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>