简体   繁体   中英

Difference between TYPEKIND and TYPECATEGORY

Can anyone tell me the difference between CL_ABAP_TYPEDESCR=>kind and CL_ABAP_TYPEDESCR=>type_kind . Just want to know whether it is a structure or not. But which one do I have to use?

The constants KIND_xxx and TYPEKIND_xxx pretty much answer your question.

To see if something is a structure check if KIND equals CL_ABAP_TYPEDESCR=>KIND_STRUCT . You can then further use TYPE_KIND to see if it is a flat or deep structure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM