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...
harryatworld
Hi, 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
Similar Messages
-
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 -
Hi all,
When we make a bsp application a URL gets generated for each page. However this URL is too long to remember, something like this:
http://<server ip>:<port no>/sap(<key>)/bc/bsp/sap/<application name>/<page name>.htm. Is there a method to map it to some shorter name something like
http://<server ip>:<port no>/<application name>/<page name>.htm
I have been through the SICF settings but could not find much.
Kindly help me solve the problem.
Thanks n Regards,
Reemayou use External Aliases (SICF) for this purpose.
http://help.sap.com/saphelp_erp2004/helpdata/en/78/9852bdc06b11d4ad310000e83539c3/frameset.htm
Regards
Raja -
Hello,
is there any FM or method that i can find the BSP app. URL ?
RegardsHi Anubhav ,
thanks for your time ,
i find this method that bring me the url,
how i can find which BSP App belongs to some user?
cl_http_ext_webapp=>create_url_for_bsp_application
exporting
bsp_application = 'ZACT_J_TEST'
bsp_start_page = 'test_co_htm'
bsp_start_parameters = params
importing
local_url = url.
Regards -
How to Use Interactive Forms in BSP Applications - trouble with demo
Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
I think I have everything built out correctly but I get the following run time error.
Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
Exception Class CX_SY_REF_IS_INITIAL
Error Name
Program Z_PROCESS_BOOKING_FORM========CP
Include Z_PROCESS_BOOKING_FORM========CM002
ABAP Class Z_PROCESS_BOOKING_FORM
Method DO_REQUEST
Line 33
Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
Following is my code: line 33 reads as strChecked = node->get_value( ).
method DO_REQUEST.
*CALL METHOD SUPER->DO_REQUEST
data: bookingxml type string.
bookingxml = request->get_cdata( ).
data: streamFactory type ref to
if_ixml_stream_factory.
data: iStream type ref to if_ixml_istream.
streamFactory = g_ixml->create_stream_factory( ).
iStream =
streamFactory->create_istream_string(
bookingxml ).
data: document type ref to if_ixml_document.
document = g_ixml->create_document( ).
data: parser type ref to if_ixml_parser.
parser = g_ixml->create_parser( stream_factory =
streamFactory
istream =
iStream
document =
document ).
parser->parse( ).
data: node type ref to if_ixml_node.
data: strChecked type string.
node = document->find_from_name( name = 'RESERVED'
strChecked = node->get_value( ).
data: reserved type BAPISBODAT-RESERVED.
data: checked type i.
move strChecked to checked.
if ( checked = 1 ).
reserved = 'X'.
else.
reserved = ''.
endif.
data: custbook type BAPISBONEW.
node = document->find_from_name( name = 'AIRLINEID'
custbook-airlineid = node->get_value( ).
node = document->find_from_name( name = 'CONNECTID'
custbook-connectid = node->get_value( ).
data: fd type BAPISBONEW-FLIGHTDATE.
data: strFd type string.
node = document->find_from_name( name =
'FLIGHTDATE' ).
strFd = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strFd
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-flightdate
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Do something
ENDIF.
node = document->find_from_name( name =
'CUSTOMERID' ).
custbook-customerid = node->get_value( ).
node = document->find_from_name( name = 'CLASS' ).
custbook-class = node->get_value( ).
node = document->find_from_name( name = 'AGENCYNUM'
custbook-agencynum = node->get_value( ).
node = document->find_from_name( name = 'PASSNAME'
custbook-passname = node->get_value( ).
data: pb type BAPISBONEW-PASSBIRTH.
data: strPb type string.
node = document->find_from_name( name = 'PASSBIRTH'
strPb = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strPb
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-passbirth
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Something
ENDIF.
data: bn type BAPISBOKEY-BOOKINGID.
data: return type bapiret2_tab.
data: errmsg type string.
CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
EXPORTING
RESERVE_ONLY = reserved
BOOKING_DATA = custbook
* TEST_RUN = ' '
IMPORTING
* AIRLINEID =
BOOKINGNUMBER = bn
* TICKET_PRICE =
TABLES
* EXTENSION_IN =
RETURN = return.
data: wa type bapiret2.
loop at return into wa.
if wa-type = 'E'.
move wa-message to errmsg.
response->append_cdata( errmsg ).
response->append_cdata( '<BR>' ).
endif.
endloop.
response->append_cdata( 'Flight booked, booking reference number: ').
data: strBn type string.
move bn to strBn.
response->append_cdata( strBn ).
endmethod.
The first page works fine but when I submit my form it fails. I debugged and the request object doesn't look right.
Any ideas would be greatly appreciated.
Regards,
Dan
Message was edited by:
Dan Scheck
Message was edited by:
Dan ScheckHi Surija,
there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
Hope this fixes your problem!
Cheers,
Jeff -
Wrong sap_ep_baseurl when calling a bsp application via appintegrator iview
Hi all,
we have integrated an BSP application via an appintegrator iview. Everything works fine except that the sap_ep_baseurl parameter in the BSP application URL is incorrect. It contains the port number 50000 which should not be included in the url as we are using a proxy in front of the portal.
The parameter looks like this
...&sap_ep_baseurl=http%3A%2F%2F<proxy dns name>%3A50000%2Firj%2Fportal
but it should only contain the following value
...&sap_ep_baseurl=http%3A%2F%2F<proxy dns name>%2Firj%2Fportal
Does anyone know out of which configuration the port is taken?
Thanks in advance. Regards,
ConstanceHello Constance,
why did to integrate the BSP application via an appintegrator iview? You can use a BSP IView.
Regards
Gregor -
Opening a Service Order directly in BSP application
Hi Experts,
I would like to know if its possible to pass the service Order no as a part of the BSP URL, so that the service Order is displayed in the BSP application.
For e.g. Service Order BSP application URL is: http://system:port/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=CRMD_BUS2000116
Is it possible to pass the object_id(Transaction Number) also as a part of this URL, which can display that particular order when the link is clicked?
Thanks,
Piyushpost this in CRM forum for better response.
SAP CRM: Webclient UI - Framework
Regards
Raja -
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. -
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 ?
-
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 -
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 -
All,
I have a URL , I need to find BSP application related to that URL ?
Any Info ?
a®If it is the BSP URL than you would find it at the second last backslash.
E.g.
http://<Server:port>/sap/bc/bsp/sap/ztest_np/default.do
Than BSP Application is ZTEST_NP.
Regards,
Naimesh Patel -
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,
BharatHi,
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! -
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
Maybe you are looking for
-
Pop up a window to show images
Hi, I am trying to show images when the user rolls the mouse over the image but I want to show them as a pop up window only when the user is on the image. Any ideas how can I handle this? I will have variety of images and want the same behavior for a
-
Date and Time Submitted in Task Notes to show in Project Pro 2013
I wonder if anybody could assist. I am running PWA 2013 and Project Pro 2013 When a resource updates a task on PWA and creates/updates the notes on the task, it pulls to the notes section for the task in Project Professional. This is great but- Is t
-
Safari Web Inspector on Mavericks
Dear Apple communities I've had a problem with Safari Web Inspector since version 10.9.0 and now upgraded into 10.9.1 but the problem still persists the Web Inspector always freezing, can't scroll the inspector window, and the Inspector window someti
-
My iPad2 recently started loading only a small portion of the inbox content, well the 200 configured in the Settings menu. It has worked fine for a couple years until now. I have restarted the device, restarted the app. The gmail app is getting all m
-
Why won't Lion include e-mail attachments?
Help!! Lion won't include e-mail attachments. Does anybody know of a fix for this?