Skip to Content
0
Former Member
Feb 23, 2009 at 08:20 AM

ChooseFrom List do not change the form mode

21 Views

Dear Sir,

I have crated a form (using xml) based on a UDO.

In this form I have a chooseformlist box for the client code. WHen I am in OK mode and I modify the client code the form does not goes to UPDATE mode. To resolse this issue I ahve added the following ling and the choosefromlist event occur:

If pVal.FormMode = "1" Then

oForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE

End If

Now I am facing another problem is that When I modify the cleint code and the form goes to UPDATE mode and I go to a new record the system does not notify me that the data entered will be deleted if i continue the action without saving. You know the standard behavior of SAP BO

Kindly help me with this isssue.

Best Regards