BSP application page modifications!
Hi Experts,
I have a BSP Application HCM_LEARNING and in that I have a leso.htm page and in that I have some of my training activities in my Enterprise Portal. When I go for selecting course appraisal in one of my training activities there is a Pop up page coming with necessary information that is also a .htm page.
I want to change that .htm page by customize that .htm page.
Please suggest me some guidance!
Looking forward for all necessary suggestions!
Thanks,
Rabi
Hi Raghu,
I'am facing with same error, could you please let me know how you solved this issue.
Regards,
Pradeep
Similar Messages
-
Enhancinig a standard BSP application/page (/SCF/UIBSP)
Hi Experts,
We have a requirement to enhance stanard BSP page (application /SCF/UIBSP, ICH, SCM system). I understand that we can't enhance stanard BSP pages like we do in R/3 or ABAP. Please confirm.
Incase I need to copy the entire application to a Z/Y program, I would like to know if I have to take any precautions. I am little concerned, as this is the main ICH page delivered by SAP.
Thank you for your time.
Regards,
Sudhakar Karumuri.Hi Pavitra,
Thank you for your inputs.
Yes the appliation we are about to enhance used MVC design pattern. So I hope I can use the program u suggested.
Below is our requirement.
We have a Standard BSP application, /SCF/UIBSP called from program /SCA/ICH_START. This BSP application has a Tree View. We have to add one more node in that tree and when clicked on it we need to display a page with some static text and a button. And when User clicks on that button we need to call an RFC from our R/3 system and get data from it and download the same data into a local system(of user).
If you can share your email ID I would like to forward some screen shots.
Thank you for your help.
Regards,
Sudhakar Karumuri. -
Steps to enable fields on BSP application page.
Hi,
What are the steps of enabling some fields present in a BSP application?
The layout is already having the fields present but in disabled state. So can anyone point to some good tutorials which stress on how to make the changes to enable the fields and activate the corresponding BSP page.
Thanks,
SKHi,
in you BSP application you need to start the webclient UI URL like this:
http://<crmserver>:<Port>/SAP/BC/BSP/SAP/CRM_UI_START/DEFAULT.HTM?SAP-SYSTEM-LOGIN-BASIC_AUTH=X&CRM-OBJECT-TYPE=BT111_OPPT&CRM-OBJECT-ACTION=B&CRM-OBJECT-VALUE=0003000452&CRM-OBJECT-KEYNAME=OBJECT_ID&SAPROLE=ZVTR_WO_CTI
CRM-OBJECT-TYPE is the type of transaction, here opportunity
CRM-OBJECT-ACTION is the mode, here B = display mode
CRM-OBJECT-VALUE is the ID of your document
SAPROLE is the businessrole where you whish to start your webui
Kind regards
Manfred -
Parameter to Parameter - between 2 BSP-Application
Hello,
we have a problem between transfer Parameters from a BSP-Application-Site to a another BSP-Application Site.
How can we realizing this matter?
Thank you in advanced
AlexanderHi
Please use this below method,
DATA: URL TYPE STRING.
CALL METHOD RUNTIME->GET_URL_SAME_SESSION
EXPORTING
APPLICATION_URL
= '/sap/bc/bsp/sap/<BSP Application>/<page.htm>'
RECEIVING
URL = URL.
CONCATENATE URL '?<variable>=' <CLASS_NAME>->Variable> INTO URL.
CONDENSE URL.
CALL METHOD NAVIGATION->GOTO_PAGE
EXPORTING
URL = URL.
Here, <variable> is parameter which you have to pass the next BSP application.
OR user Server side cookies.
Example.
Set the cookie use this below method,
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE
Get the cookis,
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
Hopeful it will work.
Thanks
Suriya. -
Navigate BSP Application from customize program
I have a customize program where I got BSP application page name, events and line number. I want to navigate it to SE80 editor with line number. Currently I am using
Function module RS_TOOL_ACCESS. However it is opening the application but not navigating to particular line number.
Please guide me.
Thanksbut 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. -
Hi,
We are facing a problem in running BSP application in CRM portal. We have checked the service crm_bsp_frame in SICF. It is activated, but when i am trying to test it, it is showing internet connection error. Similarly when i am trying to test the application in SE80, i am getting the same error.
Please guide us.Hi,
Are you running the BSP application from SE80? If not, Goto the BSP Application & page which you are testing. Look at the Page attribute, at the bottom you will find the URL. Just compare the URL which you using is same or not.
Please add more detail from where you are running the BSP pages.
Raja T -
Enhancement to standard bsp application
Hi experts,
i have a req that i need to add one button in standard BSP Application page and need to code as per the requirement.
can somebody tell me the procedure
Thanks,
Innahi
good
go through the foloowing links which ll help you to solve your problem,
/people/sergio.ferrari2/blog/2007/04/06/bsphowto--customizing-the-design-of-system-logon-page-in-netweaver-04
http://www.sap-hefte.de/download/dateien/828/054_leseprobe.pdf#search=%22ADD%20A%20BUTTON%20IN%20STANDARD%20BSP%20APPLICATION%20%20%2CSAP%22
thanks
mrutyun^ -
How to add a BSP application to user role
What is the procedure to add a custom 'Zbsp' BSP application to the user role in PFCG Transaction code ?
When we add a transaction or report. it is working fine.
Please Suggest to add BSP application by defining required parametersHi Raja,
The BSP application which i have created used to access a custom based abap program by means of Ztransaction or Z internet service.
In SRM, I want to assign this BSP application page which has link to the abap program to SUS suppliers portal page . i.e add to the particular user role.
When i try to add this application to the user role in PFCG , it asks for the parameters action-id menu no and controller name.
These are all used in the standard BSP appliaction say SRMSUS bsp application..
Suggest what values should i give it to access this BSP application to the particular user role..
If you have questions in my requirement, do ask me.
Thanks in advance -
How to pass date parameter from one page to other in BSP application
Hello gurus,
In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
Now my prb is that my date value is not getting passed to the next page.
I have used
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
to pass date parameter.....still parameter is not getting passed.
plz help me with this.....
thankx.....Hi Eddy,
By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
so with begda being 8chars it takes my date as 06.12.200
as a result my query is not getting executed.
now i have tried to use a FM 'CONVERT_DATE_TO_INTERN_FORMAT'.
in my 1st page but still in 2nd page its giving me following error.
<b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
</b>
Regards
Swati -
Calling the ASP page through a BSP application
Hi,
We are in the process of implementing Digital signature for SRM cFolders.
BSP application : CFX_RFC_UI
Pages with flow logic : doc_de_download
The digitally signed files are uploaded to the cFolders.On click of a
particular file in cFolders, the 'ASP' page residing on the server in IIS
vertual directory i.e. 'verifyfile.asp' should get called.This ASP page has
the logic to verify the signed file.
The signed file resides on the file system in the same vertual directory.
As a result we want to post a message on the screen which
will be the output of the ASP page logic.
Please suggest the way to achieve this.
Regards,
Nilesh
Message : ---
<b>Verification Successful</b>
Certificate Details
The certificate is valid
CRL Status: Certificate Revocation Status is Unknown: CRL Not checked
Email Id: [email protected]
Issuer Name: ock Demo Certification Authority
Serial Number: 15 65 7a 0a 00 00 0d d9
Subject Name: Email Address = [email protected] | Country = US
| StateOrProvince = VA | Locality = McLean | Organization = Technologies Corporation | Organizational Unit = ock Demo | Common Name = Valid ock |
ThumbPrint: 16 00 c1 f4 76 aa 57 f2 20 27 0f 21 44 9e 08 9d 61 ca dd 95
Valid From: Monday, April 10 2006,02:19:58
<i><b>The code in OnInitialization event handler is as follows :----</b></i>
* doc_de_download.htm
DATA lp_root_exception TYPE REF TO cx_root.
DATA lp_doc TYPE REF TO cl_cfx_document.
DATA l_cur_ver_id TYPE guid_32.
DATA lp_col_app TYPE REF TO cl_cfx_col_application.
DATA lp_col TYPE REF TO cl_cfx_collaboration.
DATA : icontent type table of sdokcntbin.
data : w_tmpcontent TYPE sdokcntbin.
**** Data declaration
data : g_folder_path TYPE btcxpgpar value 'usrsapDigitally signed files',
g_md(100) TYPE c,
g_file_path TYPE string,
g_system TYPE rfcdisplay-rfchost,
g_os TYPE sxpgcolist-opsystem,
g_file_size TYPE string,
g_mime_type TYPE string,
g_file_ext TYPE string,
g_len1 TYPE i,
g_var TYPE c,
g_out_file TYPE c LENGTH 600,
g_file_count TYPE p,
g_table_lines TYPE p,
g_counter TYPE p VALUE 1,
g_flag TYPE c.
DATA : i_doc_id TYPE sysuuid_c.
CONSTANTS : c_dot TYPE c VALUE '.'.
TRY.
IF NOT p_refresh IS INITIAL.
cl_cfx_ui_application=>delete_instance( ).
ENDIF.
TRANSLATE p_col_id TO UPPER CASE. "Just in case...
TRANSLATE p_area_id TO UPPER CASE. "Just in case...
TRANSLATE p_topic_id TO UPPER CASE. "Just in case...
TRANSLATE p_doc_id TO UPPER CASE. "Just in case...
TRANSLATE p_ver_id TO UPPER CASE. "Just in case...
TRANSLATE p_save TO UPPER CASE. "Just in case...
* initialize in case of server state timeout
IF ( NOT p_col_id IS INITIAL ) AND
( NOT p_area_id IS INITIAL ) AND
( NOT p_topic_id IS INITIAL ).
CALL METHOD cl_cfx_context_ui=>initialize
EXPORTING
i_col_id = p_col_id
i_area_id = p_area_id
i_topic_id = p_topic_id
i_doc_id = p_doc_id
i_object_type = cfxf1_sc_doc_type_document.
ENDIF.
IF NOT p_col_id IS INITIAL.
lp_col_app = cl_cfx_col_application=>get_instance( ).
lp_col = lp_col_app->get_collaboration( p_col_id ).
ENDIF.
* Do we need to prepare to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, prepare checkout
TRY.
lp_doc->if_cfx_document~lock( ).
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
data: lt_formfields type TIHTTPNVP,
l_formfield type IHTTPNVP,
l_request type STRING.
data: lt_headerfields type TIHTTPNVP,
l_headerfield type IHTTPNVP.
CALL METHOD request->get_form_fields
CHANGING
fields = lt_formfields.
CALL METHOD request->get_header_fields
CHANGING
fields = lt_headerfields.
* CALL METHOD cl_cfx_doc_ui=>retrieve_content
* EXPORTING
* ip_navigation = navigation
* ip_response = response
* ip_runtime = runtime
* i_col_id = p_col_id
* i_area_id = p_area_id
* i_topic_id = p_topic_id
* i_doc_id = p_doc_id
* i_ver_id = p_ver_id
* i_save = p_save.
* Do we need to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
* l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, do checkout
TRY.
CALL METHOD cl_cfx_doc_ui=>mark_doc_as_checked_out
EXPORTING
ip_doc = lp_doc
i_filepath = p_filepath.
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
i_doc_id = p_ver_id.
CALL FUNCTION 'CFX_API_DOC_DOCUMENT_READ'
Exporting
i_doc_version_id = i_doc_id
IMPORTING
e_file_path = g_file_path
e_file_size = g_file_size
e_mime_type = g_mime_type
e_file_ext = g_file_ext
TABLES
et_content = icontent.
****** Download document
IF NOT icontent[] IS INITIAL.
*** PERFORM sub_download_file USING g_file_path.
CONCATENATE g_folder_path g_file_path
INTO g_out_file.
OPEN DATASET g_out_file FOR OUTPUT IN BINARY MODE.
IF sy-subrc = 0.
LOOP AT icontent INTO w_tmpcontent.
TRANSFER w_tmpcontent TO g_out_file.
ENDLOOP.
ENDIF.
CLOSE DATASET g_out_file.
CLEAR g_out_file.
ENDIF.
CLEAR: p_area_id, p_col_id, p_doc_id, p_save,
p_topic_id, p_ver_id, p_filepath.
** handle other standard exceptions
CATCH cx_root INTO lp_root_exception.
CALL METHOD cl_cfx_exception_ui=>handle
EXPORTING
ip_exception = lp_root_exception
ip_navigation = navigation.
ENDTRY.Hi,
Something like this should work:
REPORT zggar_http_client.
PARAMETERS: p_host TYPE char100 DEFAULT 'http://www.google.fr',
p_port TYPE char20.
DATA: wcl_client TYPE REF TO if_http_client.
DATA: w_content TYPE string,
w_host TYPE string,
w_port TYPE string,
w_proxy_host TYPE string,
w_proxy_port TYPE string,
w_path TYPE string.
w_host = p_host.
w_port = p_port.
CALL METHOD cl_http_client=>create
EXPORTING
host = w_host
service = w_port
proxy_host = w_proxy_host
proxy_service = w_proxy_port
IMPORTING
client = wcl_client.
wcl_client->request->set_header_field( name = '~request_uri'
value = w_path ). "#EC *
wcl_client->request->set_header_field( name = '~request_method'
value = 'GET' ). "#EC *
* send and receive
wcl_client->send( ).
wcl_client->receive( ).
* display content
w_content = wcl_client->response->get_cdata( ).
Best regards,
Guillaume -
Custom fields for ROS initial page in BSP application
Hi,
We want to add some more customer fields in ROS initial page, for example TIN number. We have added a field to ZZTIN in the include CI_CUF_REQ_FIELDS of structure ROS_CUF_REQ_FIELDS and also implemented BAdI ROS_REQ_CUF. After adding custom codes in BSP application ROS_SELF_REG under page u201Caddress.htmu201D we are able to see this field in the initial registration page.
Now the question is WE ARE UNABLE TO KNOW HOW TO STORE THE VALUE ENTERED HERE. We are facing below issues.
(1) If we try to input ZZTIN to structure u201Cgs_address u201C it is asking us to add custom fields here also.
(2) But when we tried to append ZZTIN to structure BAPIBUS1006_ADDRESS, it is not allowing to activate it.
(3) We have also appended ZZTIN to ADRC table. How can we input to ADRC table from here?
GanapathiDear VASILIEVA Irina,
Thanks for the reponse. Could not get what do you menat by "core mod", did you meant you created a separate table with key field business partner id... Can you just elaborate?
However we would prefer to add a custom filed in the standard strcucure itself.. both type suggetions are welcome....
Ganapathi -
How to call BSP pages from a BSP application of another package
Hi,
I have a BSP application in one package and I want to call pages from another BSP application in a different package.
Is it possible? How it would have to do it?
Thanks in advance
RegardsHi,
You cannot call a page fragment in a seperate window or seperately in the same window...
Page fragment is used only for including a fragment in your page....
It is not a seperate page..!
To call a page fragment, you have to use the include directive...
eg :
<%@include file="Carrier_report_logo.htm" %>
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.
Message was edited by:
Tatvagna Shah -
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. -
Question on passing parameters between 2 pages in a BSP application
Hi Group,
I have defined a page attribute "zcid" in both the pages where I need this attribute value. And in one page I calculated a value and assigned it to this attribute. And also I checked the attribute as "Auto" in both pages.
And I used navigation->set_parameter( name = 'zcid' and value = zcid ), I was getting an error saying, use "." after name and not proceeding any further.
Please let me know the procedure for accessing a value of an attribute in Multiple pages within a BSP application.
Thanks in advance.
Regards,
Vishnu.Hi Vishnu
To pass the parameter,
Firstly the name of attributes should be same of both pages and the check of AUTO should be checked on target page.
I am giving you small example to pass the Firstname parameter from Default.htm to Result.htm .
the Parameter name in Default.htm is --> fname type string.
--> Auto should not check
the Parameter name in Result.htm is --> fname type string.
--> Auto should be checked.
in Default.htm inputprocessing use the code
navigation->set_parameter( 'fname' ).
navigation->next_page( 'TORESULTS' ).
or
For more detail you may also go through the following links
/people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
/people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
If this will helpful please reward the points
Kuldeep Verma -
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...
Maybe you are looking for
-
Its Very Urgent Creation of .dmp file in SAP 2007B - Indian Localization
Hello All Can anyone provide help with this error. The SAP B1 does not allow to use AR Delivery or Sales. But it allows to use AP & Production Document for transactions. It gives an error at which time when ok is pressed the just logs out of SAP B1.
-
My code/split/design buttons are gone. How do I get them back?
I must have hit some command but my code/split/design buttons are gone. Also are the "live view", etc. How do I get them back. I looked under both the window and view tabs but couldn't find anything that retrieves them. Attached is a screen grab of t
-
HT4623 can not sync with iPhone, unknown error 1140
How do I fix this problem with syncing my iPhone to my Mac Pro. The phone has the lastest verion of ios and so is iTunes. What can I do? George
-
Generating transport stream for dectek card - testing purposes
Hi I'm going to buy the recently released dectek card: DTA-110TSP in order to make MHP testing. Before getting it I asked about the possibility to use this card in order to make mhp testing... they assured me it is possible, but that I have to provid
-
Automatic comparision of Oracle view and excel
I don't know if this is the right forum for this question, but if anyone has any idea kindly share it. We have oracle database 11g, there is a database view, and there is an excel(from another source), one of our departments wants to compare the one