Error In BSP Page
Dear All,
can any one tell me how to display error message in the status bar of the BSP page.
Regards,
shiva
Dear Shiva,
We can dispaly the message in the status bar as Anubhav said. For that do the following things,
1. declare message variable in page attributes.
2. assign ur message to this variable 'message' in oninputprocessing
3. In layout set a condition within the script.
<% if message is not initial. %>
window.status="<%= message %>" ;
<% endif. %>
Appreciate if its Helpful.
Regards,
Anita Vizhi Arasi B
Similar Messages
-
AN error in BSP page deployment
hi BSP Floks-
I have one CRM BSP application itu2019s deployed in EP. Itu2019s working internal with vpn and External without vpn But one user got problem encountered like causes
u2022 You are not connected to the internet .its connected internet
u2022 The website is encountered problems
u2022 There might be a typing error in the address .address is correct because itu2019s working in the other users.
Unable write code here please give some ideas to post or resolve this type of problem
This code is there in html. Can u let me know whether this problem how to resolve and what are the errors available in bsp . If u have any links let me know.
Thanks,
prethiDear Shiva,
We can dispaly the message in the status bar as Anubhav said. For that do the following things,
1. declare message variable in page attributes.
2. assign ur message to this variable 'message' in oninputprocessing
3. In layout set a condition within the script.
<% if message is not initial. %>
window.status="<%= message %>" ;
<% endif. %>
Appreciate if its Helpful.
Regards,
Anita Vizhi Arasi B -
Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus
Hi BSP experts,
Any Experts have solutions for below.
We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
The scenario is like this: The PDF is getting called the via URL:
The code is like this
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE runtime->application_url '/' guid '.pdf' INTO URL.
<u><b>This URL is called in the front end LAYOUT.</b></u>
<iframe src="<%= URL %>" width="100%" height="600px">
</iframe>you missed one question of mine <b>Do you create the PDF after creating the GUID ?</b>
try giving a fixed URL just to test.
Aman -
BSP Page Error on ECC 6.0
Hi Friends,
I am facing strange error between BSP page to page interaction on ECC 6.0 Version and also we are using SAP provided bsp application i.e " HTMLB_samples ". This is first time we are executing the bsp application after system migrated to ECC 6.0 Version.
The BSP page error behavior is as follows.
When a call is made to other bsp page and corresponding page is able to identify as well displaying, however I am getting a javascript error message which is notified on the status bar of the browser stating that error on page. If I double click the same error message then I can see the following error messsage.
Line 22
Char 23
Error Object Expected
Code 0
http://<host name>:9000/sap(bD1lbiZjPTQwMg==)/bc/bsp/sap/htmlb_samples/breadcrumbSample.htm.htm?
FYI - All other standard BSP application are facing same error after system is migrated to ECC 6.0.
Can anyone please let me know the reason as to why a java script error is being thrown ?
Thanks in advance..
Best Regards,
SureshHi,
Check once the javascript,there might be error in the script.
I too faced the same problem while doing BSP application.there was problem in the script.
Regards,
jaya -
Collect Error Message from SAP program to BSP Page
Hi Experts,
I am displaying an error message in the form of pop-up Message in a Screen based on a condition using BADI on R/3 screen , but when i am calling the screen from Portal (BSP PAge) I am unable to see the Error Message which is being displayed as a pop-up in r/3..
How to catch the error and display in BSP Page.....
I have searched the forum but didnt find any suitable replies....
Plz help
Regards,
SrikarHi Srikar,
It depends.
Generally though you display a message in SAPGUI it does not display automatically in BSP.
Some times you have to manually write some code to populate and display a message in BSP.
First you need to find the BSP page and write some code to display error messages in the same..
Regards,
Sreekanth -
Error Passing an internal table between BSP pages
Any time there is data in the internal table and I try to pass it from one BSP page to the next I get an Web error. I've heard that it is possible to pass an internal table from one page to the next. can anyone point me in the right direction here?
You can do this with the navigation object only if the table is very small. Overwise it overflows 2+KB limitation of URLs.
Alternative ideas is to use server side cookies (search forum for many examples).
If stateful, just hang stuff of your application class. -
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. -
Error accessing Inventory Collaboration Hub (ICH) BSP Pages
Hi
I am trying to access basic ICH page in SCM 4.0 as well as SCM 4.1. I am getting the following error:
BSP exception: Access to page default.htm requires HTTPS. HTTPS has not been configured on this server.
Regular BSPs are working fine in both the servers.
Initially we had HTTP and SMTP configured and based on the error message I tried configuring HTTPS.
SMICM status shows HTTPS with port but not active. When I tried to activate HTTPS in SMICM, i am getting
'Operation failed(rc=1)'
Do we really need HTTPS to get default ICH login page.
Please guide on this to get ICH page.
Regards
Ragavan.Hi
I had configured the SAP Web AS to display BSP pages.
General BSP applications are working fine.
But when I tried to access ICH related BSP pages, i am getting the following exception:
BSP exception: Access to page default.htm requires HTTPS. HTTPS has not been configured on this server.
Is there any document for HTTPS configuration in SAP Web AS in order to get ICH BSP pages, as my understanding is we need to have HTTPS configured properly to make ICH BSP pages working.
Thanks in advance for comments and helps.
Ragavan. -
BSP Authorisation error when trying to view BSP page from workitem
Hi All,
I developed a bsp application that initiates a workflow.
The application generated successfully and the workflow was activated and no errors appear in the workflow log.
When I try to view the bsp from the workitem, I get an error message
u2018You are not authorized to view this pageu2019
If I was to view the page from bsp application, I would have to login again to the bsp application.
Is this what is stopping me viewing the bsp page directly from the workitem?
How can I create this login to the bsp server from my workflow?
Can I remove this login to the bsp server?
thanksHi Brendan Gibbons,
The authorization for viewing the bsp application through se80 is different from viewing the bsp application from the workitem.
For example
I am abap developer, i have authorization for se38 and i have authorization to view/change the program what i have created, but i can view the program what some one has created but i dont have authorization for changing it. The same apply's here too.
Kindly check with the basic consultant.
Thanks and Regards
Balaji E. -
Error while opening BSP:page included for Technical Reasons: VIsta & Win7
Hi Experts,
when trying to open the Appriasal document in user worklist BSP page opens as an R/3 screen saying "this page is included for Techinical reason" and then stops. it is nop
This issue is faced in Windows Vista and Windows7 not in lower versions of Windows OS.
Any suggestions will be really helpful and will be rewarded
With Regards,
Dayakar.Hi Dayakar ,
Check in nwa if you see any traces related to the issue . Check how other BSP's behave in your portal and try viewing the contents directly from backend . You mentioned that the issue is coming in win7 , vista - so it could be that the portal is not compatible . Check out the compatibility in PAM .
Regards
Mayank -
Message not getting refreshed in bsp pages.
Hi experts,
An error message which is getting displayed should be removed on leaving the page. I mean the meassage area is not getting refreshed on leaving the page. Everytime i need to refresh the page to remove it. Please help.
Abhi.hello Friend,
Please clear the internal table / work are used to show message in OnInitialization method of the BSP page.
now It is not getting cleared at the time leaving the page and data stays in memory...
Thanks
K. -
Bsp Page Not displying in browser!
Hi friends,
My Bsp Page is not displaying in the browser, i read all previous messages and applied patches too,Still i am getting the same problem
http://sapr347:8001/sap/bc/bsp/sap/system/sso2test.htm?sap-client=800&sap-sessioncmd=open
this is the url generated by Web Application builder test tool, even i forced the system to use the Anonymous logon procedure and checked logon data required check box, is any request handler require for my application?
My Instance_profile and trace file shows
icm instance as sapr347.ssdomain, even i made an attempt and gave Ip address and system name as..
10.10.4.11 sapr347.ssdomain sapr347 -> Failed
10.10.4.11 sapr347 -> Failed
in windows/system32/drivers/etc/host file for temporary solution.
Please advice me in this regard
Thanks in Advance
YokiHi friends,
Thanks for all of your great help, i chekced all the parameters as i said before.. FQDN paramter in instance profile showing sapr347.ssdomain, my host file set into
10.10.1.106 sapr347.ssdomain
even i restarted my mechine(client/server),i am getting the following error
Not found
The following error occured:
MsSGetNextLogon: no server found which provides service HTTP (msxxserv.c [15317])
mySAP.com 620 msg_server (ENT)
My URL is...
http://sapr347:8001/sap/bc/bsp/sap/ztutorial/defualt.htm?sap-client=800&sap-sessioncmd=open
...its not even finding out my server..i dont know how to work get connected....please any one here find me the correct solution..i read all weblogs..and seen patches..for this..tried all helpful information..even i failed to get my page... my application is also very much activated in sicf.. -
Exception CX_SY_OPEN_SQL_DB while executing a BSP page
Hi,
I have created a BSP app'n with 2 pages. In one page i am using a class interface within that one method. In that method im firing a select query.
If i run the BSP page, im getting the CX_SY_OPEN_SQL_DB exception with DBIF_RSQL_INVALID_RSQL error.
I am not able to understand this issue. If any one had any idea, please reply me. I am very thankful if you do this.
Thanks,
KumarNitin,
First , check if the Query is correct , then check the backed DB for any additional details , and also you might get more help if you post the same question in the BSP forums.
How are you calling the query , do you have any internal tables or resultset where you store the values ?
Arun -
Download to excel in different tabs from bsp page
Hi all,
I have a requirement in which I have to download to xl-sheet in different tabs based on some conditions from a bsp page.
I am successful in downloading data into different tabs.
Now I had written the piece of code required to download to xl in a function module
and I am calling that function module when pressing a button in bsp page.
When I run the fm seperately its working but when I run it from bsp page its not working.But while debugging I found that the fm is being called and executed perfectly without any errors.
But the xl is not being created on our side.
Can anyone suggest me how to proceed on this.
Helpful answers will be rewarded.
Thanks,
UgaHi Raja,
Yes I am using ole objects.
For more clarity I am alos pasting my code.
If this is not possible then please guide how to achieve this in BSP.
*******************CODE*****************************************
include ole2incl.
data: w_cell1 type ole2_object,
w_cell2 type ole2_object.
*--- Ole data Declarations
data: h_excel type ole2_object, " Excel object
h_mapl type ole2_object, " list of workbooks
h_map type ole2_object, " workbook
h_zl type ole2_object, " cell
h_f type ole2_object, " font
gs_interior type ole2_object, " Pattern
worksheet type ole2_object,
h_cell type ole2_object,
h_cell1 type ole2_object,
range type ole2_object,
h_sheet2 type ole2_object,
h_sheet3 type ole2_object,
gs_font type ole2_object,
flg_stop(1) type c.
Internal table Declaration
data:gt_kna1 type standard table of kna1,
gt_knvv type standard table of knvv,
wa_kna1 type kna1,
wa_knvv type knvv.
types: data1(1500) type c,
ty type table of data1.
data: it type ty with header line,
it_2 type ty with header line,
it_3 type ty with header line,
rec type sy-tfill,
deli(1) type c,
l_amt(18) type c.
data: begin of hex,
tab type x,
end of hex.
field-symbols: <fs> .
constants cns_09(2) type n value 09.
assign deli to <fs> type 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
data gv_sheet_name(20) type c .
SELECT kunnr name1
INTO corresponding fields of table gt_kna1
FROM kna1
UP TO 1000 ROWS.
SELECT kunnr vkorg
INTO corresponding fields of table gt_knvv
FROM knvv
UP TO 3 ROWS.
loop at gt_kna1 into wa_kna1.
concatenate wa_kna1-kunnr wa_kna1-name1 into it separated by deli.
append it.
clear it.
endloop.
loop at gt_knvv into wa_knvv.
concatenate wa_knvv-kunnr wa_knvv-vkorg into it_2 separated by deli.
append it_2.
clear it_2.
endloop.
if h_excel-header = space or h_excel-handle = -1.
*start Excel
create object h_excel 'EXCEL.APPLICATION'.
endif.
call method of h_excel 'Workbooks' = h_mapl.
set property of h_excel 'Visible' = 1.
*add a new workbook
call method of h_mapl 'Add' = h_map.
gv_sheet_name = 'KNA1'.
get property of h_excel 'ACTIVESHEET' = worksheet.
set property of worksheet 'Name' = gv_sheet_name .
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
data l_rc type i.
call method cl_gui_frontend_services=>clipboard_export
importing
data = it[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
*PERFORM err_hdl.
call method of worksheet 'Paste'.
****for second sheet**********
GV_SHEET_NAME = '2ND SHEET'.
gv_sheet_name = 'Knvv'.
get property of h_excel 'Sheets' = h_sheet2 .
call method of h_sheet2 'Add' = h_map.
set property of h_map 'Name' = gv_sheet_name .
get property of h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
call method cl_gui_frontend_services=>clipboard_export
importing
data = it_2[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
PERFORM err_hdl.
call method of worksheet 'Paste'.
Can you people give me inputs so that I can proceed further.
Thanks,
Uga -
Download to ppt functionality from a bsp page
download to ppt functionality from a bsp page .
can it be done.Hi Saad,
yes that can be done.
A tricky way that only works in IE is to use ActiveX-Scripting and script the Powerpoint. This way I cannot recommend as you need to lower the security settings of IE and it is pretty cumbersome to do and very slow if you generate large ppt's.
The way I'd suggest would be to use the new 2007 pptx-format. This file format is basicaly a bunch of XML-files that are packed in the zip-format. As of 640 you can use the class cl_abap_zip to handle zip-files.
To generate ppt's
- Check in a empty pptx-file into the mime repository.
- Get this template and open it using the cl_abap_zip class.
- Adjust the respective XML-files by using the ixml-library.
- Update the adjusted XML-files in the zip-archive.
- Render the zip to an xstring and send this one as response to the browser.
At the very beginning you need to get used to the OPEN XML-format but checking the web or simply testing it by saving files in the pptx-format and having a look at the content should bring you close to the solution pretty fast.
If you use older versions of Office you can install the FileFormatConverter from Microsoft to get the new formats supported (I think down to Office 2000). But be aware that if the converter asks you to update you most probably have an error in your generated/adjusted file so the error message is missleading and not helpfull to find the error.
Hope that helps.
Best Regards
Michael
Maybe you are looking for
-
BP (is Vendor and also Customer) reconciliation
Hi Experts, I am an user of SAP B1. I tried the internal reconciliation for BP who is both Customer and Vendor. The function is working. But the multicurrency has problem. Here is the detail of my testing: trade in USD, local currency is CAD, System
-
How can I solve grey start-up screen problem?
Hello all, my seemingly healthy mid-2010 Macbook running the latest version of OS 10.6 has suddenly become unresponsive and won't boot up past the initial grey screen. Below is a list of things that I thought were relevant: Over the last few months
-
Error while deploying war in weblogic 10.3.0
I am deploying a war file on to WLS 10.3.0 . I get the following error <Jul 18, 2012 1:32:08 PM CEST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Failed to load webapp: 'MNPBULK.war' a
-
Hello all, I have the following question regarding assessment cycles (KSU5) customized in KSU1 with Sender rule = 1.Posted amounts and Receive rule = 2. FIxed amounts. The issue is when you execute the KSU5 and the cost center sender is lower than
-
Wondering if there is a dial up modem for wireless laptop?
Hi I have a wireless laptop, bought a dial up modem it only lasted a week. went to Walmart.com bought another one it get really hot fast, so wonderign which way to go on getting another one?