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
Similar Messages
-
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 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 -
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 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. -
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 -
Calling a java application from another
Hello,
i have noticed a strange behaviour of my java app when i open it from another java app. When i run the core application with a bat file using jre1.6 everything works fine. Now what i want to do is create an application that checks the existance of jre 1.6, downloads it if it does not exist and run real application with the new jre. The second small app runs with a small jre 1.4.2. In reality it seem to work fine, it downloads the jre1.6 folder and exits normally. However when the real application is launched it behaves strangely without throwing any exceptions. And this behaviour seems to be random. for example, a jpanel may not show any components, or the whole jframe may close suddenly. Does anyone have any idea what is going on? Is there a chance that some classes of the first jre remain in memory and conflict when the second application is launched?Just a wild guess: maybe you're invoking the java 1.6 binaries, but JAVA_HOME or something is pointing to java 1.4 libraries (or vice-versa), and you've found some weird interaction issue.
-
Calling Java Application from another
How can i call a Java Application from another java App.
eg., If my Java application is called MyApp and i would like call another java application from within it.
One way could be by using "System". I would like to know if there is any other method and is portable.
Thanks in advance.hi,
it works and not!
if you start an other class with a command like this the 2nd prog/class terminates too if you terminate the caller-class!
dear
oliver scorp -
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 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 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. -
Passing data from one bsp application to another
Hi,
I have few queries that most of you would have done in ur projects:
1. I want to pass data from one bsp application to another:
eg based upon selected row of table view which populates material no and descriprion to another application which open the entire material master data.
Now, i have both the pages in diff bsp applications in place but unable to pass the selected material code to the second bsp application.
Had it been two different pages of same application I was able to achieve it with set parameter()
2. To stop the application from reprcessing the data:
eg: Suppose I have a bsp page where user fill details of a customer and on submitinng the details a customer is created in background and the entire page is disabled by my code. Even now if the user press refresh (F5) button then another customer gets created in the background. So basically i want to avoid the reprocess of the onSubmit event
Few lines of sample code would be very helpful.
Best Regards,
Saurabh TripathiHi,
When I am writing the following code in appl1/page1:
export abc from transactionID
to data buffer lv_page_data.
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE
EXPORTING
NAME = 'TRANSACTIONID'
APPLICATION_NAME = RUNTIME->application_name
APPLICATION_NAMESPACE = RUNTIME->application_namespace
USERNAME = ls_name
SESSION_ID = runtime->session_id
DATA_VALUE = lv_page_data
DATA_NAME = 'lv_page_data'
and following code in appl2/page2:
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
EXPORTING
NAME = 'TRANSACTIONID'
APPLICATION_NAME = RUNTIME->application_name
APPLICATION_NAMESPACE = RUNTIME->application_namespace
USERNAME = ls_name
SESSION_ID = runtime->session_id
DATA_NAME = 'lv_page_data'
CHANGING
DATA_VALUE = lv_page_data
IF lv_page_data IS NOT INITIAL.
IMPORT abc to transactionid
FROM data buffer lv_page_data.
ENDIF.
still the code doesn't work. Please explain and guide
Best Regards,
Saurabh Tripathi -
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 -
Web dynpro abap : Call an application from another with parameters
Hi ,
Could you please tell me how to call an application from another with parameters?
Thanks a lot
Karim* Construct the URL
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = 'APPLICATIION_NAME'
importing
out_absolute_url = g_url.
* Append parameters to URL
data: g_par1 = lv_value. " value of your parameter
call method cl_http_server=>append_field_url
exporting
name = 'PAR1' " Parameter name
value = g_par1
changing
url = g_url.
* Call the Application
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 = g_url ).
lo_window->open( ).
Maybe you are looking for
-
If I open a new document in Photoshop CS4 11.0 or 11.0.1 for Windows (on Windows XP SP3 home edition) and then try to save it, Photoshop window disappears (I guess the program crashes, although no Widows crash dialogue is displayed). Workaround: If I
-
Exchange rate diff.accts are not defined for account 13100100 currency INR
We are facing issues with doing BRS and getting the following message, Exchange rate diff.accts are not defined for account 13100100 currency INR We have tried all possible steps mentioned on SCN,please note the acoount mentioned above does not have
-
Daily dump by Autoabap - DATA_LENGTH_0
Hello, We use our Flash recovery area as our archive log destination and since we started doing so we get this dump: DATA_LENGTH_0 - CX_SY_RANGE_OUT_OF_BOUNDS The problem occurs here (in RSORADBA): 262 perform get_db_parameter(rsora001) using 'log_
-
Using SPAM/SAINT for the first time (Many doubts and questions)
Hi all, I'm newbie using SPAM/SAINT and SOLMAN. I've mande a maintenance optimizer task for the SOLMAN system here in the company. My actual installed components are: SAP_ABA 700 0012 SAPKA70012 Cross-Application Component SAP_BASIS
-
iTunes updates podcasts each hour but won't refresh. When I sync my iPhone, it gets yesterdays podcasts and I have to manually hit refresh to make it update. How can I make it automatically refresh?