on 05-17-2006 7:06 AM
Can anyone help me with the code or procedure in a Find & update mode in a user defined screen?
Regards,
Jona
Hi Jona,
If you define your form as automanaged, bind all field to a field in a table, SBO will manage the find/update/add/delete for you.
Regards
Ad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jona,
In version 2005, u have User Defined Objects. U will find it as the last option in Tools. In that u get a wizard.
Once u enter the required credentials in the wizard, for your form with respect to the table in the back end, then, B1 will automatically take care of all the modes, ie., add/Find/Update.
Satish.
Hi Jona,
I had the same problem and i soldved it.
You need to :
Dim objForm As SAPbouiCOM.Form
LoadFromXML("MyForm.srf")
'
objForm = objSAPBOApplication.Forms.Item("MyForm")
'' For manage mode
<b>objForm.AutoManaged = True</b>
'' Declare all mode supports
objForm.SupportedModes = -1
''
'' Link your control with USD
AddUserDataSource(objForm)
'' Init the control which is the data Browser for the SAP menu Bar (Add/Find/Next/LAst/....)
<b>objForm.DataBrowser.BrowseBy = "MyKeyControl"</b>
''
Hope it's help you
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.