使用ABAP代码创建SAP S/4HANA系统的扩展字段
Posted sap-jerry
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用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.
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:
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.
How to check your field generation job status
select the job and click button "Job log":
Here you can monitor job execution detail:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
以上是关于使用ABAP代码创建SAP S/4HANA系统的扩展字段的主要内容,如果未能解决你的问题,请参考以下文章
如何在SAP S/4HANA Cloud系统里创建employee
使用ABAP代码返回S/4HANA Material上维护的Attachment明细