Step by Step Debugging in BSP page
Hi,
Can any one tell me How to do the Step by step debugging? In ABAP application we are doing through /h command.Like this any command is there in BSP page for debugging? And where actually we need to place the break point means in Controller or in View?
Thanks in advance,
Regards,
Anu.
HI
GOOD
GO THROUGH THESE LINKS
http://www.sappro.com/downloads/technical_guides/WebAppDevTOC.pdf
http://www.sap.com/solutions/netweaver/pdf/50052038.pdf
THANKS
MRUTYUN
Similar Messages
-
Hi,
We are upgrading from ECC 5.0 to 6.0.
The test environment is upgraded and after upgrade i am unable to do HTTP debugging for BSP pages.
is there any configuration settings that i have to change ?
Kindly Help
Regards
Bharath Mohan BFor ECC:
Before settings the break-point, you need to Active External break-point for HTTP. YOu can find this option in
SE80, in
Utilites--> External break-point-->Activate/Deactive for HTTP users
then it will ask you the user name, mention your user name. This will activate your HTTP break-point.
Then "Set External break-point (CtrlShiftF12).
This will solve your problem...
<i>*Reward each useful answer</i>
Raja T -
How to create empty BSP page and execute it
Hi,
Please give me the steps for creating an empty bsp page and executing it using transaction SE80.
I have created a package and a BSP application.
I need to get a url for this page that points to a document/image. I need help with this urgently and would appreciate a quick response.
Regards,
MeenakshiHi,
Please have a look at
http://help.sap.com/saphelp_nw04/helpdata/en/46/bb181aab4811d4968100a0c94260a5/content.htm
regards
Mark -
Hi,
Can anyone tell me how to debug a BSP page?place an external (http) break point and run the application.
more on this.
https://wiki.sdn.sap.com/wiki/display/BSP/Debugging+Problems
Raja -
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 -
hi,
could any one send me the step by step procedure to create web enabled report through BSP Applications. or pls send any related links.
thnx in advance,
santosh.Hi
To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
The following tutorials are available:
· First Tutorial: First Steps with Business Server Pages
· Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
· Third tutorial: Our First Online Bookshop
· Fourth tutorial: Further Developing the Bookshop
· A small Tutorial is also available for your first steps with the Model View Controller design pattern.
· For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
When creating BSP applications, note the browser dependencies described in Note 598860.
steps:
1) start the transaction RZ10.
2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
3) u will also find three options in the same window.
Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
4) Now click on change button.
5) here u will find parameter icm/host_name_full, so now set it as FQDN.
6) Now copy ur settings with new version number.
7) Activate that version.
8) And now please restart ur WAS.
So this will set ur FQDN, and also don't forget to login using Admin User.
Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
/default_host/sap/bc/bsp/sap
/default_host/sap/bc/bsp/sap/system
/default_host/sap/bc/bsp/sap/public/bc
/def ault_host/sap/public/bc
/default_host/sap/public/bc/ur
/default_host/sap/public/bsp/sap/public
/default_host/sap/public/bsp/sap/public/bc
/defaul t_host/sap/public/bsp/sap/system
/default_host/sap/public/bsp/sap/htmlb
if not then activate all.
check this link
Read this weblog...
/people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
it consists of screen shots also
Reward all helpfull answers
Regards
Pavan
Message was edited by:
Pavan praveen -
Can i have a sample BSP INTERACTIVE Reports with step by step.
Hi Friends,
Can i have a sample BSP INTERACTIVE Reports with step by step.
MoosaHello,
Please find the sample Code below.
FIRST PAGE
Layout Code.
<htmlb:label for="emp" text="Employee id" width="10"/>
<htmlb:inputField id="emp" value="<%= w_input1%>"/>
<p>
<htmlb:label for="Employee Details"/>
<htmlb:button id = 'get'
text = 'Display'
on Click = 'OnInput Processing' /> <p>
<h1>Employee Details</h1>
<htmlb:tableView id="Employee"
table="<%= ZTABLE%>" <- Give the table name
selectionMode = "lineEdit"
design="ALTERNATING">
ONINITILIZATION EVENT.
data:
fs_yhtable like line of TABLE.
select * from yhtable into table ZTABLE.
ONINPUT PROCESSING CODE:
* event handler for checking and processing user input and
* for defining navigation
class cl_htmlb_manager definition load.
case event_id.
when cl_htmlb_manager=>event_id.
data: event type ref to if_htmlb_data,
fs_yhtable like line of t_yh1205,
selrow type ref to cl_htmlb_tableview.
event = cl_htmlb_manager=>get_event_ex( request ).
selrow ?= cl_htmlb_manager=>get_data( request = request
name = 'tableView'
id = 'Employee' ).
data: tv_data type ref to cl_htmlb_event_tableview,
t_tab type int4_table.
* tv_data1 type ref to cl_htmlb_event_tableview.
tv_data = selrow->data.
t_tab = selrow->selectedrowindextable.
if event is not initial
and event->event_name = 'tableView'.
w_int = tv_data->rowselection.
navigation->set_parameter( 'Employee' ).
navigation->set_parameter( name = 'w_int'
value = w_int ).
navigation->set_parameter( name = 'table'
value = table ).
navigation->goto_page( 'second.htm' ).
endif.
endcase.
SECOND PAGE CODE:
LAYOUT CODE:-
<htmlb:content design="design2003">
<htmlb:page title = "Employee Details">
<htmlb:form>
<h1>Employee Details</h1>
<htmlb:tableView id="Employee"
table="<%= t_yh1205%>"
selectionMode = "lineEdit"
design="ALTERNATING">
</htmlb:tableView>
</htmlb:form>
</htmlb:page>
</htmlb:content>
Hope this is helpful.Let me know if you need any more help.
Thanks
kalyan -
Hi give me step by step about BSP please no links i have all
Hi give me step by step about BSP please no links i have all
Thank you,
Jagrut BharatKumar ShuklaHi
Example 1: A simple Hello World example
1. Go to SE80 or TOOLS->ABAP Workbench->Overview->Object Navigator.
2. Then go to BSP Application in Repository Browser
3. Give a name starting with Z and the click on display.
Click yes and then again a window will appear which asks for description of that BSP Application as shown below:
And then press Save button and give a package Name (give $TMP for local objects).
4. Now Right-Click on your BSP Application and create a Page
Give Page Name and description and page type as Page with Flow Logic. And then press Save Button.
Here in the LAYOUT portion some default code is written.
Delete this code and write your own code as shown below:
There is some default code written in the Layout section. Well replace this code by our own. In this first page we will use HTMLB to create the layout of the page. The extension that we use has to be specified. Well add the title and heading. Then well add the input field for the user to enter his/her name and a button which the user presses to go to the next page.
The code written is
<%@page language="abap"%>
<%@extension name="Htmlb" prefix="htmlb" %>
<htmlb:content design="design2002">
<htmlb:page title="first page to take in user's name" >
<htmlb:group id = "group1"
design = "sapcolor
bodyColor = "#44AACC"
tooltip ="Tooltip for group1">
<htmlb:groupBody>
<htmlb:form>
<br><br>
<font color = "#0000EE">
<h2 align="center">Enter your name</h2>
</font>
<br><br><br><br>
<center>
<htmlb:gridLayout cellSpacing = "0"
cellPadding = "0
width = "50%"
height = "20%"
columnSize = "2"
rowSize = "2"
>
<htmlb:gridLayoutCell columnIndex = "1"
rowIndex = "1"
horizontalAlignment = "CENTER"
>
<font color = "#0000EE">
<htmlb:label id = "l_name"
text = "User name"
for = "user_name"
design = "EMPHASIZED"></htmlb:label>
</font>
</htmlb:gridLayoutCell>
<htmlb:gridLayoutCell columnIndex = "2"
rowIndex = "1"
horizontalAlignment = "CENTER"
>
<htmlb:inputField id ="user_name"
value = "<%= user_name %>"
/>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>
<br><br><br>
<htmlb:gridLayout cellSpacing = "0"
cellPadding = "0"
width = "50%"
height = "20%"
columnSize = "1"
rowSize = "2"
>
<htmlb:gridLayoutCell columnIndex = "1"
rowIndex = "1"
horizontalAlignment = "CENTER"
>
<htmlb:button id = "b_next"
text = "NEXT"
onClick = "onInputProcessing(b_next)"></htmlb:button>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br>
</center>
</htmlb:form>
</htmlb:groupBody>
</htmlb:group>
</htmlb:page>
</htmlb:content>
Now activate both the application and Page by pressing on the ACTIVATE button.
6. To call your BSP application press F8 or click test Button from
Your BSP Application, a window asking for user-name and password will appear :
Give SAP user-name and password and the press OK.
Example2: Displaying Database tables
For displaying tables from your BSP Application follow points 1 to 5.
In order to display a database table, you need to create an internal Table, select entries from database table to this internal table and then finally display the internal table.
1. Create an internal table by clicking Page Attributes TAB and
Then declare your internal table as shown below:
2. Now for selecting entries from database table, Go to
Event Handler TAB then go to OnInitialization event and write
the code for selecting entries from database table into the
internal table
3. Finally write the code in layout for displaying the table
Activate both the application and the page and then run the application as explained above
Thanks & regards
Ravish Garg
+
*If you find it useful, plz reward points+ -
Help me on BSP step by step please
help me on BSP step by step please
thank you,
Regards,
Jagrut BharatKumar ShuklaHi
To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
The following tutorials are available:
· First Tutorial: First Steps with Business Server Pages
· Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
· Third tutorial: Our First Online Bookshop
· Fourth tutorial: Further Developing the Bookshop
· A small Tutorial is also available for your first steps with the Model View Controller design pattern.
· For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
When creating BSP applications, note the browser dependencies described in Note 598860.
steps:
1) start the transaction RZ10.
2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
3) u will also find three options in the same window.
Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
4) Now click on change button.
5) here u will find parameter icm/host_name_full, so now set it as FQDN.
6) Now copy ur settings with new version number.
7) Activate that version.
8) And now please restart ur WAS.
So this will set ur FQDN, and also don't forget to login using Admin User.
Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
/default_host/sap/bc/bsp/sap
/default_host/sap/bc/bsp/sap/system
/default_host/sap/bc/bsp/sap/public/bc
/def ault_host/sap/public/bc
/default_host/sap/public/bc/ur
/default_host/sap/public/bsp/sap/public
/default_host/sap/public/bsp/sap/public/bc
/defaul t_host/sap/public/bsp/sap/system
/default_host/sap/public/bsp/sap/htmlb
if not then activate all.
check this link
Read this weblog...
/people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
it consists of screen shots also
Check it.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
Reward points if useful
Regards
Ashu -
Is it possible to debug step by step for share point designer workflow in share point 2010
Hi all,<o:p></o:p>
I have created a reminder date work flow but it is not working .In this work flow it need to be check first its status if its status is suspend then only workflow can run .I am
attaching below workflow logic check if any modifications needed please suggest me . And I have doubt is it possible to check step by step debugging like in coding we are using break point in this way any break point is available for designer workflows
? If break point is available please guide me how to get and use those<o:p></o:p>
Thanking you,<o:p></o:p>
ArunDarly
<o:p>Workflow logic given below</o:p>You can't step through a SharePoint Designer Workflow. The normal workaround is to Log messages to the History list with the values you want to look at where you would normally put breakpoints. Then run the workflow and examine the history
list to see how the values changed as you went through your workflow.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
I want to debug a bsp application (Z app), i am logged in remote desktop, ecc 6.0, internet explorer: 7
i have tried to test page directly from se80 and also from URL.
I have tried setting external break-point, activating debugging for user...............but no success to reach debugger and program does not stop at any of the break-point.
any guess on how do i get to debugger??Hi Ankit,
Try HTTP debugging. Details to activate this are here - http://help.sap.com/SAPHELP_CRM70/helpdata/EN/17/00ab3b72d5df3be10000000a11402f/content.htm .
Hope this helps.
Bhavana. -
My first time backing up my iPhone 4. I cannot find the iTunes page on my computer that shows File>Device>Backup. I need step-by-step instructions, please!
Hey Jilleemay,
Thanks for the question. You may need to enable the iTunes menus for Windows:
iTunes: Turning on iTunes menus in Windows 8 and 7
http://support.apple.com/kb/HT5610
To do so, press Control-B on your keyboard. You should then see the menubar at the top of iTunes (see image below). You can then access the File menu and backup your device.
Thanks,
Matt M. -
Debug im smartform step by step
how i can debug step by step like in sapscript.
i tried to make break-point in the smartf,and use smartform_trace and not for this i maean (sftrace dont work i dont know).
i need step by step how????Hi Rani,
Checkout This Thread..,
How to Debug a Smartform
For more info on smart forms:
Re: smartform step by step material required
hope it helps..,
Regards,
Vinoth -
BSP Sample - Step-by-step.
Hi Friends,
Could any of you help me to understand abt BSP applications.
I need to create an Sample BSP application with tw input fields.. using model view controller...
i got so many documents in sdn search. but i couldnt able to get clear idea abt where to start and how to start.
if anybody have simlpe step by step example of creating BSP please send it tome ASAP.
Its bit urgent.
Thanks in Advance.
Jeyaseelan,GHI,
If you need specifically using MVC, then try this : <a href="http://help.sap.com/saphelp_nw04/helpdata/en/1d/20693c4b1c6646e10000000a11402f/content.htm">MVC Tutorial</a>
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna. -
Is there a possibility to change step-parameters during debug execution ?
Would be helpfull to be able to change step-parameters during step-by-step dubugging execution.
Has someone got an idea ?Hi bestware,
I am assuming you want to provide some sort of debug from your Operator Interface.
I've been looking at using the SequenceFilePreStep and SequenceFilePostStep to provide some sort of debug.
Using the SequenceFilePreStep callback you could place some code in here to evaluate the step running (about to be executed) and display an appropiate Dialog box to allow the user to change any of the available parameter.
My simple example tests if the step is a NumericLimitTest step type and if so, allows the user to change the Upper Limits only (said it was simple).
Now to Looking at the Locals and Parameters in the Sequence of the Step about to be performed. You will have to look at RunState.Caller.Locals and RunState.Caller.Parameters. Get a list
of the variables, find out the type and provide the suitable interface to be able to modify the contents.
Look at here http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000FF750000&HTHREAD=000030207&UCATEGORY_0=_8_&UCATEGORY_S=0 and see what Dan has been doing in this area.
Hope this is a start.
Regards
Ray Farmer
Regards
Ray Farmer
Attachments:
Debug_Example.zip 6 KB
Maybe you are looking for
-
Getting error while hitting weblogic server from EBS client instance
Hi, We are trying to hit weblogic server from EBS client instance. Steps Done from our side :- 1. Created a self signed key store and certificate (.cer file) with server host name and used it for SSL enabling on weblogic server. 2. Created a self sig
-
Can I Use an Old External Hard Drive to Back Up my MacBook Pro?
I am currently using a 2010 MacBook Pro with Snow Leopard (Mac OS X 10.6.8) and I am thinking of upgrading to Mountain Lion when it comes out. So that means I should really back up my Mac. I have never backed up my Mac before nor have I ever backed u
-
Domain Users are not able to log in to Domain Computers - Administrators are able to do so
I have Primary Domain Controller and Secondary one, The users can log in to both as I have changed the locally Policy to allow Domain users to log in. But I am having problem with users who can not log in to computers joined the domain. I noticed th
-
Hello all, I got two errors at the upgrade: declare ERROR at line 1: ORA-00600: internal error code, arguments: [kokegPinLob1], [], [], [], [], [], ORA-06512: at line 548 declare ERROR at line 1: ORA-00600: internal error code, arguments: [kokegPinLo
-
Cannot enable wget in pacman.conf(solved)
Pacman does not recognize wget in /etc/pacman.conf.... [root@n6re ~]# pacman -Scc error: config file /etc/pacman.conf, line 19: directive 'xferCommand' noted. [root@n6re ~]# Attempting to eliminate pacman's filling of my /root partition during full s