How to do debug in BSP App....

Hi All,
       I know lot of threads ask the same query. but still i am not able to do it. so kindly tell me how to debug the BSP Application.
        say for example i am using oninitialization event , in this event i am going to fetch some values from DB , now i want to see the flow(data moving) in debug mode. for this example how do i use break-point in my BSP Application.
       I am using Web AS 6.20.
Thanks In Advance,
Regards,
kumar.

Hi Brain,
   thank you . now i don't get 404 error in BSP application using HTTP Mode.
  Brain i have given my coding here.
<b>Event Handler</b>
<b>onCreate Event</b>
data wa like line of sflight.
<b>* here i have specified external break-point using STOP (Red Color) button in application tool bar and enabled the active check box in setting->abap editor->debug too.</b>
select * from sflight into CORRESPONDING fields of wa.
append wa to sflight.
endselect.
<b>Layout</b>
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2003">
  <htmlb:page title = "exam ">
    <htmlb:form>
      <htmlb:tableView   id   = "id1"
              table           = "<%=sflight%>" > />
   </htmlb:tableView>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
<b>Page Attributes</b>
sflight type sflighttab.
Note :
<b> i enabled my service as active mode in SICF T.Code. as well as i have checked active debugging in application tools on SICF T.code too.</b>
but still i am not able to do it.
can you tell me where i made a mistake or i lift out.
Thank you,
Regards,
Saravanan.

