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

Creating CAP Dynamic UI for S4HANA Classification in Product Master

MDYX
Explorer
0 Likes
344

Hello SAP Community,

I am working on an SAP CAP project and need assistance with creating a section with dynamic UI for the Product Master. My specific requirement is to have fields populate automatically upon assigning a class, similar to the classification functionality in the Product Master. The plan is to store these classifications in BTP HANA Cloud rather than directly in S4HANA.

Requirements:
- Assign Class Button: To assign Class from value help modal. Perhaps I can use an action button with Side Effect or custom action.
MDYX_0-1720497397358.png

Auto-populate Dynamic Fields/Form: The fields should populate based on class input, checking against S4HANA class and characteristic configuration.
- Sectioning and Sub-sectioning: The UI should support dynamic sectioning and sub-sectioning by class.
- Field Validation and Value Help: The dynamic fields should include appropriate validation related to data type and value help.

MDYX_3-1720499279334.png

My current reference
- Fiori Reuse Library BSP application: I2D_LO_VCHCLFS1

MDYX_4-1720499696258.png

- Service: MD_C_PRODUCT_MAINTAIN_SRV
Classification/Characteristic related entity can fetched/updated from/to S4HANA

MDYX_5-1720500506906.png

*I am looking to leverage low-code solutions to implement these features as efficiently as possible.
*Alternatively, displaying classification as a table in the same way as SAPGUI would also be acceptable.

Any guidance, best practices, or examples would be greatly appreciated. Thank you in advance for your support!

Update: 11 July 2024
successfully retrieved dynamic classifications with characteristics using fragment extension(Add Custom Section). 

MDYX_0-1720695436876.png

MDYX_1-1720695530582.png

I will continue working on other features and still remain open to any suggestions or better practices.





Accepted Solutions (0)

Answers (0)