How to create bsps(business server pages) in ic web client
Hi All, \
pls help me in creating business server pages in ic web client points willl be rewarded. mail me on [email protected]
Regards,
Madhukarreddy.A
Edited by: madhu reddy on Mar 7, 2008 3:11 PM
BSP are two types.
1) Model View Controler
2) Flow Logic
To create BSP t-code is SE80.
It is the excellent link pls have a look once
/people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
Please Reward Points if it helps
Regards,
Shiva
Similar Messages
-
BSP(Business Server Page) in ABAP
Hi Sapient
I would like to knw how to use BSP (Busines Server Pages) wats the tcode and to navigate thru it?
Pls explain
Rewards of helpful answer
Regards
Santosh.Hi,
to work on BSP's , goto SE80 transaction(object navigator),
and select BSP Application from the dropdown list provided.
and here u can create BSP application.
and by using the tagbrowser u can use html/htmlb tags for writing the code.
--->
BSP Concepts
Application Class
The application class, is a regular ABAP Objects class, that can be assigned to the BSP application, to ebcapsulate the BSP logic ans store data and make it available across BSP pages. This data is stored as attributes.
The only requirement for an application is that the constructor is parameter-less. If not, the application class cannot be generically instantiated by the BSP runtime environment.
The global object application can be used in the BSP application to access the attributes and methods of the application class.
You do not have to use an application class in your BSP application. It is an optional way for you to structure your BSP application .
The application class is assigned to the properties of the BSP application:
Application Basis Class CL_BSP_APPLICATION
If an application class does not already have a super class, it can be derived from the predefined base class CL_BSP_APPLICATION. This class provides methods that are typically required by a BSP application for embedding in a Web environment. This is how information about the current BSP application (such as session timeout, current URL of BSP application, state mode, and so on) can be called or set.
As the application object is an application attribute in every BSP event handler, the methods of the CL_BSP_APPLICATION class are also available with the corresponding inheritance. This makes it easy to provide the relevant functionality to lower application levels using a single object reference
Using the application class in an event
The application class is used just as an ordinary class
CALL METHOD application->kunde_gettable
IMPORTING
kunde_table = i_zkunder.
Statefull/Stateless
Statefull
A stateful BSP application is executed like a normal SAP transaction, independent of all user interactions - in one single context (roll area). This means that data specified by the user during the application execution or data determined by the application itself is available potentially throughout the entire execution duration of the session.
Stateless
Stateless BSP applications only block resources on the SAP Web Application Server during the time one single request is being processed. When the request has been processed, all resources in particular the application context are returned to the system for use in other requests.
Statefull or Stateless ?
As a rule of thumb, it is recommended that Internet scenarios used at the same time by a large number of users operate in stateless mode. Stateful programming is recommended for more complex applications that are used by a limited number of users in parallel and that operate with data that is expensive to determine.
BSP Tips and Tricks
How to use form fields in the event handler
This examples shows how to read the value of a form field, and use it in an event handler.
The user keys in the field zzkunnavn in the form nand presses then Save button.
Layout
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<html>
<title>Use form field</title>
<h1>Use form field</h1>
<body> <form method = "post" name="x">
<input type="text" size="50" maxlength="50"
name="zzkunnavn">
<input type=submit name="onInputProcessing(save)"
value="Save">
</form>
</body>
</html>
Page attributes
The field zzkunnavn must be defined in the Page attributes of the screen
Event handler OnInputProcessing
CASE event_id.
data: l_kunnavn type string.
WHEN 'save'.
Sets value of parameters, i.e. gets value from screen
navigation->set_parameter( name = 'zzkunnavn').
Gets value of parameter, so can be moved into abap field
Note: zzkunnavn declared in page attributes
l_kunnavn = navigation->get_parameter( name = 'zzkunnavn').
Regards,
vineela.
Edited by: Radha Vineela Aepuru on Mar 12, 2008 8:12 AM -
Unicode check for BSP Business Server Pages
Could somebody please tell me whether there is a transaction to use to check BSP's for Unicode correctness?
For ABAP one uses the transaction UCCHECK. We need the equivalent of that to check our BSP's.
Thanks
LynetteHello Lynette,
SAP standard BSP's are Unicode compatible.
There is no SAP program for testing customized\new developed BSP's but there is no known issue with BSP's and conversion to Unicode.
Best regards,
Shay Oberziger
Solution Management
Globalization Services -
Error Business Server Page (BSP)
Hi.
I am new to BSP.
I have a Z_CRM_IC application and I am traying to create a new page to display into a pop-up window.
I created a new page with flow logic type, and I include in iRecReason.htm a javascript function that open a pop-up window and activated the new page
When run IC and select a link doesnt work.
When a push a link the pop-up is opened but send a page error with this message:
Error Business Server Page (BSP)
¿Qué ha sucedido?
La llamada de la página PCS se ha interrumpido debido a un error
|----
|Nota
|El texto de error siguiente se ha procesado en el sistema:
|----
Clase error:
Su equipo de SAP Business Server Pages
Please anybody has an idea about this problem...
Thanks.
AdrianHi,
Probably the javascript you are using is incorrect.There are two ways of calling your page from a link via navigation:
1.Through defining navigation ie through creating inbound outbound plugs and a nvaigational link
2.If you know the URL of the link and just want to call that on click..
heres how it goes:
1.
For creating a navigational link follow the cookbook.Section 5.6
2.
In case you have a fixed URL use following code:
<crm_bsp_ic:link id="link1" reference="http://www.google.com" target="_blank" text="Ext Link"></htmlb:link>
thanks,
ashish. -
Business Server Page (BSP) Application
I have created a BSP iView, however I'm missing some parameters and I'm not sure what shoudl be added.
For example:
Customer Namespace
Application Namespace
Business Server Page (BSP) Application
Start Page - (is this documents_todo.htm)
ThanksApplication namespace: sap
customer name space : sap
BSP application: name of the bsp application.
start page: start page name from the same bsp appliction. -
Workbooks not opening from a Business Server Page (BSP)
Hello Experts,
I need help with opening workbooks from a Business Server Page (BSP). The problem is that the workbook is not opening, but instead a blank Excel page opens. I am using Microsoft Excel 2003 and on BI 7.0 version. Here is the code: Could you please look at the below code and advice me. This does not have any selection screen. Also, i have another workbook with a selection screen and I want to pass values to these selection variables. Is that possible? In the below code, my suspicion is either with 'application/vnd.ms-excel' or moving content in to X string. Please give your suggestion. Thanks so much.
Layout
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2002+design2003" >
<htmlb:page title="Web Workbook LaunchPad" >
</htmlb:page>
</htmlb:content>
In page attributes:
file_content TYPE STRING
FILE_XCONTENT TYPE XSTRING
WA_WBDATA TYPE RSRWBSTORE
WBDATA TYPE RSR_RPEC_BIN_FILE
WBID TYPE RSSGUID25
On Initialization.
refresh wbdata .
clear: file_content .
data: temp_string type string .
select * from rsrwbstore into table wbdata
where workbookid = 'VXXGCMF53EVQAS7U8UA80OXN7'.
if not wbdata[] is initial .
loop at wbdata into wa_wbdata.
clear temp_string .
temp_string = wa_wbdata-clustd .
concatenate file_content temp_string into file_content .
endloop.
clear file_xcontent .
file_xcontent = file_content .
response->set_header_field( name = 'content-type'
value = 'application/vnd.ms-excel' ).
some Browsers have caching problems when loading Excel format
response->delete_header_field( name =
if_http_header_fields=>cache_control ).
response->delete_header_field( name =
if_http_header_fields=>expires ).
response->delete_header_field( name =
if_http_header_fields=>pragma ).
*start Excel viewer either in the Browser or as a separate window
response->set_header_field(
name = 'content-disposition'
value = 'attachment;filename=webforms.xls' ).
response->set_cdata( data = file_content ).
finally display Excel format in Browser
data: l_len type i.
l_len = xstrlen( file_xcontent ).
response->set_data( data = file_xcontent
length = l_len ).
navigation->response_complete( ).
endif .Hi Friend,
have a loook at the below specified threads.Hope it will help you.
[link1|download to excel in diffrent window;
[link2|Re: Exporting data from table to Excel in a particular format using BSP.]
[link3|download to excel in diffrent window]
With Regards,
SHARMILA BRINDHA.M -
Business Server Page(BSP) Error!!
Hi Friends,
I have deployed the business package of Supplier Collaboration 2.0. When i click few of the iViews then i am getting the error as:
<b>Business Server Page(BSP) error:</b>
<u>SAP Note: The following error text was processed in the system:</u> <i>BSP Exception: Access to page default.htm requires HTTPS. HTTPS has not been configured on this server.</i>
As per the BP guide, they havent mentioned anything to change the settings. We made sure the System alias used by this iview does exist., so there is no issue of system alias.
Kindly let me know if anyone knows..about this.
Thanks,
Raghavendra PothulaHi,
Where we have to set this https service.....
Thanks & Regards
Ravi Shankar B -
Business Server Page (BSP) Error from EP
Hi,
We are implementing the standard business packages for CRM 4.0 .The test connection to the CRM Server works fine, but when we click on a CRM transaction, it gives an error
Business Server Page (BSP) Error
What happened?
Call of BSP page terminated due to error.
Note
Following error text processed in system:
URL does not specify a complete domain (172.22.2.36 instead of 172.22.2.36.<domain>.<ext>)
Exception Class CX_FQDN
Error name
Program CX_FQDN=======================CP
Include CX_FQDN=======================CM002
ABAP Class CX_FQDN
Method CHECK
Row 10
Long Text -
Error Type: Exception
Your SAP Business Server Pages Team
There is no dump in ST22 in the CRM Server
Please help
Regards
JayeshHi Jayesh,
The error shows you are not using Fully qualified domain name.
Instead of the IP address give the server name with the fully qualified domain name.
Regards
Arun -
Business Server Page error (BSP)
Hi everybody.
I've installed the Partfolio Management Businnes package, but when I try to use it I have the following error
Business Server Page error (BSP)
BSP exception: URL /webdynpro/dispatcher/sap.com/xappscprxrpmui~navigatr/NavigationProxy;jsessionid=(J2EE6375900)ID1437280550DB01043739459538015867End denied
Thanks
AlexHi Alex,
Even we are facing similar kind of issue so kindly provide me solution.
The error we encounter :
https://URL/webdynpro/dispatcher/sap.com/xappscprzrpmui~navigatr/NavigationProxy;jsessionid=(J2EE76150300)ID2002463950DB11213908491686403207End will run with a wrong client window ID!
Do not continue; please report this problem to your administration.
Suggest me in this issue.
Best Regards
DV -
Business Server Page (BSP) error - CX_FQDN
Hi All,
I configured FDQN and Maintain SICF services in Solution Manager and still I am getting the following error:- Any help will be appreciated.
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:
Die URL enthu00E4lt keine vollstu00E4ndige Domainangabe (prdr01d3801 statt prdr01d3801.<domain>.<ext>).
Exception Class CX_FQDN
Error Name
Program CX_FQDN=======================CP
Include CX_FQDN=======================CM002
ABAP Class CX_FQDN
Method CHECK
Line 10
Long text -
Error type: Exception
Your SAP Business Server Pages Team
Please see my ICM parameters in the server.
ICM Parameter
Services
icm/server_port_0 = PROT=HTTP,PORT=8001
icm/server_port_1 = PROT=SMTP,PORT=0
Hard limits
icm/max_services = 30
icm/listen_queue_len = 512
icm/req_queue_len = 500
icm/max_conn = 500
icm/max_sockets = 2048
Thread handling
icm/min_threads = 10
icm/max_threads = 50
icm/min_spare_threads = 3
Tracing and statistic
rdisp/TRACE = 1
icm/tracefile = dev_icm
icm/log_level = 0
icm/stat_level = 1
icm/security_log = LOGFILE=dev_icm_sec,MAXSIZEKB=500
icm/accept_remote_trace_level = 0
Monitoring
icm/ccms_monitoring = 1
icm/ccms_refresh_rate (sec.) = 30
Timeout handling
icm/keep_alive_timeout (sec.) = 60
icm/conn_timeout (msec.) = 5000
HTTP settings
icm/HTTP/max_request_size_KB = 102400
icm/HTTP/j2ee_0 = PREFIX=/,HOST=localhost,CONN=0-500,PORT=50100
icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=F:\usr\sap\S4P\DVEBMGS01\d
ata\cache
icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=F:\usr\sap\S4P\DVEB
MGS01\data\icmanroot/admin,AUTHFILE=F:\usr\sap\S4P
icm/HTTP/auth_0 = PREFIX=/,FILTER=SAP
HTTP(S) error handling
is/HTTP/show_detailed_errors = 1
HTTPS (SSL) settings
icm/HTTPS/verify_client = 1
ssf/name =
ssf/ssfapi_lib =
sec/libsapsecu =
ssl/ssl_lib =
Context Quotas
icm/HTTP/context_quota = 90%
icm/HTTPS/context_quota = 90%
icm/SMTP/context_quota = 90%
Memory Pipe settings
mpi/total_size_MB = 80
mpi/buffer_size = 65536
J2EE settings
rdisp/j2ee_start = 1
is/HTTP/default_root_hdl = J2EE
Content Filter settings
csi/enable = TRUE
csi/SAP/csa_lib = F:\usr\sap\S4P\DVEBMGS01\exe\sapcsa.dll
Misc
icm/host_name_full = prdr01d3801.abcd.ae
icm/cancel_strategy = cancel requests without session (stateless)
rdisp/plugin_auto_logout = 1800
is/HTTP/virt_host_0 = :;
is/SMTP/virt_host_0 = :;Hi Eddy,
Yes I did, in the first instance I am getting the following error from Internet Explorer while try to access the link http://prdr01d3801.abcd.ae:8001/sap/bc/bsp/sap/ai_proj_setup/start.htm?sap-client=100&sap-language=E
Network Error (dns_unresolved_hostname)
Your requested host "prdr01d3801.abcd.ae" could not be resolved by DNS.
For assistance, contact Customer Support.
Regards -
SAP Business server pages (BSP)
Hi All.
Can anybody provide study documents on Business Server Pages ( BSP ).
Thanks and regards,
Krish......try these links
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/24
https://www.sdn.sap.com/irj/sdn/nw-wdabap?rid=/library/uuid/a6d78c90-0201-0010-b091-c05d5b3fa5e2
https://www.sdn.sap.com/irj/sdn/nw-wdabap?rid=/library/uuid/2d0b74ae-0b01-0010-599a-94fc77b01e87
BSP Trouble Shooting: Frequently Asked (Short) Questions
https://www.sdn.sap.com/irj/sdn/nw-wdabap?rid=/library/uuid/2d0b74ae-0b01-0010-599a-94fc77b01e87
u can find such links in below mentioned page under topic bsp
/docs/DOC-18478#section5 -
Has an error in CRM webui (Business Server Page 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:
Define component usage 'CUKNOWARTValueHelp'
Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT
Error Name
Program CL_BSP_WD_REPOSITORY==========CP
Include CL_BSP_WD_REPOSITORY==========CM00C
ABAP Class CL_BSP_WD_REPOSITORY
Method GET_CMP_USAGE_DEF
Line 18
Long text -
Error type: Exception
Your SAP Business Server Pages Team
Not able to figure our how to fix it.
Tx
SabinaHi Sabina,
The error is caused because the Component usage 'CUKNOWARTValueHelp" is missing. Open the associated BSP application and check if there is a component usage defined in the Runtime Repository. If there is no custom enhancement to the BSP you are dealing with, then this issue might be present in Standard. If that is the case, check if the note suggested by Hasan helps.
Good luck.
Regards,
Prathap -
How to install Small Business Server 2008 in an existing Active Directory domain
It is shown on this page:
http://support.microsoft.com/kb/884453, "How to install Small Business Server 2003 in an existing Active Directory domain".
Is it possible to do this with SBS2008 ?
If "YES", are there any published information about the procedure ?Yes, it is. Thank you very much.
But there is something that confuses me - I want to migrate from Win2003Std to SBS2008. And also, I want to keep the existing Win2003Std as a second DC for a long time.
But it is written in the shown article:
... After the migration is finished, you must remove the Source Server from the network within 21 days. ...
Is this rule mandatory for the scenarios where the Source Server is Std, not SBS ? As I know, I can have more than one DC(Win2003Std/Win2008Std) together with SBS2003. But what about SBS2008 ? -
Business Server Page error in RWB -alertConfig
In XI, RWB, when i click to open 'Alert Configuration', it gives an error message:
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:
BSP Exception: the Application Name sap in URL /sap/bc/bsp/sap/sxms_alertrules/main.do?sap-client=400&adaptertypes=RFC%20BC%20Mail%20Marketplace%20File%20XIRA%20SOAP%20RNIF11%20JMS%20JDBC%20RNIF%20XI%20CIDX%20 is invalid.
I tried testing the related service in SICF:
it gave almost the same error:
The following error text was processed in the system:
BSP Exception: the Application Name sap in URL /sap/bc/bsp/sap/sxms_alertrules?sap-client=400 is invalid.run RSXMB_ACTIVATE_ICF_SERVICES in se38.
or go to SICF and follow the path: sap/bc/bsp/sap/sxms_alertrules and make sure it is active! -
Date format conversion in Business Server pages
Hi Floks
i am working Business server pages i got some problem in the date format. Igetting date as dd.mm.yyyy and i want to change this to MM/DD/YYYY format . i tried to change this in like in ABAP coding . it s not working can give how can fixthis issue that i am working CRM application .so please proper code or anything ..
thanks
PreethidHi Preethi,
If you can not do it in SU01 you can do it using split .
Something like:
call function 'CONVERSION_EXIT_PDATE_OUTPUT'
exporting
input = sy-datum
importing
output = gv_date.
Now you get the date in dd.mm.yyyy format .
DATA: str1 TYPE string,
str2 TYPE string,
str3 TYPE string.
SPLIT gv_date AT '.' INTO: str1 str2 str3 .
concatenate str2 '/' str1 '/' str3 into gv_date .
Where gv_date is strign type or c(10) .
I tried the above code and its working fine.
Regards,
Anubhav
Maybe you are looking for
-
Ipad calender events not synicing with icloud
My MBP is syncing with icloud okay - they match. But some events (not all) in one of my calenders are not syncing between icloud and my ipad. Strange because icloud/my ipod touch are syncing fine. Gone through the postings, tried deleting accounts, t
-
My itunes music playlists are no longer showing. Does anyone know why?
I opened my iTunes today & found that all of my playlists are gone. I uninstalled & reinstalled iTunes, but that didn't help. Does anyone have any suggestions? Thanks
-
How to select data in setup tables based on date
hello gurus, I have a question . I want to fill the setup tables but not complete historical data. I need to fill it based on some date selection.Can anyone help me the process. I went to oli9bw but i cannot see any option like date range for data s
-
i m new to adobe captivate4 using first time... i need to insert a swf movie into adobe captivate 4 and have to generate scorm file for my elearning project... i am able to insert swf files... i inserted 10 swf file in 10 different file the problem h
-
Hello all I have a webpage with a separate Css. File, I am trying to use a basic drop down menu but struggling! I have used one these free menu generators which looks exactly how I want, it them gives me a code in HTML & CSS and I down know where I c