Calling URL from Web IC
Hi All,
I have to call a URL from the Navigation bar of Web IC.
I have already created a navigation bar profile and links created. but how to call a particular URL either in the personalized or standard area of the Navbar!.
is there anything i have to do with transaction launcher?.
or else any method to attach the URL to the navbar link!.
please help!.
Thank you,
sudeep v d.
Hi Johannes,
I got the problem solved. there is an option
'Define URLs and Parameters' in the Transaction Launcher.
( CRM version 4.0 ).
where you have to create an ID and define the corresponding URL.
as the next step you have to goto to transaction auncher wizard and input this ID + Navbar ID, class name etc.
Regards,
sudeep v d.
Similar Messages
-
Calling form from web application
i use the below url for calling form from web application.
http://host51.yan.com/forms/frmservlet?form=test&width=700
i would like to know about "frmservlet"
if it's a servlet file then
where its located in application server10gThe servlet is part of the forms-installation on the application-server, on the local OC4J this is located in $ORACLE_HOME/forms/j2ee/formsapp.ear
What exactly do you want to know about the servlet? -
Calling url from a form - err using ".value" method
I'm trying to call url from a form, which seems to be the subject of many of these Posts.
I have a form with a combo box/LOV and a button. The LOV will read a url into the combo box from a table of url's.
I used the following code in the "OnClick" Java Script Event Handler section, which I pieced together from other posts in this and other forums. (i.e. I'm a pl/sql programmer trying to use Java Scripts for the first time).
OnClick
var X = FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
run_form(x);
When I attempt to run this form from the "manage" window, I get a run time error "FORM_DRWING is undefined" upon clicking the button. FORM_DRWING "IS" the name of the form!
The runform() function in the "before displying form" pl/sql code section is
htp.p('<script language="JavaScript1.3">
< !--
function runForm(v_link)
window.open(V_LINK);
//-->
</script>');
This code was from yet another Post.
Any help would be appreciated.
Thanks, Larry
nullHi Larry,
the problem could be that you need to preface your form with 'document.'.
i.e.
var X = document.FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
Regards Michael -
How to call URL from BADDI??
Hi,
I have a requirement to call URL from BADI, i tried to use 'CALL BROWSER' function module,
it works when we are working in GUI, but for portal/PCUI it gives sy-subrc = 2 ( Front end Error)
How to call a pop up page or URL from poral??
Thanks,
Manoj
Edited by: Manoj Lakhanpal on Sep 27, 2010 10:27 AMHi!
I'm using this code for calling a browser, you might try out as well...
MOVE 'http://www.sap.com' TO command.
CONCATENATE 'url.dll,FileProtocolHandler'
command
INTO command
SEPARATED BY space.
MOVE 'rundll32' TO lv_application.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
APPLICATION = lv_application
PARAMETER = command
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
BAD_PARAMETER = 3
FILE_NOT_FOUND = 4
PATH_NOT_FOUND = 5
FILE_EXTENSION_UNKNOWN = 6
ERROR_EXECUTE_FAILED = 7
others = 8
Regards
Tamá -
Hi friends,
Can we call a web URL from a ABAP program?
Is there anyway its possible ? if yes how?
Please provide the solution.
Thanks & Regards
kapilHi Kapil,
<b>Look at the below example program:-</b>
REPORT zget_mayors_for_cities.
DATA: it_citymayors TYPE TABLE OF zcitymayors,
wa_citymayors LIKE LINE OF it_citymayors,
mayor TYPE full_name,
trash TYPE string.
PARAMETERS: s_city TYPE s_city LOWER CASE.
SELECT * FROM zcitymayors INTO TABLE it_citymayors
WHERE city LIKE s_city.
* HTTP Client according to
* /people/thomas.jung3/blog/2005/07/01/bsp-create-a-weather-magnet-using-xml-feed-from-weathercom
DATA: client TYPE REF TO if_http_client,
<b>url TYPE string,</b>
xml TYPE xstring,
c_xml TYPE string,
city TYPE string.
* Converter
DATA: l_convin TYPE REF TO cl_abap_conv_in_ce.
LOOP AT it_citymayors INTO wa_citymayors.
* Use the Progress Indicator to show the user which City is processed
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = sy-index
text = wa_citymayors-city.
city = wa_citymayors-city.
* Spaces have to be replaced by _ in the URL
REPLACE FIRST OCCURRENCE OF space IN city WITH '_'.
<b> CONCATENATE
'http://de.wikipedia.org/wiki/Spezial:Export/' city
INTO url.</b>
****Create the HTTP client
TRY.
<b> CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = url
IMPORTING
client = client
EXCEPTIONS
OTHERS = 1.</b>
client->send( ).
client->receive( ).
xml = client->response->get_data( ).
client->close( ).
CATCH cx_root.
WRITE: / 'HTTP Connection error: ', city.
ENDTRY.
* Wikipedia does not provide a encoding with the returned XML
* so we have to do the conversion manually
TRY.
CALL METHOD cl_abap_conv_in_ce=>create
EXPORTING
encoding = 'UTF-8'
input = xml
endian = 'L'
RECEIVING
conv = l_convin.
CALL METHOD l_convin->read
IMPORTING
data = c_xml.
CATCH cx_root.
WRITE: / 'Problem during Character conversion: ', city.
ENDTRY.
****Transform XML to ABAP Values
TRY.
CALL TRANSFORMATION zwikipedia_mayor_to_abap
SOURCE XML c_xml
RESULT mayor = mayor.
CATCH cx_root.
WRITE: / 'Data loss during transformation: ', city.
ENDTRY.
* Some Mayors already have pecial Pages
REPLACE FIRST OCCURRENCE OF '[[' IN mayor WITH ''.
REPLACE FIRST OCCURRENCE OF ']]' IN mayor WITH ''.
* Some Mayors are members of a Party
SPLIT mayor AT '(' INTO mayor trash.
wa_citymayors-mayor = mayor.
WRITE: / wa_citymayors-city.
* Update Database
IF NOT wa_citymayors-mayor IS INITIAL.
UPDATE zcitymayors FROM wa_citymayors.
WRITE: wa_citymayors-mayor.
ENDIF.
ENDLOOP.
Look at the below thread for more info:-
/people/gregor.wolf3/blog/2006/06/29/use-data-from-wikipedia
Regards
Sudheer -
SAP BW 7 - Call URL from Right Click Menu
Is it possible to make a http call from the right click menu? I know this was possible in 3.5, but the new code seems to have limited my ability to edit the options that appear when I right click on a field and I need to make a call out to another web server for some external data. Is this possible?
Any information that anyone has about a potential work around would be great!!
Thx.Kristine,
Have you tried using RRI (Transaction RSBBS)? You can call URL , pass values etc.
-Saket -
Hi,
Can any one help me regarding Bex web designer..
I want to call BSP in my Bex web template with passing parameters to BSP(R/3) over URL and also like to avoid login pop for BSP.
Thanks
AtulHi Arun,
Thanks for your reply, but what i want to know is from WEB template how can we get variable to pass it to BSP page.
Eg: If i have using hierarchical object in my WEB template and i want know which node(level) i have selected, how i can achieve that, if i am able to do that then i can pass it to my BSP page.
Regards
Atul
Message was edited by: Atul Dhariwal -
I have several static Web pages calling a JSP page using IFrame src. Is there a way to get the full URL of calling Web pages within the JSP? Below is an example to illustrate what I have to do. I don't have to call JSP from IFrame src if there is another way to make this work.
JSP is called from:
http://somewhere.com/home/
JSP outputs:
http://somewhere.com/home/
JSP is called from:
http://somewhere.com/work/
JSP outputs:
http://somewhere.com/work/Each (i)frame spawns a new HTTP request. If you want to do it all in single request, use jsp:include instead of iframe.
-
Help with redirecting URL from Web Dynpro
Hi,
I have a question regarding how i can construct a URL where i would like to forward the user from a WD app based on some user interaction.
The problem is that i need to know the protocol, server & host to resend the control to ( basically append these values to a url path that i have eg: <http(s)>://<host>:<port>/<the path i have>). With NW2004s, the request object is not exposed to us anymore, so i am wondering what is the best way to construct the url.
I have gone through various posts here and the one that came closest to accomplishing what i need is the one by Valery S which recommends creating a Servlet that captures the request info that i need and then calling the WD app including the info that i need as request parameters in the calling URL.
Before i do this, i want to see if anyone has been able to solve this through another approach.
Appreciate the inputs.
Best Regards
Renchy ThomasRenchy,
Now I see you are conflicting with yourself
On one hand, if you need to redirect to the application hosted on the same server you need no protocol/server/port parameters. And you confirmed that this works for you.
On other hand, you are complaining that WD doesn't know in advance the protocol/host/port of arbitrary server you are planning to redirect to. Well, as I understand this is not API issue, this is configuration issue. You just need some configurable way to store such settings.
If this is true, then I can suggest 2 options:
1. HTTPDestination -- you are setting and configuring destination via VisualAdministrator, then from your code you are lookup destinitation by logical name and get physical URL.
2. IWDConfiguration / WDConfiguration -- you are creating settings as regular properties file, after deployment you may tweak this property file with VisualAdministrator. From code you are using WDConfiguration API to read URL or parts of URL as properties.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP
Dear Experts,,
I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
Any help would be highly appreciated
Regds,
SriniHi Wolfgang,,
My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
So, I called the standard iView template for sap_transaction_iView as follows :
irj/servlet/prt/portal/prtmode/preview/prtroot/'
'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
'!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
'&GuiType=WinGui&OkCode=y&ApplicationParameter=' <appnm> into url.
l_popup =
l_window_manager->create_external_window( url = url
has_menubar = ' '
has_statusbar = ' '
has_toolbar = ' '
has_location = ' ').
l_popup->open( ).
And , it worked.
Any more help pls feel free to revert.
Regds,
Srini -
Call URL from procedure?
Hi
We have a Crystal Report Server which hosts Crystal Report and now we want to invoket report from PL/SQL procedure/function is it possible.
Means Is it possible to invoke report by calling report URL from procedure or function.
Thanks,
KuldeepYou can certainly use UTL_HTTP to call a URL from a procedure. It's not obvious to me, though, whether that is all you need or whether you need to close the loop (i.e. respond to the results of the report) which may be more challenging.
Be aware, of course, that calls via UTL_HTTP are not transactional, so it is entirely possible that the transaction that initiated the call could be rolled back after the UTL_HTTP call was made. For that reason, folks will commonly have a separate job that calls UTL_HTTP asynchronously after the triggering transaction commits.
Justin -
Webservice URL from WebI to Live Office
Hi All,
I am getting the report from WebI and after that i would like to use that report into my Live Office.
I am not able to understand how to get the Webservice URL to the Live Office.
Do we need to save the WebI report in the repository?
Could any one pls guide me step by step.
Advance thanks
MuvvaI resolved...
Thanks
Muvva -
Calling RFCs from Web through XI
We have used SAP.NET connector in the past to call RFCs from ASP.NET pages from our public website. We have now decided to use XI as the enterprise integration engine going forward.I am interested to know whether anybody has used XI to call RFCs from ASP.NET webpages. I do know that the XI to SAP calls would be made through RFC adapter.Will the communication from ASP.NET page to XI be thourgh the HTTP adapter ? or is there any other smarter way. Can somebody point me to sample code for the calls through http adapter or a how to guide?
cheers
RameshHi
U have scenario like this ASP.NET->XI->RFC, that means u will send a value from the ASP.NET page to RFC thru XI and then this RFC will give result which will come to ASP.NET frontend.
For this go thru this blog it will help u to understand how to communicate from ASP.NET to XI
<b>https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442</b [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]> [original link is broken]
Code Sample is provided in the blog.
Hope it helps.
Regards
Arpit Seth -
How to call jsp from web dynpro app.
Hi Frndz,
How can I call a JSP from my web dynpro(and here i don't want to redirect to JSP ),I want to call a JSP which can show a message window as alert on top of WDP view.
Here am using CE 7.2 SP1, and my requirement is to call the model(back end) for every minute interval and need to give alert that how many new records r added.With WDP java i haven't find any option to give alert r notifications about new records added, so am thinking to call JSP where I will pass the parameter which can show a alert r notification(like FACEBOOK n outlook notifications).
Please share any ideas ti achieve this,
Thanks in advance.
Regrads
RajeshHi,
If your application should open in a new url, then you can use link to url action to open jsp.
You can also use EPCF navigation api to call any pcd page as well external links
i.e
WDPortalNavigation
.navigateAbsolute("link",[parameters]);
Since your passing parameters, you build url in both the cases.
Ram -
Hello Gurus.
I wonder if there is an option to call a workbook from a web query.
I need to open a workbook from a web link or from a web query.
How can i do this??? i don't have SAP portal
Thanks in advance.learn about BSP from this link
http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
create the following BSP application.
1. go to se80 and choose BSP application from the dropdown and enter a name for hit and hit enter, the system will prompt you to create it, create the same .
2. add a page to the bsp application with .xls externsion. (wbviewer.xls)
3. declare the following page attributes
file_content TYPE STRING
file_xcontent TYPE XSTRING
wa_wbdata TYPE RSRWBSTORE
wbdata TYPE RSR_RPEC_BIN_FILE
wbid TYPE RSSGUID25
for wbid attribute make sure auto checkbox is checked.
4. clear all the default code from layout section.
5. in oninitialization event enter the following code.
refresh wbdata .
clear: file_content .
data: temp_string type string .
select * from rsrwbstore into table wbdata
where workbookid = wbid.
if not wbdata[] is initial .
loop at wbdata into wa_wbdata.
clear temp_string .
temp_string = wa_wbdata-clustd .
concatenate file_content temp_string into file_content .
endloop.
clear file_xcontent .
file_xcontent = file_content .
call method response->if_http_entity~set_data
exporting
data = file_xcontent.
endif .
save and activate the page and application.
now if you call the following url, it will open the work book and the same url can be set in your webtemplate.
http://<bwhost>.<domain>.com:<port>/sap/bc/bsp/sap/<bspapplicationame>/pagename.xls?wbid=<workbookid>
Hope this helps.
Regards
Raja
Maybe you are looking for
-
Books are not shown in the TOC of the printed document
Hello, I am using Robohelp 10. I have a project with several books and topics. When I generate a web help, everything is fine. But now, I have to generate a printed version of it. My problem is that on the table of contents of the generated document,
-
Works in SQL Workshop, not in LOV Definition
I developed a query select distinct b.pointname display_value,a.pointnumber return_value from e_sub08@scadahst_xajardb a, analogpoint@scadahst_xajardb b where a.pointnumber = b.pointnumber in SQL Workshop and I get the dataset that I need when I run
-
CVI crashes when compiling with VISA
LabWindows/CVI does not compile when I try to use VISA: For a very simple program (only UI, no multithreading, instrument communication whatsoever), when I include "visa.h", it does not compile anymore and crashes occasionally: - When I hit "Compile
-
Info provider routine - equality
Dear all, simple question.. I just wanto to write routine for info provider, where in data selection, i want to get the data if; field 1 = field2 (first 8 chars) otherwise should not get this data.. how to write this routine? Thanks
-
Hello experts, I am having problem with processing of the events queue Q.B1Events. This queue increase its elements and approximately every 40 minutes the elaboration process starts normally. The system has lost its immediacy and I don't understand w