Debug Routine

In my transformation, I have a routine defined for one of the field.
How can I debug this Routine when I execute the DTP?
Please search the forum before posting a thread
Edited by: Pravender on Feb 8, 2011 11:15 AM

Hi ,
If you have written Field level routine,then go to rule detail,
then near transfer values you will get one option test rule,
give some value and see weather you are getting the rquired value.
If you have written Start /End routine.
Load some test data and set a breakpoint at transformation level,
Then go to DTP ,in the execute tab set the process ing mode
as Serially in dialog processing(for debugging),then press the button
simulate and do the debugiing and see if you are gettinn required o/p.
Hope this is helpful.
Thanks,
Saveen Kumar

Similar Messages

  • (BI 7.0) Debugging Routines in Transformation

    Dear All,
    I would like to debug my own ABAP routine in the transformation for BI 7.0, anyone know how to set a break-point somewhere for popping up the debugging window? thanks
    B.R
    Charlie

    1. find the program behind your transformation (from the Transformation Display screen go to menu Extras > Display Generated Program)
    2. put a break-point where you need it
    3. create a DTP with Processing Mode (Execute tab) "Serially in the Dialog Process (for Debugging)"
    4. launch the DTP

  • How to Debug routine in Infopackge

    Hi All,
      I have an ABAP routine in the Infopackage. How can I debug the code.
    Thanks.
    Regards,
    bw_newbie

    Hi,
    See here:
    debug abap routine in infopackage
    debug the code at infopackage level
    Hope this helps...

  • How to debug routine in process type "Deletion of overlapping requests"

    Hi all,
    I created a process chain including a process of the type "Deletion of overlaopping requests from InfoCube".
    In this process I created a routine to decide which requests to delete. Now I would like to debug this routine, but do not know how.
    Merely setting a breakpoint does not seem to help.
    Does anyone have a hint how to debug this routine?
    Many thanks,
    Stefan

    Hi,
    put a "BREAK-POINT." statement into your code (don't forget to remove it afterwards). Then you activate your process chain and go the menu Execution at the top of RSPC. There you choose "Execute synchronous to Debugging". The process chain should then kick off and stop at the point where you put the break point.
    Hope it helps.
    Stefan

  • Debugging routine for output type in purchase order

    HI all,
       I am unable to get breakpoint to stop at a custom requirement  routine  for a custom output type (ZSND) for purchase order.
    I created routine 901 and explicitly add  'break  userid' .  In ME21N, it stops at the routine.  In ME22N, it did not stop at the routine.
    I like to it stop during ME22N.   I tried adding the custom output in ME22N in Messages details, then save.  It still did not stop at the custom routine.  Can anyone pls shed lights how i can make it stop ?  Or could it be that no output is generated during the ME22N changes, thus it would stop at that routine in ME22N ?
    thanks
    Joyce

    Hello Joyce
    The first output ZSND creates the ORDERS IDoc (ME21N). For this output type you obviously have assigned the VOFM condition (somewhere in the NACE transaction).
    Changing the purchase order (ME22N) should create a different output type (-> ORDCHG IDoc). The first output ZSND must not be repeated (or it is defined to be set automatically only once).
    Thus, there are two explanations for your observation:
    (1) The output ZSND is not created a second time using ME22N
    (2) The new output (-> ORDCHG) has not been assigned to the VOFM condition 901.
    (1) you can test quite easily by adding the ZSND output manually in transaction ME22N.
    (2) you need to check the output customizing.
    Regards
      Uwe

  • Debugging of Routines?

    Hi,
    I have written some update routines and also transfer routines.
    I want to check how it works.So is there any way to debug these routines?
    If so please explain.
    Points will be definitely assigned.

    it is answered a lot of times in forum.. do a search before posting a new thread
    <a href="/people/pavan.bayyapu/blog/2006/09/06/debugging-data-upload-in-bw:///people/pavan.bayyapu/blog/2006/09/06/debugging-data-upload-in-bw
    <a href="Debugging Routine in Update Rule://Debugging Routine in Update Rule
    how to debug a start routine?
    [url=How to debug start routine?]How to debug start routine?[/url]

  • Debugging data flow

    Hi,
    I know that in BI 3.X version we have update rule and transfer rule.
    In BI 7 we have transformations and DTP.
    In 3.X u2013 Data comes to PSA and then goes to Infosource and reaches the data target via Infopackage.
    In BI 7 u2013 Data comes to PSA via Infopackage and from there goes to data target by DTP which executes the transformations.
    There should be an ABAP program to execute the above data flow.
    All I want to know the name of the program and how the 3.X data flow & 7 data flow process can be debugged?  Because as the debugging gives more opportunity to understand the process better. 
    Regards,
    Lakshminarasimhan.N

    Hi Lakshminarasimhan.N:
    Take a look at the documentation below.
    "Steps to Debug Routines in BI Transformations" article by Rudra Pradeep Reddy Neelapu.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/205e46d2-0b30-2d10-cba0-ea9dba0cb1aa?quicklink=index&overridelayout=true
    "SAP NetWeaver 7.0 BI: Extended Capabilities to Debug a Data Transfer Process (DTP) Request" Weblog by Michael Hoerisch.
    /people/community.user/blog/2007/03/29/sap-netweaver-70-bi-extended-capabilities-to-debug-a-data-transfer-process-dtp-request
    "Step by Step Guide to Debug a Start, End or an Expert Routine in BI 7.0 Transformations" article by Nageswara Reddy M.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0038ad7-a0c7-2c10-cdbc-dd674682c8e7?quicklink=index&overridelayout=true
    Regards,
    Francisco Milán.

  • Debugging Procedure in BW

    What is the debugging Procedure in BW

    HI
    In 3.5 you can debug routines in the below way.
    1. Load data to the target
    2. Then open the update rules -> Extras -> Display Activated Program
    3. select the lines where you want to debug. and set a break point.
    4. go to manage -> monitor of your request -> details -> processing 
    5. select the data package and right click -> simulate update.
    6. it will ask you select the records for which you want to debug.. or you can debug for all the records also.
    In Bi 7.0
    There are two ways.
    1. Open the transformation and go to the generated program.
    2. Set the break points.
    3. Open your DTP and in the execution tab set the processing to "Serially in dialog box (Debugging)"
    4. Execute the DTP. It will take you to the debugger .
    This way you can debug in the same session only. If you want to debug in new session then you have to set the break points again.
    The other way is as follows.
    1. Go to your code.
    2. Hard code "break-points" in the code.
    3. Run your DTP.
    4. In the monitor tab click on Debugging and Pass the selections for which you want to debug the routine.
    The benefit of this approach is you can debug routine any time and you can give the selections.But dont forget to remove the break points (Hard coded) before transport.
    Hope this will help .
    - Jaimin

  • Blue Screen of Death in LightRoom 3.6

    I recently built a PC for photo editing, and I am receiving the BSOD at different points when Lightroom is open. The first time it happened was when I was moving about 1000 raw files from one folder to another (did it twice to me doing that). From there, I grabbed the latest video card driver from Nvidia, and I also went into the bios and set my memory back to "Auto" rather than 1600 (which is what it's rated for). Thought maybe it was hardware related. Everything was going fine, I did some editing, and then while it was just sitting there with LR3 open, I got the BSOD again.
    Any help would be much appreciated as I have invest a good amount into this machine for the purpose of photo editing, and I can't have this happening. Please let me know if you have any other questions that I can answer.
    Thanks,
    Jamie
    Here is what I'm running:
    CPU - i7 3.4ghz 2600k
    Mobo - Asus P8Z68-V LX LGA 1155 Intel Z68
    RAM - G.SKILL Ripjaws X Series 8GB 240-Pin DDR3 SDRAM DDR3 1600
    System SSD - Corsair Force Series GT CSSD-F120GBGT-BK 2.5" 120GB SATA III
         -I have Windows 7 64-bit, Photoshop CS5.5 and Lightroom 3 installed on this drive and I also have current project photo files stored on this. Once done editing, I export them to a 1TB HDD.
    Video - EVGA GeForce GTX 560 (Fermi) 1GB
    Here are the details after logging into Windows after the crash:
    Problem signature:
      Problem Event Name:          BlueScreen
      OS Version:          6.1.7601.2.1.0.256.48
      Locale ID:          1033
    Additional information about the problem:
      BCCode:          109
      BCP1:          A3A039D8A1F0365B
      BCP2:          B3B7465EF46E1495
      BCP3:          FFFFF880018D31E0
      BCP4:          0000000000000001
      OS Version:          6_1_7601
      Service Pack:          1_0
      Product:          256_1
    Files that help describe the problem:
      C:\Windows\Minidump\022312-10030-01.dmp
      C:\Users\jamie\AppData\Local\Temp\WER-21200-0.sysdata.xml
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    And here is the info I pulled from the Windows Debugger. I'm not sure how to read this stuff...
    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [C:\Windows\MEMORY.DMP]
    Kernel Summary Dump File: Only kernel address space is available
    Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (8 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.17640.amd64fre.win7sp1_gdr.110622-1506
    Machine Name:
    Kernel base = 0xfffff800`03007000 PsLoadedModuleList = 0xfffff800`0324c670
    Debug session time: Thu Feb 23 00:52:30.064 2012 (UTC - 5:00)
    System Uptime: 0 days 5:06:00.110
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    *                        Bugcheck Analysis                                    *
    Use !analyze -v to get detailed debugging information.
    BugCheck 109, {a3a039d8a1f0365b, b3b7465ef46e1495, fffff880018d31e0, 1}
    Probably caused by : memory_corruption
    Followup: memory_corruption
    4: kd> !analyze -v
    *                        Bugcheck Analysis                                    *
    CRITICAL_STRUCTURE_CORRUPTION (109)
    This bugcheck is generated when the kernel detects that critical kernel code or
    data have been corrupted. There are generally three causes for a corruption:
    1) A driver has inadvertently or deliberately modified critical kernel code
    or data. See http://www.microsoft.com/whdc/driver/kernel/64bitPatching.mspx
    2) A developer attempted to set a normal kernel breakpoint using a kernel
    debugger that was not attached when the system was booted. Normal breakpoints,
    "bp", can only be set if the debugger is attached at boot time. Hardware
    breakpoints, "ba", can be set at any time.
    3) A hardware corruption occurred, e.g. failing RAM holding kernel code or data.
    Arguments:
    Arg1: a3a039d8a1f0365b, Reserved
    Arg2: b3b7465ef46e1495, Reserved
    Arg3: fffff880018d31e0, Failure type dependent information
    Arg4: 0000000000000001, Type of corrupted region, can be
              0 : A generic data region
              1 : Modification of a function or .pdata
              2 : A processor IDT
              3 : A processor GDT
              4 : Type 1 process list corruption
              5 : Type 2 process list corruption
              6 : Debug routine modification
              7 : Critical MSR modification
    Debugging Details:
    BUGCHECK_STR:  0x109
    DEFAULT_BUCKET_ID:  CODE_CORRUPTION
    PROCESS_NAME:  System
    CURRENT_IRQL:  0
    LAST_CONTROL_TRANSFER:  from 0000000000000000 to fffff80003083c40
    STACK_TEXT: 
    fffff880`03770498 00000000`00000000 : 00000000`00000109 a3a039d8`a1f0365b b3b7465e`f46e1495 fffff880`018d31e0 : nt!KeBugCheckEx
    STACK_COMMAND:  kb
    CHKIMG_EXTENSION: !chkimg -lo 50 -d !ndis
        fffff880018d3298 - ndis!ndisOidPreMiniportStats+b8
              [ 28:68 ]
    1 error : !ndis (fffff880018d3298)
    MODULE_NAME: memory_corruption
    IMAGE_NAME:  memory_corruption
    FOLLOWUP_NAME:  memory_corruption
    DEBUG_FLR_IMAGE_TIMESTAMP:  0
    MEMORY_CORRUPTOR:  ONE_BIT
    FAILURE_BUCKET_ID:  X64_MEMORY_CORRUPTION_ONE_BIT
    BUCKET_ID:  X64_MEMORY_CORRUPTION_ONE_BIT
    Followup: memory_corruption

    Jamie,
    BugCheck 109, {a3a039d8a1f0365b, b3b7465ef46e1495, fffff880018d31e0, 1}
    Probably caused by : memory_corruption
    Followup: memory_corruption"
    Test your memory. There are free standalone memory testers for PCs. MemTest comes to mind. If it's a new PC, bad memory is a distinct possibility. Lightroom can push it pretty hard.
    Hal

  • PDF only opens in 64 bit of AI

    Hey all, I've had a few PDFs come in that can only open in the 64 bit version of AI. The problem is that we have a script that runs and interacts with AI, that only works with the 32 bit version. Does anyone have any ideas what could cause the .pdf to only work in AI 64-bit? If you need the .pdf itself, I'll have to get permission from the artist/customer before I can upload it.

    My apologies. The reason it wasn't very specific is that the error only gives us "Could not open file" and exits. It looks like the artists have isolated it to an effect they had applied to the text that the 32 bit version of illustrator did not like. They resaved it as an .eps/.ai (she mentions both) and it was able to open and point her to the problem. Seems like it has a problem running debug routines on .pdf files. Issue seems to be resolved for now.

  • Strange Urgent scenario please help!

    Hello Friends,
    I am having one strange problem in InfoCube loading.
    I am loading from 0FI_GL_4 extractor to BW InfoCube with full load.
    I have start routine  logic in my update rules.I debugged routine several times simulated update from PSA plenty of times.
    In debugging and simulation it gives expected results, but when I actually load data to InfoCube it misses some data.
    Some data are not showing up in InfoCube.
    Please help with your suggestions.
    Thanks,
    John.

    Ajax,
    What do you mean by key of the IS.There is no end routine as this is 3.x
    Jr Roberto,
    The records are cuting down in the start routine, I can see it clearly into the monitor.
    But the strange thing to notice is when I debugg code for error records it gives right result and when I load actually it cuts some records.
    Thanks for looking into it.

  • Switch/Case: How to test byte values in hex format

    OK, this may be a silly question, but being new to Java, I can't seem to get this to work.
    I have a byte value that I want to test in a switch/case statement. The value was assigned to the byte in hexadecimal format. However, testing only works if I use the decimal value of the byte!
    What's even stranger: It does work in a simple if/else statement. In my debugging attempts, I discovered this using the following code:
    //*temporary debug routine
    memoryCells[0] = (byte) 0x86; //LDA
    if(memoryCells[0] == (byte) 0x86)
        System.err.println("byte recognized as hexadecimal!");
    else
        if(memoryCells[0] == -122)
            System.err.println("byte recognized as decimal!"); So, this works in an ordinary if/else statement, but why doesn't it also work in the complex switch/case statement? Snippet below:
           switch (currentOpcode)
                case (byte) 0x86:
                    //*LDA immediate (2 bytes, 2 cycles)
                    registerA = b;
                    currentOpcode = 0x00;
                    cycleCounter = 0;
                break;
            }Thanks in advance for any suggestions...

        public static void main(String[] args) throws Exception {
         byte test = (byte)0x86;
         switch(test)
         case (byte)0x86:
                  System.out.println("Success");
              break;
         default:
                  System.out.println("ooops");
        }This works for me.
    ~Tim

  • Memory Leak..Big Time

    I've recently purchaced El Gato's EyeTV HDHomeRun & associated software to record and then export content to AppleTV2. The system can record 2 shows simultaneously and also automatically export to iTunes for streaming to AppleTV. That's where the fun begins. The recording works just fine but when the export to iTunes process begins, memory leaks, no gushes out of my system, turning my 12GB of Ram to 12MB within an hour. Paging begins, finally leading up to a Kernel Panic and shutting down my system (lost recordings).  A system restart will clear out the RAM but starting the export process agin will just wipe out all of my memory again. I've also tried repairing permissions (with SL software install disk) but the problem will persist days following. I've also purchased and installed new RAM from OWC, so I know that's not it and even reinstalled EyeTV software after contacting their Tech Support. No other software applications are runnning. Can anyone shed light on what is going on here? I'm thinking about a fresh install of 10.6.8 or going to Lion but don't know if this will even make any difference. Please HELP!

    It is entirely possible that Elgato's software writes to the memory controller in such a way that if the memory is marginal in certain bits of the board, that it would panic.     The fact the issue remanifests itself under new RAM may even indicate the problem is not the RAM, but the RAM controller itself!   An old piece of code I know from "C" programming days, malloc is the memory allocation code word.      They should be digging in the malloc codes making sure they aren't asking for points in memory they don't know exist, or create some debug routines around every malloc piece of code until it trips on your machine.

  • Oracle express vs regular edition

    how are you?
    wanted to ask you the following:
    i am doing an online course in PL/SQl (see below for syllabus) and originally i installed
    an Oracle Express 10 edition.
    my instructor though told me that i should install a regular edition because
    'express edition behaves quite differently'.
    the problem is that regular edition consumes a lot of resources and really slows down the computer. i have a feeling that for this
    course (see below) there is not reason to install the whole of Oracle.
    what is your opinions shall i switch to oracle express?
    thank you :)
    ===========
    Intermediate Oracle
    Gain hands-on experience with Oracle's PL/SQL programming language, with expert assistance from an IT veteran. PL/SQL is Oracle's procedural language extension to Structured Query Language (SQL). This course will give you the skills you need to write powerful and flexible programs using that language. You'll learn the building blocks and core features of PL/SQL, including expressions, various iterations, and built-in functions. Then, you'll begin building fully functional PL/SQL programs with procedures, packages, debugging routines, database structures, triggers, and cursor processing. By the time you finish this course, you will be able to store PL/SQL programs in a database and execute them.

    Duke555 wrote:
    my instructor though told me that i should install a regular edition because
    'express edition behaves quite differently'.I would ask the instructor for details.
    Express Edition runs exactly the same PL/SQL and SQL engine as the big guys.
    Express, however, does not include Java in the database so it is not possible to run or call Java Stored Procedures. This is often considered an 'advanced topic'.
    In my experience, with the exception of some 'advanced' built-in packages such as Spatial (which are also advanced topics) even many of the supplied Packages and Procedures will work. As an example, even Application Express works on XE and that is done 'entirely in PL/SQL'.
    The instructor is absolutely correct if referring to the management interface. Express Edition does not include DB Control. But that is not a 'PL/SQL' or 'SQL' topic unless dealing with performance management and Diagnostic/Tuning packs.
    More details are necessary ... 'proof by blatant assertion' is not an answer in this case.

  • Different Delivery Dates in STO's

    Hi All,
    At present in our system if the delivery dates is different in STO (Stock Transfer Order) it will create different Outbound Deliveries, In Practical Snenario, We are sending the stock from One Warehouse to One Store with different delivery dates,Our question is If We have created multiple STO's from One Warehouse to One Store with different delivery dates It needs to create only one outbound deliveryfor all multiple STO's.
    kindly suggest how to create only one outbound deliveries for multiple STO's as We have same Vehicle for carrying the multiple STO's. from Warehouse to Store.
    Note :- We are using the T-code VL10Fand VL10B for creating the outbound delivery against the STO'S.
    Thanks & Regards,
    Murali.M

    Hi,
    Go to customizing VTLA (copy control for deliveries). Then find at Header level the Source/Target that corresponds to your Replenishment Delivery.
    And then go to Header Data transfer routine (I have routine 301 maybe yours is other) and put a Break Point in it. Then in VL10B select two STO's with different dates you would like to have their deliveries COMBINED and process with button "Background". The debugger should stop at your breakpoint.
    manually replace LIKP-LFDAT for a common date (for example today) when debugging routine and see what happens.
    This should result in a combined delivery with the date you specified in debugger
    Best Regards,
    Sebastián Ligueros
    Alynea-MVC

