Connect backend to AC 10.0
Hello everyone,
I may have a simple question, but I couldn't find the answer yet.
How to connect a backend system to the SAP AC 10.0?
I tried to find the answer in the customizing area of the ABAP system as well as in the system administration area of the portal.
Can anyone give me a hint or provife me an answer?
Thanks in advance and best regards
Ulrich
Ulrich, I guess you are missing then the scenario and that's why you don't see the connector in the application.
Go to IMG, Governance Risk and Compliance --> Common Component Settings --> Integration Framework --> Maintain Connection Settings. There you will need to add your connector to one of the following integration scenarios:
AUTH for Risk Analysis
ROLEMG for Role Management
SUPMG for Emergency Access
PROV for Access Management
Luis
Similar Messages
-
Potal Authorisation Error:"Failed to connect backend system.Check your syst
Hi Experts,
Please advise me on how to proceed....
I created a dashboard reports (5) based on 5 different reports in BI Queries using Visual Composer...I deployed them to portal and in portal i assigned those iviews to a role and assigned that role to a end user.
In BW end user is autorized to execute those 5 queries and in portal user is able to access those queries as well
But when he tried to execute Dashboard reports..it is displaying error
"Failed to connect backend system.Check your system definition and user priviliges"
Then i modified his authorisations in BW assigned SAP_J2EE_ADMIN role in BW and then in portal he is able to execute the Dashboard reports...by assigning the SAP_J2EE_ADMIN role he is able to execute dashboards in portal and he got more authorisation in portal than he required like 'Content Admin','User Admin' and 'System Admin'
I tried by using SAP_J2EE_GUEST role but he is getting error
"Failed to connect backend system.Check your system definition and user priviliges"
Please advise on how to proceed
ThanksHi,
Refer,
Visual composer
Failed to connect to backend system. Check your system definition and user
Regards,
P.Manivannan. -
"Failed to connect backend system.Check your system definition and user pri
Hi Experts,
I am a BW Consultant working on Portal & Visual Composer (7.0)
As a Developer i got SAP_ALL & SAP_J2EE_ADMIN roles in BW and System Admin and VC role in Portal.
In Portal Created/Published iviews for BW Queries (Transaction) and Published them to a role (role1) in portal.
In Visual Composer i developed Dashboard reports on BW Queries ,made them public and deployed them to a portal role(role 1) in portal.
I assigned portal role to my self and tested the queries and dashboards in portal everything is working perfectly.
In VC i can see 3 different systems defined in Portal
I created a Test user (with profile of end user) in BW,Testuser is authorised to view all the reports in BW and All data in all data targets and in portal testuser is assigned with Role1 and VC Role.
(Note: In BW Testuser doesn't had J2EE_ADMIN role).
Portal:
When i login to portal as testuser and tries to execute the BW Queries (Transaction) and it working perfectly.
When i tried to execute Dashboard reports developed in Visual Composer it gives me an error
"Failed to connect backend system.Check your system definition and user priviliges"
In Visual Composer i logged in as testuser (as test user got VC role assigned) i can't see any list of avaliable systems under "Find Data"
When i modified testuser profile in BW and updated with SAP_J2EE_ADMIN then i can execute the dashboard report but at the same time testuser got more than what he should have like user admin,system admin...etc
I searched the sdn and find some similar threads ...but nothing was useful
Please update me what went wrong and how to fix this...
Thanks in advanceHi,
Refer,
Visual composer
Failed to connect to backend system. Check your system definition and user
Regards,
P.Manivannan. -
Failed to connect backend system
Hi Experts,
I am a BW Consultant working on Portal & Visual Composer (7.0)
As a Developer i got SAP_ALL & SAP_J2EE_ADMIN roles in BW and System Admin and VC role in Portal.
In Portal Created/Published iviews for BW Queries (Transaction) and Published them to a role (role1) in portal.
In Visual Composer i developed Dashboard reports on BW Queries ,made them public and deployed them to a portal role(role 1) in portal.
I assigned portal role to my self and tested the queries and dashboards in portal everything is working perfectly.
In VC i can see 3 different systems defined in Portal
I created a Test user (with profile of end user) in BW,Testuser is authorised to view all the reports in BW and All data in all data targets and in portal testuser is assigned with Role1 and VC Role.
(Note: In BW Testuser doesn't had J2EE_ADMIN role).
Portal:
When i login to portal as testuser and tries to execute the BW Queries (Transaction) and it working perfectly.
When i tried to execute Dashboard reports developed in Visual Composer it gives me an error
"Failed to connect backend system.Check your system definition and user priviliges"
In Visual Composer i logged in as testuser (as test user got VC role assigned) i can't see any list of avaliable systems under "Find Data"
When i modified testuser profile in BW and updated with SAP_J2EE_ADMIN then i can execute the dashboard report but at the same time testuser got more than what he should have like user admin,system admin...etc
I searched the sdn and find some similar threads ...but nothing was useful
Please update me what went wrong and how to fix this...
Thanks in advanceHi,
Please check the permissions on your system object. This issues is from Portal itself not BW backend.
System Administration->System Configuration->System landscape->Browse for the System Object that has been used in your VC->right click to open the permissions.
Check for the permission for eu_role/everyone group. These should have alteast "read"permission on the System Object. If this permission is missing add up here.
By default all users fall in "everyoone' group, so I suggest adding 'read' permission to this group itself.
Hope this helps,
Thanks,
Vamshi -
Portal application connecting backend SAP R/3 system
Hi All,
I am developing one portal application through NWDS. It's JSPDYNPage component.The applications functionality is basicaly is to connect it to backend SAP R/3 system & fetch some data in aparticular table & display that data in a tableview format on one JSP& also when i click any row of the tableview then details of that row should get displayed on the next JSP. So i reached till develpoing a code that connnects to Backend SAP R/3.(Basicaly coding of connection part is done). Now i need to test this code, to check whether it is fine or not? NWDS doesnt give nay error, not compile also or not runtime error also. It simply shows the output as a blank page, where it is supposed to display one line of text in textview(i coded this in my JSP).But as i said it displays a blank page. i tried to debug the application , but debugging also not worked.I performed the debugging twice in right way. The code was not debugged, it run the same way as it normally runs when debugging is off & shown the blank page. I also have done all the the settings or prerequisites for debugging properly. I am stuck at this point now.search many documents , but no relevant help has been received. Can anyonehlep me with this. i am putting below the code for JSP, JSPDYNPAGE component as well as portalapp.xml. Can anyone guide me with this, whhere i am making mistake? what should i change in this?
JSPDYNPAGE code
package com.lti.portal;
//import java.util.ArrayList;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.*;
import com.sapportals.htmlb.event.*;
import com.sapportals.htmlb.page.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
import java.util.ArrayList;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.JCO;
import com.sun.corba.se.internal.core.Response;
public class Connection_R3 extends PageProcessorComponent {
public DynPage getPage(){
return new Connection_R3DynPage();
public static class Connection_R3DynPage extends JSPDynPage{
private Conn_R3 myBean = null;
public JCO.Client mConnection;
public JCO.Repository mRepository;
public ArrayList al = new ArrayList();
public String output;
public String Ans;
public static String BEAN_KEY="myBean";
public void doInitialization(){
IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
IPortalComponentContext context = request.getComponentContext();
IPortalComponentProfile profile = context.getProfile();
//create & initialize the bean.
Conn_R3 test_bean= new Conn_R3();
test_bean.setans("3");
// put the bean into application context.
context.putValue(BEAN_KEY,test_bean);
conn();
//IPortalComponentResponse res = (IPortalComponentResponse)this.getResponse();
//for(int i=0;i<al.size();i++)
//res.write(" "+al.get(i).toString());
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
this.setJspName("Connection_R3.jsp");
public ArrayList conn() {
IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
IPortalComponentContext context = request.getComponentContext();
IPortalComponentProfile profile = context.getProfile();
Conn_R3 sample_bean = new Conn_R3();
sample_bean.setans("5");
//context.putValue(BEAN_KEY, sample_bean);
//r3-accessing
//connect_to_r3();
try {
// Change the logon information to your own system/user
mConnection = JCO.createClient("800", // SAP client
"********", // userid
"******", // password
null, // language
"*******", // application server host name
"**"); // system number
mConnection.connect();
//System.out.println(mConnection.getAttributes());
mRepository = new JCO.Repository("ABC", mConnection);
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
JCO.Function function = null;
JCO.Table codes = null;
try {
function = this.createFunction("ZSAMPLE");
if (function == null) {
System.out.println("ZSAMPLE" + " not found in SAP.");
System.exit(1);
String num1 = "7";
String num2 = "9";
//String ans;
function.getImportParameterList().setValue(num1,"My_import");
function.getImportParameterList().setValue(num2, "My_Import");
mConnection.execute(function);
Object name =function.getExportParameterList().getValue(Ans);
output=name.toString();
sample_bean.setans(output);
//sample_bean.setans(output)
//al.add(name);
//store values into strings
//pushing of values we get from r3 into awt
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
disconnect_r3();
return al;
public void connect_to_r3() {
public JCO.Function createFunction(String name) throws Exception {
try {
IFunctionTemplate ft =
mRepository.getFunctionTemplate(name.toUpperCase());
if (ft == null)
return null;
return ft.getFunction();
} catch (Exception ex) {
throw new Exception("Problem retrieving JCO.Function object.");
public void disconnect_r3() {
mConnection.disconnect();
//**********************<b>Code for BEAN</b>****************************
package com.lti.portal;
import java.io.Serializable;
public class Conn_R3 implements Serializable {
public String answer;
public void setans(String a)
answer=a;
public String getans()
return answer;
///////////////////////<b>Code for JSP</b>*****************************
><%@ taglib uri= "tagLib" prefix= "hbj" %>
<jsp:useBean id="myBean" scope="application" class="com.lti.portal.Conn_R3" />
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<hbj:textView
id="Welcome_message"
text="<%=myBean.getans()%>"
design="STANDARD" >
</hbj:textView>
</hbj:form>
</hbj:page>
</hbj:content>
/////////////////////////////////<b>Portalapp.xml</b>*****************************************
application>
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="Address_comp">
<component-config>
<property name="ClassName" value="com.lti.portal.Address_comp"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
</components>
<services/>
</application>Hi,
Do onething, please refer this <a href="http://www.i-barile.it/SDN/JCoTutorial.pdf">JCo Tutorial</a> as well as <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">Link</a> also.
Regards,
Venkatesh. K
/* Points are Welcome */ -
How to Connect Backend R/3 system to EP 2004S
Hi Friends - I am new in the EP field. We have installed EP.
We want to connect to backend R/3 system from EP.
I have created a system for the backend R3 ECC system. But the connection test is failing.
"Test Connection with Connector
Results
Retrieval of default alias successful
Connection failed. Make sure user mapping is set correctly and all connection properties are correct."
Also the ITS and WAS tests are also failing.
"SAP Web AS Connection
Results
1. The system ID is valid
2. Retrieval of the system was successful
3. The system object represents an SAP system
4. The following parameters are valid: WAS Protocol (http) WAS Host Name (mb1es1005.idcsap.com:8001)
5. HTTP/S connection failed"
Can you pls guide me on how to configure the same?
1. What are the step wise configurations I have to do?
2. Is there any configuration I have to do in the R3 system? ike RFC connections and other settings?
3. What are the settings I have to do in the EP system?
Pls guide me on the same.
Thanks in advance and warm regards
PurnenduHi Maiti,
first thing is, first try with user mapping, if you succed in this then only go for login tickets method. both are different ways to connect to R/3 systems under SSO.
create system by selecting template for "sap system using dedicated application server".
then add the follo parameters:
Application host: ur FQDN for R/3 system
Gateway host: same as Application host
Gateway service: sapgw00
Logon method: select Uid/PW
Remote host type:select 3
SAP client: enter ur SAP client (001 generally)
SAP SID: ur SID
SAP Sys number:00 (or 01 )
server port: 3200
System type: select R/3
user mapping type: select admin/user
validate connection: no
(no need to set ITS and other properties they are optioal).
this much settings are enough. Then add a system alias for your system, by going in properties and select System Aliases.
now go in user admin, search for your current user, click on modify, click on user mappings..select your system, provide login id and password for your R/3 system.
save it.
Go ahead and create iVIew (Transaction iView) even though your connection test fails, it works. it will connect to ur backend R/3 system via iView without any error.
hope this helps you...
Regards,
Yogesh... -
Why is SLD necessary for connecting backend?
Hi, all.
Let me ask one basic question.
When the WD Java application connects to Backend, what is the role of
SLD? i know that SLD is necessary when runtime but all the necessary info
for connection is set in the JCo connection settings!
What is happening between WD Java and SLD when runtime?
Best Regards.
SejoonHi,
All the technical systems are available to the portal and provide the associartion to the differenet technical systems and provide portal as a single point of access.
There is no direct assosiation between the java system to R/3 system for we are going to use the one connecter for connecting r/3 system from the java system.for this we are using the JCo(Java connector) by this connector only we are communicating R/3 system when you needt to connect the R/3 system that system should be available in your portal then by usin SLD we can add r/3 system as new technical sytem and by using JCo name(two logical destination systems Meta, Model systems) we are directly connecting to avail r/3 and get the data at the runtime.
The System Landscape Directory of SAP NetWeaver (SLD) serves as a central information repository for your system landscape. A system landscape consists of a number of hardware and software components that depend on each other with regard to installation, software updates, and demands on interfaces
Go thru this link you know all the details
http://help.sap.com/saphelp_erp2005vp/helpdata/en/31/f0ff69551e4f259fdad799a229363e/frameset.htm
Thanks,
Lohi.
Message was edited by:
Lohitha M -
Error while connecting backend SAP 4.7 system to GRC 5.3 system
Hi Experts,
I am Facing an Connection Issue while connecting back end SAP 4.7 system to GRC 5.3 system
Please help me out with Screen screen shots and process to be followed while connecting both system,
Thanks in Advance,
RamHi Daya,
you really REALLY want to visit this page and watch & read for a few days before you do anything in the system.
http://wiki.sdn.sap.com/wiki/display/BPX/Governance%2CRisk%2CandCompliance%28GRC%29How-ToGuides
You can easily break stuff in a way that's hard to fix, so I suggest you take your time.
Frank. -
Unable to connect backend applications through EP in DMZ1 firewall?
Dear all,
To brief our landscape, its look like below.
Internet -> DMZ1(Webservers)->Portal(DMZ2)->Internal(Backend Systems).
We tried to access the backend systems through portal in DMZ2..its working fine. When we tried to access the portal in DMZ1...its coming perfectly, when we access the backend applications through portal in DMZ1...its not coming...it says...operation timed out...
Kindly suggest me what would be the problem...all the ports are open in DMZ1 and DMZ2... But we hav not done reverse proxy in DMZ1(Webservers), Can we try after doing Apache reverse proxy in DMZ1. Pl suggest me
Rgds
PRadeepHi Netanel,
Thanks for ur reply...
See, we hv writen a rewrite rule for all three systems like R/3, BW and SCM
RewriteRule ^/sap(.)/public(.) http://myr3sever.company.domain.com:r3port/R3$1 [P]
RewriteRule ^/sap(.)/bc/bsp/sap(.) http://myscmsever.company.domain.com:scmport/SCM$1 [P]
etc..
We are differentiating the systems with their names...but when it rewrites..its taking R3 string as well in the path...
Like
http://webserver.company.domain.com/R3/sap/bc/gui/sap/its/webgui.
I think if we remove R3 string at the time of rewrite, then we should be able to get i belive.
kindly suggest me
Rgds
PRadeep -
Backend connection in JspDynpages
Hi All,
how to connect backend in Jspdynpage
I am new to portals i implemented application using jspdynpage in that
i have to connect to the backend
can anyboby explain me the procedure in detail?
Thanks in advance.Hi,
It depends on which backend system you want to connect.
Check this for general concepts:
http://help.sap.com/saphelp_nw04s/helpdata/en/ed/89746bea5011d6b2e800508b6b8a93/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/97/fabc3d8af79633e10000000a11405a/frameset.htm
Example:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90fc8a14-a02c-2a10-5a91-821561099192
Regards,
Praveen Gudapati -
Guide ep7.0 with backend R/3 4.7?
Hi, gurus:
where can i find ess configuration on ep7.0 with backend R/3 4.7?
in nw04 and nw04s, ep use JCo connects backend.
what connection type is used by r/34.7?
Thanks
Br,
ChrinaHi Chrina,
If you look at the link below it states what SAP recomends your release should be for each business package:
https://www.sdn.sap.com/irj/sdn/contentportfolio
ESS 50.4 -> EP 5/6, R3 4.6C/4.7
ESS 60.2 -> EP 7, ERP 2004
ESS 1.0 -> EP 7, ERP 2005
I have implemented ESS 50.4 with EP7 and both R3 4.7 and ERP 2005. It can be done, but when I spoke to a contact from SAP they stated the landscape I was using was not recommend and there was no documentation availbale for the specific landscape. You have to use bits of documents from various guides.
Thanks,
Nick. -
Connection to SAP R/3 or to particular module..n how??
i m new to Enterprise Portal and m bit confused.. i knw that EP is used to connect to SAP system thru Single Sign ON....
for my project we will be using ESS and MSS buisness package.
Thus we need to connect our Portal to nly SAP R/3 sytem...or v connect to particular module...considering my project i need to connect to SAP HR module.. so how do i configure my portal to only SAP HR module..or creating only SAP R/3 system..i.e the way we normally connect to SAP R/3 from Portal content studio will do..??
...if any one could explain it conceptually will surely b awarded POINTS..
Edited by: jigar oza on Jul 29, 2008 10:46 AMHi Jigar,
as you know about SSO it is nice, SSO is used to connect to backend (System) you can say R/3. Where as system contains many modules.
Create one system in portal which will connect to your desired backend using SSO. Once it succeeds.
Then create an SAP transaction iview from iview template which will point to this created sytem.
You must be having some t-code to directly access your module in the R/3.
You have to enter this t-code in the Transaction code property of the iview. After creating this iview and proper SSO settings, when you pre-view this iView it will directly open the first screen of your module/application in the backend system.
let me know if you face any issues in this.
also see my postings in following threads:-
Re: How to Connect Backend R/3 system to EP 2004S
Re: How to configure SAP R3 system to Portal
Regards,
Yogesh... -
HI,
My SRM Quality gets re-freshed and i am on ECS scenario, i change all the ALE settings and now i am able to create a Shopping cart but when PO is created in my SRM system it is not replicated in ECC quality and i can see my status of the Purchase order when created with ref to SC is Ordered.
PLease let me know what all are the settings i need to check so that when my PO is created it will get replicated in ECC system.
SmritiHi Smriti,
This is a general error message which is returned by the function META_ACCSERV_CHECKACCASSIGNMT for any exception returned by the backend while checking for account assignment.
Problem is more than likely to do with your table BBP_BACKEND_DEST, here is a snapshot of ours.
Ensure your SRM system is the only one of type LOCAL, and with X under LOC_SYS.
Also ensure your SYS_TYPE for the connected backend is correct.
LOG_SYS DEST SYS_TYPE RFC_POSS LOC_SYS FI_VALIDATION
PMECLNT300 PMECLNT300 LOCAL X X 0
QPTCLNT100 QPTCLNT100 ERP_2.0 X 0
QZ4CLNT100 QZ4CLNT100 R/3_4.0B X 0
QZ8CLNT100 QZ8CLNT100 R/3_4.6C X 0
You should also check the IMG setting Define Backend System and the the RFC checkbox has been flagged for the backend.
Also very importantly see that in PPOMA the attribute ACS and SYS is correct.
These suggestions should work, if they don't, as at beginning of my reply, the error you are getting is a generic error.
If you set a breakpoint at META_ACCSERV_CHECKACCASSIGNMT you should be able to see the actual errors that are returning from the backend before they are filtered down to that error.
Also if you RFC into backend through this FM and set BP at statement message you will stop at exact error, then can note search or look for more information in SDN.
Hope this helps.
Kind Regards,
Matthew -
How to use logon group of backend systems via reverse proxy
Hi
we have setup EP 6.0 in DMZ2 and connected backend servers in INTERNAL network. We have another firewall for DMZ1. In order to provide access to EP and respective backend systems, we have installed two reverse proxy servers on Apache, one in DMZ1 and another in DMZ2. We could able to reach to the backend system successfully in this setup by using proper rewrite rule for virtual systems in order to connect to multiple systems.
However we have observed that connection for backend systems is established only to respective CI and not to any of the application server, even though we have created "Load Balancing" systems in EP and used the same logon group of backend systems.
Kindly suggest us if there is any option using which we can establish connection via Load balancing option in this current setup of ours.
Thanks
PradeepHi Mechael/Dutt
We r using Integrated ITS in WAS 6.40. and we r maintaing seperate entries for each systems in rewrite rule.
Thanks
PRadeep -
What should be done when client.connect() failed?
Hi guys,
I am using JCO to connect backend System. If client.connect() is called and for certain reason failed, what should I do to roll back the action so that the system keeps normal. I think client.disconnect is not the solution, because connect is not successful. I encountered this problem, and my portal is totally down, what should I do to avoid this situaltion?
My code is
try{
client.connect();
catch (JCO.Exception e){
//WHAT SHOULD BE DONE HERE?
System.exit(1);
Thanks in advance!
Regards,
LiyingHi,
Can you try this code.
class JCOConnector {
private JCO.Client mConnection = null;
// loginParams will settings for connection
public static boolean connect(Properties loginParams) {
boolean returnCode = false;
try {
mConnection = JCO.createClient(loginParams);
long timeBeforeConnecting = System.currentTimeMillis();
mConnection.connect();
long timeAfterConnection = System.currentTimeMillis();
returnCode = true;
} catch (Exception e) {
try {
disconnect();
} catch (Exception e2) {
throw new RuntimeException(e);
return returnCode;
* To Disconnect from the middleware.
public static boolean disconnect() {
boolean returnCode = false;
if (mConnection != null) { // if connection exists
try {
mConnection.disconnect(); // disconnect from the middleware
returnCode = true;
}catch (Exception e2) {
}finally {
mConnection = null;
}else{
returnCode = true;
return returnCode;
Regards,
Ashwani
Maybe you are looking for
-
How do i get my tool bar back on the screen
How do I get my tool bar back on the bottom of my screen?
-
NI-Profibus Comsoft Driver not working in built exe
I've been using Profibus in ETS for a long time. I just starting having a problems when I upgraded to 2011 SP1 f1. The problem only occurs in built exe's. I made a simple project (see attached) with the Comsoft example VI (DFP2_DP-SlaveExample.vi)
-
Best Way to Transport Area Menu
In this case its S000, main menu. I created a manual transport and included it (selecting freely by dev class) and saved the object entry directory for it in the transport. The Object List of request says "General storage structure: Definition of a s
-
Intercept value passed to item editor?
Hello! I'm trying to intercept the value that is taken from a DataGrid's GridColumn's itemRenderer and applied to the itemEditor, and vice-versa. I need to be able to format this value. However, my project is complex, so I may be focusing on the wron
-
PDF's won't open or get corrupted
I have downloaded 3 x PDF's, one works perfectly, one has some pages twisted (standing on their sides) and one won't open at all (this one is a larger file) they are all presentations...........any ideas for resolution??? I'm not tecci!