题目STRUC_DESC = CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( ).这条语句和?=的意义是什么?相关知识点: 试题来源: 解析 2016-12-08 反馈 收藏
STRUC_DESC = CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( ).这条语句和?=的意义是什么? 扫码下载作业帮搜索答疑一搜即得 答案解析 查看更多优质解析 解答一 举报相似问题 ABAP " 是什么 特别推荐 热点考点 2022年高考真题试卷汇总 2022年高中期中试卷汇总 2022年高中期末试卷汇总 2022年高中月考试卷汇总 ...
DATA : LR_REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR . “定义field变量,type any FIELD-SYMBOLS : 《L_FIELD》 TYPE ANY, 《L_FIELD_C》 TYPE ANY. **动态得到内表结构 ”全局结构 LR_REF_TABLE_DES ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( 'LIKP' ). LT_IDETAILS[] = LR_REF_TABLE...
LV_TYPE TYPE STRING. LO_TYPEDESCR = CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <F1> )."datatypeLV_TYPE= LO_TYPEDESCR->GET_RELATIVE_NAME( )."This would be "CHAR10" LO_TYPEDESCR = CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( <F1> )."data lable LV_TYPE = LO_TYPEDESCR->GET_RELATIVE_NAME( ...
Solved: Afternoon all I am using cl_abap_typedescr=>describe_by_data( ) to retrieve the fieldlist of my dynamically created ALV fieldcatalog. However, I have just
= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( WA_DEPT ). LOOP AT DESCR_REF->COMPONENTS ASSIGNING <fs_dept>. WRITE: / <fs_dept>-NAME. ENDLOOP. 例子2: TYPES: my_table TYPE HASHED TABLE OF i WITH UNIQUE KEY TABLE LINE. DATA: descr_ref TYPE ref to cl_abap_tabledescr. FIELD-...
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...
=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.
DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR. DATA : INT_DETAILS TYPE ABAP_COMPDESCR_TAB, * Get the structure of the table. REF_TABLE_DES ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( DB_TABLE ). INT_DETAILS[] = REF_TABLE_DES->COMPONENTS[]. ...