cancel
Showing results for 
Search instead for 
Did you mean: 

Customization of Sales Order screen based on material type in cloud (SAP ABAP).

SHRADDHA2
Discoverer
0 Kudos

Hii Community,

How do I customize the sales order screen based on the material type given . I have created some custom fields out of which some are related to type "A" and some are related to type "B". I need to make sales order screen such that Custom Fields related to Type "A" should appear when a particular Material Type is selected and similarly for Type "B" . 

Thanks

Shraddha yak

Accepted Solutions (1)

Accepted Solutions (1)

Julio_B
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi dear college,

To tackle the task of writing data from custom logic to custom business objects and hiding fields on the object page, could be necessary to review those documentation below and use both tecnics. I recommend you to review the links provided.

Adding an Extension Field to a Coding Block Reuse Component - to add a custom field and write a coding block reuse component, also refer to the Extensibility documentation of the individual app. Find more in the link: https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/09b34c704b3a478993e35326...

You can implement a sample code to modify business data in a custom business object >>> Code Samples to Write Data from a Custom Logic to Custom Business Objects, Example in this link: https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/5769d4c3e91546199c3980a5...

How to use the hidden annotation to hide fields dynamically on the object page of your application its possible to find more in the link https://help.sap.com/docs/abap-cloud/abap-rap/hiding-fields-dynamically-on-object-page

And just in case you are not able to solve it another possibility is to use Screen Personas, find more in the link: https://help.sap.com/docs/SAP_SCREEN_PERSONAS/1024f4ede569495cb350a479fff49ad0/867fec94ece74b739bce0...

Hope those information helps you to solve it.

Answers (0)