Calling BSP application from CRM PCUI framework
Hi All,
We are using the CRM PCUI for channel partner management. Since CRM PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( since it is a generic framework using the blueprint tables we have to use the predefined layout settings) 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
Similar Messages
-
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 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 -
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 -
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 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. -
Bring view from BSP application into CRM 7.0?
How to add a custom view from a BSP application in CRM 5.0 to CRM 7.0. I tried to use it as a URL ( in transaction launcher ) and gave controller class . It does not work. Am I missing something here?
Hello CRM_2007,
May you please elaborate on what doesn't work?
Do you see your link created via transaction launcher?
Did you manage to create a link to some URL like "google.com" that is working fine, or every kink that you create doesn't work at all ?
Kind regards,
Nicolas Busson. -
Execute bsp application from abap program
How can I do to execute a bsp application from abp program ?
I have two parameter in enter : text and language.
And i have one paramenter in exit : translated text.
Thanks for you help.but how to retrieve the result of the bsp ?
Here is my source code :
data: url type string,
l_appl type string,
l_page type string,
l_params type line of TIHTTPNVP,
params type TIHTTPNVP.
l_appl = 'ZAPI_TRADUCTION'.
l_page = 'appel.htm'.
l_params-NAME = 'text'.
l_params-value = 'pour le moment test'.
append l_params to params.
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.
DATA: http_client TYPE REF TO if_http_client .
DATA: w_string TYPE string ,
w_result TYPE string ,
r_str TYPE string .
DATA: result_tab TYPE TABLE OF string.
CLEAR w_string .
w_string = url.
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = w_string
IMPORTING
client = http_client
EXCEPTIONS
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
OTHERS = 4.
CALL METHOD http_client->send
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2.
CALL METHOD http_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
CLEAR w_result .
w_result = http_client->response->get_cdata( ).
REFRESH result_tab .
In the variable it brings me back the html source code of the BSP rather than run and bring me the result of the BPS.
Thank you for your help. -
Hello all,
i need some information about calling BSP's from SCM ICH(inventory collaboration hub) into EP. for this what steps i need to do.
pl suggest me
thx
pradeep<i>when i was trying to call bsp from ICH..it shows..loading..but not coming anything...</i>
One of the possible reasons could be that at the back end ABAP is trying to compile. Go to that particular BSP application and activate it manually and then try it in portal.
<i> maintained correct path for WAS. do i need to activate anything in BSP side?
What parameters do i put into
Application parameters
BSP definition type
BSP application...</i>
if this is the first time you are going to run BSP application there are certain nodes in SICF tree should be activated. Check out OSS Note# 517484 for info on this.
BSP definition type => BSP Application (if you have aliases defined and want to use it then you should use BSP alias)
BSP application => your BSP applicatio name
Start page => start page of your BSP application (default.htm)
System => the back end system alias to which this BSP should connect to (e.g DEV001)
Hope this helps.
Regards
Raja -
How to Reuse BSP Application in CRM UI
Hi All,
I have a custom BSP Application which was used in PCUI as part of search help display. After migration of the system we would like to resuse this BSP application for the search help for the same field. Can anyone let me know what are the steps involved for this?
Objective: Steps involved for how to reuse BSP application in CRM UI.
Regards,
Harish P MHI Harish,
There is one idea to use transaction lancher.
1. Check the relevant URL parameters that you need to define. You can find the parameters at the end of the URL.
2. Define those paramters at IMG -> CRM -> Interaction Center WebClient -> Basic Functions -> Define URLs and Parameters
3. Assign the values of the relevant parameters in the Transaction launcher wizard that can be accessed through IMG -> CRM -> Interaction Center WebClient -> Basic Functions -> Transaction Lancher Wizard at the step "Transaction parameters".
Best,
Levente -
Calling BSP Iview from a BSP Iview
How to call another BSP Iview from a BSP Iview ?
Is it the same like we call BSP Iview from a Controller ?
My problem is ..Intially i had only one Iview called from the controller. It was working fine.
I've added some includes in the View and while activating, i got the error msg
+Internal error Occured during runtime generation of the class CLOLkshdksjhfk ....+_
+(Dump id : GENBRANCHOFFSET_LIMIT_REACHED)+_
I found from the forum that, instead of calling all things in a single Iview, we can split that into different Iviews.I did the same. and the error had gone.
My Q is ...
I Have built code for tray (maximize and minimize). It works fine if the controller has One Iview and its not working if the controller has 3 iviews.
How to sort it ? If i call the other 2 Iview s from the parent one, will the prob solved ?
Thanks and Regards,
Kanal.Hi,
Please check this weblog by Brian McKellar. You will surely find a way to avoid the error you mentionned.
[/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached|/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached]
Regards,
Tanguy -
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( ). -
How to call WD Application from another WD Appliction
Hi all,
how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
pls suggest
regards
vishalHi Vishal,
Just try to Embed the another WD Component into Component Controller first.
And then Create a View and map it to window as U regularly do,
then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing those values through Plugs. -
Error: Page cannot be displayed when testing BSP application from SE80
Hi:
I am new to SAP 4.7. I need help in running BSP application from SE80. When I run, I am geting error the page cannot be displayed. Can some suggests/advice what are the neccessary steps ahould follow to run BSP application.
Thanks,
Venkat.Welcome to the forums and welcome to BSP. There are a few things we kindly ask
Take a look at this weblog: <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>
That will help you jump several of the hurdles you'll come across as you get started.
As for your problem if you are receiving the message "Service is not active" then you need to go into the transaction SICF in your system and follow the tree (take a look at the path in your browser /sap/bc/...) and select each until you get down to the one you are trying to look at and active it.
If you are getting errors about other ones not activated then do the same for those.
If you are not getting those errors and your browser is simply telling you "Can't find it or something" then in "Internet Options" in your browser advanced tab uncheck the "Show Friendly HTTP Errors".
You can also check transaction ST22 to see if there is a short dump in which case that will help analyze the problem.
Otherwise you'll need to give us more info including your SP level (recommend you jump up to at least 43 on ABA and BASIS)
Message was edited by: Craig Cmehil
OK so Brian was faster... -
Calling wrong BSP url in CRM PCUI
Hey
Im using CRM 4.0 PCUI 60.2 and issue with an event on the Quotation BSP. In this application you have the opportunity to print/preview an quotation. If i press this button, a new window opens with following URL:
http://myhost:8003/sap/bc/bsp/sap/ml_preview.do?
The problem is that this url is incorrect and i get an BSP error. The correct URL should be http://myhost:8003/sap/bc/bsp/sap/crm_ml_preview/ml_preview.do?
How can i change this url? should i do it in the config of the PCUI ? In that case HOW? or is it possible to make an alias in the transaction SICF?
Best Regards
Kristoffer EnghHi,
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
Maybe you are looking for
-
Is Lite Optimise essential during multiple custom DM processing in a single link
Hi All , I am processing data in revenue application using 7/8 custom data manager packages in a single link. When I am processing JAN 2014 ACtual category data , account A & B successfully get copied to cost application. But for the month of FEB 20
-
IO assigned with Asset,but not coming at the time of PO creation
Hello IO assigned with Asset,but not coming at the time of PO creation. I have made following settings: 1 Depreciation - IFRS (INR) 1 0L 15 Income Tax Act 0 20 Depreciation - Indian GAAP (INR)
-
DEAR ALL FRIENDS I HAVE A PROBLEM WITH MY PRINTER HP LASER JET WITH ERROR MASSEGE,
ORDER HP PART HP Q5942 A PAGE REMAINING FRO THIS SUPLY HAS REACHED THE LOW THRESHOLD.ESTIMATED PAGES IS BASED ON HISTORICAL PAGE COVERAGE OF THIS SUPPLY.PRINTING WILL CONTINUE UNTILL A SUPPLEY NEEDS TO BE REPLACED.I NEED A ANSWER TAHNKS
-
Hi, I am using GUI_UPLOAD to upload the file from presentation server to my internal table. My problem is that the one of the records of testfile is 3000 in length. The internal table is not showing all the data from the testfile. is there any limi
-
Problem with losing quality in exporting FLV
First I should emphasize that I am new to Adobe's products, and am learning it on the fly as part of a intelligent tutoring system design project. So I apologize for my lack of technical knowledge in advance. Rest assured I have put much effort in at