使用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系统的扩展字段_第1张图片

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系统的扩展字段_第2张图片

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系统的扩展字段_第3张图片

How to check your field generation job status

select the job and click button "Job log":

使用ABAP代码创建SAP S/4HANA系统的扩展字段_第4张图片

Here you can monitor job execution detail:

使用ABAP代码创建SAP S/4HANA系统的扩展字段_第5张图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
使用ABAP代码创建SAP S/4HANA系统的扩展字段_第6张图片

你可能感兴趣的:(使用ABAP代码创建SAP S/4HANA系统的扩展字段)