Skip to Content
0
Nov 24, 2006 at 07:45 AM

Form Mode Problem

61 Views

Hi friends,

I have one problem reagarding form Mode.

This user define form works fine in SAP B1 2004.

I upgrade my form from SAP B1 2004 to 2005.

When this form is open all the navigation and find mode works perfectly but when I click add button for this form application is hang automatically.

I set the following parameter when form is loaded.

OForm1.SupportedModes = SAPbouiCOM.BoAutoFormMode.afm_All

OForm1.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE

When I debug

OForm1.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE

at this line application gets hang.

What would be the reason behind this.

Please help me urgently.

Thanks in advance.