Similar Messages

  • E-Recruiting - How to replace a standard BSP app by a custom

    Hi sap gurus,
    In the candidate' profile, we would like to exclude some qualification objects shown in the competencies tabs. 
    We have copied the bsp application HRRCF_PROFILE to zHRRCF_PROFILE, and made the changes there, but now I wonder how to replace the standard profile application by mine ? Is there any configuration, to change the candidate profile's link ? Or do I have to make a repair somewhere to change it ?
    Thank you for all your help
    Regards
    Hadrien

    Hi,
    if you really want to exclude certain qualifications of HR core so they are not available in e-recruiting profile maintanence (and requisition maintanence) there is a customizing in IMG to define a view on the qualification catalogue. There you can specify which QK and Q objects shall be available in e-recruiting. In this case no development would be necessary.
    If you just want to hide some fields / attributes this should be able to do this by customizing the screens. Depending if you use WebDynpro or BSP this is done via WebDynpro configuration or via IMG for bsp. Again no development
    If there is really a need for developing a new tab for the profile, copy the application, throw out everything except the minimum stuff for a qualification tab and build it the way you like. Define a new container sequence item, define a context and set up the container sequence for the profile using your customer container sequence item instead of the standard one.
    You never change the SAP entries of T77RCF_LOG_APPL you would only add customer own applications if you add customer applications to startpages. Defining own screen modification posibilities is usually not necessary. If you do not need the field in your customer screen just delete it, why customize sth you develop anyway?
    Best Regards
    Roman Weise

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • How can I do to debug an webstart app?

    Hallo,
    Can someone help me how to debug a webstart app? I need something like System.out.println() of the standalone app's.
    Thanks..

    If you turn on the Java Console and/or JavaWS tracing then you will be able to see any messages sent to System.out.println.
    How to turn these on depends on the version of Java you are using. To figure it out, go to the J2SE docs link for your version of Java at java.sun.com. Once you get there, search the page for deploy, and those links should get you what you need.
    Mike.

  • How Do You Debug Oracle Report Calls From Forms On The App Server?

    I am working on a system which uses oracle forms and reports 10g.
    In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
    To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
    I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
    I am looking for step by step instructions as answer to this issue.
    Please be specific. Please write in good English.

    Good afternoon,
    If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
    Developer Suite Home =>
    Reports Developer =>
    Oracle Application Server Report Services =>
    Reports Queue Manager
    Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
    Good luck,
    Don.

  • How to enable the (Mountain Lion) App Store Debug Menu

    The Mac App Store Debug Menu:
    Quit App Store [ App Store ] File… Quit or [ ⌘Q ]
    Open Terminal
    defaults write com.apple.appstore ShowDebugMenu -bool true
    Relaunch App Store

    I'm not sure what you mean? I had problems with App Store, I found this info, I posted it in Discussions so it would be easier for others to find. What's up with ''one up splurben"?
    Would you prefer I posted this outside Discussions? :-S

  • How to login CRM 2007 BSP page use account domain of Microsoft AD

    Dear friends,
    I am finding solution to setup system with the requisite:
    - Login to CRM 2007 Business Server Page use account domain which is managed by Microsoft Acitve Directory.
    - Users use only web browser, they didn't use SAPGUI and they must type username, password ( their username,password are managed in Microsoft AD, not in SAP system) in every login to BSP page, don't use solution like X.509 client certificate.
    I used to configured using SNC and I could login to SAP System using SAPGUI without type SAP username and password when I log in my computer by account domain( my computer is joined in domain).
    But my requisite is have to use account domain( username and password)  and type them in web browser when I want to log in SAP system, could not configured to go to directly SAP application ( BSP page ) without type username/password of account domain.
    After time looking for solution about authentication :
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/8039306e-cea4-2a10-15b9-8e96d40c51ef [original link is broken]
    I think may be I could login to java portal by used username/password of account domain to authenticate after login  to portal I use SSO to switch to BSP page without type username password again. This solution may be accepted because I was login to SAP application from web browser and used account domain.
    Could you show me, there are anymore solution or how could I do to to set up my above solution.
    Thanks and Best Regards.

    The normal way to do this is to configure the authentication stack required on a JAVA stack (e.g. portal or standalone Java instance of NetWeaver or dual stack) and then configure the BSP app in SICF transaction to redirect to Java stack when no SSO2 ticket is sent by browser (e.g. user has already authenticated). The redirect to Java stack will be done, such that after user has authenticated to Java stack they will be issued with an SSO2 ticket and redirected back to the BSP app URL. From end users perspective, they will access the BSP app URL and get authenticated using Active Directory, and they won't know about the redirection since they will be logged into the BSP app once they have authenticated.
    The authentication using Active Directory can be done using two methods:
    - Using credentials already on workstation from workstation logon, e.g. using Integrated Windows Authentication
    - Showing user a form where they enter AD account and password.
    Thanks,
    Tim

  • How do you debug on the ITS?

    Hi,
    How do you debug an ITS application? I am trying to debug a web app, and I know the error is in the ABAP code. I would like to set a breakpoint in my ABAP code, so that when a certain action occurs from the client (web) side, I will jump to the ABAP breakpoint, that way I can step through the ABAP code. Any help would be appreciated.
    Thanks in advance.

    Peter,
    We can achieve this thru ABAP Debugger itself not thru HTTP debugger .
    For example , the ITS Trans you r trying to Debug is PZ13,
    u hva to carry the foll steps ,
    1. Go to SM30 - > T77WWW_SC - > find which function module it points to .. -> Put brk pts ->
    SE93 -> type the transaction - > in the command box give ,
    /h (Turn on Debugger).Run.
    Hope it Helps .
    Regards,
    J

  • Trouble changing a class attribute in a STATEFULL bsp app - PLEASE HELP!!!!

    hello, i have some trouble changing the value of a class attribute, in certain point of the execution of a statefull bsp app. The scenario is: the bsp app is on a url iview in a portal; i have some link in the portal, that do a window.open (pop up) of that app. the question is: how can i change the class attribute of the bsp app when i close that pop up?, if when i first click the link that show me the pop up, its doesn't create another instance of the class...i mean it continuing working with the same instance of the url iview in the portal. ANY help it will well received. Thanx in advance

    hello Durairaj...yes indeed in the other thread thats the issue with the portal_version attribute, the person who create the iview dont want to change it...so i try to solve it with something else....thats bring me to another problem (posted in this thread). Now i have a question...in the url iview it calls a template that start the bsp app...i mean is not the url iview who calls the bsp app is a middle template...with this scenario can i pass the parameter sap-sessioncmd=open to the url iview or i have to pass it to the bsp app directly when in the middle template i call it??? another question when i pass that parameter via url, it create another instances (apart) of the class or restart the same instance that the app work with until that moment....tell me more about that parameter coz' i am new in bsp and i need help....i will give a lots of rewards point who help me!!! i promise....i am kind of desperade for sure....  thanx in advance

  • How to insert debug messages in a report

    All,
    I am facing a problem with one report in apps environment.
    When I run the sql in toad or when I run the report from reports
    builder I am getting data. But, when I run the same report using
    concurrent program I am not getting any data for the same inputs.
    I am not sure what is wrong. I want to put some debug messages.
    Can you please tell me how to put debug messages in reports?
    Thanks.

    973508 wrote:
    All,
    I am facing a problem with one report in apps environment.
    When I run the sql in toad or when I run the report from reports
    builder I am getting data. But, when I run the same report using
    concurrent program I am not getting any data for the same inputs.
    I am not sure what is wrong. I want to put some debug messages.
    Can you please tell me how to put debug messages in reports?
    Thanks.Please post the details of the application release, database version and OS.
    What is the type of the report?
    Please see the following docs to enable debug/trace.
    How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    Thanks,
    Hussein

  • How do you debug the individual Flex components?

    How do you debug the individual Flex components?

    Personally, I think your alternative is the easier solution.  Basically have your main app output some kind of "heartbeat" signal like a constantly updating timestamp.  It could be outputed to a simple txt file, or you could just output it to a front panel indicator, and then have your "watchdog" app check the value using VI Server. 
    I don't know how to check CPU usage, but I am guessing you could use some .NET calls to this namespace:
    http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx

  • Debugging in BSP

    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

  • How to do debugging in WebLogic from JDeveloper

    Hi All,
    We in our project are just starting to use JDeveloper instead of Visual Cafe with Weblogic as App. Server. However i am facing this problem while debugging an EJB deployed from JDeveloper 9i to Weblogic 6.1.
    On Clicking Debug|Debug <Project-name> brings up a dialog. After leaving the address field blank(Weblogic running on localhost, and as per your documentation, localhost is default) and port as 5000 (transport_dt_socket set as 5000), the following message comes:
    Debugger attempting to connect to remote process at LocalHost 5000.And it doesn't do anything more.
    Awaiting for your reply on this.
    regards,
    Hiamnshu

    Hi,
    The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
    If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
    1. You need to replace WebLogic's JSP engine with OJSP and you need to
    setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
    xmlparserv2.jar
    ojc.jar
    jdev-rt.jar
    ojsp.jar
    ojsputil.jar
    B. Add these jar files to the VM's classpath
    C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
    D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
    debu[i]Long postings are being truncated to ~1 kB at this time.

  • BSP App URL

    I have one bsp application. the app consists of one initial page(entry point) and any other pages.
    I wanna know the initial page's url as like 'http://xxx.xxx.xxxx:50000/sap/bc/bsp/sap/zhr_hap_018/index.htm' to call it from abap report program.
    I can't code the fixed url on the report.
    as you know the url(domain and port etc) is diffrent where the bsp app runs on(DEV, QAS and PRD).
    how can i get the information(domain and port etc)?
    i think there are function modules or util classes...
    plz. help..

    use the following method to build the url
    DATA: url1 TYPE string .
         page TYPE string .
        DATA:  params TYPE tihttpnvp.
    page = '<targetpage>.htm' .
    cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application      = '<BSP application name>'
            bsp_start_page       = page
            bsp_start_parameters = params
          IMPORTING
            local_url            = url1.
    params can be filled with any parameter you want to pass to that page.
    Hope this helps.
    Regards
    Raja

  • Add EP-userid to BSP app as (URL) parameter

    Hi,
    I've created a default BSP-iView (via com.sap.portal.appintegrator.sap.BSP) and try to pass the EP-userid as an extra parameter, without any result so far. I've checked several SDN posts, but didn't help (or I didn't understand them).
    In the properties of the iView I've tried to edit the following:
    Application Parameters : user=<User.UserID>  or
    Parameters to Pass from Page Request (for URL isolation) : user=<User.UserID>
    I need to pass the EP-userid, because the BSP app. is called with one user (user mapping for a specific Group/Role for the backend system) and is not able to distinguish the logged on EP-user.
    Where did I go wrong?
    Any suggestions how to solve this issue?
    Best regards,
    Mark

    in the application parameter of the BSP iview pass
    userid=<User.LogonUid> or
    userid=<User.UserId>
    and in the BSP application have a page attribute called userid with auto check box checked.
    within BSP application now the variable userid will have portal logged on user id.
    also check this thread
    Disable Variable Screen issue
    Regards
    Raja

Maybe you are looking for