Maybe you are looking for

  • How do I get iTunes Home Sharing to be seen on my PS3?

    I have already contacted Sony's PS3 support online chat and they assisted me with getting it all set-up on their end, but now I need to get it to work from my iTunes' end. I have enabled Home Sharing in my iTunes desktop software, it stated it was en

  • MacBook Pro 13 or 13.3?

    Hi, I am a new macbook pro user. I was just wandering if Macbook pro 13" is the same as Macbook 13.3". And also my friends on mins have dents on the Macbook pro, Would Apple void the warrenty if lets say i have a dented macbook Pro ?

  • Two iPhoto Issues

    I'm having two different iPhoto issues... I have no problem opening iPhoto, both occur when I try to open the picture or video. First, I have an issue with many of my photos that show up in the library as thumbnails but when I click on them to open a

  • My SAP SRM Application Monitors Purchase order / local errors

    I am seeing local errors in the monitor under Purchase order. The message is incorrect status in pricing, but when i click on the message i get no further information. How can I track there errors

  • I want to buy an iphone 5 from an Apple store in Japan. Can I use my Australian SIM?

    My understanding is I am able to buy SIM free iphones from Apple stores here in Japan. I am currently living here and have my Australian iphone 4s with all of my contacts and apps connected through this number. Besides the fact I know I need a nano s