URL/ BSP application in button
Hi,
I am doing BSPs, the requirement is that if I press a button, I should get a new BSP application in a new window.
Does any one know how to do it!
Regards,
Bharat
Hi,
First of all you define a javascript that's called when clicking on the button:
function openapp()
LOV = open("empty.htm","apppopup","location=0,scrollbars=yes,toolbar=no, dependent=yes, screenX=50,left=50,screenY=50,top=50,height=450,resizable=no,width=450,status=no,menubar=0");
document.popupform.submit();
add a form like this
<form name="popupform" method="post" target="apppopup">
<input type="hidden" name="OnInputProcessing" value="newapp">
</form>
The inputprocessing looks like
CASE event_id.
WHEN 'newapp'.
CONCATENATE '/sap/bc/bsp/sap/someapp?paramx=' variablex ' INTO go_page.
navigation->goto_page( go_page ).
ENDCASE.
Alternatively, you can pass the URL in the javascript open statement directly.
Eddy
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d!
Similar Messages
-
BSP APPLICATION HAP_DOCUMENT BUTTONS
Hello All,
In the standard BSP application HAP_DOCUMENT related to course appraisal, when the page loads from this BSP application where course appraisal needs to be done , there are some buttons like Complete, Save , print, Exit, Execute etc.
Can anyone tell where are the texts for these buttons populated from , like which table or which OTR text or text element or basic settings in standard transaction lso_eval_catalog.
Actually these texts need to be translated and so it is necessary to know that from where these texts of the buttons are coming.
Thanks,
Sritama.HI Dear.
Check it this file "document_buttons.htm" in hap_Document BSP application...
and for the button it get the data from class.
class name : CL_BSP_HAP_DOCUMENT_CS
example : CL_BSP_HAP_DOCUMENT_CS=>C_BSP_ON_CLICK_EXIT -
BSP Application on click of a button in WebDynpro ABAP
Hello All,
We have a requirement to display a BSP application in a POP-UP on click of a button in WD ABAP application. Then, passing some paramters from WD to BSP (in POP-UP) and vice versa. Please let me know of how this can be acheived. Thanks.
Regards,
Gopal.To call a wd abap application from BSP use the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL then just create a link in bsp with the url returned like this:
<a href="url">Link</a>
To pass data from wd abap to bsp or vice versa that a look at this blog: /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
regards,
Fabio Louzada Saito -
How to call custom BSP application on click of BACK button for SC in EBP.
Hi All,
We are implementing OCI using custom BSP applications.In EBP SC screen ,in step1 (Select Goods/Services), the links for these BSP applications are displayed.
The user can create a shopping cart using these applications , after the items are transfered from BSP to SC on standard EBP screen , in step2
there are four buttons ,
1)Refresh
2)Check
3)Back
4)Continue.
We need to call one of our custom BSP applications on click of this BACK button
How can i acchieve the same?
Do i need to make changes in the standard ITS application or thers some other way?
Thanks,
Anubhav.
Edited by: Anubhav Jain on Jul 1, 2008 7:24 AMTo call a wd abap application from BSP use the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL then just create a link in bsp with the url returned like this:
<a href="url">Link</a>
To pass data from wd abap to bsp or vice versa that a look at this blog: /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
regards,
Fabio Louzada Saito -
Bad URL in BSP applications for login
I have some BSP applications using the following URL for login (standard SAP login page):
/sap/public/bsp/sap/system/login.htm?sap-url=<%=PATHTRANS%>&bspchangepasswordvisible=X&bspclient=001&bspdontshowhttpswarning=X
this URL for login works good with a WAS 6.20 but not with a WAS 6.40
Does anybody have an idea of why ? or if there is another login page to call in the WAS 6.40 to have the same functionality ?Hi Eric,
in fact, there is a new login application available in 6.40, a lot easier to integrate and with more features than the old system application.
To activate do the following: in SICF - at the tabrider where you configure the redirect to ../system/login.htm - you can find a checkbox labeled 'System Logon'. Setting this checkbox enables the new logon. The button 'Settings' opens another window where you can configure fields, default values, styles etc.
Documentation is at http://help.sap.com/saphelp_nw04/helpdata/en/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm.
There is a set of weblogs in work to cover customization. In case you have further questions open a thread in this forum with topic '6.40 System Logon'.
What is the error or problem which you get using the redirect to .../system/login.htm in 6.40?
regards, Ulli -
How to set up use of relative URLs for a BSP application
Dear all,
I need to access a BSP application through our external portal.
This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
How to set this up?
I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
This is the behavior I can see at the moment.
Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
This is what I'd like to see.
Many thanks in advance for your help.
FrançoisAny idea ?
-
Download the PDF Form as a attachment when button click in BSP application
Hi All,
I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
I have written this code:
data: pdf type fpformoutput-pdf.
< Logic for populate value to pdf field ....
.>
response->set_header_field(
name = 'cache-control'
value = 'max-age=0' ).
response->set_header_field(
name = 'content-disposition'
value = 'attachment; filename=webforms.pdf' ).
response->set_data( data = pdf ).
Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
How can I resolve this problem ?
In the IE i need to change any settings ?
IE version = 7.0
Adobe reader = 9.0
I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
Regards,
Boopathi MHello Ravi,
Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
Best regards,
Thomas -
How to find url for a view of a bsp application in program?
hello all,
I am devloping e-rec and am having a reqmnt, i want to knw how can i find a url for view view1 which is in bsp application zbsp.
thanks,
ReenaHi,
views can not be called direct, only controllers. Because of that, views have no URL.
You can call a controller or a page. You find the URL of the controller if you display the data of the controller.
The URL of the page you find if you display the property tab of the page.
Best regards
Renald -
XSL Var definition- passing URL to call a BSP application
Hi all,
I have a problem with XSL. I pass an url into a 'var', which then calls this url depending on the particular condition.
It all works fine.
Now the thing is I want to pass one more parameter in the var, I dont know how to append this to the previous paramter.
Can anyone help!
Regards,
Bharat
Message was edited by: BharatHi,
there´s a proper forum for BSP applications but I can tell you that I pass parameters in the URL like this:
http://www.mywebsite.com/index.htm
?param1=value1+param2=value2 -
Problems with encoded parenthesis in URL of BSP application
Hi,
our BSP application has following url:
http://sap-host/sap/bc/bsp/sap/zapp/index.html
After login we addionaly get a parentheses-part in the url (url mangling):
http://sap-host/sap(bD4JHFSIBSF==)/bc/bsp/sap/zapp/index.html
Everything works fine as far as we access the sap-host dircetly. When we want to access over Websphere-Portal with a proxy-servlet (reverse-proxy), the login is correct and after login we get an error 404 (not found). This happens because the proxy encodes the parentheses in the url with %28 and %29. Another problem is, that i have no chance to change the proxy-configuration, because it´s not in my responsibility.
Is there any possibility to get the icm/icf work with these encoded parenthesis?
I didn´t find anything helpful in the sdn/forums/wiki...
Thx a lot!Hi,
You have to manage the URL mangling when using reverse proxies.
For exemple with Apache as a reverse proxy you need this kind of rewrite rule :
RewriteRule ^/(sap\(.*) https://internalHost:internalPort/$1 [P,L]
If you have no chance of changing the proxy configuration, you are in trouble...
Good luck !
Olivier -
How to invoke the BSP application without invoking url in browser
Hi Experts,
I have a BSP URL link
'https://css.wdf.sap.corp/sap/bc/bsp/sap/itsm_gui/cssguinote.htm?pointer=' . I execute this link and application gets invoked in SAP GUI as required.
But I have a problem. On Executing the link , first the browser gets invoked with the given url and then the application gets started.
I dont want to invoke the browser but just start the application in SAP GUI.
Is there any way I can identify the transaction from the BSP link so that I can call directly .
Regards,
Ajaya Rama Raju.SingaHi,
it seems like you want to run your BSP application in SAP and not in the browser. For that you have to write a small programme, since there´s no transaction assigned to the BSP.
You have to work with classes cl_gui_custom_container (container ón your Dynpro) and cl_gui_html_viewer (HTML viewer inside the container).
As a third step you have to call your application with class cl_bsp_runtime and its method construct_bsp_url for building the URL in SAP. The last step is to call the URL in the HTML viewer.
There are examples of code in SDN. -
Need BSP-Application-Url without session_id
Hallo everybody,
have a problem with bsp. my problem is, i need a bsp-application-url without session-id. you can see in my example
get:
http://test:8100/sap(xxxxx)//bc/bsp/ztest/index.do?onInputProcessing(setformfields).....
need:
http://test:8100/sap//bc/bsp/ztest/index.do?onInputProcessing(setformfields).....
thanks...
harryatworldHi, it is not possible to diasable the url mangling you mentioned. You can call the static method
cl_o2_helper=>generate_url_for_page to get an url for a specific page.
Best regards,
Stefan -
E-Recruiting - BSP Application name from E-Rec portal URL
Hi,
How can we find out the name of the BSP application from the E-Rec portal URL? I need to do a change to the activity and unable to locate the exact BSP application name for that. Any help will be greately appreciated.
Thanks in advance.
NareshHello Naresh,
If you want to integrate the BSP application and want to know how this application is generated, then you can have a look over the Report rcf_generate_url, This generates the URL for Recruiter, Candidate etc.
otherwise If you want to see which application is running then you have to check with the application starting with HRRCF.
Best Regards,
Deepak... -
BSP Application Dump only when calling URL through Favorites
Hi,
We have a BSP application which works perfectly fine when we type in the URL in IE Address bar and we press enter. The standard logon screen displays; on entering the right credentials, the application goes through smoothly.
However, the same URL when chosen from the Favorites menubar leads to an application dump once the login information has been entered. The details of the dump are as follows:
Exception-Klasse CX_SY_REF_IS_INITIAL
Fehlername
Programm CL_HTMLB_INPUTFIELD===========CP
Include CL_HTMLB_INPUTFIELD===========CM00F
ABAP-Klasse CL_HTMLB_INPUTFIELD
Methode RESOLVE_MODEL_BINDING
Zeile 95
Langtext Es wurde versucht, auf eine initiale (NULL-) Objektreferenz einen dynamischen Methodenaufruf auszuführen. Die Referenz muß auf ein Objekt verweisen.
Can anyone help out here? Do we need to make any specific IE settings for the URL to work through Favourites?
Thanks!
Best Regards,
Devakiif its working when typed directly in the browser address bar, it should work when called from the favorites as well.
may be check whether you need to pass any info along with the url (like client, some form fields etc.) this dump is happenning in the login page or in your application?
Regards
Raja
PS: since you are new here take sometime to go through the rules of engagement Before you post: Rules of engagement -
BSP Application, URL for webreport
Hello all,
I am trying to analyze a BSP application, which is used for Management cockpit, developed using BSP and WAD(webtemplates).
i found, in Tcode SICF, one HTTP service has been created for the BSP application and External alias also created for this HTTP service. This exteranl alias is used in the fallowing url, which executes the Management cockpit in the browser.
http://<Servername>:8080/<HTTP service External alias>(bD1lbiZjPTEwMA==)/default.htm
Now i have one question in the above URL, What is the meaning of "(bD1lbiZjPTEwMA==)" in the above URL...?
Thanks
kumarHi Amie,
the encoded string is the mangled code and contains information about language, client and other parameters you send with the URL. You can decode the mangled code with the program BSP_DECODE_URL. Be aware that you can't switch off this mangled code in the URL.
See also
BSP In-Depth: URL Mangling
/people/brian.mckellar/blog/2003/09/30/bsp-in-depth-url-mangling
Regards,
Rainer
Maybe you are looking for
-
I can not see data in data viewer
Hi, I use OWB 10g Relase 2. I have one table and I imported table metadata to OWB. I load data to table with pl/sql script, Now I do not see data in this table in data viewer. I see data in SQL*PLUS I tried deploy table and run script to load again.
-
Best Buy sold me two Lenovo notebooks without left speakers!
I camped out for 12 hours at the Best Buy in Brighton, MI and ended up purchasing two Lenovo g575-438343u notebooks for $180 each. One of the first things I noticed was that the black seal was broken and there was clear packaging tape over it. A st
-
How do I set up my Mac mini to read iTunes and iPhoto files from my new Mac mini server?
Want my old Mac mini to read iPhoto and iTunes files from my new Mac mini server. Old Mac has no more room to store files. How do I do this?
-
Strange issues with domain controller/DNS server
Our domain controller/DNS server was working fine this morning. Then suddenly we stopped being able to access certain things on it. I could ping it, RDP into it, and access some files on it, but I couldn't run any applications hosted on it, accessing
-
Converting .m4p files (iTunes) to .mp3 format for PSP
Is there a conversion program that will allow me to take an iTunes file (.m4p) and convert it to an .mp3 format so that my PSP will be able to recognize the file?