Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Re: Issue in populating the dynamic internal table

$
0
0

Steve,

 

To eloborate little bit more on the above issue..

 

CALL METHOD cl_alv_table_create=>create_dynamic_table

    EXPORTING

      it_fieldcatalog = it_fldcat <<< this is of type LVC_T_FCAT which has a field DATATYPE of type CHAR 4 <<<<<

    IMPORTING
      ep_table        = new_table.

 

So in the below code...

  wa_it_fldcat-fieldname = 'field_style'.

  wa_it_fldcat-datatype = 'lvc_t_styl'. <<<< this value is getting truncated to length 4

  wa_it_fldcat-col_pos = index + 1.

  APPEND wa_it_fldcat TO it_fldcat .

 

So property of field_style is not working properly..Hope i am clear in explaining the issue..


Viewing all articles
Browse latest Browse all 11577

Trending Articles



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