cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom field not accessible in /SCWM/WAREHOUSE_REQUEST_HDR business context Public Cloud

vicentejarque
Explorer
0 Likes
237

Hi Experts,

When creating a custom field using the Custom Fields app for the business context /SCWM/WAREHOUSE_REQUEST_HDR, the generated artifacts are of type CDS View only.

Although the field appears correctly in the delivery order UI and can be marked as “modifiable”, it is not accessible from the Customer Data Browser (transaction /N/SCWM/CBrowser) nor from ABAP code when implementing a warehouse-related BAdI as /SCWM/EX4_CORE_RMS_DETERMINE.

The generated CDS views for /SCWM/WAREHOUSE_REQUEST_HDR business context are plain CDS View types, not Custom Entity, and appear not to be extended into the runtime structures used by EWM warehouse request BAdIs.

Is this a restriction of the business context /SCWM/WAREHOUSE_REQUEST_HDR, or is there an enhancement point or configuration required to make the custom field accessible at runtime (e.g., via BAdI or CDS extension)?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Chris1973
Active Contributor
0 Likes

Good day @vicentejarque 

Thank you for your question.

Have a look at the following references for further details.

Create a Custom Field in SAP S/4HANA Cloud, KBA 3513578

Your description highlights some customisation requirements that the public cloud due to its clean-core approach does not support.

Let me summarise, the business context /SCWM/WAREHOUSE_REQUEST_HDR only supports UI CDS extensions. However, from my experience, runtime structure extensions are not part of that process. So, yes, it is a restriction to that business context because direct runtime extension of EWM warehouse request is not supported.

To use the field in BAdIs or logic, you may consider using a Custom Business Object or Customs CDS View that is joined with TOR_ID.

 

Best regards

Chris