使用ABAP代码创建SAP S/4HANA系统的扩展字段

Besides S4 extension tool in Fiori UI, you can also create extension field in backend using report CFD_TEST.

Caution

(1) NEVER run it in development system like ER9 and AG9 currently! If you want to test your extension CDS view for POC, contact me first.

(2) Avoid to create too many extension fields which might have negative impact on system performance.
Run report, specify mandatory field as example below.

使用ABAP代码创建SAP S/4HANA系统的扩展字段

As I mentioned in this link, the extension field generation is done in ASYNCHRONOUS way - technically speaking, it is finished in a background job automatically scheduled and released via extension field framework.
You can debug to get the exact job id:

使用ABAP代码创建SAP S/4HANA系统的扩展字段

Sometimes it takes long time to get your extension field generated and published, it is simply because there is no more background job processor with status "Free". In this case you can do nothing but wait until other job is finished.

使用ABAP代码创建SAP S/4HANA系统的扩展字段

How to check your field generation job status

select the job and click button "Job log":

使用ABAP代码创建SAP S/4HANA系统的扩展字段

Here you can monitor job execution detail:

使用ABAP代码创建SAP S/4HANA系统的扩展字段

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

上一篇:(一):C++分布式实时应用框架----整体介绍


下一篇:Hologres如何支持亿级用户UV计算