Skip to Content

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

Disable a Prompt on a System Form


I am attempting to disable a Prompt on a System Form(For an example Customer Reference # on Sales Order)

I was able to do it by doing the following commands after the user enters in the Customer Number using an et_VALIDATE event.



oFrm = pApp.Forms.Item(sForm)

oFrm.Items.Item("14").Enabled = False


This works just fine on the Add Mode, but when I bring up an existing order this does not work as the user does not go to the Customer Number. I have tried events such as the FORM_LOAD and FORM_ACTIVIATE, but that seems to reset my settings at each record.

I need a way that either keeps the prompt disabled or a way that I can disable it when a user brings up a new record or edits an existing record. Note my example is only for the Sales Order form, but this will be needed on other forms.

Thank you in advance


Former Member

Helpful Answer

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