Missing permission when calling sap transaction via composer
Hello,
we have created a complex model. in this model some sap transaction are called.
With Administrator rules everything is working fine.
but when portal role is assigned to a normal user, only real composer parts are working and all url ivew calling an sap transaction are failing.
where do I have to adjust permission ?
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Access denied (Object(s): portal_content/com.sap.pct/templates/iviews/com.sap.portal.sap_transaction_iview).
Exception id: 11:20_14/02/08_0022_6998651
See the details for the exception ID in the log file
Thanks
Hi Uwe,
i guess you're calling the "pcd:portal_content/com.sap.portal.migrated/ep_5.0/templates/com.sap.portal.appintegrator.sap.bwc.TransactioniView" with some parameters (system, tcode, etc.). You have to add this iview to your models role (our change the permissions of the iview). To hide in the navigation, edit the iview preference: com.sap.portal.navigation.Invisible (German: Unsichtbar in Navigationsbereichen) -> change it only in the role->iview, do not change it in the iview itself.
Hope that helps!
Benny
Similar Messages
-
Calling SAP Transaction from BSP
I wonder whether it is possible to call SAP transaction from BSP application and pass to it some data; e.g., PO# when calling VA02?
The called transaction could appear in a separate MS IE Window (like in some Portal applications) or in SAP GUI.
Any help will be appreciated.
Thank you in advanceI have launched the Java SAPGui from BSP pages before. I used SNC so that the users were logged on via Single Sign On. I store the Java Gui in the Mime directory. You can force the startup transaction. Theorectically you could also Gui Scripting to try and control the Gui and force in the default value for your PO field. I have not tried that however. You will probably want to check the Service Marketplace for documents on the Gui Scripting. The following is the code from my BSP page to launch the Java Gui in the Browser as an applet:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<HTML>
<HEAD>
<TITLE>SAPGUI for the Java Environment</TITLE>
<STYLE type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; }
</STYLE>
</HEAD>
<BODY scroll="no">
<SCRIPT language="JavaScript">
// user configurable part starts here
var pluginurl = '';
var scriptable = 'true';
var codebase = '.';
var jnlp = 'platin.jnlp';
var keepalive = 'true';
var frog = 'true';
var trace = '';
var tracefile = '';
var connectionData = 'conn=/M/nts163/S/3620/G/SPACE/&tran=SE80&clnt=088&fast=true&sncon=true&sncname=p:[email protected]&sncqop=9';
// user configurable part ends here
// verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
var jre = 'control';
if(navigator.platform.indexOf("Mac") > -1)
jre = 'native';
else if (navigator.appName.indexOf("Netscape") != -1)
jre = 'plugin';
document.open();
switch (jre)
case 'control':
document.writeln('<OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln(' ID = "PlatinGUI" ');
document.writeln(' CODEBASE = "j2re-1_3_1_02-win-i.exe#Version=1,3,1,0" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' BORDER = 0> ');
document.writeln('<PARAM NAME = "TYPE" VALUE = "application/x-java-applet;jpi-version=1.3.1"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable,'"> ');
document.writeln('<PARAM NAME = "code" VALUE = "com.sap.platin.GuiApplet2"> ');
document.writeln('<PARAM NAME = "codebase" VALUE = "', codebase,'"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp,'"> ');
document.writeln('<PARAM NAME = "archive" VALUE = "GuiStartS.jar"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive,'"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog,'"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace,'"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile,'"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'"> ');
document.writeln(' ');
document.writeln('This page requires a Sun Java Plugin 1.3 and a SAPGUI for Java to view. ');
document.writeln(' ');
document.writeln('</OBJECT> ');
break;
case 'plugin':
document.writeln('<EMBED TYPE = "application/x-java-applet;version=1.3" ');
document.writeln(' PLUGINURL = "', pluginurl,'" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' ALIGN = "BASELINE" ');
document.writeln(' code = "com.sap.platin.GuiApplet2" ');
document.writeln(' codebase = "', codebase,'" ');
document.writeln(' jnlp = "', jnlp,'" ');
document.writeln(' archive = "GuiStartS.jar" ');
document.writeln(' keepalive = "', keepalive,'" ');
document.writeln(' frog = "', frog,'" ');
document.writeln(' trace = "', trace,'" ');
document.writeln(' tracefile = "', tracefile,'" ');
document.writeln(' connectionData = "', connectionData,'" ');
document.writeln(' <NOEMBED> ');
document.writeln(' </NOEMBED> ');
document.writeln(' </EMBED> ');
break;
case 'native':
document.writeln('<APPLET CODEBASE = "', codebase,'" ');
document.writeln(' ARCHIVE = "GuiStartS.jar" ');
document.writeln(' CODE = "com.sap.platin.GuiApplet2" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable, '"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp, '"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive, '"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog, '"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace, '"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile, '"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '"> ');
document.writeln('</APPLET> ');
break;
document.close();
</SCRIPT>
</BODY>
</HTML> -
Calling sap transaction in html
hi all
i've created an iview which is calling sap transaction while creaating it has given me some options like sap gui for windows,sap gui for html.while selecting sap gui for html i am getting some error.other is working. can any one plzz tell me how to create a iview which calls saptransction using sap gui for html template.
awaiting for repliesHi,
In order to show your Iview in sap gui for html, you need to have ITS server configured.
1. If you are using SAP version <= 4.7 on web as 6.20 then you need to install ITS 6.20.
2. If you are using SAP version >= 4.7 on WEBAS 6.40, then ITS comes as integrated ITS 6.40. So you can activate the Integrated ITS.
If you want to use SAP GUI for java then you need little configuration which is explained in my weblog.
Steps for quick installation and usage of SAP GUI for JAVA in EP
Hope this helps,
Thanks,
Praveen.
PS.Dont forget to reward points. -
Call SAP transaction out of a Crystal Report
Hi there,
is there a possibility to call a SAP transaction and maybe even pass a parameter (like e.g. project number) out of a Crystal Report?
Are there any SSO scenarios?
Thanks in advance
With kind regards
SebastianHi Sebastian Wörner,
Could you please expand what exactly you are looking for ?
Calling SAP transaction out of Crystal Report?
Thanks,
Sastry -
Call SAP Transaction Variant from Iview
Hello,
I know we can pass parameters into a SAP transaction via the 'Application Parameters', but this does not always work especially for complicated selection screen options.
Can the actual transaction variant ID be passed instead?
Regards
Mr.THi,
You may refer this
Passing Variant's value to a transaction iview
Thanks
Prashant -
Call sap transaction from java
can anyone tell me how to call SAP transaction from JCO,
cheers
AjayHi Ajay,
You should find or create functional module which covers your requrements.
Best regards, Maksim Rashchynski. -
Need to call sap transaction when the work item got rejected.
Hi all,
I need to call the ME22n transaction once i reject the Work item. Once i press the rejection button on the work item it should direct to the sap transaction. how can i make this functionality in the decision task. Do i need to implement an ext for this.
Thanks.
Neslin.You simply create a task for executing the SAP transaction (business object TSTC)
you use this task as a dialog step at the rejected outcome of the user decision with the same agent as the user decision and in the details of the workflow step you tick the advance with dialog box.
And... you're done.
Kind regards, Rob Dielemans
Edit: Instead of using BO TSTC it would be better to check the BO normally related to Me22n and see if a dialog maintain method exists
Edited by: Rob Dielemans on Jul 16, 2009 9:55 AM -
Calling SAP transaction from Webi report?
Hi experts,
With BI/BW query, we can retrieve data from R/3 source system via report-to-report interface. For instance, from a Purchasing query with data aggregated by Vendor, the user can trigger the R/3 transaction ME2L by clicking on a row.
Is there a similar feature in BOBJ Webi report? For instance, can we use hyperlink or some other means to do this?
Any idea will be much appreciated.
Thanks and regards,
LindaHi Stratos,
Really appreciate your advice. Following your suggestion of using blank cell, the server is determined dynamically for the hyperlink.
However, there're still some issues with defining a hyperlink for table columns. For instance, I have 2 columns in the table - Cost Centre and Cost Element. SAP transactions KS03 and KA03 are to be launched respectively for these 2 columns. The value of the clicked column (Cost Centre, Cost Element) is to be passed to the SAP transaction.
I've created the following hyperlink for the Cost Centre column:
http://[[MyServer]]?sap-client=([Client])&sap-language=EN&~transaction=KS03
with Tool Tip = [[L01 Cost Center Key]]
The link is not working immediately, so I adjusted the formula as follows via the formula editor (by adding double quotes for <MyServer>):
="<a href=\""[[MyServer]]"?sap-client="URLEncode(""[[Client]])"&sap-language=EN&%7Etransaction=KS03\" title=\"\" target=\"_self\" nav=\"web\">"[[L01 Cost Center Key]]+"</a>"
Clicking the <tick> button does not return any error.
When I click on the Cost Center column, the SAP transaction is launched successfully. However, there're still a few issues:
1) The Cost Center Key is not passed to the SAP transaction. Is Tool Tip the way to go?
2) When checking the hyperlink (via right-click > Hyperlinks > Edit Hyperlink), I found the Tool Tip (L01 Cost Center Key) has disappeared
3) After I've clicked <OK> to exit the Edit Hyperlink window, I got the error message 'Invalid character '[[MyServer]]' at position 14. (Error: WIS10080)'.
-- It seems correct syntax in the formula editor is considered invalid in the hyperlink editor.
Do you mind commenting on what could have caused the above issues?
Thanks again for your time.
Linda -
Calling SAP Transaction from WDA
Hi,
We have a peculiar requirement of calling SAP Standard Transaction from Web Dynpro ABAP.Well, we tried achieving this using the Transactional iview. On click of appropiate link/button in my applicaiton, I can call the Transactional iview. But the problem is, I could not pass on the data from WDA Application to Transactional iview. I need some inputs in handling such cases.
The case might look something similar to PCR's final updation(like after all approvals of PCRs, the final Administrator executes the workitem which in turn calls the Notification Maintenance and this in turn calls the PA40 passing the data from Adobe form(XML data) to PA40 txn. Like this, After all my approvals, I would like to call the SAP Transaction passing the data from WDA Application. Hope I am clear.
Regards
<i><b>Raja Sekhar</b></i>Hi,
Maybe you can use the information from this blog to pass dynamic parameters to the SAP transaction iview which you call with the created URl
How to launch SAP transaction & pass parameters via URL
Dagfinn -
Passing multiple values for a single field in URL to call sap Transaction
Hi All,
I need to pass multiple values for a single field to SAP transaction .
means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
Let me know pls.
Regards,
Sirisha.R.S.Hi Satyajit,
I need to call a transaction with multiple values which gives me the report based on those values.
So I need to pass multiple values for a single parameter.
I hope u got it.
Regards,
Sirisha.R.S. -
Problems with SKIP FIRST Screen when calling a transaction variant
Hi,
I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
In my program I have coded the following :-
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
I don't think I need VPO setting but when I code
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
VA02's second screen is displayed
Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
Thanks
RousYes you are right Reg thanks for that.
But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 . -
FILE.IO.PERMISSION and SOCKET.PERMISSION when calling jdev proxy from DB
Hello everybody,
i deployed a webservide proxy (made in jdev 10.1.3.2) to an oracle 10gR2 database. Invoking this proxy works very well when calling it (as a procedure in the database) on the same machine as the DB is running.
But when trying to invoke the procedure remote on the DB-server from another pc i get 2 error messages (randomly):
java.security.AccessControlException: the Permission (java.net.SocketPermission 192.168.20.1:1521 connect,resolve) has not been granted to VECOZO. The PL/SQL to grant this is dbms_java.grant_permission( 'VECOZO', 'SYS:java.net.SocketPermission', '192.168.20.1:1521', 'connect,resolve' )
java.security.AccessControlException: the Permission (java.io.FilePermission \\WEBFS01\WEBFS01_Vecozo\Temp\Acc\MAY07 read) has not been granted to VECOZO. The PL/SQL to grant this is dbms_java.grant_permission( 'VECOZO', 'SYS:java.io.FilePermission', '\\WEBFS01\WEBFS01_Vecozo\Temp\Acc\MAY07', 'read' )
I gave this permissions in the sys schema to the vecozo schema following the example the error produces for me, but it doesnt work! When i grant socketpermissions on the port secified by the error and i run the proxy again the db comes up with the same error, only with a different port number. I'm getting crazy here. Also the granting of the file.io permission seems to have no result.
What is strange is that it all works when invoking the proxy locally (from the pc as where the db is running). I think this is because locally you dont need socketpermissions (as sockets are primarily for communication with other pc's). Furthermore i did not even grant the file permission when working locally in my testenvironmentand it all worked just fine. so i dont know why i suddenly need this permission when invoking the procedure on the productionserver from an external pc.
Can somebody plz help me with this????
greetz,
KimAnybody :)
-
Passing Parameter to SAP Transaction via AppIntegrator
Hi,
I created an AppIntegrator iView that calls a R/3 Transaction. The iView is running correctly.
Now I want to pass a dynamic parameter to the Transaction so that it skips the first screen of the transaction.
For this purpose there is the iView Parameter "AutoStart" that has to be set to true in SAP Transaction iView. Furthermore I have to set parameter "ApplicationParameter" in the follwing manner "<Screen_field1>=<Parameter1>" according to help.sap.com.
Lets assume that the transaction I want to call is <b>SU01</b> and the screen field is <b>USR02-BNAME</b>.
So the iView parameter "ApplicationParameter" has the value "USR02-BNAME=MyName".
This works fine but is not dynamic.
I then called my iView using the follwing URL:
http://.../irj/../portal_content/.../R3_iView?param=MyName
and changed the value of "ApplicationParameter" to ""USR02-BNAME=<Request.param>".
This does not work. The input field of the R/3 Transaction contains "<Request.param>" instead of "MyName".
My Question:
Does the Template Processor of AppIntegrator not work for the Parameter "ApplicationParameter"?
Help is most welcome
HelmutMe actually,
Hi Helmut!
Im using a very similar technique heavily in a customer project for jumping into several transactions from an iView. Instead of expicitely creating an iView i directly call the respective master iView
"com.sap.portal.appintegrator.sap.Transaction"
Then I append the required parameters as GET parameters:
?System=<system alias>&Technique=[SSF|SSD]&TCode=<exec first screen?>SU01 param=value;param=vaue;param=value&GuiType=[WinGUI|WebGUI|JavaGUI]
GuiType should be clear, technique defines the startup behaviour of Wingui (being either as an activeX control (SSD) or using SAP shortcuts (SSF) ). If you want to submit the first selection screen, simply add a "*" to the Tcode. Also note that there is a space between the tcode and the param list.
This should resolve the issue. Good luck with it,
(and see you somewhen again in "real life"
Dominik -
Calling SAP transaction from WebDynpro
HI,
Could someone post a link as to how I may call a SAP transaction from a webdynpro.
Will this be an external call to R/3 or can i get it embedded in my dynpro.......
Tnks..Hi,
You can call by creating external window method.
create LINK to URL or LINK TO ACTION according to requirement, for this. write code in onaction of that.
data: iv_url type string value 'http://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*se38 RS38M-PROGRAMM=rsparam;DYNP_OKCODE=SHOP'.
data: api_component type ref to if_wd_component,
window_manager type ref to if_wd_window_manager,
window type ref to if_wd_window.
api_component = wd_comp_controller->wd_get_api( ).
window_manager = api_component->get_window_manager( ).
window = window_manager->create_external_window(
url = iv_url
modal = abap_false ).
window->open( ).
Cheers,
Kris. -
Calling sap transaction in web browser
Hi,
I want to call a sap transaction in web browser.
In my case the Solution Manger Transaction SMSY
to provide all the System Landscape Information.
How can I realise it with less effort?
What technology is state of the art for this problem?
Thx 4 answer!
Best Regards,
Rene Trippolt.Hi Jörg,
thx 4 ur answer but is ITS the only way for solving this problem? Is it still state of the art?
What about Portal -> Application Integration with iView,
WebDynpro, etc. Is it also possible with this technology to call a sap transaction in a web browser with less effort?
I have to do a kind of evaluation for the best integration
of an sap transaction in a web browser.
Independent of any SAP Release!
thx 4 each hint,
Rene.
Maybe you are looking for
-
Hi, I've recieved a free Adobe CD Rom for Adobe Lightroom 5 after buying a new Samsung Camera, as I do not have a CD Rom department in my laptop, I've downloaded the Adobe Lightroom online. After downloading, I was trying to license the software by t
-
How do I get Jave to work with Pogo
I am having a very difficult time with Jave and Pogo any advise?
-
Urgent Sql Query Problem - -Very Urgent
Hi Guys, I need a urgent solution for a problem.I am using the following query select ename from emp where deptno =10 Now I will declare a bind variable and if user passes 'A' then the query will run as it is and if he passes B then it should run the
-
Defining Payment Terms with respect to Shipping Date
Dear Friends, I need your help on the following issue. One of our user wants payments terms (obb8) to be defined from shipping date. His requirement is N45 + 3 days form the shipping date. My major concern is how to take shipping date as base line da
-
To create a return order with sales order as reference in CRM.
Hi guys, How do i create a return order with sales order as reference in CRM. Is CRMD_BUS2000115 the transaction for this?? and if yes how do i pass sales order as reference??