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,
Linda
Hi 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
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> -
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. -
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 -
Can we call a transaction from a report
hi
can we call a transaction from a reporthi,
we can call
check it
*& Report ZSALESORDERDETAILS_ASHOK
REPORT ZSALESORDERDETAILS_ASHOK
NO STANDARD PAGE HEADING
LINE-SIZE 50
LINE-COUNT 35(5).
*data declaration.
tables :vbak.
tables: VBAP.
DATA : TVBAK LIKE VBAK OCCURS 0 WITH HEADER LINE,
TVBAP LIKE VBAP OCCURS 0 WITH HEADER LINE,
TEMP TYPE p decimals 5 VALUE '0.0' ,
A type i,
FIELDNAME TYPE STRING,
FIELDVALUE TYPE VBAP-VBELN.
DATA G_CB.
selection-screen begin of block screen1 with frame title TEXT-001.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT /32(35) COMM1.
SELECTION-SCREEN ULINE /27(35).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS TVBELN FOR VBAK-VBELN.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN COMMENT /30(50) COMM2.
SELECTION-SCREEN ULINE /27(40).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS TERDAT FOR VBAK-ERDAT.
SELECTION-SCREEN SKIP.
selection-screen end of block screen1.
*Initialization
Initialization .
TVBELN-low = 4000.
TVBELN-high = 5000.
TVBELN-option = 'BT'.
TVBELN-sign = 'I'.
APPEND TVBELN.
TERDAT-low = '19960202'.
TERDAT-high = '20020302' .
APPEND TERDAT.
AT SELECTION-SCREEN .
SELECT *
FROM VBAK
INTO TABLE TVBAK
WHERE VBELN IN TVBELN AND erdat IN Terdat .
IF sy-subrc ne 0.
MESSAGE 'ENTERED ORDER NOT FOUND' type 'E'.
ENDIF.
START-OF-SELECTION.
REFRESH TVBAK.
SELECT *
FROM VBAK
INTO TABLE TVBAK
WHERE VBELN IN TVBELN AND ERDAT IN TERDAT.
END-OF-SELECTION.
LOOP AT TVBAK.
WRITE: /2 SY-VLINE,
TVBAK-VBELN INPUT ON ,
15 SY-VLINE,TVBAK-ERDAT hotspot on,
30 SY-VLINE, 35 TVBAK-ERNAM,
46 SY-VLINE,
g_cb AS CHECKBOX.
ENDLOOP.
A = SY-LINCT - SY-LINNO - 1.
SKIP A .
RESERVE A LINES.
AT SELECTION-SCREEN OUTPUT.
comm1 ='SELECT SALES ORDER RANGE'.
comm2 ='SELECT SALES ORDER CREATION DATE'.
TOP-OF-PAGE.
ULINE.
WRITE /15 ' SALES ORDER REPORT ' COLOR = 1 .
ULINE.
WRITE : /7 ' VBELN ' COLOR = 5 ,
19 ' ERDAT ' COLOR = 5,
34 ' ERNAM ' COLOR = 5.
ULINE.
END-OF-PAGE.
IF SY-LSIND = 0.
ULINE.
WRITE : /2 'NUMBER OF LINE IN THIS PAGE = ', SY-LINNO.
SKIP.
WRITE: /30 'PAGE NUMBER = ', SY-PAGNO.
ULINE.
ELSEIF SY-LSIND = 1.
ULINE.
WRITE : /12 'TOTAL PRICE = ' ,TEMP.
CLEAR TEMP.
SKIP.
WRITE : /30 'PAGE NUMBER = ', SY-PAGNO.
ULINE.
ENDIF.
at line-selection.
GET CURSOR FIELD FIELDNAME VALUE FIELDVALUE.
IF FIELDNAME = 'TVBAK-VBELN'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = FIELDVALUE
IMPORTING
OUTPUT = FIELDVALUE.
WINDOW STARTING AT 60 2 ENDING AT 120 25.
IF SY-LSIND = 1.
SELECT
FROM VBAP
INTO TABLE TVBAP
WHERE VBELN EQ FIELDVALUE.
LOOP AT TVBAP.
TEMP = TEMP + TVBAP-NETPR.
WRITE : /2 SY-VLINE, TVBAP-matnr,
17 SY-VLINE,TVBAP-VBELN,
30 SY-VLINE,TVBAP-NETPR currency 'IN',
49 SY-VLINE.
ENDLOOP.
ULINE.
A = SY-LINCT - SY-LINNO - 1.
SKIP A .
RESERVE A LINES.
ENDIF.
<b>ELSEIF SY-LSIND = 2.
call transaction 'MM01' .
ENDIF.</b>
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE : / SY-ULINE,
/7 ' DETAIL OF GIVEN SALES ORDER ' COLOR = 5,
/ SY-ULINE,
/4 'MATNR',
22 'VBELN',
35 'NETPR',
/ SY-ULINE.
Regards
ASHOK
Message was edited by:
ASHOK KUMAR -
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. -
Hi,
I am new to BSP. I have to call SAP Screen on button click event on BSP and also need to pass data at runtime.
I searched this forum but didn't find the right solution. I tried to call SAP screen from BAPI and through URL but no success.
Anyone knows how it can be done?
Regards,
Usman MalikThanks for your reply,
Actually I am very new to BSP. I don't understand where to put this code?
[System]
Name=DEV
Description=DEV [Development]
Client=123
[User]
Name=RAJA
Language=EN
[Function]
Title=
Command=*SU01 USR02-BNAME=raja;
Type=Transaction
[Configuration]
WorkDir=d:xxxxxxSapWorkDir
[Options]
Reuse=1
Second thing is about shortcut. Do I have to place this shortcut on server?
Thanks,
Usman Malik -
How can we call a transaction from a report?
hi
experts can u help me for thischeck this:
CHECK sy-ucomm = '&IC1'.
CASE sy-ucomm.
WHEN 'MATNR'.
READ TABLE it_final INDEX selfield-tabindex.
IF sy-subrc EQ 0.
SET PARAMETER ID 'MAT' FIELD it_final-matnr.
SET PARAMETER ID 'WRK' FIELD it_final-werks.
SET PARAMETER ID 'LAG' FIELD it_final-lgort.
SET PARAMETER ID 'CHA' FIELD it_final-charg.
CALL TRANSACTION 'MMBE' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
In this case, if ur report has material code(matnr), plant(werks), storage location(lgort), batch(charg) as the output fields and u click on the material, then it will display the details of that material for the T- code MMBE.
reward points if useful.
Message was edited by: anju
anju sinha -
Passing parameters to Transactions from Web dynpro Application through ITS
Hi,
i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
CONCATENATE 'http'
'://' host ':' port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
'%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
Called T-Code CAT3
Passing Parameters are:
Data Profile TCATST-VARIANT
Pernr: CATSFIELDS-PERNRPradeep,
iam trying to pass values from webdynpro application to SAP GUI Transaction
here is the sample code which iam using
CONCATENATE 'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
'%20CAUFVD-AUFNR='
'ApplicationParameter=CAUFVD-AUFNR='
lv_workorder';'
'DYNP_OKCODE=SHOW'
INTO lv_url.
i could'nt able to succed as its displaying page not found exception.
Help me on this to proceed further
Regards
Jaipal.E -
Calling Batch input from Web Dynpro - any alternatives for table updates?
Hi!
I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ? We are not supposed to do direct table updates.
Anyone who have struggled with the same issues and found a solution??
regards, TineHi,
as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
Thanks,
Chandra -
Is it possible to call std. SAP transaction from abap wd
Is it possible to call std. SAP transaction from abap wd so that transaction appears and work as in gui? Without portal ofcourse.
I know that using webgui and/or ITS it is possible so then it must be somehow possible....Hi,
see Web Dynpro ABAP call transaction in the foreground and just carry out a simple search in this forum, then you'll find several threads with similar questions...
Regards, Heidi -
How to download data in excel from web report in sap ?
how to download data in excel from web report made in sap abap?
through tcode smw0.for exemple using
MS_EXCEL_OLE_STANDARD_DAT -
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 -
Calling a Transaction from Selection screen of Z Program...
Hi,
I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
I hope it is clear.
Regards,
Sunny>
sunny_143 wrote:
> Hi,
>
> I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
>
> when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
>
> But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
>
>
> when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
>
> I hope it is clear.
>
> Regards,
> Sunny
I'm not clear about what happens when you press the BACK button.
First, LEAVE TO TRANSACTION is no help. That ends your Z program. CALL TRANSACTION is your only option. If it doesn't work as you'd like, you're a bit stuck, as MMnn are standard SAP transactions, and you can't modify that. (well, you can, but that's a whole other tin of worms).
Perhaps if you told us what you're trying to achieve with the Z program, there might be another approach that will do that.
matt
Maybe you are looking for
-
Template question- creating / inserting
Hi, I am setting up an online store (here is the test page- http://www.drcelly.com/6100manual ) and I am using a program to create it. It is pretty nice, its good for people who do not know much about php / asp, in fact you don’t even have to know ht
-
REP-56055: ''Exceed Max Connections Allowed:''
dear gurus salamz can any one help me on this we have bi, app server with 10g2 and getting on few reports this error rgds, salim shahzad
-
Resizing Accordian based on the content in each component within in it.
Hi, I wanted to know whether is there a way to resize Accordion component based on the content in the present tab.In my Accordion I am using four Canvas as its four children.The data in each of the canvas changes based on the Accordian tab selected.
-
When attempting to install cs6, about a half dozen components fail to install because ot 1835 or 1603 errors. The error log from an attempted installation of acrobat is below: Exit Code: 6 Please see specific errors and warnings below for troubleshoo
-
Material valuation strategy U in valuation variant
Dear All, We r trying to use the material valuation strategy U in the valuation variant. We have also activated the project with the user exit COPCP005 : User exit for material valuation (strategy U) Component :EXIT_SAPLCK21_002 INCLUDE ZXCKAU08 Howe