How to learn about debugging

debugging fundamental concepts

Hi,
1) /h can used for debugging transactions.
2).you can bebug by creating Breakpoints & watchpoints in your program.
if there is a error you can check the error in st22 transaction.
3) using breakpoints.
You can refer this link for more detail:
Re: Starting the debugger in a modal screen
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
http://www.sapdevelopment.co.uk/tips/debug/debughome.htm
http://www.sap-basis-abap.com/sapab002.htm
Regards

Similar Messages

  • How to  learn about ALV Grid?

    Hi Experts,
    I dont about ALV grid and how to implement it.So can anyone let me know how to implement the simple basic ALV grid with example?
    Please explain me with set by step procedure.
    Thanks a lot in Advance,
    Regards,
    Raghu

    hi,
    Process to create ALV with OOPs:
    Step 1:
    Create a container. There are 2 type of containers: docking and custom.
    Go to SE38.Create a program. Use Pattern button to create object for docking container. Click ABAP Object Pattern radio button. Click Create object radio button. Give Instance as o_docking and class as cl_gui_docking_contianer.
    Step 2:
    Create a grid inside the container.
    Use Pattern button to create the same. Make the parent of grid as container.
    Click ABAP Object Pattern radio button. Click Create object radio button. Give Instance as o_grid and class as cl_gui_alv_grid. Create object o_grid.
    Step 3:
    Call the function lvc_fieldcatalog_merge to get the field catalog.
    Pass the structure name.
    Step 4:
    Call the method of grid set_table_for_first_display to display the output.
    Click ABAP Object Pattern radio button. Click Call Method radio button. Give Instance as o_grid and Class/Interface as cl_gui_alv_grid and Method as set_table_for_first_display.
    w_variant-report = sy-repid.
    Call method o_grid->set_table_for_first_display
    Step 5:
    Fill the internal table itab with values by using logic.
    select * from mara into table itab up to 100 rows.
    call screen 9000.
    Create a screen by double clicking 9000 in the above line. Fill the description for the screen. In the flow logic, uncomment the PBO and PAI module and create those in main program (for simplicity).
    Step 6:
    Create GUI status. Create GUI Title if required. That can be done by using display object List (CtrlShiftF5).Then in left side, right click the program and create GUI Status and Title.
    Step 7:
    Free the memory occupied once the BACK, EXIT or CANCEL button is clicked. Use Pattern button to call the method FREE of cl_gui_alv_grid and cl_gui_docking_container.
    Click ABAP Object Pattern radio button. Click Call Method radio button. Give Instance as o_grid and Class/Interface as cl_gui_alv_grid and Method as Free.
    Similarly Click Call Method radio button. Give Instance as o_docking and Class/Interface as cl_gui_docking_container and Method as Free.
    Also follow these links.
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Hope this helps, Do reward.

  • How to learn about all the different PO documents types

    Hello,
    I'm looking for some documentation or white paper about all the PO document types, in order to understand in which business case they should be used.
    I've already made several search on Google and Metalink, not useful enough for the moment, so I'll keep on searching, but if anybody can provide me relevant information on this topic it would be great.
    Thanx,
    Xavier

    Yop you're right, the 115poug.pdf already give some informations (Purchase Orders -> Overview of Purchase Orders -> Purchase Order Types).
    I made the mistake yesterday to read the corresponding french document, it is far more complete in english :°P ...
    Nevertheless, if any body has other sources I am interested,
    Thanx,
    Xavier

  • How to learn about updating winforms app

    Currently I work with a large winforms application. What is the process like to convert winforms to something like a win 8 app or windows universal for win 10.  Is this a complete recoding or are there methods to converting?

    Hi TomScott77,
    >> What is the process like to convert winforms to something like a win 8 app or windows universal for win 10
    Did you mean that you want to convert winforms in win7 to winforms in win8 or win10? If so, I think you could change the “Platform” in the “Build” property to x86 or x64. As far as I know, running environment of  the program might not be referred
    to the system type.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to learn SBOi?

    Hi all,
        To understand/learn SBOi what is pre-requests? Do I need knowledge about Netweaver and R/3 DB structures?
        I have knowledge about SBO SDK and MS tools and developing Add-ons. What are others skill that I need to learn before starting SBOi?
       If I develop any testing stuff with SBO, how test that application? Do I need R/3?
    Expecting help from all you . Thanks in advance.
    With Regards
    B. Ravi Shankar

    Ravi,
    I you are asking about "how to learn about B1i", you will need have understanding with SAP Business One, R/3, the SAP Business One integration for SAP NetWeaver (B1i) and have a good knowledge of data integration in general.  With respect to SAP Business One, there are many ways to get information/knowledge on this by going to the SAP PartnerEdge Portal and clicking on the "Education" tab.  You can also read the SAP Business One online help documentation.  This type of learning couls also be done with R/3.  In both the SAP Business One and R/3 case, you would need to be an SAP Partner to get to the PartnerEdge Portal.  With respect to learning B1i, there are many whitepapers on SDN on the SAP Business One main page as well as more information on the PartnerEdge Portal.  You can also download the SAP Business One integration for SAP NetWeaver product and read through the accompanying documentation.
    HTH,
    Eddy

  • I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  Help!

    I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  I have deleted it from iTunes but cannot get it off the phone.  Help!

    The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.

  • With all of the big changes that have gone on with Lion, surely it would have made sense for Apple to have provided how the new commands work? What is the best way to learn about how things have changed?

    Apple has tended in my expereince to provide intuitive software that users can grow to use and admire. Why then does Lion go off at a tangent and become unintuitive and just plain hard work to work out? I run a business and this has caused a lot of time consuming effort particularly when working out how to save files (in certain programs). Like so many products (iPhone being one), there is no guide to the great things that can be done and I just don't have the time to go fishing around online looking for tips and tricks when I've got clients who need things quickly.
    Where is the best place to learn about Mac things? 

    Take a look here: http://www.apple.com/macosx/whats-new/

  • How to start learning about Oracle identity mgmt

    Hi All,
    I want to learn OID, Can any one suggest from where to start learning this topic and practising it.
    Thnaking You,
    Rakesh.

    It seems a good approach, although I think SSO can be learned independently (although it can use an LDAP dir to store credentials, it can be done without learning much about it).
    In all the IdM world, I think the basic start point is to learn about LDAP. And as OIM has not a ldap backend like other provisioning solutions, you will interact a lot with directories. This is the first step I always ask for people who starts working with me. SSL/TLS and certs should be studied later, gaining a complete understand of directories world.
    Every Directory differs only in their own admin console, but if you use pure LDAP, all dirs are the same. OID has its things, but with strong LDAP knowledgement, there will be no problem in understand it.
    OIM is the last stand, because it integrates everything. I suggest that first, you try to learn how to use it, as if you were an administrator (this can be done if you get some VM with oim preinstalled with at least 2 connectors working). Then, when you get all oim concepts (users, orgs, groups, access policies, process, etc), you can begin with implementing your own stuff, like making your own installation, deploying connectors, extending their functionality, etc.
    OIM has the power of being extended with java code, so after all of it, I recommend as the very final step, to get inside the java world and begun writing your own code, decompiling the connectors code so you can figure how oim works, etc etc

  • How or where I can connect photoelectric sensors on 7350 controller or Mid-7604. Also where can I learn about basic wiring connection of sensors Thanks

    How or where I can connect photoelectric sensors on 7350 controller or Mid-7604. Also where can I learn about basic wiring connection  of sensors Thanks

    Hello Hassan,
    Thank you for using National Instruments Discussion Forum.  It looks like this is a duplicate post.  If it isn't I apologize and please repost to clarify.  Otherwise please use THIS thread for the discussion.
    Regards,
    Mark T
    Applications Engineer
    National Instruments

  • Hello again, I'm still learning about my imac so here I go with latest question- I've installed word 2011 and would like to know how to email the document I have just written straight to a recipient but can't seem to find how to do this. Please advise

    Hello again, I'm still learning about my imac so here I go with latest question- I've installed word 2011 and would like to know how to email the document I have just written straight to a recipient but can't seem to find how to do this. Please advise in simple terms
    Also how do I save to a file.
    Thank you clever world!!

    To save you file click the disc icon in the tool bar or file save as:
    To email the Word document to someone compose a new message and click the paper clip to attach the Document.

  • How can I learn about SAP BW?

    Hello,
    I need to work with it and will have access to it soon, what is the best wey to go about learning about it?

    Hi
    You can learn through SAP Academy training centres. otherwise if you go through this SDN site, you will find more valuable information not only about this module, you  will get different experts expiriences and problem solving methods will gives you a great idea about this module.
    Kind Regards,
    Babu

  • How can I learn about Row Set Navigator

    I would like to learn about Row Set Navigator and all DataWebBeans classes. Where do I find these informations.

    jdeveloepr has online documentation for all of this
    also review the tutorials ... provided there .

  • Network storage drive...where can I learn about these?

    I have so many questions, and frankly, the answers I've seen looking (briefly, admittedly) around these threads scare me.  Gee, Wally, what ever happened to Apple as the computer you didn't have to know computer programming to use?
    Now, before you all get your panties in a bunch telling me that I'm responsible for knowing how to use my hardware, I know...and I do want to know.
    So what I want to know now is how can I learn about the various types of "shares", and what they mean for hooking up a network drive for backup, etc.
    I have a WD 1TB drive which I believe uses "SMB", whatever that is.  It's got two folders on it currently, "Public" which I can access, and "WD Backup", which I can't.  I also can't seem to use it as a Time Machine drive, which is what I want to do with it.  And, or course, I can't re-format it, which I'd love to do as my wife hates the folder designations on it, and would like to have one folder called "iMac Backup" on it.
    Answers which don't involve Terminal will get extra points, but I've dealt with Terminal before, so take your best shot.  And ask for clarification if you need it.  Thanks.

    Unfortunately, networking and file-sharing aren't quite so simple in part because there's decades of history and dozens of companies involved in getting it into the current state. If you want dead-simple, you can get an Apple Time Capsule or AirPort with an external drive and be done with it. However, if you really want the most from network storage, you'll probably want to read up...
    WD make a number of drive, some network-attached, some not. We'll assume that you have one of their basic consumer network-attached drives.
    "SMB" stands for "Server Message Block" protocol and it was the local area network file-sharing protocol developed for Windows for Workgroups circa 1992 (it was later renamed CIFS - Common Internet File System - by Microsoft in 1996 because of the rising popularity of the Internet, despite the difficulty in getting it to work in anything but a small local network). SMB/CIFS is still widely used today for Microsoft Windows networks, though much of the equipment that serves those files are built on Linux or FreeBSD and not Windows.
    Access to shares on an SMB server (such as your hard disk) is controlled through a configuration utility provided with the drive or via a web application built into the device (that you access through your browser). Consult your manual. Generally speaking, however, SMB servers offer different ways of identifying whether or not you can access a share: 1) based on the computer connecting (in which case, everyone is considered the same user), or 2) based on a username/password combo. Generally a server will only operate in one mode. Shared directories can also allow or deny "guest" access (access without a password). All of this should be configurable through the drive utility or web application which you access with your web browser. Generally, an SMB server can only operate in one mode.
    It sounds like the Public directory is configured to allow guest access, and I'm guessing that "WD Backup" is a share that's password-protected and intended to be used with Western-Digital's own software of the same name. You should be able to add and create new directories as necessary through the provided utility or the web interface.
    You are correct, you cannot use Time Machine with an SMB file-sharing service. Time Machine will require AFP (Apple Filing Protocol) or NFS (Network File System) support. Western-Digital only has 3 network drives that support AFP and Time Machine: My Book Live, MyBook World, and WD ShareSpace. OS X also has some basic requirements about the performance and capabilities of network storage in order to use it with Time Machine, so you really want to look for drives that state up front that you can use Time Machine with them (for example, WD World Edition: http://www.wdc.com/wdproducts/updates/docs/en/appletimemachine.pdf )
    I'm not sure why you can't reformat the drive. This is supported on all WD products (though, if you've moved a bunch of data to it already, perhaps it would be a hassle).
    You can do backups of your Mac over SMB, but it's complicated by the fact that SMB is quite old and isn't capable of storing information about the file permissions, ownership, etc. It will be reliable for data files, but not for applications, etc. There's a work-around, of course. You can create a disk image on the SMB share using Disk Utility (make sure you create an HFS+ image) and backup to that. If you go that route, I would suggest either Carbon Copy Cloner or SuperDuper to perform your backups. They are true backup tools, not versioning tools like Time Machine.

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How to learn to extract data and group it

    I recently met a guy who is looking to employ some folks. He got in touch with me in LinkedIn. I have done my research and I know he’s a real guy looking for people. I would like to get the job despite of the poor work conditions but I just feel the fear of failing or not being capable to do the job.
    I know I have to try and it will be great if some of you could give some advice on how to do the job or how can I self-learn this. I'm ready to read books and follow instructions. Last year, I did a DBA internship so, I’m familiar with PL/SQL but I didn’t cover information on how to programme or gather data.
    Here’s bit of the job information: "The work is to programme in PL/SQL to extract data and group it. You will learn how to make indexes and work with massive data. You will learn about programming performance in PL-SQL to extract data".
    I have translated the job info from Spanish to English so, I hope you can get what I’m actually looking for. For the ones that can speak Spanish, this is what the guy wrote: "El trabajo es programar en PL/SQL para extraer datos y centralizarlos. Va a aprender a realizar índices y trabajar con datos masivos. Va a aprender mucho sobre performance de programación en PL-SQL para extraer datos".
    Thanks! Gracias!
    Edited by: 2learnOracle on 25-Jan-2013 16:12

    Hi chaituatp,
    For this requirement, I would suggest you to get familiar with how to create VSTO applications, and how SharePoint object model works. Here are some sample code about this:
    How to: Retrieve List Items using JavaScript:
    http://msdn.microsoft.com/en-us/library/hh185007(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    VSTO application show data in datagridview:
    http://stackoverflow.com/questions/16926275/simple-example-of-vsto-excel-using-a-worksheet-as-a-datasource
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

Maybe you are looking for

  • External content type with web service - new read item operation disable

    Hi, i'm tring to create an external content type based on web service. I add for test the web service: http://www.webservicex.net/globalweather.asmx?WSDL when i try to set get reat item operation- it's disabled. what should i do in order to create th

  • Image details lost when save as TIF

    How do you keep all the image details of an image file when you save it as a TIF? I lose half of mine.

  • How to hide user id and password in batch scripts

    Hi, Can some one help me to hide the user id and password in batch scripts that used to automate Export and Action script execution process. Context : In my project client doesn't want display user id and password hence they are looking for secured w

  • Affine transformation with vector data

    I want to use the SDO_UTIL.AFFINETRANSFORMS method to transform vector data in a sql statement. The example in the Spatial Developer's Guide is working so far. But if I change the SCALING parameter to TRUE I got a exception: Fehler beim Start in Zeil

  • Unusual RMAN RESTORE behavior 11.1 standard edition.

    Doing an 11.1 standard edition restore of a database from source A to Source B (2 different windows servers). Backup is an old backup and RMAN just seats there and nothing comes back with errors. I don't believe its doing anything. Alert log shows a