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_IDETAILS-...
Hello Friends, I am using "CALL METHOD cl_abap_typedescr=>describe_by_name" for creating a dynamic table . With this the table gets generated correctly.
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
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...
I am retrieving the type using cl_abap_typedescr=>describe_by_data and can cycle through the key but how do I just obtain the structure? Cheers Ian cl_abap_typedescr to retrieve the column names of a dynamic table I have created for using with an ALV grid...