How to use iterator in standard BSP application BT115QIT_SLSQ
Hi experts,
I am new in BSP and my requirement is to put a checkbox icon beside the actions column (that has 2 existing icons already) of BT115QIT_SLSQ enhancement. I read a lot of article about iterators but I believe most of them are used in custom BSPs as we all know that standard BSP uses standard classes as well, which we cannot modify ourselves without access keys. Can someone help me how to use it in standard BSP? Or is there other much appropriate method?
Thanks and Regards,
Louie
Dear Pradeep,
Find the below link which explains a simple data download to excel from a table view.
www.sapt echnical.com/Tutorials/BSP/Excel/Index.htm
Try to avoid the way your using in the BSP application and it is abdicable to use the standard methods / class available like "cl_bsp_utility"
Hope this will be helpful.
Regards,
Gokul.N
Edited by: Gokul on Oct 8, 2009 9:57 AM
Similar Messages
-
How to Use Interactive Forms in BSP Applications - trouble with demo
Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
I think I have everything built out correctly but I get the following run time 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:
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
Exception Class CX_SY_REF_IS_INITIAL
Error Name
Program Z_PROCESS_BOOKING_FORM========CP
Include Z_PROCESS_BOOKING_FORM========CM002
ABAP Class Z_PROCESS_BOOKING_FORM
Method DO_REQUEST
Line 33
Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
Following is my code: line 33 reads as strChecked = node->get_value( ).
method DO_REQUEST.
*CALL METHOD SUPER->DO_REQUEST
data: bookingxml type string.
bookingxml = request->get_cdata( ).
data: streamFactory type ref to
if_ixml_stream_factory.
data: iStream type ref to if_ixml_istream.
streamFactory = g_ixml->create_stream_factory( ).
iStream =
streamFactory->create_istream_string(
bookingxml ).
data: document type ref to if_ixml_document.
document = g_ixml->create_document( ).
data: parser type ref to if_ixml_parser.
parser = g_ixml->create_parser( stream_factory =
streamFactory
istream =
iStream
document =
document ).
parser->parse( ).
data: node type ref to if_ixml_node.
data: strChecked type string.
node = document->find_from_name( name = 'RESERVED'
strChecked = node->get_value( ).
data: reserved type BAPISBODAT-RESERVED.
data: checked type i.
move strChecked to checked.
if ( checked = 1 ).
reserved = 'X'.
else.
reserved = ''.
endif.
data: custbook type BAPISBONEW.
node = document->find_from_name( name = 'AIRLINEID'
custbook-airlineid = node->get_value( ).
node = document->find_from_name( name = 'CONNECTID'
custbook-connectid = node->get_value( ).
data: fd type BAPISBONEW-FLIGHTDATE.
data: strFd type string.
node = document->find_from_name( name =
'FLIGHTDATE' ).
strFd = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strFd
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-flightdate
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Do something
ENDIF.
node = document->find_from_name( name =
'CUSTOMERID' ).
custbook-customerid = node->get_value( ).
node = document->find_from_name( name = 'CLASS' ).
custbook-class = node->get_value( ).
node = document->find_from_name( name = 'AGENCYNUM'
custbook-agencynum = node->get_value( ).
node = document->find_from_name( name = 'PASSNAME'
custbook-passname = node->get_value( ).
data: pb type BAPISBONEW-PASSBIRTH.
data: strPb type string.
node = document->find_from_name( name = 'PASSBIRTH'
strPb = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strPb
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-passbirth
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Something
ENDIF.
data: bn type BAPISBOKEY-BOOKINGID.
data: return type bapiret2_tab.
data: errmsg type string.
CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
EXPORTING
RESERVE_ONLY = reserved
BOOKING_DATA = custbook
* TEST_RUN = ' '
IMPORTING
* AIRLINEID =
BOOKINGNUMBER = bn
* TICKET_PRICE =
TABLES
* EXTENSION_IN =
RETURN = return.
data: wa type bapiret2.
loop at return into wa.
if wa-type = 'E'.
move wa-message to errmsg.
response->append_cdata( errmsg ).
response->append_cdata( '<BR>' ).
endif.
endloop.
response->append_cdata( 'Flight booked, booking reference number: ').
data: strBn type string.
move bn to strBn.
response->append_cdata( strBn ).
endmethod.
The first page works fine but when I submit my form it fails. I debugged and the request object doesn't look right.
Any ideas would be greatly appreciated.
Regards,
Dan
Message was edited by:
Dan Scheck
Message was edited by:
Dan ScheckHi Surija,
there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
Hope this fixes your problem!
Cheers,
Jeff -
Enhancing standard BSP application by using WebDynpro components
Hi all,
We have standard BSP application delivered by SAP; we need to enhance the functionality and some new views to meet our requirement. We have planned to develop new things in WebDynpro ABAP and attach those to BSP.
Is it good practice to use WebDynpro component instead customizing BSP application?
If any body has fair knowledge on BSP and WDA, please let me know.
Regards,
Rajeshhi
good
BSP->
It is a set of pages that represent a user interface (layout and page flow definition). The layout part of a page normally contains ABAP or JavaScript code which is inserted into the HTML structure. They can contain server-side scripting code in either JavaScript or ABAP. BSP applications use all the conventional ABAP technologies, such as Open SQL and internal tables, allowing developers to create Web pages quickly. This enables existing SAP logic, data structures, and interfaces to be directly used in Web applications.
http://www.thespot4sap.com/Articles/SAP_WAS_BSP_Apps.asp
WDA->
Web Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
Web Dynpro offers the following advantages for application developers:
● The use of declarative and graphical tools significantly reduces the implementation effort
● Web Dynpro supports a structured design process
● Strict separation between layout and business data
● Reuse and better maintainability by using components
● The layout and navigation is easily changed using the Web Dynpro tools
● Stateful applications are supported that is, if the page is changed and the required data remains intact so that you can access it at any time throughout the entire application context.
Note that stateless applications are not possible.
● Automatic data transport using data binding
● Automatic input check
● Automatic operation of the Web Dynpro application using the keyboard
● User interface accessibility is supported
● Full integration in the reliable ABAP development environment
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/content.htm
thanks
mrutyun^ -
Changing a standard BSP application
Hi,
We are using a SAP provided standard BSP application. We need to replace the header.jpg with client's specific JPG and also need to change text of some lables. Can anyone guide me how to do these things.Hi,
You can create a "Thema". See below.
http://help.sap.com/saphelp_nw04/helpdata/en/46/bb1844ab4811d4968100a0c94260a5/content.htm
Regards,
Alexandre -
How to use sdk in standard B1?
Hi,All
How to use sdk in standard B1? I want to use "sum in words" be thai languag which in standard no have so i must create it use sdk but i don't know that have solution using sdk in standard. example, Go menu Sales-A/R>Delivery and input data i want to convert price in Total to text which i use sdk for convert it But i don't khow that when i will call sdk? Can do in standard?Hi Virasak,
You need to develop a (eventually small) application (= Add-On) which uses the SDK to do what you need it to do + is packaged and installed like e.g. any SAP Add-On.
It should then just watch out for the "right" events which are propagated from the SAP Business One application through UI API (an interface in the SDK) to "interested" Add-On(s)...
HTH,
Frank -
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. -
Hi! All,
I want to know that is there any standard BSP application in SAP or not, oreference purpose only.
Need urgently.
Thanks.Hi,
Open this link for bsp tutorial:
<a href="https://wiki.sdn.sap.com/wiki/display/BSP">BSP Wiki</a>
<a href="/people/sap.user72/blog/2004/09/07/bsp-howto-exploring-bsp-development-and-the-miniwas-620">Weblog</a>
And from your system you can open several BSP Tutorial using SE80, like:
tutorial_1
tutorial_2
tutorial_3
tutorial_4
tutorial_4_MVC
Regards, -
What is Digital Signature, How to use it in web based applications?
I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?
<link_farm_and_everything_else_removed_by_moderator>
Edited by: Julius Bussche on Sep 3, 2008 8:59 AM -
How to use " toFront() " method in java application and in which package or
How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.
The API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
To use it in a Java application, create an object x of either of those two classes and write "x.toFront();". -
Customer exit for Custominzing standard BSP applications?
Hello everyone,
I'm getting start in BSP applications and the only thing that I need to do at the moment is to write a LOG in a table when user goes to a Purchase Order detail view, print or download.
Is there any way to insert a code in the standard BSP application, like an exit?
Thanks!Hi Regis,
Where do you want to put your customer exit on ?
Do you have a specific BSP application in mind ?
Usually, people code their own BSP applications, that is why you don't find customer exit. It is only relevant for standard code.
<i>About the aspect of writing a log it is more pure ABAP-oriented so you might find a better audience in the ABAP programming forum.</i>
Best regards,
Guillaume -
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 customize a standard bsp application
hi folks,
i want to know what is the SAP recommended way of customizing a standard SAP BSP application. is it directly modifying the BSP application or is it creating a z application using report bsp_customize & then modifying it or is it anything else?
thanks in advance,
Sagar.if you explained what you are trying to achieve you may get a better response, this blog shows an example of how the bap app was changed.
/people/suchita.phulkar/blog/2010/09/07/inbound-and-outbound-plugs--what-are-they-and-how-to-make-use-of-them-for-navigations-and-data-transfer-between-views-of-different-components
There are other blogs for changing the layout, adding tables, adding fields, etc.... -
How to use WD data into BSP??
Hi All,
i have senario as,
in my BSP application i am calling WDA application passing url to iframe.
now i want to use the data from WDA application into the BSP...for eg. context data.
how can i use it into BSP application.
please let me know.
Regards,
ChandraHi Chandra,
You can't pass the information(Context Data) from WDA to BSP directly so you just store the information in some variables or internal tables use the normal user paramenters like EXPORT & IMPORT or SET and GET parameters. Thgoruhg this way only you can communicate the data between these 2 technologies otherwise you need to save the data in some ztable and use the same table in both technoloes.
I hope i make you clear.
Warm Regards,
Vijay -
How to set Password change through BSP Application
Hello All
Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
Question.
whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is That Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire. is it possble to set password change system through BSP Application in the WEB Templates
Please Help me how to set Change Password in the browser for the WAD Application.right now when the user calls the BW report url , he is prompted for authentication via pop up right?
to enable password change option in the log on screen use system logon for BEX service in sicf.
go to transaction SICF and navigate to sap/bw/bex
double click on node Bex.
in the resulting window, go to error pages tab and under that in log on errors tab choose "System log on radiobutton" save and now try calling a webtemplte.
Regards
Raja -
Enhance Standard BSP Application HRRCF_CAND_APPL
Hi,
I want to change Std BSP Application for E recruitment candidate.HRRCF_CAND_APPL
Should I want to Copy Std BSP , IF I copy how shouldi incorporate custom bsp in portal.
If I want to go for enhancment , then how should i do?
Thanks,
AshaHi Asha,
I can see that HRRCF_CAND_APPL is not one of the start page applications. So,you will have to copy this into a Z application & replace the reference to the the standard application with this Z application. This will be a pure development activity with changes to be done to the BSP code.
Regards,
Sowmya
Maybe you are looking for
-
Standard report to view Released SD credit locked orders or deliveries
Hi Experts, Is there any standard report to view the sales order or deliveries which are released due to credit control system for a particular period? Thaks in advance SR
-
Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8.
-
I have a filter set up where, it sends a torrent file to a certain foler with Pulp Fiction. I need an applescript that will open that added file(s) once it is added. Can someone help me out?
-
Smart form printing issue with LOCL and SAP printer
Hi, The issues are as follows: 1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL) 2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when u
-
PS7.0 Has suddenly stopped working - APPCRASH
Can someone please help - this is driving me nuts! I have had PS7.0 installed on my PC for years with no issues - then suddenly today it wouldn't open - Partly loads and then says "Adobe Photoshop has Stopped working" and shows the following error: A