Skip to Content

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

update an existing record and save new record in User defined SBO form

Hi,

I have created an user defined form in SBO usuing vb.net where I have retrieved records from data base and displayed in the form. Also I can navigate records.

Now I want to update an existing record which is already displaying and also want to save new records. All these process should happen in the same way it happens in an existing SBO form , like when someone trys to write something into an already displaying record the "OK" button changes to "Update" button automatically etc. etc.

Can I have an simple example code regardig this.

Regards,

Sudeshna.

Former Member
Former Member replied

Hello Sudeshna,

You just name your command button to 1, here is a hint from SAP Help file.

UID=1 is reserved to Add button and includes automatic management of form mode by the application (changing the button caption when form mode changes).

UID=2 is reserved to Cancel button.

It will be the same as the behavior of SAP. Hope this helps.

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