Calling a BSP application from a report
Hi to everybody,
I have one BSP(Business Server pages)application.I want to call that application from report.How to call BSp from report.
The SAPGui HTML control is great way to show a BSP page. You can create the HTML control (CL_GUI_HTML_VIEWER) in a full screen or subscreen (anywhere you can insert a container controll). Best yet you can activate SSO for the HTML control so that the user doesn't get prompted for credentials. The following is some code samples:
CREATE OBJECT custom_container
EXPORTING
container_name = 'CUSTOM_CONTAINER'.
CREATE OBJECT html
EXPORTING
parent = custom_container.
CALL METHOD html->enable_sapsso
EXPORTING
enabled = 'x'.
DATA: url TYPE string.
DATA: url1 TYPE url.
DATA: l_appl TYPE string,
l_page TYPE string.
l_appl = bsp_appl.
l_page = page.
CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
EXPORTING
bsp_application = l_appl
bsp_start_page = l_page
bsp_start_parameters = params
IMPORTING
abs_url = url.
url1 = url.
CALL METHOD html->show_url
EXPORTING
url = url1.
Similar Messages
-
Calling a BSP application from another
Hello,
I have not a lot experince in bsp's programming.
I am trying to call a bsp applicattion from another one. Do you know how can I do it?.
Thanks in advance. Javier.hi Javier,
For questions on BSP programming,you should post your questions on the bSP forum.
For your question,it depends on how you want to call your BSP application.
Do you want to navigate from one BSP page to other or you want some link which leads to the other BSP application.?
You can find sufficient help on the help.sap.com
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm</a>
For more details, you can search SDN itself.
IF you have more queries,your'e welcome.
Regards,
Siddhartha -
Calling a BSP application from universal worklist
Hi All,
I want to call a BSP application, when a workitem is clicked in Universal Worklist(Enterprise Portal)
I have configured the Task Type in SWFVISU transaction, with Visualization type BSP standard & in visualization parameter i entered,
APPLICATION = zgelrbsp0001
PAGE_ID = leso.htm
When I click on the workitem my test BSP application is called. Buy my requirement is not call a static dynamic application, when the workflow is called the workflow container has a URL
http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/
this URL will change. But I don't know how to configure to call the URL in container. Please let me know how to achieve this.
Regards,
H.K.Hayath Basha.Hi Raja,
Thanks for the reply.
I said wrongly in my earlier mai, my URL is static, but the parameter appl_id will have different value.
http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/?appl_id=1234
What I have done is similar to the one which you have said, copied the standard BSP and modified, I pass WORKITEM ID to the BSP application, BSP application reads the workflow container for appl_id and sets that value to the BSP application attribute.
There should be a better way to do this.
Regards,
H.K.Hayath Basha. -
Calling custom BSP application from CRM PCUI
Hi,
We are using the CRM PCUI for channel partner management. Since PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( Being a generic framework using blueprint tables we have to use the predefined layout settings and positions) we want to call a standalone BSP application to maintain some of the data such as marketing attributes. We want to do this by providing a link to the standalone BSP application where the data can be maintained. Since we will be calling this application in the create mode of a new BP, is it possible to integrate the whole application as one logical unit ? I mean we want to commit the marketing attributes within the same 'save' methods of the pcui framework. Is this possible to do ? Any ideas or input is greatly appreciated.
Thanks.Hi,
we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
Regards
Gregor -
EREC-BSP-How to call a bsp application from another bsp application
Hi Experts,
In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
Cheers,
Amodtry exec()ing the cad program with the name of the file as a command line parameter...
Runtime.getRuntime().exec("CADProg.exe Test.prt");
i have no clue if this will work but it seems like it's worth a try. -
Calling BSP application from Portal causes error
Hi,
called a bsp application from our portal. The application prompts the following error message:
BSP Exception: The object sap-tray-type=PLAIN_sap-tray-padding=X_sap_ep_version=7.00.200611091758_sap_ep_baseurl=http://v900stwmk1902.v900dtk1.v900.intern:50000/irj/portal in der URL /sap bD1kZSZjPTIwMCZwPTMwOTUxJnY9NyUyZTAwJmk9MSZzPVNJRCUzYUFOT04lM2Fhc2FwdDAzZW4xX1QwMl8wMCUzYXBFMVdnMmlqS21LYnNSZ01mMzIyLXpRdkwxMjdoYWF2NHFBeU9fTGEtQVRU)/bc/bsp/sap/zsi02/sap-tray-type=PLAIN&sap-tray-padding=X&sap_ep_version=7%2e00%2e200611091758&sap_ep_ is not valid.
We used an BSP iView (EP 7.0 and BI 7.0) Any ideas?
Thanks.
FrankHi,
I am not sure how did you get that bsp-url but here are the steps:
1) Create a system and assign an alias to it.
2) Make sure you give proper values in Connector, User Management and ITS Property Category
3) Check the connection by creating a sample SAP Transaction iview using WebGUI
4) If this is working fine, then create a BSP iview. Make sure you select proper system alias, BSP Defination Type (BSP), give the correct Application Namespace, BSP Application, Customer Namespace and start page.
Let me know what are the values you have entered here and we can try to fix this problem.
Cheers,
Sunil
PS: Reward points for helpful answers. -
Calling a BSP application in ABAP webdynpro
Hi Friends,
Is there any chance that i can call a BSP application from WEBDYNPRO.
regards
Nalinikanth.Hi Yashpal/ Pankaj,
I have one question regarding this.
The usage of the UI element link "link to URL" is pretty much understandable to call a stanalone application.
Whereas the usage of suspend and resume plugs, how does it work for BSP applications? For two WD components we can connect the plugs and it works.
As I do not know about BSP, does it have in/out plugs like WD components?
If so how to create the navigation link for this.
Please explain.
Sankar. -
Calling BSP Application from Business Object?
Hi,
Can any one tried to call BSP Application from Business Object for showing in the Portal.
I have the following Scenario:
1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
All this has to happen in the Enterprise Portal.
If any one knows how to triggere from business object, please let me know.
Thanks & Regards
SumanthHi Vijay,
Thanks for the information. Its long back i was working on this, but not successful,
Now the similar requirement i need to develope in R/3.
I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
Any Suggesions how can i achieve this execution of BSP.
In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
Thanks & Regards
Sumanth -
How to call custom BSP application (copied from standard)
Hi,
I came across 1 interesting link in SDN.
[Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment]
My requirement is also similar.
I need to copy the HRRCF_TRM_SRCH application.
I know how to make the changes for the logic (like copying the standard controller & iterator class etc.)
But I donu2019t know how to call the custom BSP application.
One requirement is, I need to call a BSP application, in which there are only UI(user interface/screen) changes .
That is, if there are only changes made to hitlist_cand.bsp page . And no changes made to hitlist_cand.do page.
Eg: Removing one button from screen.
Second requirement is, I need to call a BSP application in which there are logic changes also.
(I know how to change the standard controller class to custom class)
Eg: Changing logic of button.
We tried renaming the application name from standard to custom one (with Namespace=SAP itself, though it gave a warning) in the table T77RCF_LOG_APPL .
Then we used this name to configure the start page link. But still the execution control is going to standard page & not to custom BSP application.
How will I know which BSP application(Appl A), is calling the BSP application (Appl B) in which I want to make changes ?
The starting application is HRRCF_START_INT.
Would really appreciate solutions posted.
Thanks,
Nisha Vengal.Hi Nisha,
I think you have an issue to call custom BSP.
- Ignore the warning message (in the table T77RCF_LOG_APPL) as it is just a warning message. I did not touch start page link at all.
- Additionally you need to make (I had to made) an entry in table u2018V77RCF_SMG_NAVIu2019.
Let me know, if you need anything else.
...Naddy -
Call BSP Application From ABAP
Hi,
I want to call BSP Application from ABAP. I've searched the forum and they all are displaying BSP Page in Container of the Screen. My requirement is to show it in a web browser. For that matter I am generating URL to call BSP Application. Following is the code which is throwing short dump.
DATA: url TYPE string,
l_appl TYPE string,
l_page TYPE string,
l_params TYPE LINE OF tihttpnvp,
params TYPE tihttpnvp.
l_appl = 'ZPWLS_SCH_RPT'.
l_page = 'SELECTION_SCREEN.htm'.
call method cl_http_ext_webapp=>create_url_for_bsp_application
exporting
bsp_application = l_appl
bsp_start_page = l_page
bsp_start_parameters = params
importing
abs_url = url.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
url = url
WINDOW_NAME = ' '
new_window = 'X'
BROWSER_TYPE =
CONTEXTSTRING =
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1
FRONTEND_ERROR = 2
PROG_NOT_FOUND = 3
NO_BATCH = 4
UNSPECIFIED_ERROR = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Usman MalikWhat is the dump? also you should uncomment the following lines to receive the exception thrown by the FM
* EXCEPTIONS
* FRONTEND_NOT_SUPPORTED = 1
* FRONTEND_ERROR = 2
* PROG_NOT_FOUND = 3
* NO_BATCH = 4
* UNSPECIFIED_ERROR = 5
* OTHERS = 6 -
IP - Is it possible to call exit planning function from ABAP Report..
Hi All,
Greetings.
Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
Or if somebody has done in BPS, appreciate if it can be shared too .
Thanks a lot and have a good day,
Best regards,
Daniel N.Hi.
You can achive this as suggested by Mattias in your previous post.
Lets say you have next data structure:
CostCenter | Amount | PercentForDistibution |
Create input ready query in this format. Restrict cost center by variable type range.
Create WAD with analysis item.
When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
I assume you have data only for 101004 in your cube (lets say 1000).
You will see only one record in your webpage.
CostCenter | Amount | PercentForDistibution |
101004 | 1000 | NOTHING
When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
Just add 6 new records:
CostCenter | Amount | PercentForDistibution |
101005 | NOTHING| 10
101006 | NOTHING| 30
101007 | NOTHING| 20
101008 | NOTHING| 25
101009 | NOTHING| 5
101010 | NOTHING| 10
Then run planning FOX function like this:
FOREACH Z_COST_CENTER.
IF {Amount, Z_COST_CENTER} <> 0
Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
ENDIF.
ENDFOR.
FOREACH Z_COST_CENTER.
IF {PercentForDistibution Z_COST_CENTER} <> 0.
{Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
ENDIF.
ENDFOR.
It is not perfect FOX, but as an idead, it should work.
Regards. -
Calling a BSP App from the UWL - What is required?
Hello,
We are trying to call a BSP application using workflow from the UWL. We are using ECC5.0(ERP2004) and EP6.0.
I have setup a Std Task to call method EXTSRV:PROCESS and in the task container I have the parameters that the BSP is expecting.
I have set the task as BSP_Standard is transaction SWFVISU. The visulisation parameters I have set as follows:
APP_PATH: sap/bc/bsp/sap/yfi_aa_b_req
CONFIRM:
SYSTEM_ALIAS: SAP_R3_Financials
I could not find any documentation on what these parameters should be so I have taken an educated guess.
The current configuration opens the HTML SAPGui with a generic screen stating that the workitem is in process, but there is no sign of the BSP application
I need to confirm that there is no other Portal Content Directory configuration required with respect to the Launcher/Handler in the portal.
Also that the setting for the visualisation parameters are correct:
Eg.
APP_PATH "Complete path to the BSP Application"
CONFIRM "Flag to show a confirm end of step button"
SYSTEM_ALIAS "The ECC System alias defined in the portal"
Yor help would be appreciated.
Regards
Mark RodriguesSorry for the tardy reply, we were swamped by a deadline and I have only had a chance to re-surface in SDN.
Here is an example of the UWL XML config:
<ItemType name="uwl.task.webflow.TS90000117.SAP_R3_Financials" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWSHanlder" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_Financials" externalType="TS90000117" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWSHanlder" groupAction="" handler="XhandlerLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="webservice_url" value="http://ssisapd3.app.govnet.qld.gov.au:8040/sap/bc/webflow/wshandler"/>
<Property name="sap-client" value="110"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
Hope this helps. As mentioned you have probably worked it out yourself now.
That Callback URL was very important for sending the terminating event back to R/3.
Mark -
Calling a BSP application on a Web-Dynpro screen
Hi all,
We have a requirement as below:
In the SAP Standard Web-Dynpro screen we have a Tab-strip control, where there are 2 tabs.
We need to enhance the tab-strip control and add a new tab. On the same tab we need to call a BSP application.
It meas when we select the tab we should be able to see a specific BSP Application there.
How can this be made possible?
One way that I can think of is by creating the Service calls... However, I am not sure how can the service call can be created and used to call a BSP App to be displayed on the screen.
Waiting for your replies.
Regards,
Kunjal PatelHi Thomas,
Thanks for the reply. It was quite helpful in analyzing the available options for the development.
Now, with the further analysis from your inputs, following are the findings:
1. BSP is a Stateful BSP.
2. Yes, We are using this web-dynpro in the portal. How can we go about with the alternative way suggested by you about the iView? As i have very limited knowledge about the Portal hence a little more help from you will be helpful.
Is it like we can provide a button on the screen and then when a user clicks the button the result is a new window of the browser with the given portal link?
Please suggest.
Regards,
Kunjal Patel -
Calling a BSP application with MVC and send one start value
Hi,
I developed a BSP application with BSP. The application has a start page with one input field. The user gives a number and click the send button. The controller creates the modeler and gives the userinput as start parameter for the data search. After the data are read/found, the controller calls a view to show the data.
This is very easy and does work.
I have to call this simply application from another one: the caller application sends the start value.
I don't know, if is better to send the start value in the URL or not. I tried it, but the controller cannot read it.
How can I call the controller with a start value?
Thank you!
Bye
PatriziaHi ,
what you need to do is
1) for the "Send" button attach a java script.
<htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
this javascript should take the inputfrom the field,
then in the javascript create the URL.
function sendReqeustWrapper(){
sendRequest(InputField);
function sendRequest(InputField)
var URL;
URL = window.location.protocol + "//" ;
URL += window.location.host ;
<b>Note: its only Example link,</b>
URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
URL +="?InputFieldName=";
URL +=InputFieldValue;
<b>then use</b>
Your URL will look like:
http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
window.open(URL,"_self","");
so once this URL is triggered you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
regards,
Vijaya Kumar M.
Message was edited by: Vijaya Kumar -
Calling A Webdynpro Application From Another Webdynpro Application
Hi,
i want to call a webdynpro application from another webdynpro application with sending parameters.
i used this method,
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = lv_webapp
IMPORTING
out_absolute_url = lv_url.
CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->CREATE_EXTERNAL_WINDOW(
URL = LV_URL
lo_window->open( ).
but this method shows the parameters on the address bar.
is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
Can somebody help me pls?
Thanks.I've used a server cookie before. This was built for BSP, but it is really usable anywhere. It just writes the data temporary into the database. This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application. I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm
Maybe you are looking for
-
I have a dial up connection for the internet through Netzero.com, and when I click on it to dial up to the internet, it brings up the Netzero home page on Internet Explorer. I've changed my default home page from Internet Explorer, to Firefox, but wh
-
How to e-mail more than one photo at a time?
i am wondering how to e-mail more than one photo at a time from the photo's saved
-
How do I delete a photo when there is not a trash bin at the bottom of the screen
How do I delete a photo when there is no trash bin on the bottom of the screen?
-
SAP XI/PI JDBC Receiver communication channel
Dear Expert, We had few DAE running in company, recently I had below problem, need expert to advise how to overcome this problem. Try to execute below JDBC statement in our few AE and DAE, ======================================================
-
Is there a way to put facebook app back on my ipod touch 2nd gen?
I have an ipod touch 2nd gen, when I first got it I put facebook app on it, I have had to restore it and now it says I need ios 4.3 which isn't available for 2nd gen, is there any other way to put the facebook app back on my ipod?