How can I debug a Tr. Code which is running in background

I want to debug a Sapscript. Tr. code is 'F110'. In this tr code, two sapscript is running for cheque printing. This Tr Code is running in backgruond mode. I want to debug the Sapscript. How can I do that?
Regards,
Subhasish

hi,
For a batch job or long running program (SM50):
Select the program to be debugged
Menu: Program/Session -> Program -> Debugging
In the job overview(SM37) you can debug each job with the ok-code JDBG.
Warning : This is like a restart of the job.
-> All possible updates will be executed !
Refer to this link...
how to debug in program in background
Edited by: avinash kodarapu on Dec 22, 2008 4:10 PM

Similar Messages

  • How can I install Lion onto VirtualBox, which is running on Yosemite?

    Hi,
    I've recently gotten a new mac, with Yosemite pre-installed. I really like Yosemite and don't wish to change, but I'd like to still be able to run my Logic express software, which only runs on Lion or older. If there's an easier way to do this I'd love to hear about it, but the easiest solution I could think of, was to run an older version of Mac on virtualbox. Is this possible and if so, is there a decent link to some instructions?
    Thanks in advance,
    Ryan

    Can you use Snow Leopard in VB? If so, how do you go about this? Do you simply download a OS X dmg and run on VB?
    I would upgrade but I'm a poor student Maybe in a couple of months when I graduate.
    Thanks

  • How can I debug the Call Library Function at run-time

    I've written a VI using the CLF to call a DLL which was compiled off-site by another engineer using MSVC. Even though the VI runs without flagging any errors, the VI is not doing what I expect. Is there any way of finding out if the DLL is been called correctly? The first function that is called doesn't return any value, but I think that it should. Does this mean that the DLL is not being called correctly? Note also that the DLL works fine with a JAVA GUI.

    Make sure that you are specifying the proper function prototype in the call library function. If you are slightly off the call will not work properly. Ask the offsite engineer to provide you with this data. Another tip is to build the dll with the option to show front panel when called. You can actually popup the dll like you would a subvi. If you design it with test indicators showing on the front panel that is a great way to determine if it is working. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

  • How can I debug a routine created in Deletion of similar requests?

    Hello Experts,
    I need some help from you. I need to delete overlapping requests and the common
    settings you can set are not suitable, so I decided to write my own ABAP routine.
    But how can I debug a routine, which is implemented in the deletion of similar requests?
    Hope you can help me.
    Cheers
    Daniel Weilbacher

    Please go to the routine code..
    In the menu options..u will find an option for breakpoint--set..
    The line where breakpoint is set will get highlighted and u will also see a STOP symbol..
    then come out of routine..and then run the data load..
    this ABAP routine for overlapping request deletion runs before the scheduled data load..
    the run shud stop at the set breakpoint and show the routine code..in debugger mode..
    cheers,
    Vishvesh

  • How can i debug my abap program?

    hi. how can i debug my program?

    Hi,
    There are many ways to start debugger
    •     By clicking the Execute button and selecting the debugging mode.
    •     From the ABAP/4 editor, by executing a program choosing Program  Execute  Debugging from the menu.
    •     Setting breakpoint in the program
    Components of ABAP/4 debugger
    The debugger shows the program information using six different views.
    •     Fields: Displays the field contents.
    •     Table: Allows modifying the contents of internal table.
    •     Breakpoints: Displays list of Breakpoint in the Program.
    •     Watchpoints: Allows dealing with Watchpoints.
    •     Calls: System call status like Event, Form etc.,
    •     Overview: Presents the program structure, events, subroutines, and modules.
    •     Settings:  Displays the calling sequence within a particular event, up to the current breakpoint.
    All these options are shown in the following screen.
    Arrow indicates the breakpoint of the program i.e., where user has stopped the program.
    Breakpoints
    A breakpoint is the signal, which is specified in the program, tells the system to stop the program execution and to start the debugger.  Following types of breakpoint are available with ABAP/4:
    •     Static are set up with the BREAKPOINT keyword inside the program, which you can directly display with the ABAP/4 source code editor.  To set the breakpoint in the program enters the keyboard BREAKPOINT.
    •     Dynamic this breakpoint is not visible in the code.  Position the cursor over the source code line to have the breakpoint and then select utilities -  breakpoint -  set.  You can delete them or display them from breakpoint list.  Or you can execute the program in the ABAP/4 debugger i.e., in debugging mode.
    •     Watchpoints are field specific.  The program is stopped when the field reaches the value specified in the watchpoint.  Execute the program in debugging mode.  Position the cursor over the needed field.  Press the F button to get the view of field.  Select the checkbox for the needed watchpoint.  Click on the continue button.
    •     Keywords/events The program stops just before executing a specific event or keyword.  To set breakpoint at particular event, from initial screen of debugger, select Breakpoint  Breakpoint at  at event/at keyword.  Enter the name of the keyword or event.  Click on OK.
    Navigating through the breakpoint
    Following buttons are used to navigate through the program and debugger.
    •     Single step:  Executes a single program command.
    •     Execute:  Similar to the single step, but when a program calls a subroutine, it executes the whole subroutine unlike single step.
    •     Continue: Executes the program until it is finished or until it finds next breakpoint.
    •     Return:  Allows for executing the program instruction up to the end of a routine and stops in the line of code where the subroutine gives back control to the main program.
    •     Tables:  Switches the debugger to the table view.
    Displaying and modifying values
    Every time the program is stopped within a debugger, you can display and modify the contents of table field and fields.
    To display the fields, click on V and you can view the contents of system field, program field, ABAP/4 dictionary fields, and external program fields.
    Displaying and modifying internal tables
    When you click on the Table button from the initial ABAP/4 debugger screen, the system will display the table debugger view.  Here you need to enter the name of the internal table to be displayed.  You can modify or delete or add i.e., insert the internal table Contents.  These changes are applicable only for the debugging and do not affect the structure of internal table in the program.
    Reward.

  • How can we change the purchasing group which it is maintained in R/3?

    Hello All.
    In case of MM, purchasing group is assigned to material master.
    It means purchasing group is maintained based on material code.
    But SRM has different maintenance level.
    As you know that purchasing group has the responsibility based on material group (Product category).
    So we should change the purchasing group from R/3, when end user create shopping cart.
    How can we change the purchasing group which it is maintained in material master?
    Thank you,
    Best regards,
    SH.

    Hello So Hee,
    I am not a technical guy.
    But for your requirement i am building a logic.
    I am not sure whether it will work.
    You need to check with your ABAPER.
    It is as below:
    When the SC is approved and the other configuration is correct ,
    PR is created in ECC by the virtue of BAPI.
    You want that the pur grp should be populated on the base of matl code and not on matl grp.
    Hence in SC you will not fill up pur grp.
    In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
    This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
    Now in the BAPI you need to incorporate this additional value of yr pur grp field.
    So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
    Again: this is all hypothesis.
    That's all I can help you.
    BR
    Dinesh
    <b>Reward if helps</b>

  • How can i use the project code instead of project xml?

    hello
    i use the sessionbean+toplink structure,after i finish the o-r mapping by using the mapping work bench,i generate the project xml file,then in the "session.xml" file,i refer to the project xml,then i can use it from sessionbean.
    i hear that if i use the project code instead of project xml file,it will be more performant,is that true?
    otherwise,how can i use the project code instead of project xml file?i mean, in "session.xml", i can use the "<project-xml>" tag to refer to the project xml file,then in my session bean,i get the server session by read the "session.xml" file.but if i use the project code,how can i refer it from the "session.xml"?the examples that come with the toplink installation only tell me how can i use the project xml file within the session bean,it don't give me any clue about using the project code in the sesion bean,who can give me a step-by-step instruction and code snippet?
    thank you very much?

    There is a slight performance gain during session load at startup but there is no difference at runtime. The choice of which to use is dependent upon you build process. Whether it is easier to submit a new version of the class into the comile build process vs an XML file. In most cases it is just a preference of the development team.
    When you use the project-class you'll need to generate the source code and compile it into your system. Typically it is packaged with the persistent classes. You may need to configure your environment so that the class-loaders have access to these classes (same for the XML case).
    When using the project-class you simply replace the project-xml entry like this:
    <project-class>oracle.toplink.demos.employee.relational.EmployeeProject</project-class>
    The DTD for the session.xml file is found at <TOPLINK_HOME>\core\sessions_4_5.dtd. It is also in the documentation at:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/toplink.903/b10064/a-sessio.htm#634246
    Doug Clarke
    Product Manager
    Oracle9iAS TopLink

  • How can we identify the coupon code that triggered the promotion discount in the order?

    Hi,
    As we can create the coupons and assign the promotions to them to give discounts.How can we identity the coupon code that is added the promotion which caused the discount in the order?
    Regards,
    Chede

    I'm giving you an example. Here is how you do it starting with order level promotions. OrderImpl object API below give you orderpirceinfo and second link gives adjustments.
    http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/order/OrderImpl.html#getPriceInfo()
    From OrderPriceInfo which extends AmountInfo, the following method gives adjustments
    http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/pricing/AmountInfo.html#getAdjustments()
    Now iterate through adjustments, to get pricingmodel(which is promotion) and coupon applied on order
    PricingAdjustment (ATG Java API)
    PricingAdjustment (ATG Java API)
    Hope this gives you an idea where to start with.
    -karthik

  • How can we Debug the workflow?

    Hi,
    How can we debug the workflow?
    Please help  me on debugging the workflow in step by step procedure?
    Early reply is highely appriciable.
    Regards,
    Chow.

    Hi,
    If you want to set breakpoints in method which is used in workflow task then it is possible
    till ECC5 am afraid about ECC6
    you can see the graphical view of workflow through transactions said by Kalpesh
    you can also use swwl (delete workflow) for viewing the container elements of the workflow.
    SWI2_ADM1:Workitem without agents
    SWI2_DIAG:Workflow with error
    these transactions are also helpful
    Thanks & Regards
    Hari Sankar M

  • How can I pass through error code 1009

    How can I pass through error code 1009

    See this support document. While I do not see an explanation for error code 1009, the closest ones describe 3rd party security software or a hardware fault. You decide which direction you want to head in. http://support.apple.com/kb/TS3694

  • How can I write a SQL statement which checks if a table exists?

    How can I write a SQL statement which tells me whether a table exists?

    execute an sql query: select * from <tablename>
    catch the exception n check whether the erroe code
    matches the one that occurs for table doesn't exist
    that's itHow is your answer any different from the one given in the first reply?
    It isn't.
    As WorkForFood says DatabaseMetaData has a bunch of methods for getting information about tables but this is more useful when you don't know the names of any of the tables.. it sounds like you do so I would concur SELECT from table is probably the quickest way to go. If it helps the Xopen error should be either S1000 or 42S01 (I think) but I would try and see if there is a specific vendor code for table not found/not exists error and check for that.

  • How can we debug the screen pop up?

    How can we debug the screen pop up?

    Hi,
    if you know where the popup is raised it is easy of course as you just have to uses F6 to keep the debug mode running.
    But there is a way to get the popup into debug mode similar to typing /h into the ok code field of a sandard dynpro. Therefore you have to do the following steps:
    1) click the "Create a Shortcut" button in the gui to get a shortcut on your desktop (the button next to new session)
    2) in the oped screen for shortcut setting choose:
         type -> system command
         command -> /h
         depending on gui release you have to enter a system ID -> use the one of your system and parameters -> just type abc
    3) press finish to create the shortcut
    If you have done this you can drag and drop the shortcut from the desktop to a sap session or popup to switch on the debug mode. One shortcut works for all systems you have, the system id in it does not matter.
    Oh, while I often have the case that I forget to resize the window before the popup appears so i cannot access the shortcut directly on the desktop, just remeber that you can always open a small file explorer window go to the desktop folder and drag it from there ;o)
    Best Regards
    Roman

  • How can i debug specail function for VA01

    How can i debug specail function for VA01,For example, I establish one and export type ZA01, the procedure code is ZRVADOR01, how do I debug this procedure?
      thank you!

    First you keep a break point in the program
    Step#1.
    RSNAST00 (on the below mentioned code).
    PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
                                                             US_SCREEN
                                                             IF FOUND.
    and now in VA01 , just start Debugging after you choose the Output type using /H at the command.
    now you will see the Debugging , now choose the menu Settings->Update Debugging
    this will activate the Update Debugging.
    Now Press F8. now another window will open , in that you it will stop near the break point in the step 1 .
    It will take you to the corresponding program/
    Now you Debug and check what ever you want

  • How can I retrieve the temporary backup which is done just before ios 5 update?

    How can I retrieve the temporary backup which is done just before ios 5 update? Because I set up wrongly as new iphone and want to retrive the backup before the ios 5 update. But I never sync to itune before. When I find the previous backups, I can find only one backup which is done after ios 5 update.

    I've never faced this case myself, but from the documentation it would seem that the INSTEAD OF DELETE is also a FOR EACH ROW trigger. Therefore, you don't really have to worry about the actual "where" clause of the original "delete" operation: Oracle has it all parsed for you, so you just need to redirect, in turn, each view record being deleted to the appropriate table.
    In extenso: for your
    delete vt12 where m = 1;
    => the INSTEAD OF trigger fires once for all records in vt12 where m=1, and I would guess that you trigger code should look like:
    begin
    delete from t1 where m = :old.m and n = :old.n and o = :old.o;
    delete from t2 where a = :old.m and b = :old.n and c = :old.o;
    end;
    It's a bit of overkill compared to the "where" clause of the original "delete" statement, but it should do the job...
    BTW, if by any luck you do have some primary key on tables t1 and t2 (say: columns o and c respectively), then obviously you can make the thing simpler:
    begin
    delete from t1 where o = :old.o;
    delete from t2 where c = :old.o;
    end;
    HTH - Didier

