Connection to SAP R/3 46B through EP
Hi All
I installed following products but don't know how to connect SAP R/3 system through webdynpro.
EP : 6.0 SP10 (Only Java instance)
OS : Windows 2000
DB : Oracle 9i
R3 : Version 46B BASIS SUPPORT PACK 30
OS : Solaris 8
DB : Informix 7.31 fd2x9
Am new to NETWEAVER programming my desire is to connect
SAP and fetch data from SAP pl guide me.
Thanks in advance
Sanjay
...and for "classical" portal development (i.e. PAR files), first create a system object in system administration --> system configuration --> system landscape and set all configuration parameters for your R/3 system accordingly there.
Next decide on you you like to implement SSO to this system (user mapping or SAP logon tickets). For the latter one, some additional steps need to be performed on the R/3 side. Please check service.sap.com/securityguide for this or do a search on the SDM forums on "sap logon tickets". There also are various nice weblogs on this, e.g. Quick Guide for setting up SSO between EP and R/3
Now for the "data fetching" part. This will require doing an RFC call from EP to your R/3 system. For this, you usually utilize SPA Java Connector (JCo) through JCA. This archive https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/jca on ep6 building portal applications.zip
contains all neccessary information.
Hope this helps, if so please do not forget rewarding points.
Regards,
Dominik
Similar Messages
-
Problem in connecting to Sap R/3 system through Crystal Reports
Hi
while I am connecting to Sap R/3 system through crystal reports i am getting an error
(" you do not have a necessary rights to design reports against sap system ")
can anyone sort out this problem?
Thanking in advanceyou need to add some transport files while installing the integration kit for sap solutions.check whether all transport files are added
-
Unable to Connect to SAP through SAPGUI
Dear all,
We have a PI 7.11 dual stac ksystem on Linux, oracle.
we are able to connect to the server through putty, but not able to launch xmanager as it is sayign XDMCP error....
Also unable to connect to SAP through SAP GUI
we are getting wsaewouldblock resource temporarily unavailable
I am connecting to servers through CISCO VPN......
Thanks,
Murali L.[root@PIPROD work]# ps -ef | grep dw
pipadm 2042 23763 0 19:34 ? 00:00:01 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
root 8373 6880 0 19:52 pts/1 00:00:00 grep dw
gdm 17480 17397 0 15:48 ? 00:00:00 /usr/libexec/gdmgreeter --gtk-module=gail:atk-bridge:/usr/lib64/gtk-2.0/modules/libkeymouselistener:/usr/lib64/gtk-2.0/modules/libdwellmouselistener
pipadm 23763 23690 0 17:28 ? 00:00:00 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
pipadm 23777 23763 0 17:28 ? 00:00:08 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
pipadm 23778 23763 0 17:28 ? 00:00:05 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
pipadm 23781 23763 0 17:28 ? 00:00:10 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
pipadm 23783 23763 0 17:28 ? 00:00:04 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
pipadm 23786 23763 0 17:28 ? 00:00:03 dw.sapPIP_DVEBMGS00 pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
[root@PIPROD work]# more stderr1
(23762) New Child Process created.
(23762) Starting local Command:
Command: ms.sapPIP_DVEBMGS00
pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
[root@PIPROD work]# more stderr2
(23763) New Child Process created.
(23763) Starting local Command:
Command: dw.sapPIP_DVEBMGS00
pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
Thu Oct 20 17:28:21 2011
DpVmcInit: initialize vmc
DpVmcInit: vm lib loaded
DpVmcInit: vm linked with kernel
DpVmcInit: vm native libs loaded
ICM up and operational (pid: 23775) ***
[root@PIPROD work]# more stderr3
(23764) New Child Process created.
(23764) Starting local Command:
Command: ig.sapPIP_DVEBMGS00
-mode=profile
pf=/usr/sap/PIP/SYS/profile/PIP_DVEBMGS00_PIPROD
NiInit3: NI already initialized; param 'maxHandles' ignored (init=1;par=202;cur=2048)
***LOG Q0I=> NiPConnect2: 172.28.30.45:3300: connect (111: Connection refused) [nixxi.cpp 3142]
ERROR => NiPConnect2: SiPeekPendConn failed for hdl 1/sock 7
(SI_ECONN_REFUSE/111; I4; ST; 172.28.30.45:3300) [nixxi.cpp 3142]
[root@PIPROD work]# more dev_ms
trc file: "dev_ms.new", trc level: 1, release: "711"
[Thr 47613442779232] Thu Oct 20 17:28:21 2011
[Thr 47613442779232] ms/http_max_clients = 500 -> 500
[Thr 47613442779232] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
systemid 390 (AMD/Intel x86_64 with Linux)
relno 7110
patchlevel 0
patchno 81
intno 20020600
make multithreaded, Unicode, 64 bit, optimized
pid 23762
[Thr 47613442779232] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 23762) [msxxserv_mt. 2174]
[Thr 47613442779232] SigISetDefaultAction : default handling for signal SIGCHLD
[Thr 47613442779232] load acl file = /usr/sap/PIP/SYS/global/ms_acl_info
[Thr 47613442779232] MsGetOwnIpAddr: my host addresses are :
[Thr 47613442779232] 1 : [172.28.30.45] PIPROD (HOSTNAME)
[Thr 47613442779232] 2 : [127.0.0.1] localhost (LOCALHOST)
[Thr 47613442779232] *** ERROR => NiHsLGetHostName: NiPGetHostByAddr failed (rc=-1) [nixxhsl.cpp 527]
[Thr 47613442779232] 3 : [192.168.122.1] 192.168.122.1 (NILIST)
[Thr 47613442779232] MsHttpInit: full qualified hostname = PIPROD
[Thr 47613442779232] HTTP logging is switch off
[Thr 47613442779232] set HTTP state to LISTEN
[Thr 47613442779232] *** I listen to port sapmsPIP (3600) ***
[Thr 47613442779232] *** I listen to internal port 3900 (3900) ***
[Thr 47613442779232] *** HTTP port 8100 state LISTEN ***
[Thr 47613442779232] CUSTOMER KEY: >Z2073759310<
[Thr 47613442779232] build version=711.2009.08.31
[Thr 47613442779232] Thu Oct 20 17:28:35 2011
[Thr 47613442779232] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/logon_groups (403 Forbidden)
[Thr 47613442779232] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/urlprefix (403 Forbidden)
Edited by: Murali Lakkoju on Oct 20, 2011 4:14 PM -
Unable to connect to SAP business one through web service
Hi
I'm facing some problem with my web service. I tried to connect to SAP but it gave me an "System.Exception"
Public Function ConnectedToDatabase() As Boolean
Try
Dim oCompany as SAPbobsCOM.Company
oCompany = New SAPbobsCOM.Company
Dim lRetCode, lErrCode As Long
Dim sErrMsg As String
sErrMsg = ""
Session("g_server") = System.Configuration.ConfigurationManager.AppSettings("Server")
Session("g_companyDB") = System.Configuration.ConfigurationManager.AppSettings("CompanyDB")
Session("g_DBUserName") = System.Configuration.ConfigurationManager.AppSettings("DbUsername")
Session("g_DBPassword") = System.Configuration.ConfigurationManager.AppSettings("DbPassword")
Session("g_Username") = System.Configuration.ConfigurationManager.AppSettings("Username")
Session("g_Password") = System.Configuration.ConfigurationManager.AppSettings("Password")
oCompany.Server = Session("g_server")
oCompany.CompanyDB = Session("g_companyDB")
oCompany.DbUserName = Session("g_DBUSerName")
oCompany.DbPassword = Session("g_DBPassword")
oCompany.UserName = Session("g_Username")
oCompany.Password = Session("g_Password")
oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
lRetCode = oCompany.Connect()
When the codes runs to the line IRetCode = oCompany.Connect(), it will return an error code -8006. Those session got the correct information from the web.config. Then exception is throw in.
I try restarting my com and restarting my suite manager. Usually this will solve the problem. However, it won't for this time. I hope will receive some solutions for my problem. Thanks for your time.Hi,
Try To Set the db server type to MS SQL 2005 (value 4)
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
or
oCompany.DbServerType = 4
and
oCompany.UseTrusted = False
Regards,
János -
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 -
RSA1 DB Connection from SAP BW to external SQL Server databas.
Hello,
I am trying to connect our SAP BW system with SQL Server Source System through DB Connect in transaction RSA1.
Our BW system is running on Windows and MaxDB platform, therefore have I already added the latest dbmssslib.dll library to the kernel for SQL Server.
But the connection does not work anyhow, I recieve the error "Database error -1 at CON > [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does > exist or access denied." and I am quite sure that my input parameters are correct.
Therefore I wonder if someone has run into a similar problem and what the problem could be?
Best Regards,
Niklas SandstedtHi,
I am sorry that my case was assigned to wrong forum.
That should now have been corrected, however my problem still remains unsolved in one of our systems.
I found note 178949, which fixed the problem in one system. But even though the system setup seems to be identical, the two systems appears different.
The following has been done for both systems:
1. Upgraded kernel to 701 version 111 and added dbmssslib.dll and dbmssslib.pdb files
2. Created Logical system in BD54.
3. Tried to create DB connection in transaction DBACOCKPIT.
In the third step, the setup fails and I receive the following error message when I test the connection:
Database error -1 at CON > [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not > exist or access denied.
Database error -1
All profile parameters AL11-directories also seems to be correct in both systems, so both should find the dbmssslib.dll file.
One issue that I see is in DBACOCKPIT, the checkbox for "SAP Systems with basis release" is unchangeble and marked. This however, I think was changed in the other system automatically when the connection was established successfully.
Has anyone run into the same problem?
Best Regards,
Niklas Sandstedt -
BO 4.0 - Database error: Unable to connect to SAP BW Incomplete logon data
Hello Experts,
I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
[http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers]
I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
Database error: Unable to connect to SAP BW server Incomplete logon data -
If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error - CALL_FUNCTION_SIGNON_INCOMPL
Desired outcome:
I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP' authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
Any help in this matter would be greatly appreciated.
Thanks & regards,
CD.Hi Simone,
Thank you for the reply.
Here are the things done by me.
1. Generated the keystore file and imported it in BI 4.0 CMC on SAP Authentication Option tab
([http://wiki.sdn.sap.com/wiki/display/BOBJ/GeneratekeystoreandcertificateforSAPBO+BI4.0])
([http://wiki.sdn.sap.com/wiki/display/BOBJ/SetupofSAPSSOServiceinSAPBOBI4.0+CMC])
2. Generate the certificate file cert.der and this cert is imported in SAP BW with STRUSTSSO2 transaction.
([http://wiki.sdn.sap.com/wiki/display/BOBJ/ImportSAPBOBI4.0certificateintoSAP+BW])
3. BW Roles/Users have been imported into CMC.
4. SAP Users and LDAP users are mapped/aliased with each other using the registry key method
([http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtomapSAPusersandLDAPusersinSBOBI4.0+CMC])
I haven't explicitly configured STS (Security token service) as STS is a part of Adaptive processing server (APS) and I have verified that by going to servers in CMC and then to analysis services.
I have searched for SAP OSS notes related to my issue but couldn't find any note related to SAP BW SSO with Business objects 4.0. Most of the notes are relevant for BO XI 3.1 environments.
Thanks & regards,
CD. -
BO 4.0: Database error:Unable to connect to SAP BW server Incomplete logon
Hello Experts,
I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers
I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
Database error: Unable to connect to SAP BW server Incomplete logon data -
If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error - CALL_FUNCTION_SIGNON_INCOMPL
Desired outcome:
I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP' authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
Any help in this matter would be greatly appreciated.
Thanks & regards,
CD.Whether your problem is solved?
We have the same problem in BO Mobile.
Two users from one BW-role, BO-groups; one user report is executed, another user - error incomplete logon data. In Web Intelligence both users reports succeeds. -
BO Analysis for Excel – How to connect to SAP BW
Hi Gurus,
We recently upgrade to BO 4.1 (from 3.1). And want to start to use Analysis for Excel.
We are little unclear how to connect from Analysis for Excel to SAP BW 7,3.
From Analysis select “Select Data Source” Then get a pop-up “Logon to SAP BussinessObjects BI Platform” with User, Password and Web Service URL. All those are blank. For the Web Service URL there is a message “Error while checking availability of SAP BussinessObjects BI Platform system”
If choose “Skip” then get SAP Logonpad and can log on to BW. From there I can choose the BW queries directly.
What is the best practice to connect from Analysis for Excel to SAP BW?
Is it not possible to connect to the BO server? And choose OLAP connection from there to connect to BW?
If so, is something missing in our setup?
Regards,
ReynirYes you need to define an OLAP connection of you are connecting to BW through the BIP - see tutorial http://scn.sap.com/docs/DOC-20625
You can also connect directly to BW without going through BIP
I also recommend searching before you post per SCN rules - there are many posts about creating OLAP connections
Tammy -
Issue with My VB Code when connecting to SAP
Hi Guys: I am trying to upload Customer Master Data information into SAP from Excel using VB. Here is my code.
Private Sub CommandButton3_Click()
' Getting the last filled Row in Column A
vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
' Setting the necessary variables for R/3 connection
Set objBAPICortrol = CreateObject("SAP.Functions")
Set objConnection = objBAPICortrol.connection
' Establish a connection
If objConnection.Logon(0, False) Then
MsgBox "Connection Established"
End If
On Error Resume Next
' Assign the Parameters
Set objCreateCustomer = objBAPICortrol.Add("BAPI_CUSTOMER_CREATE")
Set objAccountGroup = objCreateCustomer.Exports("Acct Gr")
Set objCompanyCode = objCreateCustomer.Exports("Co Code")
Set objSalesOrganization = objCreateCustomer.Exports("Sales Org")
Set objDistributionChannel = objCreateCustomer.Exports("Dist Ch")
Set objDivision = objCreateCustomer.Exports("Div")
Set objName = objCreateCustomer.Exports("Name")
Set objStreet = objCreateCustomer.Exports("Street")
Set objHouseNumber = objCreateCustomer.Exports("House Number")
Set objPostalCode = objCreateCustomer.Exports("Postal Code")
Set objCity = objCreateCustomer.Exports("City")
Set objRegion = objCreateCustomer.Exports("Region")
Set objCountry = objCreateCustomer.Exports("Country")
Set objCountyCode = objCreateCustomer.Exports("County Code")
Set objPhone = objCreateCustomer.Exports("Phone")
Set objContact = objCreateCustomer.Exports("Contact")
Set objFax = objCreateCustomer.Exports("Fax")
Set objEmail = objCreateCustomer.Exports("Email")
Set objDirections = objCreateCustomer.Exports("Directions")
Set objCityCode = objCreateCustomer.Exports("City Code")
Set objReconAccount = objCreateCustomer.Exports("Recon Account")
Set objPaymentHistory = objCreateCustomer.Exports("Payment History")
Set objCustomerPricingProcedure = objCreateCustomer.Exports("Cust Pricing Procedure")
Set objCustomerStatisticsGroup = objCreateCustomer.Exports("Cust Stat Group")
Set objIncoTerms = objCreateCustomer.Exports("Inco Terms")
Set objTermsofPayment = objCreateCustomer.Exports("Terms of Payment")
Set objAccountAssignmentGroup = objCreateCustomer.Exports("Acnt Assign Group")
Set objTaxClassification = objCreateCustomer.Exports("Tax Classification")
' Now looping through all values create customer
' The data begin row is set to 2
For vRows = 2 To vLastRow
' Set the Parameter Values
objAccountGroup = ThisWorkbook.ActiveSheet.Cells(vRows, 1).Value
objCompanyCode = ThisWorkbook.ActiveSheet.Cells(vRows, 2).Value
objSalesOrganization = ThisWorkbook.ActiveSheet.Cells(vRows, 3).Value
objDistributionChannel = ThisWorkbook.ActiveSheet.Cells(vRows, 4).Value
objDivision = ThisWorkbook.ActiveSheet.Cells(vRows, 5).Value
objName = ThisWorkbook.ActiveSheet.Cells(vRows, 6).Value
objStreet = ThisWorkbook.ActiveSheet.Cells(vRows, 7).Value
objHouseNumber = ThisWorkbook.ActiveSheet.Cells(vRows, 8).Value
objPostalCode = ThisWorkbook.ActiveSheet.Cells(vRows, 9).Value
objCity = ThisWorkbook.ActiveSheet.Cells(vRows, 10).Value
objRegion = ThisWorkbook.ActiveSheet.Cells(vRows, 11).Value
objCountry = ThisWorkbook.ActiveSheet.Cells(vRows, 12).Value
objCountyCode = ThisWorkbook.ActiveSheet.Cells(vRows, 13).Value
objPhone = ThisWorkbook.ActiveSheet.Cells(vRows, 14).Value
objContact = ThisWorkbook.ActiveSheet.Cells(vRows, 15).Value
objFax = ThisWorkbook.ActiveSheet.Cells(vRows, 16).Value
objEmail = ThisWorkbook.ActiveSheet.Cells(vRows, 17).Value
objDirections = ThisWorkbook.ActiveSheet.Cells(vRows, 18).Value
objCityCode = ThisWorkbook.ActiveSheet.Cells(vRows, 19).Value
objReconAccount = ThisWorkbook.ActiveSheet.Cells(vRows, 20).Value
objPaymentHistory = ThisWorkbook.ActiveSheet.Cells(vRows, 21).Value
objCustomerPricingProcedure = ThisWorkbook.ActiveSheet.Cells(vRows, 22).Value
objCustomerStatisticsGroup = ThisWorkbook.ActiveSheet.Cells(vRows, 23).Value
objIncoTerms = ThisWorkbook.ActiveSheet.Cells(vRows, 24).Value
objTermsofPayment = ThisWorkbook.ActiveSheet.Cells(vRows, 25).Value
objAccountAssignmentGroup = ThisWorkbook.ActiveSheet.Cells(vRows, 26).Value
objTaxClassification = ThisWorkbook.ActiveSheet.Cells(vRows, 27).Value
' Function call
objCreateCustomer.call
' Get return parameters & display in excel
Set objReturn = objCreateCustomer.Imports("RETURN")
ActiveSheet.Cells((vLastRow + vRows), 1) = objReturn.Value("MESSAGE")
' Error handling
If Err Then
MsgBox Err.Description
End If
Next vRows
End Sub
I am getting an error...
"No Connection to SAP available".
PLease advise how I can correct this.
thanks
Brianhi Brain,
i hope the following URL's will be useful for you
http://www.programmingtalk.com/archive/index.php/t-21399.html
Re: VB and SAP connection with BAPI Active X control
http://help.sap.com/saphelp_46c/helpdata/en/76/4a42f7f16d11d1ad15080009b0fb56/content.htm
Reward points if useful
regards,
Pavan -
URL Reporting connecting to SAP R/3
Hello,
We have Crystal Reports that connect to ABAP Function Modules in our R/3 4.7 system as the data source. To minimize the number of user prompts, we use URL Reporting to pass all the required parameters for the report. The one thing we have not been able to do is specify data connection information in the URL. We currently get around this by setting the data connection information (SAP server, system #, client #, etc.) in the Database Configuration for the report in the CMC. The downside to this is that the report is now limited to running against a single SAP client.
Is there a way to specify the SAP connection information (server, system #, client #, etc) in the URL Reporting string? I know it can be done for SQL data sources through the USER- and PASSWORD- commands on the URL, but is there a similar way to specify SAP connection information?
Our reporting environment is BOBJ Enteprise XI 3.1, reports are developed in Crystal Reports 2008.
Thanks,
Byron ClairouxHi,
that is not possible. the connection is part of the report.
Ingo -
Connect to SAP gateway failed Connect_PM TYPE=B
Hi experts,
I get the following error when i ping through JCO destinations on portals.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=imtsapdev01 GROUP=CLUST R3NAME=DMI MSSERV=sapmsDMI PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '127.0.0.1:3310' not reached TIME Tue Jan 27 16:39:54 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2823 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
However my JCO destinations were working perfectly until recently. I checked on the logon group. I have one called CLUST, which i use for this purpose.
I have also checked both service files and they have the following for the ECC server im connecting to.
3610 because its system number 10 i am connecting to.
sapmsDMI 3610/tcp
From the JCE destinations screen i cannot even ping the server. I can though when i log on to the server through remote desktop.
thanks and regards
dilanke
as a reply to nishants posts.
goto rz70
give hostname -->
service --> sapgw00 (sapgw(instance number)
execute it
click on yes
check rfc call (success or failed)
I have done this. i left hostname as "blank" gave service as "sapgw10"
The following is what i got as the output.
0: IMTSAPDEV01_DMI_10 : Execute program: SLDRFC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDMSGSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDIPSERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSP
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDGWSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDDBSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCOMPSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCLIENT
0: IMTSAPDEV01_DMI_10 : Execute program: SLDBCSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDAPPL_SERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDASSOC
0: IMTSAPDEV01_DMI_10 : Collection of SLD data finished
0: IMTSAPDEV01_DMI_10 : Data collected successfully
0: IMTSAPDEV01_DMI_10 : RFC data prepared
0: IMTSAPDEV01_DMI_10 : Used RFC destination: SLD_NUC
0: IMTSAPDEV01_DMI_10 : RFC call failed: Error opening an RFC connection.
0: IMTSAPDEV01_DMI_10 : Existing periodic jobs removed. Number: 1
0: IMTSAPDEV01_DMI_10 : Program scheduled: 20090127 184357
1: IMTSAPDEV01_DMI_10 : Event-controlled job already exists; scheduling not necessary
so i guess its not successful. when i look at rz70 of a server where this works correctly its not succsessful either
if it is success then technical system name will be in sld
to restart sld --> /sld --> administration --> stop server --> restart server
or check in VA --> SLD data supplier value --> Runtime
I checked this and i do not see aa problem. you have configuration status as valid and send reult as Success
Services file is locted on OS level of R3 system--> Goto --> Start --> Run -> (type)Drivers(enter) --> etc -> (here is services file)
check ur r/3 server entry is there or not,
I have the followng in the service file for the server
sapmsDMI 3610/tcp
if not add itHi Experts,
when ilook at the remote gateway properties in SMGW this is what i see on the R/3 server. ive looked at my other system which i can connect to and there isnt much of a difference in the parameters. How can test this to see if it works?
Details of remote gateway
entry = 0
state = CONNECTED
local = 1
system type = REMOTE_GATEWAY
client = FALSE
wait for frag write = 0
suspended = 0
read/write socket = 4
HANDLE = 4
TIME = Sun Oct 19 18:54:14 2008
SOCKET = 1352
STAT = NI_CONNECTED
TYPE = STREAM IPv4
OUT = 48225 messages 48225 bytes
IN = 1 messages 64 bytes
LOCAL = 127.0.0.1:3310
REMOTE = 127.0.0.1:1297
OPTIONS =
connect = Sun Oct 19 18:52:17 2008
last request = Thu Jan 29 13:09:58 2009
conversation no = 0
thanks and regards,
dilanke -
RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
HI All,
Im getting the following error while trying to call a RFC through JCO.
{0}#1#com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=R3ip SYSNR=00 GWHOST=R3ip GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'R3ip' unknown
TIME Thu May 15 12:13:36 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE niuxi.c
LINE 1529
DETAIL NiPGetHostByName2: hostname 'R3ip' not found
SYSTEM CALL gethostbyname_r
COUNTER 1
I know it has something to do with the entries in the services and hosts files of the portal server. Please guide me on links from help.sap.com on this.HI Dagfinn,
Very helpful answer. Thanks.
When you say :
4. Normally, the sap system should be registered in DNS, and you should need any. --- How do I check if my SAP system is registerd in the DNS? Is there some detail explaination on this.
Also,
I have these observations :
1. I checked the services file on my portal server and the entry for "sapgw00 3300/tcp" is maintained there.
2. There is no entry of my SAP ECC box in the hosts file of my portal server.
3. The group PUBLIC is not maintained in SMLG transaction.
4. I am using R3ip only in my code, there is no other place that this "R3ip" is being used.
Following is my code :
import com.sapportals.htmlb.page.*;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.event.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.resource.IResource;
import com.sapportals.portal.prt.session.*;
import java.math.*;
import java.util.*;
import java.util.Calendar;
import com.sapportals.portal.prt.service.jco.IJCOClientService;
import com.sap.mw.jco.JCO;
import com.sapportals.portal.prt.service.jco.IJCOClientPoolEntry;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
public class ReadModelData extends PageProcessorComponent {
public DynPage getPage(){
return new ReadModelDataDynPage();
public static class ReadModelDataDynPage extends JSPDynPage{
private class4bean class4bean = null;
protected IPortalComponentRequest request;
protected IPortalComponentSession session;
protected IPortalComponentContext context;
protected IPortalComponentProfile profile;
protected String userId;
protected String sapSystem;
private final static int INITIAL_STATE = 0;
private final static int OUTPUT_STATE = 1;
private final static int ERROR_STATE = 2;
private int state = INITIAL_STATE;
public void doInitialization(){
System.out.println("cpCv - Code is rendered: " + Calendar.getInstance().getTime().toString());
state = INITIAL_STATE;
DefaultTableViewModel tvm = new DefaultTableViewModel();
tvm = getData();
//class4bean = new class4bean();
class4bean.setModel(tvm);
session.putValue("class4bean", class4bean);
public DefaultTableViewModel getData() {
com.sap.mw.jco.IRepository repository;
JCO.Pool pool = JCO.getClientPoolManager().getPool("R3");
/* if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
USER,
PWD,
"EN",
"R3ip",
"00");
if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
"uname",
"pwd",
"EN",
"portalserver",
"40");
repository = JCO.createRepository("TTL", "R3");
JCO.Client client = null;
// Get a function template from the repository
IFunctionTemplate ftemplate =
repository.getFunctionTemplate("BAPI_SALESORDER_GETSTATUS");
// Create a function from the template
JCO.Function function = ftemplate.getFunction();
client = JCO.getClient("R3");
JCO.ParameterList input = function.getImportParameterList();
input.setValue("0053100700", "SALESDOCUMENT");
client.execute(function);
JCO.Table sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
Vector row = new Vector();
Vector tbl = new Vector();
Vector colNames = new Vector();
// Loop over all rows
do {
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
row.add(field.getString());
// System.out.println(field.getName() + ":\t" + field.getString());
} //for
tbl.add(row);
} while (sales_orders.nextRow());
sales_orders = null;
sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
sales_orders.nextRow();
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
colNames.add(field.getName().toString());
DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
JCO.releaseClient(client);
return dtvModel;
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
class4bean myBean = new class4bean();
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
// fill your bean with data here...
this.setJspName("testJSP_.jsp"); -
Connection to SAP gateway failed
I got the following error when i am connecting to BEX( through rrmx & direct from Business explorer) from offshore. onsite people are able to connect BEX.
as we do not have basis consultant we only need to resolve it.
please let me know what all the process I have to do. is there anything i need to contact network perople at client place. is there any settingss i need to do at sm59 tcode.
<b>please find following error message</b>
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect to SAP gateway failed
Connect_PM GWHOST=10.235.245.95, GWSERV=sapgw05, ASHOST=10.235.245.95, SYSNR=05
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 10.120.130.85, service 3305)
TIME Mon Nov 06 21:53:32 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8602
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
Thanks
LakshmiHi Lakshmi ,
As rightly mentioned by Ganesh, this is supposed to be handlled by Basis+hardware support team.
What you can do as temporary solution, use RSRT for Query Monitor.
And use query display as BEx/HTML, this way you can atleast see the result of query.
Hope it helps. -
How to connect to SAP AS JAVA?
Hi,
I am developing an JAVA application, which will connect to SAP AS Java dataSource. My environment don't have ABAP installed. So, I believe use of JCo connector is not an option.
Is ther any other connector API jar available to connect to SAP AS JAVA Datasource?
Could anyone please help me with a detail guide to connect to SAP AS Java Datasource using any APIs provided by SAP?
Thanks
AlinganHi Aligan,
Thant's correct, you have to develop a service on your EP and then you can change the UME persistence (user creation etc).
Now you can write a J2EE app which will call your service to cater your requirement.
Please go through the below links which will help you to achieve the same
http://help.sap.com/saphelp_nw73/helpdata/de/f5/1cf770b9bd442985ee71461ef2227a/content.htm
User Management Functions for Users - Integrating Security Functions - SAP Library
Could you please let me know for any further information.
Thanks,
Hamendra
Maybe you are looking for
-
Acpi on Samsung 355V4C | brightness
I tried to change backlight variety of ways. But nothing works. Ways have been tried: Set with acpi by writing file '/sys/class/backlight/acpi_video0/brightness' like light utility. Set directly by setpci. Many ways from [SOLVED] topics in the Intern
-
New MacBook Pro, apps not showing in iTunes
I recently purchased a new MacBook Pro. Im still in the process of setting it up. When my iPad or iPhone is plugged into the computer with iTunes open, no apps show in the apps tab but they show on the device. Any idea what is going on? OSX 10.10.2 I
-
BUG ? : ADF creating extra VO instance using bind variables in a LOV query
ADF 11.1.1.1.0 After "playing around" with bind variables Setting bind variables in view objects for LOV I've come across something strange that I've reproduce using the HR schema and tables Employees and Departments. Its a bit long but here goes : U
-
Testing a webdynpro-abap application
Hi friends, I have created a webdynpro application which calls the bapi get_flightlist. while testing the application its throwing an exception :<b> ICF service node for application /sap/public/myssocntl does not exist</b> So i have checked in
-
Nokia RX75 Wont Turn ON???
I.ve had my booklet for 3months now, and yesterday i was using it fine this morning i tried to turn it on and nothing it wont turn on. i have it plugged in to the ac and battery is in.. all it does when i press the power button is the SLEEP light tur