SBO 2004 & SBO 2005
Hi Guys,
How can I run both SBO 2004 & 2005 on my development machine. I have to do this to maintain different clients on different versions. Add-Ons can be upgraded from 2004 to 2005 but then they won't work on 2004 anymore and for the interrim I need to be able to work on 2004 & 2005 simultaniously.
Hi Barend, i think you should think of using Virtual PC or VMWare.
FYI: Virtual PC and SBO
HTH
Similar Messages
-
How can I get license info using SBO 2004
Hi, everyone
I know there is a License API available in SBO 2005, but I'd like to detect the user license number etc. in SBO 2004, who has experience about get license info in SBO 2004, please share your method.
Thanks in advance!Hi Alexey,
Thanks for your reply; actually I want to get the user buy SAP License Number, in other word I want to get the maximum count of user using SAP in the same time.
I can see the license directory, do you know which file and entry point that I can get the license number.
and also if my add-on does not run in the machine that license server running, I think may be there is none license directory in the machine which does not install server tools, if this is true, do I need use other way to get the SAP license info?
Thanks again Alexey! -
If Choose from list function included after SBO 2004 patch 31?
Hi, there
I know Choose from list function valid in SBO 2005, but I don't know if it is included in SBO 2004, especially after SBO 2004 patch 31?
Thanks.Hi Indika,
You are right - the Choose from list is only available from SBO 2005. -
Rightclick and context menu functionality in SBO 2004
hi guys...
how to capture the right click event and the context menu event. I have seen the right click example in the SBO 2005 examples but how to get that functionality in SBO 2004, there r no SAPbouiCOM.ContextMenuInfo and SBO_Application.RightClickEvent
thanx in advance..
regards,
Vasu..Hi,
I don't think you can achieve this in the 2004 version as it was an entirely new feature in the 2005A SDK.
Regards,
Owen -
SBO 2004 & Framework 2.0
Hi,
My environment of development is SBO 2004, and .net 2005.
Any body knows if there are any problem working in this scenario?
ThanksHector,
There are no problems that I am aware of. Are you experiancing any?
Eddy -
I heard, that SBO 2004 now supports ActiveX at the UI API. Where can I find an ActiveX sample ? We want to use ActiveX forms, instead of only a control, by this way we will want to be able to use .Net components directly via a WinForm as ActiveX form in a SBO UI form.
I have also read about .Net connectors. Are they available in SBO 2004 ?
Greetz
KristianHere is a link in the forums "SAP Business ONE" where they talk about this:
SBO 2004
Perhaps posting your message there will give you a better response.
Message was edited by: Craig Cmehil -
Version incompatibility issue with Interop.SAPbobsCOM.dll in SBO 2004
Hi,
I have encountered an incompatibility issue in DI API 2004 across different patch level-versions. Originally, I developed an application in SBO 2004 pl4 environment. Now, some of the customers who were installing the application, notified me that the application has a login problem. It turned out that the CompanyClass.connect() method returns an error message "object reference not set to an instance of an object", when the DI API version installed in the production environment is higher (in this case, pl7) than the DI API version which was used in the development environment.
I figured out that the problem can be fixed by replacing the Interop.SAPbobsCOM.dll file in the application directory by a newer version that reflects the DI API that is installed in the system. However, it seems a rather lousy workaround, if the customer needs to manually replace the dll. Maybe the installer could be customized to "sniff" the correct DI API level, but this too would be a pretty kludgy solution.
Does anyone know a better solution to this problem ?
Regards,
Henrynormally this is not a problem as long as they don't change the signatures on the DI-API (which they said they wouldn't) but it appears in P5 they changed that signature... we noticed some enums that got added and a few minor changes.
-
Hi all:
I have just recieved the version SBO 2004, and in reference of the UI, I want to know when they will be available the tree control and Hierarchical's tables, because I need this structure to make a project.
ThanksssssssHeard too, that B1 2004 supports ActiveX using B1 UI forms. How to use ActiveX component on a form ? Is it possible to host an ActiveX form on a B1 UI form ?
The idea is, the component palatte from B1 is not that rich and the UI components (for example Matrix) are not that smart. We want to make an ActiveX form and place the whole ActiveX form on the UI form of B1. By this way, we still using B1 forms with their layout and keeping the MDI child order, instead of using a normal WinForm, which will be hidden from the B1 client, when activating it and loosing the Z-order of the MDI. -
Hello All,
Can I install SBO 2004 and 6.5 in one system?
Johnyes, if you go to the service marketplace and search SAP Notes for #765303 or you can search under the Application Area SBO-BC.
Craig. -
I have problem to register add-ons to SBO 2004
-. I am using sample HELLO WORLD providing for SDK 2004.
-. I build the installer using packager default of Visual Basic 6.0.
-. i builf file .ard
-. when i register the add-on and restart SBO 2004, the system show the message error:
"Command Line arguments..."
Someone, have a procedure step by step to register add-ons to SBO?
thanksYou need to declare this functions from the SBOAddonReg.dll.
I got this code from SAP, hope this works, it's VB .NET
Also: To use the license key I go to Project/Project properties/Configuration properties/Command line arguments
and I copy the license to this field, and it works.
Did you try from command line something like this?
c:\project.exe license_key
2) Code for a useful application
contact me, if you don't understand the example:
[email protected]
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
#Region "Windows Form Designer generated code "
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'For the start-up form, the first instance created is the default instance.
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'This call is required by the Windows Form Designer.
InitializeComponent()
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
If Disposing Then
If Not components Is Nothing Then
components.Dispose()
End If
End If
MyBase.Dispose(Disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents CmdUnReg As System.Windows.Forms.Button
Public WithEvents CmdReg As System.Windows.Forms.Button
Public WithEvents CmdExit As System.Windows.Forms.Button
Public WithEvents CmdAddOnStr As System.Windows.Forms.Button
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.CmdUnReg = New System.Windows.Forms.Button
Me.CmdReg = New System.Windows.Forms.Button
Me.CmdExit = New System.Windows.Forms.Button
Me.CmdAddOnStr = New System.Windows.Forms.Button
Me.SuspendLayout()
'CmdUnReg
Me.CmdUnReg.BackColor = System.Drawing.SystemColors.Control
Me.CmdUnReg.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdUnReg.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.CmdUnReg.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdUnReg.Location = New System.Drawing.Point(24, 112)
Me.CmdUnReg.Name = "CmdUnReg"
Me.CmdUnReg.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdUnReg.Size = New System.Drawing.Size(153, 25)
Me.CmdUnReg.TabIndex = 3
Me.CmdUnReg.Text = "UnRegister"
'CmdReg
Me.CmdReg.BackColor = System.Drawing.SystemColors.Control
Me.CmdReg.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdReg.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.CmdReg.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdReg.Location = New System.Drawing.Point(24, 64)
Me.CmdReg.Name = "CmdReg"
Me.CmdReg.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdReg.Size = New System.Drawing.Size(153, 25)
Me.CmdReg.TabIndex = 2
Me.CmdReg.Text = "Register"
'CmdExit
Me.CmdExit.BackColor = System.Drawing.SystemColors.Control
Me.CmdExit.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdExit.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.CmdExit.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdExit.Location = New System.Drawing.Point(24, 160)
Me.CmdExit.Name = "CmdExit"
Me.CmdExit.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdExit.Size = New System.Drawing.Size(153, 25)
Me.CmdExit.TabIndex = 1
Me.CmdExit.Text = "Exit"
'CmdAddOnStr
Me.CmdAddOnStr.BackColor = System.Drawing.SystemColors.Control
Me.CmdAddOnStr.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdAddOnStr.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.CmdAddOnStr.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdAddOnStr.Location = New System.Drawing.Point(24, 16)
Me.CmdAddOnStr.Name = "CmdAddOnStr"
Me.CmdAddOnStr.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdAddOnStr.Size = New System.Drawing.Size(153, 25)
Me.CmdAddOnStr.TabIndex = 0
Me.CmdAddOnStr.Text = "Create AddOn String As File"
'Form1
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ClientSize = New System.Drawing.Size(202, 206)
Me.Controls.Add(Me.CmdUnReg)
Me.Controls.Add(Me.CmdReg)
Me.Controls.Add(Me.CmdExit)
Me.Controls.Add(Me.CmdAddOnStr)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Location = New System.Drawing.Point(4, 23)
Me.Name = "Form1"
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text = "Form1"
Me.ResumeLayout(False)
End Sub
#End Region
#Region "Upgrade Support "
Private Shared m_vb6FormDefInstance As Form1
Private Shared m_InitializingDefInstance As Boolean
Public Shared Property DefInstance() As Form1
Get
If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
m_InitializingDefInstance = True
m_vb6FormDefInstance = New Form1()
m_InitializingDefInstance = False
End If
DefInstance = m_vb6FormDefInstance
End Get
Set
m_vb6FormDefInstance = Value
End Set
End Property
#End Region
'long GetInstallPath(const char *installDataFile,char *outStr,long len);
Private Declare Function GetInstallPath Lib "SBOAddonReg.dll" (ByVal installDataFile As String, ByVal outStr As String, ByRef lLen As Integer) As Integer
'BOOL RegisterAddOn(void);
Private Declare Function RegisterAddOn Lib "SBOAddonReg.dll" () As Boolean
'BOOL UnRegisterAddOn(const TCHAR *installDataFile);
Private Declare Function UnRegisterAddOn Lib "SBOAddonReg.dll" (ByVal installDataFile As String) As Boolean
Private g_sInstallPath As String
Private g_sInstallFullPath As String
Private g_sPreviousDir As String
Private g_sAddOnExeName As String
Private Sub CmdAddOnStr_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdAddOnStr.Click
Shell(VB6.GetPath & "\AddOnRegDataGen.exe", AppWinStyle.NormalFocus)
CmdReg.Enabled = True
End Sub
Private Sub CmdExit_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdExit.Click
End
End Sub
Private Sub CmdReg_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdReg.Click
Dim sPath As String
Dim lLen As Integer
Dim InstallStrFile As String
sPath = Space(1024)
'Getting the sPath where I have to install the addon exe
InstallStrFile = VB6.GetPath & "\SBOAddOnRegData.sld"
lLen = GetInstallPath(InstallStrFile, sPath, Len(sPath))
'Coping the addon exe into the path location I got
MsgBox("Please copy your Addon exe file into: " & Trim(sPath))
'Writing to the registry
If RegisterAddOn = 1 Then
MsgBox("AddOn Was Registered Successfully")
CmdUnReg.Enabled = True
Else
MsgBox("Failed To Register AddOn")
End If
End Sub
Private Sub CmdUnReg_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdUnReg.Click
Dim InstallStrFile As String
InstallStrFile = VB6.GetPath & "\SBOAddOnRegData.sld"
If UnRegisterAddOn(InstallStrFile) = 1 Then
MsgBox("AddOn Was UnRegistered Successfully")
Else
MsgBox("Failed To UnRegister AddOn")
End If
End Sub
End Class -
How many Licenses in SBO 2004 of trial version?
hi all~
How many Licenses in SBO 2004 of trial version?
And when client access to server, License manager get the ID of window?1 full license.
as for license server check sbo licensing doc downloadable from this site -
Hi, I am developing a solucion using jco for sap sbo 2004 pl 30. And it works fine on my computer windows xp, but when i copied my application and the jco's jar files to my production server (linux) and It returns the following error:
java.lang.UnsatisfiedLinkError: no sbojni in java.library.path at java.lang.ClassLoader.loadLibrary
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.sap.smb.sbo.wrapper.util.WrapperUtil.loadSBOJNILibrary
at com.sap.smb.sbo.wrapper.com.Dispatch.<clinit>
at com.sap.smb.sbo.api.SBOCOMUtil.newCompany
I guess that this error is becouse there is no "sbojni.dll" file for linux, there must be a different version of jco for linux...
Do you have any Idea about running jco application on linux?
many thanks,
Sergio Arrivillaga.Hi Sergio,
It is not possible to run the jco on linux, only on windows, because it has as com-interface to SBO.
If you want your application to run ion linux you should connect to sbo using the DI-server.
Regards,
ad -
Connecting 2004 thru 2005.
Hi All,
Im not able to connect the 2004 Application using the 2005 SDK Using DIAPI.My code is
comp.Server = "server name";
comp.DbUserName ="sa";
comp.DbPassword = "sa";
comp.UserName = "manager";
comp.Password = " manager";
int ConRet = comp.Connect();
Here i have used the Dbusername and password since 2005 uses the same.My requirement is to connect both 2004 and 2005A using the 2005 SDK.
What i have to do to reach this requirement.
When i connect to 2005 its working fine.But when i connect 2004 using this 2005 im getting error as "Connection to sbo common has failed".
One more question is ther any possibility to find whether the user has installed 2004 or 2005 using the SDK.please any one of u help to solve this problem.Im struggling with this.
regards,
Ranjani SampathRegarding your second question:
Recently I surfed in the registry and wrote a function
that gets information about the default DIAPI installed.
I haven't deployed this widely so I can't be 100% sure
it will work in all situations.
Therefore, I would be happy to receive everyone's
comments on this.
Public Function SBOGetDiapiVersionInfo() As String
Dim s, s1, s2, s3 As String
Dim strCurrentVersion As String
Dim strFilename As String
Dim rk As RegistryKey
rk = Registry.ClassesRoot.OpenSubKey("SAPbobsCOM.CompanyCurVer", True)
strCurrentVersion = CType(rk.GetValue(""), String)
rk = Registry.ClassesRoot.OpenSubKey(strCurrentVersion & "CLSID", True)
s = CType(rk.GetValue(""), String)
rk = Registry.ClassesRoot.OpenSubKey("CLSID" & s & "InprocServer32", True)
strFilename = CType(rk.GetValue(""), String)
s1 = "DI API Version : " & System.Diagnostics.FileVersionInfo.GetVersionInfo(strFilename).ProductVersion
s2 = "DI API Date : " & File.GetCreationTime(strFilename)
s3 = "DI API File : " & strFilename
s = s1 & vbCrLf & s2 & vbCrLf & s3
Return (s)
End Function -
AddOnRegDataGen.exe of version 2004 and 2005
Dear Experts/Gurus,
Are there any differences between AddOnRegDataGen.exe of version 2004 and 2005 especially for add-on developed
by partner or customer ? if yes, what should I do to my add-on ? I just did the following steps:
1. Recompile the add-on after put identifier string generated using add-on identifier generator in SBO 2005A
2. Creating registration file using AddOnRegDataGen.exe of version 2005 after created installer
3. Regiter the add-on using add-on administration
Did I miss something beside the above steps ? because the add-on can not run in the SBO 2005. The add-on is developed using SDK SBO 2004A. I appreciate your answers. TIA
Rgds,Hi Steve,
Some new fields were added between versions 2004 and 2005. But if you open the AddOnRegDataGen.exe window you will be able to see if something is not filled in your addon.
Where are you having problems? While installing or when trying to run your addon? What is the error message?
The steps you did are right:
1. Recompile addon with 2005 references
2. Create installer.exe
3. Create .ard
4. Register addon in B1
AddOnInstallAPI.dll has also changed between 2004 and 2005 versions. It should work without any changes but you better change your installer to avoid problems in following versions.
Are you using B1DE to generate your installer? You can download B1DE tools from B1 main page, SDK tools page.
Hope it helps
Trinidad. -
Connecting ATV to older 2004 or 2005 Panasonic model TH-42PX20 plasma TV
I have a 2004 or 2005 Panasonic model TH-42PX20 plasma TV that I am trying to use with Apple TV ( 2nd generation). The TV has the HDMI port but cant access the HDMI input mode. The sequence of modes accessible from the TV/VIDEO button should be TV-Component 1- Component 2 - HDMI - Video 1 - Video 2 - Video 3, but I only get TV and Component 1. Any idea how I can access the HDMI input mode to access ATV screen?
Check your TV settings, sometimes there is a feature to bypass certain inputs.
Maybe you are looking for
-
Output type for tcode : F150
Hi , I am working with customer dunning letter - tr. F150 I want to attach a modified zform to it . ( acopy of standard dunning into z with some layout changes ) How to configure it / what is the output type for it / what is the application type for
-
Is there a fix for this other than a new logic board?
every since i installed mavericks my mid 2010 macbook pro keeps crashing, and ive recently noticed that programs that triger it are Photoshop & Acrobat. and when i use Final Cut Pro X it shuts down almost right away. i talked to apple (instore and on
-
Friends List the Movement Types used in SD. Could anyone just explain the movement type with some examples. Will reward you. Thanks
-
Username is case sensitive in BPM Worklist
HI I have BPEL process with human task, that assigned to jcooper. When i login as jcooper i see this task. But if i login as JCOOPER i don't see task. Why i have 2 users with same usernames. How it fix. Thanks.
-
Start up disk full message but has 40GB available
I'm getting the Startup disk full message so I checked the HD, it's 80GB, when I click 'Get Info' the available disk space changes frequently from 45GB available to 0 available. I deleted the trash and I know the disk is not full and has around 40GB