on 04-27-2005 10:59 PM
If so, can you give me the config info?
Thanks!
Brant
Hi Brant,
The steps you have followed are correct. However please check the following.
1) You are assigning the HTML viewer to the ODC.
2) The structure you have created has OBJECT_KEY and URL (type string) / HTML_TAB (type CRMT_BSP_HTML_TAB)
3) You should implement the READ method of your MAC that you have mapped to your structure. In the read method you should assign values to OBJECT_KEY and either URL or HTML_TAB. If you just want to launch BSP application, you can assign the url of the application to the URL field of the et_screen_structure.
4) In the Application Layout entry for the tab (for html screen), assign the screen element type HTML (not Form Preview - html will work fine) and a dummy field group.
5) the dummy field group should be mapped to the new structure you created.
There is nothing more that you have to do for displaying html in PCUI. I have done this in many projects and they work fine.
Regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As none CRM expert I can not help with the technology aspects. However, I do see this thread/question appearing again. My past experience has shown that these are the things that should be blogged, to show other people the route to success. With a weblog one can use pictures, source code, etc.
If anyone should feel like writing a page or three on this topic, I am willing to help with proofreading (EN third language:), and help with the complete process of getting it published. I also have a short weblog on this topic: <a href="/people/brian.mckellar/blog/2004/09/24/the-1-2-3-steps-to-producing-a-weblog 1-2-3 Steps To Producing a Weblog</a>.
brian
PS: If anyone should write, give me advanced warning that I also request the setup of a separate CRM topic to gather the weblogs.
Hi,
as an addition to Gregors excellent Blog, if you want to call a BSP instead of an ITS transaction you can use the following code to generate the url.
CALL METHOD CL_BSP_RUNTIME=>IF_BSP_RUNTIME~CONSTRUCT_BSP_URL
EXPORTING
IN_APPLICATION = 'z_my_custom_bsp'
IN_PAGE = 'default.htm'
IMPORTING
OUT_ABS_URL = ls_screen_structure-url .
Regards, Paul
I am finally closing this thread!
The intent of this thread was to call a BSP from a button in PCUI.
A combination of Gregor Wolf's weblog to call an ITS transaction from a tab ( /people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url ) and Paul Walmsleys comment in this thread worked for me for a tab. This should help me get the button working also.
Thanks everyone for the great feedback!
Brant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Gregor. I did try yesterday but got the error message below. Since then Vijaya awarded the points for me. Thanks again for the weblog
Brant
From: Brant_T_Berg@whirlpool.com [mailto:Brant_T_Berg@whirlpool.com]
Sent: Wednesday, 01 June 2005 7:46 PM
To: Kumar, Vijaya
Subject: Trying to reward points but message is locked
Hi Vijaya;
I'm trying to reward points for this thread but I get error "Message is locked for rewarding."
I'd like to give Gregor Wolf 10, Paul Walmsley 6, and Pradeep Ramachandran 2.
Can you help with that or unlock it so I can reward points
Brant Berg
Whirlpool IT Global Development
I re-opened this thread because it still has not been resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Harsh;
A weblog on this would be great. I'm sure alot of developers would be interested in this.
Thanks;
Brant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brant,
You did the perfect steps.
Instead of using element type = 'HTML', use 'Form Preview'
in Application layout for your event. This would work.
This works fine. I have recently finsihed the development for it.
If you still find issue in it, than please let me know.
If required I can write a detailed weblog on integrating Custom BSPs in PCUI. The whole thing requires both IMG Customizing and development.
Thanks
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Harsh,
<i>If required I can write a detailed weblog on integrating Custom BSPs in PCUI. The whole thing requires both IMG Customizing and development.</i>
I suspect that there are many people that are going to sing your praise everyday for the next if you write. Your will definitely be the first weblog on this topic. The extra points will be assigned!
Go for it!
bye, brian
Brian is correct. I'm trying to use the HTML Viewer controller within PCUI not SAPGUI.
I've created my own screen structure for the controller ZNV_HTML_CONTROLLER with fields: URL type string, HTML_TABLE type CRMT_BSP_HTML_TAB, and HEIGHT type string
The MAC I'm working with is CL_BSP_ACC_ACCMOD so I have a ZCL_BSP_ACC_ACCMOD version of it for some other customizations.
I created a dummy field group Z_URL_DUMMY_FLD_GRP
In Application layout for my event I have the screen element type = 'HTML', field group = Z_URL_DUMMY_FLD_GRP (which associates to structure name ZNV_HTML_CONTROLLER)
The HTML contoller still does not seem to be called.
Thanks;
Brant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The question one must understand in the context it was asked: CRM-PCUI. Inside this framework there is a controller called HtmlViewer that allows foreign application to be tied into CRM PCUI. This has nothing to do with SAPGUI HtmlViewer.
No, I have no experience with this controller. Maybe you can describe your problem in detail, and someone can then see if they can help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming I understand you correctly - yes. Have a look at the following weblog and see if it helps out any.
/people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.