= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( 'LIKP' ). LT_IDETAILS[] = LR_REF_TABLE_DES->COMPONENTS[]. "循环判断结构每个字段 LOOP AT LT_IDETAILS. ASSIGN COMPONENT LT_IDETAILS-NAME OF STRUCTURE is_likp TO 《 L_FIELD》 . IF SY-SUBRC = 0 AND IS NOT INITIAL. ASSIGN COMPONENT LT_IDETAI...
CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME method gives incorrect length. In my case, i am trying to prepare dynamic internal table for KNKA table. For all the fields i am
cl_abap_typedescr=>describe_by_name problem with output length Former Member 2010 Jul 264:07 PM 0Kudos 218 SAP Managed Tags: ABAP Development Hello Friends, I am using "CALL METHOD cl_abap_typedescr=>describe_by_name" for creating a dynamic table . ...
LO_TYPEDESCR = CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( <F1> )."data lable LV_TYPE = LO_TYPEDESCR->GET_RELATIVE_NAME( )."This would be "MATNR"
=CL_ABAP_TYPEDESCR=>DESCRIBE_BY_data(name). BREAK-POINT. 例2: TYPES: my_table TYPE HASHED TABLE OF i WITH UNIQUE KEY TABLE LINE. DATA: descr_ref TYPErefto cl_abap_tabledescr. FIELD-SYMBOLS: <key_comp_wa>TYPE abap_keydescr.
I am using cl_abap_typedescr=>describe_by_data( <gt_table> ) to retrieve the fieldlist of my dynamically created ALV fieldcatalog. However, I have just switched to using some fields that are of type INT and now the method ignores them. Is this correct??? Is there another method that...