Backend Connection with SAP Logon
Hi all,
Here's my problem.
I've got System in my Portal (7) for accesing a R/3 backend. I've made an iview and works fine. I access with Win Gui to the backend.
The only problem is that I have to type "user" and "password" in a Portal pop-up window for accesing R/3.
I need to do this login in R/3's SAP Logon page and I don't know how to solve.
Any ideas?
Thanks a lot,
Alberto.
You can map the user in the Portal...
- Create System Object with R3 details
- define the connector details
- go to user management to define the user mapping.
- Create an alias
- Login to Portal. Go User Management and check for user mapping. Select the alias defined and define the mapping.
Now refresh the iView. It shouldn't ask for password.
Similar Messages
-
C # Aplication connection with SAP Windows CE
Hi,
I have a problem with an aplication that I've made in Visual Studio C#. The problem is the next:
I've made an aplication that connects with SAP and passes some data. This aplication works well on any computer but I've got a problem when I tried tu convert the code and use it in a hand help pc. The version of OS of the hand held pc is Windows CE 5.0 and the error that I get when I execute my software is something related with the COM and the Class ID, the error says the next:
"COM object with CLSID '{B24944D6-1501-11CF-8981-0000E8A49FA0}' cannot be created due to the following error: Class not registered ."
I think that the problem could be with some dll that I don't have installed on the hand held pc but I don't really know which or what exactly.
Does anyome know anything about all of these??
Thanks.Hi Julien,
To do the connection on a normal PC I include in the code the next references: SAPLogonCtrl and SAPFunctionsOCX.
Once they are included in my code I do the next:
private SAPLogonCtrl.SAPLogonControlClass saplogon;
private SAPLogonCtrl.Connection conexion;
private SAPFunctionsClass func = new SAPFunctionsClass();
SAPFunctionsOCX.IFunction sapfu = null;
Then I have a method to connect to SAP and other to pass the data. The one that connects to SAP is:
private void Connect_SAP()
saplogon = new SAPLogonCtrl.SAPLogonControlClass();
saplogon.User = usuSAP;//Usuario SAP.
saplogon.Password = passSAP;//Contraseña del usuario de SAP.
saplogon.Language = "ES";//Idioma.
saplogon.Client = cliSAP;//Mandante a través del cual nos vamos a comunicar con SAP.
saplogon.ApplicationServer = "10.10.20." + serSAP;//Ip en donde se encuetra el Servidor de SAP.
saplogon.System = sysSAP;//Entorno al que vamos a acceder.
saplogon.SystemNumber = System.Convert.ToInt16(num_Sis);
conexion = (SAPLogonCtrl.Connection)saplogon.NewConnection();
conexion.Logon(0, true);
DateTime hora = DateTime.Now;
if (conexion.Logon(0, true)==true)
MessageBox.Show("Conectado a SAP");
*Error1.Text += "SAP:Conexion establecida con exito" + "
Write_log("SAP", "Conexion establecida con exito",hora);
else
MessageBox.Show("No establecida conexión con SAP");
*Error1.Text += "SAP:No se ha establecido la conexion con exito" + "
Write_log("SAP", "No se ha establecido la conexion con exito", hora);
func.Connection = conexion;
if (sysSAP == "PRO")
labelSystema.Text = "Productivo";
else
labelSystema.Text = "Desarrollo";
Now the problem is that I want to use these code to make the same connection on a handheld PC but it doesn't work, when I execute the compilation on the handheld PC I get the next error:
"COM object with CLSID '{B24944D6-1501-11CF-8981-0000E8A49FA0}' cannot be created due to the following error: Class not registered ."
When this happens the compilation stops and it shos me the line in the code thar points to:
saplogon = new SAPLogonCtrl.SAPLogonControlClass();
I don't know why I get this error, I think that it could by that I'm not using the correct dll for a handheld PC that uses a Windows CE 5.0 O.S.. My question is: do I have to get a new dll that works on a handheld PC? or is it not working for any other reasson.
Thanks for your help. -
SSO with SAP logon tickets to non-SAP web app
I am trying to implement SSO to an oracle portal based web application using SAP logon tickets, but can't seem to find a way for it to work. I thought maybe it would be a web server filter, but am unsure if this would work for oracle portal. Anyone tried similar?
CindyHi Cindy,
If it is EP6 SP2 probably you can checkout the following document.
http://service.sap.com/ep60
Go to Documentation Help>How-To-Guides>Current How To Guides section.
checkout the following how to guide.
Perform Cross Domain SSO with SAP Logon tickets zip file.
If you want the zip file please send an e-mail to
[email protected]
Regards
-Venkat Malempati -
Problem with SAP logon 720 for printng with Citrix.
Hi,
I have a problem with sap logon 720 when printing for Citrix, one time print and other time don't print....
I try to start SAPLPD for prompt comand... it's start but don't print....
i'm write here for look if other people have this problem... I dont know what I can do.....
Thank you very much....Hi Itmar,
I was having the similar issue on my Windows Server 2003 Terminal Server. At times SAP prints stop working. Then i changed Printer Type to "G" and it had solved the problem. It skips the use of SAPLPD service and calling windows printing service directly.
Just try with that.
Regards,
Gaurav -
Business Connector Connection with SAP
Hi!!!
I have a XML file with 3 fields with 100 records. I have in SAP a Z table with the same fields of the XML file.
I made the mapping in SAP BC Developer. I want to put the records of the XML in the Z table of SAP. How can I configure this to SAP BC connects with SAP and fill the table?
Thanks a lot for your help!
Regards!Hi,
This might help you
/people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
Kumar.S -
Hi
How is it possible to get connection with SAP system when i am working in SAP NetWeaver developer studio?
do i required any connector for this?
RegardsHi Quali,
Inorder to get connected to the SAP system via your SAP NWDS(SAP NetWeaver developer studio).
1) Please check if you are able to get connected to the remote server, incase the server is on a different machine. You can do it by following the steps below:
Click on Windows Start menu -> click on Run -> Typein "cmd" and click on Ok button -> Typein "Ping 'IP address of the remote server'", I mean your remote server machine's IP address(Ex:10.6.52.189 or whatever it is). If it responds then please carry out the following steps in NWDS.
2) Please GoTo :
NWDS menu - > Window -> Preferences -> SAP J2EE Engine(Choose this on the left menu).
Now, if your server is not installed on the same machine on which you are working then go for the first radio button which says "SAP J2EE engine is installed on remote host" and enter the server's IP(Internet Protocol) address(Ex: 10.6.52.14, etc)in "Message Server Host" and enter 3601 in "Message Server Port".
Click on apply and Ok.
3) Now again Click on Windows Start menu -> click on Run -> Typein "drivers" and click on Ok button -> Open the folder "etc" -> look for file "Hosts", openwith notepad
-> Now typein the IP address and the corresponding host name(of the remote server)please note that the IP address and the host name should be separated by at least one space, preferably a tab space. -> save the hosts file.
Now you should be able to connect to your remote server.
Regards,
Sudeep -
Connection to ECC with SAP Logon Group failing
I'm creating a new system connection to an ECC backend using a logon group (transaction SMLG in ABAP stack). I have created the connection with the wizard as a SAP_R3_LoadBalancing connection and given it the appropriate Group, Logical System Name, Message Server, Remote Host Tppe and SAP Client. Also I've given it an Alias.
SSO is working correctly between the portal and ECC.
The System Connection Tests > Connection Test for Connectors works, as can been seen::
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection successful
However, if I try to connection to this system with the Alias, it fails. If I change the alias to a system with a standard R3 connection with a specified hostname, it works. The /etc/services is correct and contains the appropriate entries. Any ideas?
Regards,
GrahamHi Srikishan,
Thanks for the response. When user from CRM logged in another language than EN for eg. FR, clicks on external link in CRM, takes to EN, only if that language FR is not installed in ECC, else it will take to the same language in which CRM user logged in. This cannot be controlled in SSO configuration. Is this correct?
In case if FR is installed in both the systems, ie CRM and ECC, but user wants to log only to EN when clicked the external link(to ECC) from CRM, how we can configure this, Is any parameter can control or SSO setup configuration available? Please advice.
Regards,
Shahul Hameed -
Problem with sap logon/bex
Hello Peoples,
I have a machine is the same with Windows Vista Home Premium, sap logon 7.10 - patch 11
Access to the SAP system is perfect, but when I try to open the Bex query designer after informing username and password I get the error of communication rfc.
Can you please tell me know how can I fix this error? or if Bex is compatible with Vista Home Premium?
Regards...Hi,
Yes,BEx is compatible with Vista Home Premium Edition.
You will get an RFC Communication Error,if the backend system is down or if you enter the language as blank(sometimes) in the SAP Logon.
Try opening other tools like WAD,RD and Analyzer and connect with backend and check whether it works or not.Try opening QD from WAD or Analyzer
This is not tool specific anyway.
Rgds,
Murali -
SSO using Kerberos with SAP Logon Tickets
Hi,
I am creating a Repository Manager for the Portal Knowledge Management System and I want to use SSO to a backend IIS application and I have a few questions here.
I have a three tiered architecture.
A. The presentation tier (SAP Portal which has my Repository Manager implementation)
B. ASP.NET web service data layer.
C. Backend document management system which runs on IIS.
I have installed the ISAPI filter on my ASP.NET application server and have enabled this HOST account for delegation in MSAD 2003. Server B will use Kerberos constrained delegation to access Server C, which is an IIS backend server.
My question is how do I pass an SAP Logon Ticket to an ASP.NET web service request from my Repository Manager implementation? Basically how do I just make an HTTP request to an ASP.NET application from some portal iView or WebDynPro code and pass along the SAP Logon Ticket in the request so it can be interpreted by the ISAPI filter on the IIS server. Does anyone have any sample code or an application here that does this?
Thanks,
ScottHi Scott
Did you managed to find out anything regarding how to pass SAP Logon ticket to ASP.NET Webservice. Can you share it with me?
regards
ram -
Authentication error when creating EPM Add-in connection with SAP BO Enterprise connection type
Hello, Experts,
I have a problem with creation of EPM Add-in connection when SAP BusinessObjects Enterprise connection type is selected.
An error message is "Error while communicating with the server. Framework message: Authorization failed."
Here are the steps that were implemented and how this issue was reproduced:
SAP BusinessObjects Planning and Consolidation 10.0 SP12 for Microsoft was installed and configured.
Integration between SAP BPC and SAP BusinessObjects BI 4.1 SP02 was implemented. SAP BO users can successfully connect to SAP BPC system.
EPM connector was successfully installed and deployed in SAP BusinessObjects BI server.
BPC ODBO 2.0 SP04 64BIT was installed in SAP BusinessObjects server.
EPM connection was successfully created in SAP BusinessObjects CMC.
EPM Add-in and BPC ODBO 2.0 SP04 32BIT was installed in another computer (let's call it CLIENT) which has MS Office 2007 32BIT installed.
From CLIENT computer we have launched Excel manually and successfully created BPC connection with Connection Type - Local.
Then we have logged into BI Launch Pad and launched New / EPM document (Excel). Excel has started.
In EPM Add-in we have pressed Logon.
In connection window selected SAP BusinessObjects Enterprise connection type.
An error "Error while communicating with the server. Framework message: Authorization failed." appears.
Before this error appears we are not getting any window where we could select EPM connection (created in CMC) nor the possibility to enter username or password.
Looking forward you valuable comments and suggestions.
Thank you in advance.
Donatas BudrysDear, Roberto,
Our user has Full Access to all BPC tasks and it is administrator in BI system.
Also we can successfully connect with the same user using Connection type "Local".
We had done some investigation and in the BPC SQL Server trace log we can catch the following message when an error occurs:
==============[System Error Tracing]==============
[System Name] : BPCXMLAService [Message Type] : ErrorMessage [Job Name] : ValidateUser [DateTime] : 04/23/2014 10:58:06 [UserId] : [Exception] DetailMsg : {System.Exception: Invalid user at SAP.BPC.Services.Webservice.XMLAService.XMLAService.ValidateUser()} ==============[System Error Tracing End ]==============
It is very interesting that after the EPM workbook is launched via BI Launch Pad till an error occurs we are NOT provided with possibility to enter any username and password. So the EPM add-in should use the same user which was logged into BI Launch Pad - in our case the user with administrative rights both in BI Launch Pad and BPC systems. Am I missing anything?
Looking forward your feedback.
Thank you in advance.
Best regards,
Donatas -
Hi, I'm new in the community and I'm also new with SAP, so sorry for any errors.
For my work I need to open SAP by excel (VBA); and I have found the code below but it don't work.
Sub Work()
Set app = CreateObject("Sapgui.ScriptingCtrl.1")
Set Connection = app.openconnection("my system", True)
Set session = Connection.Children(0)
session.findById("wnd[0]/usr/txtRSYST-MANDT").Text = "Client"
session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "User"
session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "Password"
session.findById("wnd[0]/usr/txtRSYST-LANGU").Text = "Language"
Session.findById("wnd[0]").sendVKey 0
End Sub
When the macro runs there is this error
Can you help me?
Thank you,
ax_salernoHi Alessandro - I am sharing an Excel sub that works for me by opening up logon pad, signing on to production, gettting credentials, then going into SAP and doing a transaction, and finally asking the user to click ok to terminate the session. I think this is something that there were questions on how to do the session close nicely but not sure if there is a solution yet.
Hope this helps.
Regards
Umur
Sub Logon()
'starts by executing logon pad, selecting prod, then enters
id/pwd
'works to sign on to sap and then kill the connection.
refers to saplogon.exe in Program Files/SAP71/FrontEnd/SAPGui folder
Dim SAPguiAPP As Object
Dim oConnection As Object
Dim Session As Object
Dim SAPCon As Object, SAPSesi As Object
Dim SapGuiAuto As Object, SAPApp As Object
If SAPguiAPP Is Nothing Then
Set SAPguiAPP =
CreateObject("Sapgui.ScriptingCtrl.1")
End If
If oConnection Is Nothing Then
Set oConnection =
SAPguiAPP.OpenConnection("1. Prod", True)
End If
If SAPSesi Is Nothing Then
Set SAPSesi =
oConnection.Children(0)
End If
Application.DisplayAlerts = False
With SAPSesi
.FindById("wnd[0]/usr/txtRSYST-MANDT").Text
= "010"
.FindById("wnd[0]/usr/txtRSYST-BNAME").Text = "USER"
.FindById("wnd[0]/usr/pwdRSYST-BCODE").Text =
"PASSW"
'.FindById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"
.FindById("wnd[0]").SendVKey 0
'start extraction
.FindById("wnd[0]").Maximize
.FindById("wnd[0]/tbar[0]/okcd").Text = "/Niw33"
.FindById("wnd[0]").SendVKey 0
.FindById("wnd[0]").Maximize
.FindById("wnd[0]/usr/ctxtCAUFVD-AUFNR").Text =
"8762449"
.FindById("wnd[0]/usr/ctxtCAUFVD-AUFNR").CaretPosition
= 7
.FindById("wnd[0]/tbar[1]/btn[8]").Press
.FindById("wnd[0]/usr/subSUB_ALL:SAPLCOIH:3001/ssubSUB_LEVEL:SAPLCOIH:1107/tabsTS_1100/tabpKOAU/ssubSUB_AUFTRAG:SAPLICO1:1100/tabsTABSTRIP/tabpTS05/ssubVALUES:SAPLICO1:1105/cntlPMCO_SUM_TREE/shellcont/shell/shellcont[1]/shell").HierarchyHeaderWidth
= 162
.FindById("wnd[0]/usr/subSUB_ALL:SAPLCOIH:3001/ssubSUB_LEVEL:SAPLCOIH:1107/tabsTS_1100/tabpKOAU/ssubSUB_AUFTRAG:SAPLICO1:1100/btnPUSH1").Press
.FindById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").SelectedRows
= "0"
.FindById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").DoubleClickCurrentCell
.FindById("wnd[0]/tbar[0]/btn[3]").Press
.FindById("wnd[1]/usr/btnSPOP-OPTION1").Press
.FindById("wnd[0]/tbar[0]/btn[3]").Press
.FindById("wnd[0]/tbar[0]/btn[3]").Press
.FindById("wnd[0]/tbar[0]/btn[3]").Press
'etc
End With
MsgBox
"After clicking OK, this SAP session is terminated."
Application.DisplayAlerts = True
Set Session =
Nothing
Set Connection =
Nothing
Set SAPguiAPP =
Nothing
End Sub -
Hi alls,
I hope can some help me, I'm trying to connect to SAP via SAPLogon.
I've tried to fix the problem but I dont have success.
SAP Logon Properties:
Description: NSP
Application Server: localhost
SAProuter-String: blank
System-ID: NSP
System Number: 00
Here is the error message.
Runtime Errors DBIF_RSQL_INVALID_REQUEST
Date and Time 2007-01-22 19:14:39
Short text
Invalid request.
What happened?
The current ABAP/4 program terminated due to
an internal error in the database interface.
Trigger Location of Runtime Error
Program SAPMSYST
Include SAPMSYST
Row 2,556
Module type (FORM)
Module Name FILL_INFO_TAB
SAP-GUI installation:
Release: 640 Final Release
Dateiversion: 640.5.18.1016
Build: 815416
Patch-Level: 18
Can you help me ?
Thanks a lot in advance ..¡
Ralph HübnerHi,
Try to check you DB server installation. It seems to be some issue with your Database server.
With Regards,
Rajesh V. -
Problems with SAP Logon ticket
Hi.
I am trying to send SAP Logon ticket from ECC 6.0 to the backend legacy using Soap adapter in receiver side. I get the following error in SXMB_MONI, so it looks like AF is not accepting the ticket. Can anybody tell me please, how I can identify that the ticket has been received in PI's side?
<Trace level="1" type="T">Principal Propagation connection attributes</Trace>
<Trace level="1" type="T">Host = hostname</Trace>
<Trace level="1" type="T">Port = 12345</Trace>
<Trace level="1" type="T">Transport protocol = HTTP</Trace>
<Trace level="1" type="T">Transport protocol vers = 1.0</Trace>
<Trace level="1" type="T">Message protocol = 003000</Trace>
<Trace level="1" type="T">Path = /MessagingSystem/receive/AFW/XI</Trace>
<Trace level="1" type="T">Security: Logon Ticket</Trace>
<Trace level="1" type="System_Error">Error while sending by HTTP (error code: 403, error text: Forbidden)</Trace>
</Trace>
Thanks, JukkaHi.
I have had some progress. Actually Principal Propagation works well now, thanks to instructions in http://help.sap.com/saphelp_nwpi711/helpdata/en/48/a9bbb97e28674be10000000a421937/frameset.htm
But I think I have now found out that the principal progation might not be a direct answer to my problem. In the end of the day I should be able to deliver UsernameToken in my soap message header. Something like this:
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
| <wsu:Timestamp wsu:Id="Timestamp-12134742" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
| <wsu:Created>2007-10-14T12:45:34.656Z</wsu:Created>
| <wsu:Expires>2007-10-14T12:46:34.656Z</wsu:Expires>
| </wsu:Timestamp>
| <wsse:UsernameToken wsu:Id="UsernameToken-33259721" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
| <wsse:Username>test</wsse:Username>
| <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">test</wsse:Password>
| </wsse:UsernameToken>
| </wsse:Security>
I just have not found any documentation which I could utilize in Abap Proxy - PI 7.1 - Soap Receiver scenario. Just wondering should I create my own customized soap envelope and disable the Pi envelope in SOAP communication channel...
Do you know if there's any "standard way" to configure this kind of configuration?
Br. Jukka -
SLD configuration - JCO connection with SAP Router
Hi,
I installed the new Sneak Preview SP11 Java Edition including SAP Portal. I tried to run an own Web Dynpro Application with RFC-Access on a R/3 System.
Unfortunately I was not able to get the JCO Connection to run. The R/3 System is reached via SAP Router. I am a little bit confused, because with the last Sneak Preview (SP6 or SP7) this application was running without problems. Of course I thought that this can't be. So I uninstalled SP11 and installed the old version (SP7). I configured the JCO-connection, no problems.
Now I know that this is not my mistake (hopefully ).
If I configured a JCO-connection in SP11 and tried to PING, the first PING was ok. After testing the connection with user, the PING failed. The testing with user returns something like "user or password are not accepted".
Any ideas?
Best regards
RenaldIn your SLD configuration, what do you have as your Logon Group under the message server config. Is it "PUBLIC". if so, then the user id needs to belong to that Logon Group in the system.
Regards,
Rich Heilman -
How can I connect with SAP NetWeaver 7.01 SR1 SP3 ABAP Developer Edition
Hello together,
I downloaded and installed the SAP NetWeaver 7.01 SR1 SP3 ABAP Developer Edition on a virtual client.
I toke a long period to finish the installation.
Now some questions to use this system in the right way:
1.) How can I get a "developer license" which do not expire? Because the link http://www.sap.com/minisap seems to be not ok.
2.) How can I connect via network with the sap system? the application server is running on a vm client with a static ip i.e. 192.168.1.5. And my laptop gets a ip in the same range. I have installed the gui on my laptop and tried to connect with the system. But it does not work! I used as application server the ip of the virtual machine. I use the gui witch is installed on the same host like the application it works (with localhost as application server adress)
3.) Where can I download the newest version of the SAP Gui? I do not have a service marktplace account? Is it possible?
4.) I read in the documentation that it should be possible to reach the sap system also with web dynpro: http://localhost:8000/sap/bc/gui/sap/its/webgui?sap-client=000
But it does not work. I got an error message: Service cannot be reached
Note
The termination occurred in system NSP with error code 403 and for the reason Forbidden.
The selected virtual host was 0 .
Regards
ChristianI fixed in the meantime the second problem. It was a problem with my local firewall. But the other three points are still open.
Thank in advance for your help
Maybe you are looking for
-
Zen Kernel and new ati radeon oss driver
Hey together! A few days ago I get new ati-driver from testing and since then, I can't start the xserver with the zen kernel and ums. I can use the normal kernel 2.6.33 normally. Here is my Xorg log: X.Org X Server 1.7.6 Release Date: 2010-03-17 X Pr
-
Deploying a mapping creates a database link
I have one mapping where everytime I deployed a mapping it always creates a database link. How do I remove this and how did this happen?
-
Just bought an Epson 2540 Printer, connects with iPhone but not Macbook Pro
I am able to print from my iPhone but not my Macbook Pro. Wireless test page worked fine. Turned on Sharing option, turned off firewall, and still does not connect. This is very frustrating, please help
-
Is there a way or a plugin to add "capture time" as file name
I just photographed a surf contest out in California - I would like to add the capture time as the file name to make it easier to identify the surfers. Any easy ways to do this for 600 images?
-
How use XML-Parser in Web Dypro (how get filename)
Hi everybody, i want to use the saxparser to read a xml-file via a Fileupload-UI element. In Web Dynpro it is not possible to get the path of a file which was on a client through the Fileupload-UI. So how can i use a xml-parser when i have to give it