Maybe you are looking for

  • 24" iMac (1st Gen\White), Graphics Problem(s)

    Hi, I will have had my iMac for two years on Thursday (Christmas present, in a way) and it is currently starting to exhibit some weird graphical problems, horizontal lines are appearing in various applications, at random times, but the weird thing is

  • Internal Order settlement to one value field in CO-PA (revenue and cost CE)

    hi there, we want to settle an internal order to one CO-PA Value field. The problem is, that when on the internal orders are postings with CE type revenue and costs, in settlement it reduces the internal oder by the correct amount, but in CO-PA all v

  • Is java safe to download on my macbook air

    Is Java safe to downlaod on my Macbook Air?

  • ORA-00934: group function is not allowed here

    Hi, My requirement is to check oi.quantity is equal to sum of packing_detail. quantity by order_number select oi.quantity_ordered oi_qu, pd.quantity pq from ordered_items oi, packing_details pd where oi.ordered_item_id = pd.ordered_item_id and oi.qua

  • EXIT_SAPLMRMP_010 - User Exit for MIRO

    Hi, I'm trying to call this User Exit EXIT_SAPLMRMP_010, in the MIRO transaction, but it is not triggered at all. And so after troubleshooting, in one table TFDIR, for this function module, the MAND field is blank. Whereas the program expects charact