Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Field edit mode based on Saved/Not Saved

Hi Guys,

I am having a doubt where I'd like to get expert advice.

My business scenario: I need to add a drop down (DDLB) with certain values on the Account (in QuickActivity floorpan). This field has to be mandatory. Once the Account has been saved, this field shouldn't be editable anymore.

I first started working with KUT, created the DDLB with its values, made field mandatory, yet, was missing to add the dynamic enable/disable logic so, I have now moved into PDI. So, I have created the Account business extension and the code list. Then, I enhanced the screen (AcountQA) and set the field as mandatory.

I am not very sure how to handle and make it read-only once saved. I was trying to do something similar as shown on traditional SAP example (Bonus Plan) by binding the field to another one. On the otherhand, when doing this in traditional CRM WebUI, I used to check the ID field as it was getting only populated after it was saved and then, never got empty again.

Any idea/approach/proposal?

Many thanks in advance.

Regards.

Alejandro.

Tags:
replied

Hi everyone,

Issue was solved in a more simple way, and even more, without requiring PDI, just with KUT.

As the requirement is to only be able to change my field before being saved for the first time, I only need to create my custom field through KUT and add it as editable on the QuickCreate (QC) floorpan while adding it into QV (QuickView) and TI (ThingInspector) as read-only. In case of adding in on another floorpan, just add it through KUT and set it as read-only and, Issue Solved!!!!

Thanks and regards.

Alejandro.

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question