# ADT 对象类型码映射(来源:abap-adt-api objectcreator.ts) ## 已确认的 ADT 可创建类型 | TypeId | 对象类型 | ADT 端点路径 | |--------|---------|-------------| | CLAS/OC | Class | /oo/classes | | INTF/OI | Interface | /oo/interfaces | | PROG/P | Program/Report | /programs/programs | | PROG/I | Include | /programs/includes | | FUGR/F | Function Module | /functions/groups/{grp}/fmodules | | FUGR/FF | Function Group | /functions/groups | | DOMA/DD | Domain | /ddic/domains | | DTEL/DE | Data Element | /ddic/dataelements | | TABL/DT | Table | /ddic/tables | | TABL/DS | Structure | /ddic/structures | | MSAG/N | Message Class | /oo/t100/messages/classes | | DDLS/DF | CDS View (DDL Source) | /ddic/ddlsources | | DCLS/DL | CDS Access Control (DCL) | /ddic/dclsources | | DDLX/EX | Metadata Extension | /ddic/metadataextensions | | DDLA/ADF | Abstract Entity | /ddic/ddlabstractentities (推测) | | SRVD/SRV | Service Definition | /ddic/servicedefinitions (推测) | | AUTH | Authorization Object | (需验证) | | SUSO/B | Auth Check Object | (需验证) | ## 确认不在 ADT 标准创建列表中的类型 | 类型 | 原因 | 替代方案 | |------|------|---------| | Type Group (TYPE-POOL) | ADT 可能归入 programs | 通过 /programs/typegroups 尝试 | | Number Range Object | 无 ADT 创建端点 | 需 RFC(NUMBER_RANGE_GET_INFO) | | Enhancement Spot | 使用专用 /enhancements 端点 | 需验证 | | Behavior Definition (BDEF) | RAP 专用,S/4HANA Cloud 才有 | NW 7.40 可能不支持 | | SICF Service | 使用 /discovery/services | 需验证 | | Table Type | 通过 VIT 端点 | 已有部分支持 | ## Phase 2 调整建议 ### 可直接实现(ADT 有标准端点) - ✅ DCL (CDS Access Control) — /ddic/dclsources,类似 CDS View - ✅ DDLX (Metadata Extension) — /ddic/metadataextensions,类似 CDS View - ✅ DDLA (Abstract Entity) — 类似 CDS View ### 需要验证端点后决定 - ⚠️ Type Group — 可能在 /programs/typegroups - ⚠️ Enhancement Spot — 可能在 /enhancements - ⚠️ SICF Service — 可能通过 /discovery/services ### NW 7.40 不支持(需移到远期) - ❌ Behavior Definition (BDEF) — RAP 专用,NW 7.40 无此功能 - ❌ Number Range Object — 无 ADT 端点,需 RFC