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

Seeking Guidance on Mapping Screens to Fields in SAP S/4 HANA

rahuljain257
Participant
0 Kudos
1,019

Hello Everyone,

I am new to the SAP S/4 HANA world and trying to transition into the technical field. My background is in SAP B1, where SAP provides excellent documentation that helps map screens to tables and fields.

In SAP S/4 HANA, I am finding it challenging to understand the mapping process. For example, if I have a specific screen, how can I identify the fields that might be mapped to either custom CDS views or public endpoints?

I am feeling a bit lost and would greatly appreciate your support and guidance on this matter.

rahuljain257_0-1718880430775.png

 

Accepted Solutions (1)

Accepted Solutions (1)

MaryiaHlushko
Product and Topic Expert
Product and Topic Expert

Hello @rahuljain257 ,

You can use the developer tool of your browser to find out the data source of the application.

For example, if you are using Google Chrome, just open your application and press the F12 button to open the developer tool. Also, you can open it by the following way:

MaryiaHlushko_2-1722868271430.png

Then navigate to the Network tab and set a filter for the batch requests.

MaryiaHlushko_3-1722868376719.png

Then reload the page of your application or just press the F5 button. All application data will be requested from the backend by following batch requests to an OData service.

MaryiaHlushko_4-1722868770809.png

To see the details of a batch request, click on it. On the header tab of the request, you will find the Request URL.

MaryiaHlushko_5-1722869236333.png

In the request url, you can see the name of the OData Service. For the service that is based on RAP, there you can find names of service binding and service definition.

MaryiaHlushko_7-1722870194845.png

You can open service definition to find all exposed CDS views and corresponding aliases to them if they were defined.

MaryiaHlushko_8-1722870747419.png

On the Payload tab of the request, you will find GET requests to entities of the service. There you can find the name of CDS view or an alias to it. If there is no CDS view name, you can find it in the service definition using the alias. 

MaryiaHlushko_9-1722871225909.png

In the request, you can see requested entity and used association. Also, after $select= you will find a list of all requested fields.

MaryiaHlushko_10-1722871790927.png

To see what field is displayed on the UI, you need to click on the following button.

MaryiaHlushko_11-1722872536567.png

Then select a field on the UI (for example, WorkerType) and click on it.

MaryiaHlushko_12-1722872814636.png

The elements tab will be opened, and the part related to the selected element will be highlighted. There you will find the data field name BasicRoleCategory and CDS view name C_WorkAssignment.

MaryiaHlushko_13-1722873436911.png

In the same way, you can find details for the table field CostCenter. There you will find the CDS view name C_WorkAssignment, association for the table _WorkAssignmentDetails and the table field name CostCenter.

MaryiaHlushko_14-1722874689803.png

In the same way, you can find details for the table field Manager. There you will find the CDS view name C_WorkAssignment, association for the table _WorkAssignmentDetails and the table field name ManagerEmployee.

MaryiaHlushko_15-1722875478503.png

I hope it will help you to map all required fields.

Best Regards,

Maryia

rahuljain257
Participant
0 Kudos
Thank you @MaryiaHlushko for your response. It was really helpful. How did you came to know about this complicated process ?

Answers (1)

Answers (1)

AndreasMuno
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for your question, @rahuljain257.

The screenshot looks like a UI from S/4HANA on premise, correct? If this request is not about S/4HANA Cloud Public Edition, please remove the respective tags and replace them with S/4HANA tags which do not include cloud, Public Cloud, nor Public Edition. Experts with respective product knowledge might then take over and respond to your question.

Thank you     

rahuljain257
Participant
0 Kudos

Thanks @AndreasMuno for your response but my query was related to SAP S/4HANA Cloud Public Edition, Since I am working on it.