Addon connection to SAP B1 8.81 PL 9 error
Dear all,
I can not connect my add On from VB6 to SAP B1 8.81 PL9. The error message in SAP B1 is
Connection Error -131 connection to license server failed; if license server address is invalid,correct it; if Tao NT Naming Service stopped,active it and restart license manager.
I check the service and already running. This happen only in PL 9 after i upgrade from PL 4 to PL 9. i also run the add on in PL 4 and it runs well. Did i miss something in PL 9 ? or is there bug in PL 9.
Thanks in advance
Regards
KK.
Hi,
I already follow the step in this thread.
But does not work.
I also already close the firewall, antivirus that i use.
At the same time if my add-on is running using vb.net it works fine.
But when the add-on is running in VB6 ,it can not run from VB6.
Fyi , the VB6 source code is running well from SAP B1 2007 to 8.81 PL4.
Now i still consider if i must upgrade to PL9 or not. Because most of my old add-on is still write in VB6 for the compiler.
Thanks in advance
Similar Messages
-
Addon connection and SAP Client running slow
The configuration of the server
IBM SERVER X3400 M3 7379-1VS
IBM 300 GB SAS HDD
IBM 4 GB RAM KIT
IBM RPS FOR SERVER
IBM CPU X3400
IBM MS ROK KIT
MS WIN 2008 SERVER R2 64 BIT
But still when my client system starts the SAP application runs very slow.
can anyone help us in the issue.Hi,
Please try the following:
1. Try to set the Add-on loading to Manual, lets try running the program without the Add-on and
lets try to compare the slowness of both scenario and observe if the add-on is the cause of the problem.
2. Is your Application and Database Server are same machine?
Much better if you separate them.
3. Running add-on requires more RAM 4Gig is not enough.
4. What is your SBO version and patch?
5. Try to view in the resource monitor which process takes big consumption of your resources.
Thanks.
Clint -
DataIntegrator XI R2 couldn't get connection to SAP R/3
Specification:
- Data Integrator XI R2, SAP R/3 4.6C
Problem :
- I'm trying to connect data integrator R2 with SAP R/3 4.6c , and it doesn't work well unfortunately.
When I tried to connect DI with R3(QAS), it works well. but, when I tried to connect DI with R3(PRD), it doesn't work.
Looks like it doesn't work in case R/3 was composed of message servers.
In R3(QAS: Test System), there are only one AS(Application server).
In R3(PRD: Production System), there are 4 AS(Application server) and one of them has a role of messaging service(for Load balancing).
Any advices will help.
Best regards
Kyung woo.Unfortunately BODI is not really sophisticated when it comes down to error reporting in connecting to SAP R/3. The generic error message can mean anything. I assume you got that error message and not a slightly more specific one referring to i.e. cannot access certain rfc functions etc.
I also assume that you could not connect to the SAP system, that the ABAP is not send or triggered and that you did not get back a job number.
You need to check:
SAP BODI account locked / invalid password
That you can reach the SAP server
That you logon to the right SAP logon group. DI lets then the R/3 system handle the load balancing between the application server. I think you can check this by filling in a target host in the SAP R/3 datastore so that DI goes to one application server. Assuming your SAP system does allow this. -
Hi All!
When i create an Addon Application I Register String to connect to SAp by: Right click in my app/properties/Debug/ and input command line Agruments.
And in myclasses I call:
Private Sub SetApplication()
'// Use an SboGuiApi object to establish the connection
'// with the application and rturn an initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
'// connect to a running SBO Application
Try ' If there's no active application the connection will fail
SboGuiApi.Connect(sConnectionString)
Catch ' Connection failed
System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
End
End Try
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
to connect to SAP.
But When i create many classes I call many this function so my application will timeout when I setup this Application for SAp. How to connect one time and using all.
please help me solve this problem.
ThanksHi,
1) Define a main class, which calls SetApplication and initializes SBO_Application.
Public class clsSBO
Public WithEvents SBO_Appln As SAPbouiCOM.Application
Public sub New()
SetApplication()
CreateObjects()
end sub
your functions
end class
2) Create objects of all of your classes in the clsSBO.
3) Whenever ItemEvent or MenuEvent happens, pass the event to the appropriate objects.
Hope this helps.
Please give points if you find this useful.
Regards
Geetha -
Slow addon connection at client
I am using
SAP Business One 8.8 (8.80.236) PL: 18
On server all is fine
But at client machine addon connection is very slow.
I check in Activity monitor that following query takes tooo long time for execution
Select * from SCAB FOR BROWSE
any idea about fast connection at client?Hi gordon.
I have not to write this query in code. I think its internal query of SAP while addon connection.
When client machine connect addon, that time I check in activity monitor and found that takes too time to execute this query.
I also check when no of users connected from sql server at client machine also takes too time to execute.
Regards,
Mahesh -
Mensaje: Unable to connect to SAP Business One
SAP marca el siguiente error al abrir, estamos en SAP 8.8 SP0 PL 18 y desde el dia que se realizo la actualizacion a dicho parche a los usuarios les salen 2 ventanas que indican error, mas no hemos dado prioridad alta debido a que pese a que salen cada vez que ingresan a B1 no les ha causado conflicto al trabajar.
La primer ventana dice con titulo XL Reporter : Unable to connect to SAP Bussines One.
No se ha encontrado la clave de busqueda solicitada en ningun contexto de activación activa.
La segunda ventana con titulo Mensaje del sistema: No se puede realizar el upgrade del add-on. El archivo AddOnsLocalRegistration.sbo no coincide con los datos de la base de datos Common del add-on. Consulte SAP 1323680
De esta ventana esta claro lo que se sugiere en la nota de SAP pero hay un archivo que no hemos podido localizar de nombre "AddOnsLocalRegistration.sbo" aprovechando si alguien sabe en que carpeta se ubica se los agradecere.Ese fichero esta localizado en c:archivos de programasapsap business oneAddOnsLocalRegistration.sbo y hay otro que es AddOnsInstall.sbo
Estos ficheros contienen los Addon instalados. Deberías vaciarlos de contenido.
Editas el fichero con el notepad y en la primera línea debes dejar "" y borrar el resto de texto que hay.
Después deberías también borrar en el temporal del usuario la carpeta "SM_OBS_DLL", para esto tecleas en inicio - ejecutar - %temp% y lo localizas facilmente.
Cuando accedas de nuevo a SAP no detectará ningún addon instalado y forzará la desinstalación e instalación de los addon -
Hi All,
I m getting Addon Connection timeout error when connecting addon which is created with crystal reports.
I am using single-sign on for connection to company, and using B1DE Addon installer to generate .ard and .exe file.
(does firewall have any part in this? I am able to connect the addon made out of some UI API-DI API sample supplied with SDK.besides, the client has enough of RAM. the exe runs fine in debug mode.)
thanks and regards,
Binita Joshi
Edited by: Binita Joshi on Apr 29, 2008 1:53 PM
also,while creating the addon, I have given the maximum allowed installation and uninstallation time.Binita,
the only time i had this issue "when the addon starting failed but it is anyway running" i passed the
wrong string. use this c# sample to control your code.
private void SetApplication() {
// Use an SboGuiApi object to establish connection
// with the SAP Business One application and return an
// initialized appliction object
SAPbouiCOM.SboGuiApi SboGuiApi = null;
string sConnectionString = null;
SboGuiApi = new SAPbouiCOM.SboGuiApi();
// by following the steps specified above, the following
// statment should be suficient for either development or run mode
try
sConnectionString = System.Convert.ToString(Environment.GetCommandLineArgs().GetValue(1));
catch
System.Windows.Forms.MessageBox.Show("AddOn must start in SAP Business One");
globals.AppendTextToFile("B1C_AddOn.log", "#" + Convert.ToString(DateTime.Now) + "# ERROR: AddOn must start in SAP Business One");
System.Environment.Exit(0);
// connect to a running SBO Application
try
// If there's no active application the connection will fail
SboGuiApi.Connect(sConnectionString);
catch
{ // Connection failed
System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found");
globals.AppendTextToFile("B1C_AddOn.log", "#" + Convert.ToString(DateTime.Now) + "# ERROR: No SAP Business One Application was found");
System.Environment.Exit(0);
// get an initialized application object
globals.SBO_Application = SboGuiApi.GetApplication(-1);
much luck
David -
Addon Disconnecting in SAP 2005
Hi
I have problem regarding my customized addon for SAP 2005. This addon is base on my SAP2004 addon I want to use it on SAP 2005. I recompiled the Addon in the SAP2005 environment including the SAP2005 dll's, then created a Addon installer. The installer working fine application run but when I access the other forms like choose company form and business partner form the addon is disconnecting.
Any body can help me. Thanks
Regards
GiovanniHey,
The code I am using was copyed from "Tutorial: Developing a Blanket Agreement Solution". Followed it step by step, checked and doubled check. There is also a "Addon connection timed out message" that follows the debug message.
Thanks
Jeremy adam
Ok, I looks like it dying out somewhere around this line
<i>SboGuiApi = New SAPbouiCOM.SboGuiApi</i>
if it is not this line then not sure whats going on. It almost seems like the SAPbouiCOM is being flaky... It is acting like it is working then it seems to not be working... That is just crazy but that is where my thinking is... Any other suggestions, or could I be on the right track? Is it possible that there is some security issue that is causing this? What about with the Blanket Tutorial's connection code?
Thanks
Jeremy Adam
Message was edited by: Jeremy Adam -
HTTPs connection from SAP WebAS
Hello,
I have to establish a connection from SAP WebAS to an iSaSiLk server via HTTPS.
The iSaSiLk authentication is based on client certificates.
I've created a SSL client PSE, generated the Certificate Request, imported the certificate response and the chain of certificates associated with no errors. When testing the connection we're getting the following error message:
SAP icm log:
[Thr 1087400256] ->> SapSSLSessionInit(&sssl_hdl=0x2aaaba679980, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
[Thr 1087400256] <<- SapSSLSessionInit()==SAP_O_K
[Thr 1087400256] in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
[Thr 1087400256] out: sssl_hdl = 0x1a3310c0
[Thr 1087400256] ->> SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)
[Thr 1087400256] NiIBlockMode: set blockmode for hdl 22 TRUE
[Thr 1087400256] <<- SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)==SAP_O_K
[Thr 1087400256] ->> SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0, &cred_name=0x1a49e4e0)
[Thr 1087400256] SapISSLComposeFilename(): Filename = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
[Thr 1087400256] <<- SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0)==SAP_O_K
[Thr 1087400256] in: cred_name = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
[Thr 1087400256] ->> SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0, &hostname=0x1a4a09e0)
[Thr 1087400256] <<- SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0)==SAP_O_K
[Thr 1087400256] in: hostname = "<remoteServer_to_be_accessed>"
[Thr 1087400256] ->> SapSSLSessionStart(sssl_hdl=0x1a3310c0)
[Thr 1087400256] SapISSLUseSessionCache(): Creating NEW session (0 cached)
[Thr 1087400256] Tue Jan 13 10:10:22 2009
*[Thr 1087400256] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL*
[Thr 1087400256] session uses PSE file "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
[Thr 1087400256] SecudeSSL_SessionStart: SSL_connect() failed
secude_error 536871693 (0x2000030d) = "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite"
[Thr 1087400256] >> Begin of Secude-SSL Errorstack >>
[Thr 1087400256] ERROR in ssl3_get_certificate_request: (536871693/0x2000030d) none of the PSEs registered with hSsl can suffice
[Thr 1087400256] << End of Secude-SSL Errorstack
[Thr 1087400256] SSL_get_state() returned 0x00002150 "SSLv3 read server certificate request A"
[Thr 1087400256] No certificate request received from Server
[Thr 1087400256] <<- ERROR: SapSSLSessionStart(sssl_hdl=0x1a3310c0)==SSSLERR_SSL_CONNECT
[Thr 1087400256] ->> SapSSLErrorName(rc=-57)
[Thr 1087400256] <<- SapSSLErrorName()==SSSLERR_SSL_CONNECT
[Thr 1087400256] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT [icxxconn_mt
On the iSaSiLk server we're getting:
ssl_debug(2): Starting handshake (iSaSiLk 3.06)...
ssl_debug(2): Received v3 client_hello handshake message.
ssl_debug(2): Client requested SSL version 3.0, selecting version 3.0.
ssl_debug(2): Creating new session 11:5F:04:C9:0D:32:15:B9...
ssl_debug(2): CipherSuites supported by the client:
ssl_debug(2): SSL_RSA_WITH_RC4_128_SHA
ssl_debug(2): SSL_RSA_WITH_RC4_128_MD5
ssl_debug(2): SSL_RSA_WITH_3DES_EDE_CBC_SHA
ssl_debug(2): SSL_RSA_WITH_DES_CBC_SHA
ssl_debug(2): SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
ssl_debug(2): SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
ssl_debug(2): SSL_RSA_EXPORT_WITH_RC4_40_MD5
ssl_debug(2): CompressionMethods supported by the client:
ssl_debug(2): NULL
ssl_debug(2): Sending server_hello handshake message.
ssl_debug(2): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
ssl_debug(2): Selecting CompressionMethod: NULL
ssl_debug(2): Sending certificate handshake message with server certificate...
ssl_debug(2): Sending certificate_request handshake message...
ssl_debug(2): Sending server_hello_done handshake message...
ssl_debug(2): IOException while handshaking: Connection closed by remote host.
ssl_debug(2): Sending alert: Alert Fatal: handshake failure
ssl_debug(2): Shutting down SSL layer...
ssl_debug(2): Closing transport...
From the iSaSiLk everything seems to be OK, but on the SAP WebAS the error "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite" is really unclear, since the cipher chosen by the iSaSiLk is one of the ciphers sent by SAP WebAS...
Can anyone give me any suggestion?Hello Olivier,
Thanks for your answer.
I've implemented note 800240 which facilitates the PSE analysis by implementing the report ZSSF_TEST_PSE. With this report I'm able to check all the PSE content, which are:
Filename SAPSSLSPHTID.pse
PIN <no>
Signature X
Encryption X
Profile Parameter
DIR_INSTANCE /usr/sap/XID/DVEBMGS00 /usr/sap/XID/D00
sec/dsakeylengthdefault 1024
sec/libsapsecu /usr/sap/XID/SYS/exe/run/libsapcrypto.so
sec/rsakeylengthdefault 1024
ssf/name SAPSECULIB
ssf/ssf_md_alg SHA1
ssf/ssf_symencr_alg DES-CBC
ssf/ssfapi_lib /usr/sap/XID/SYS/exe/run/libsapcrypto.so
ssf2/name
ssf2/ssf_md_alg SHA1
ssf2/ssf_symencr_alg DES-CBC
ssf2/ssfapi_lib
ssf3/name
ssf3/ssf_md_alg SHA1
ssf3/ssf_symencr_alg DES-CBC
ssf3/ssfapi_lib
Environment variables
USER xidadm
SECUDIR /usr/sap/XID/DVEBMGS00/sec
PSE
Validity 18.12.2008 19:47:04 18.12.2009 19:47:04
Algorithm RSA (OID 1.2.840.113549.1.1.1)
Test signature
Signature OK
Verification OK
Test encryption
Encryption OK
Decryption OK
As you can see, the cipher algorithm used is RSA. Any suggestion... ?
An iSaSiLk server "is a Java programming language implementation of the SSLv2 (client-side), SSLv3, TLS 1.0 and TLS 1.1 protocols. It supports all defined cipher suites (except for Fortezza), including all AES and PSK cipher suites. iSaSiLk implements all standard TLS extensions, comes with an easy to use API and operates on top of the IAIK-JCE Javau2122 Cryptography Extension. iSaSiLk is highly configurable and will work with any alternative JCE implementation supported by a proper provider for supplying the required cryptographic algorithms".
Once again thanks for your answer. -
Remote Connection from SAP to MS-SQL server
Hello Experts,
We have been following 2 options so far and we have come across some issues
The first Option is to call a stored procedure (this is our preferred method) which does the data transfer for us
We have been able to test this scenario successfully from SQL Server side
However, while calling the stored proc via native SQL from ABAP we have come across an issue which is due to SQL 2005 changes (Schema implementation and difference in the security context)
While calling the stored procedure from the ABAP Code we have an error
The program short dumps with runtime error DBIF_DSQL2_SQL_ERROR, exception CX_SY_NATIVE_SQL_ERROR. The database error code is 15274, and the error text is
"Access to the remote server is denied because the current security context is not trusted."
This issue is new after the SQL Server 2005.
We are trying to resolve that.
Secondly we have been trying the DBCON option as well as per OSS Note 323151
We have a few things thatu2019s impacting our scenario:
The remote servers are in a different domain
The remote servers are located in DIZ
Remote server is a named instance
Remote server has been configured with a different port than standard (1565) u2013 All Connection strings will need port in there
The Database name starts with a numeric value
Due a combination of factors as mentioned above the standard approach does not work
Have any of you used this approach while connecting from SAP to MS-SQL server? Do you know of any successful methods to connect to SQL using ABAP (or not) from SAP.
Thanks in advance,Yes,
DBConnect & UDConnect.
Works like a charm.
We write data into a MS-SQL database via DBConnect & an ABAP program (using open sql). -
SAP DB Connection from SAP BI on HP UNIX to MS SQL External Database
Dear All,
Greetings!
I have a scenario to configure a SAP DB Connection from SAP BI System on HP UNIX 11i to the external legacy system MS SQL 2000 Enterprise for data upload. I am interested in connecting the SQL server as a Source System to the BI System.
I read through documents mentioning about installation of a Client driver in the SAP BI System, I also downloaded the JDBC client software and tried installing the same, but the steps as mentioned Setting the CLASSPATH or connecting to the server did not work.
Please help me in connecting the SQL Server as Source System, I would like to know in detail about the same - so kindly help me with the links to documents and guides about the same.
Thank you
Regards,
Vineeth DamodarShort answer: this does not work.
Long answer: To connect directly to the database you need
- a database client for the source system
- a database interface library for the source system
Both of them are not available for HP-UX if the target database is SQL server --> doesn't work.
What you can do is: add a Windows application server to your BI system (heterogeneous installations work and are supported) and add there the database client and the database interface library.
Markus -
Connection from SAP 4.0B System to IBM MQ Series
Hi
is it possible to connect <b>SAP 4.0B</b> System with <b>IBM MQ Series 6.0</b>,is the connection supported by SAP 4.0B?
If supported I am confused with what is the <b>RFC Destination</b> to be used
is it <b>R/3 Connections</b> or <b>TCP/IP connections</b>
Thanks in advance
Warm regards
RajasekharHi Anup
Thanku for your valuable input, here in the TCP/IP connections can you please suggest what are the
<b>ACTIVATION TYPE</b> to be used there are 4 radio buttons, is it the
<b>Registered Server Program</b> OR
<b>Start On Application server</b>OR
<b>Start on Explicit Host</b> OR
<b>Start on Front End Work Station</b>
if it is the registered server program what are the values to be used for <b>PROGRAM ID</b>
is it required to make any changes in <b>SAPRFC INI File</b>
Thanks in advance
Warm regards
Rajasekhar -
Connection from SAP ERP 6 to B1i2007
Hello,
the test-connection between B1i and SAP is working, but when trying to test the connection from SAP to B1i, SAP gives the error mesaage that "the program is not registered".
The B1i-System seems to be not registered in the SAP and it is only shown as "external client" (and not as registered server).
Another problem is that in B1i we have entered as programID-name "B1iRFC" but SAP shows "tomcat5" as TP-name.
I thought B1i would register automatically on the SAP with the name of the programm-id entered.
Do we have to change someting in the tomcat-server or where to find the problem?
Thank you,
PeterHello Eddy,
thank you for your answer, but in R/3 I define a RFC-connection with a registered server programm by using the programID out of the B1i-RFCP-configuration, right?
And when trying to make a test-connection, I got an error message that there is no registered program with this programID.
I thought that B1i have to be registered in SAP or in the SAP-Gateway with the name of this programID.
I think my problem is the registered server program in R/3. Where do I get this program and how to register in the R/3 gateway? Isn't the tomcat-server this program?
Best regards,
Peter -
Connection from SAP to our systems involving 2 saprouters
connection from SAP to our systems involving 2 saprouters
we have 1 saprouter inside a dmz and another for connecting to our systems.
we are guessing that this is possible
SAP (sapserv2) -
SNC----> saprouter1 (DMZ, SNC connection) -
> saprouter2 (P * * 3200) ---> SAP1, SAP2...
But how could we do that?
How can we let SAP know that they need to connect to 2 saprouters instead of 1?
The "Mantain System Data" in sap service marketplace only lets us introduce 1 saprouter.
And how should be the saproutettab of the 2 saprouters?
saprouter1:
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 000.00.00.00 *
P * saprouter2 3299
saprouter2:
P * * 3200
P * * 3600
is that possible?
Many thanks !!Hi
As far as my experience goes with this you have to maintain both router information in oss1 tcode
Also mention second router on the second router tab on the SMP data
I hope it should work with that as it will automatically create router table -
Setting up a https connection between SAP CRM and genesys gplus adapter
Hello All-
We are integrating SAP CRM with genesys mysap gplus adapter. We are struck in setting up a https connection between sap and gplus adapter.
Can anyone here help me out in this like how to get the SSL Protocol, keystore, keystore password,truststore and truststore password.
Information abt Adapters server certificate. Do we need to configure the adapter for the proxy also?
Any additional comment will help. Thanks in advance!Hello Vinod,
Please refer the following OSS notes 564085.
Please reward if helpful.
regards,
Muralidhar Prasad.C
Maybe you are looking for
-
How to make a custom form, buttons etc... please...
I mean, how to make a form (for example, JFrame) with arbitrary form (geometry, for ex, round, oval, star like etc). I think you understand what i mean. Of course, i think i can use winApi, but it's only for windows. It doesn't suit for Java in this
-
ReportCrash: Saved crash report for httpd[4789] version 793
My iMac has started to loop on crashreports like the one pasted. I can't figure out whats wrong. Anyone with suggestions please? Thanks a lot Process: httpd [5967] Path: /usr/sbin/httpd Identifier: httpd Vers
-
Time Manager's Workplace and Employee temporary assignment in Shift plannin
Hello fellow SAPPERS, I trust that this mail finds you all well.I wonder if you could help me 1. With the temporary assignment of employees to another org unit using the shift planning section of TM, will i be able to see those people temporarily ass
-
Hello everyone... I am trying to figure out why my thumbnail movie clip will not scroll when clicked. I thought I had the action script right but it appears that I have not. Could anyone help me troubleshoot this? If you could give me your email addy
-
Linking to just parts of a video
Hello: Have a menu listing 12 technology terms...the first option is to play entire 10 min video (which has 12 chapter markers), subsequent list on the menu are the 12 terms...want each term on the menu to link to only its section on the 10 min video