Local and global variables in ABAP Debugger

hi guys.
we have the following support package:
SAP_BASIS     640     0025     SAPKB64025     SAP Basiskomponente
I would like to use in the debugger the local and global variables tab strip, but I can not find it. Is it possible. that our support package is too low for this functionality?
Thanks a lot.
rudit
Edited by: Rudolf Tremmel on Aug 17, 2010 8:35 AM

Starting with SAP NetWeaver 6.40, SAP released a new version of the Debugger.
The Debugger available in Release 6.40 was not considered complete (and was
not the default debugger as a result)
The Variable Fast Display tool currently has four tabs . The first
two are provided empty, and you can either type or double click a name in the
source code to add it to the list. The third tab (Locals) shows all local variables
for the current program modularization unit, and the fourth (Globals) shows all
global variables in the current program.

Similar Messages

  • Create local or global variables ?!

    hey guys,
    I want to use variables instead of wires , which one you suggest , local or global variables? and why ? 
    thnxxx alot

    blue silver wrote:
    I want to use variables instead of wires , which one you suggest , local or global variables? and why ? 
    In LabVIEW, the wire is the variable.
    Local and global variables have their limited use in certain UI tasks, but lead to inefficient, error prone, and hard to maintain code.
    Local variables create extra data copies in memory, which can be expensive
    They break dataflow and thus lead to race conditions.
    To "fix" the race conditions, you need to clutter your code with sequences.
    ... it's an evil cycle!.
    Why do you think you need local and global variables?
    If you "want" to use them, you are probably misguided. Typically, you should only use them if you "need" to! There are legitimate uses for them.
    LabVIEW Champion . Do more with less code and in less time .

  • How to report with local and global currency in Deliveries?

    Dear all,
    i am working on a delivery scenario where i have in the datasource NETWR(Net value
    ), WAERK (Document currency).
    I would like to be able to report with local currency and global currency.
    Could you please help by explaining how to proceed?
    Thank you.
    Cheers

    Hi Gilo,
    You have to check with the business on the following.
    1) What would be the key date of currency conversion? Is this any document date from the transaction ( Delivery Date ) or report execution date?
    2) What would be the target currency ? ( for local and Global currency ). Whether this can be determined at the time of loading or should it be based on user selection criteria?
    3) What is the exchange rate type that has to be used? ( for example 'M' ).
    Once you have the answers to these questions, you can decide whether to do the currency conversion in the backend or front end in the report during runtime.
    For example, if the user wants to input the target currency on selection variable and wants to use the exchage rate as of the report execution date, then this currency onversion has to be done at runtime.
    For more details,Please check help.sap.com or SDN
    Thanks,
    Krishnan

  • Mix Local and Global Transaction using XA Driver for Oracle

    Hi all,
    We are trying to use a XA Driver which can support both local as well as global
    transaction. We tried using the Weblogic jDriver (XA Driver) type 2 that comes
    along with Weblogic installation but unfortunaltely it cannot mix local as well
    as global transaction.
    Please let me know in case we have any XA JDBC driver for Oracle Database which
    supports both local and global transaction together.
    Thnx,
    Kumar
    Environment:
    Weblogic 8.1 server
    Database used : Oracle8i

    Most database drivers can support local and global transactions, with some
    restrictions.
    The JDBC spec has been changed to require compliant drivers to let the
    application
    know if they try to start a global transaction while a local transaction has
    not been
    completed (or vice verse). So most of the database drivers have been
    changed to enforce
    this restriction (breaking a lot of code that is out there).
    "Kumar Raman" <[email protected]> wrote in message
    news:4033457c$[email protected]..
    >
    Hi all,
    We are trying to use a XA Driver which can support both local as well asglobal
    transaction. We tried using the Weblogic jDriver (XA Driver) type 2 thatcomes
    along with Weblogic installation but unfortunaltely it cannot mix local aswell
    as global transaction.
    Please let me know in case we have any XA JDBC driver for Oracle Databasewhich
    supports both local and global transaction together.
    Thnx,
    Kumar
    Environment:
    Weblogic 8.1 server
    Database used : Oracle8i

  • What is the difference between Instance variable and Global variable?

    Hi folks,
    Could you please explain me, "what is the difference between Instance variable and Global variable?"
    Are they really same or not?
    --Subbu                                                                                                                                                                                                                                                                                                               

    Hi flounder,
    I too know that there is no such a term GLOBAL in java.
    generally people use to say a variable which is accessible throught out the class or file has global access
    and that will be called as a global variable...
    my point is very much similar to what Looce said.
    In simple that is not a technical term, but just a causual term.
    In technically my question is, "What is the difference between a instance variable and public variable?".
    Hi looce,
    Thanks for the reply. even thats what my understanding too....in order to confirm that i raised this question..
    Your reply has given a clear answer...... thanks again.
    --Subbu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Local and global POV mode in FDQM

    hi,
    i am using multiload option in fdqm. what is the difference between local and global POV modes in fdqm?
    your help will be highly appreciated.
    Regards
    Ace

    Global Mode: If this mode is set and the POV is changed in FDM, it will change the POV for all users
    Local Mode: if this mode is set and the POV is changed in FDM, it will only change for the current user making the POV change.
    The Mode will change accordingly when using a mulitload file.

  • Shared and Global Variable Issue with Motor VI

    Hello,
    I have written a VI that will command a stepper motor to follow the desired profile and loop the profile until the user pushes the stop button. I modified the state machine example from LV to achieve this. I now want to connect a linear potentiometer to the linear actuator to verify that the distance I commanded the motor to travel is the actual distance that it traveled. I am using a NI 9219 module to collect the data from the potentiometer.
    When I added the potentiometer to the program, the cRIO-9073 chassis that I am using immediately crashes and looses connection with the computer when I click the Run VI button. I looked into this a little more and it seems that the chassis will crash only when I add shared and global variables to the VI. I think it has something to do with the Network Variable Engine; I don’t have it installed on the chassis because the motor program alone will not run if it is installed on the chassis. Also, I have the chassis configured to the RT setting and not the FPGA setting.
    I have attached a snippet of the code. I am using LV 2014 SP1 along with the SoftMotion module. The motor is connected to LV through a P70530 stepper drive which is connected to a NI 9512 module with the proper connectivity bundle. Is there something wrong with the VI that would cause the chassis to crash? Why will the simple motor VI not work when the Network Variable Engine is installed on the chassis? Thank you in advance for your help!

    Follow up to this post:
    Sometimes when I try to connect the project to the chassis I get the following error: "Failed to load shared library taggerrt.out. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom librarier to the RT target."
    I have tried re-installing the NI Device Drivers and reconfiguring the software on the cRIO chassis using MAX; however, the error keeps showing up. I read somewhere that the taggerrt.out library is a part of the Network Variable Engine but I don't know why it wouldn't be found when the NVE software is installed on the chassis. This message only comes up when I also have the SoftMotion Module software installed on the chassis. Has anybody else encountered this problem or know why this could be happening? Any ideas would be greatly appreciated! Thanks!

  • Variable problems local and global score

    Hi i'm having problem of writing a value to a global variable
    in a function and using this variable affterwards. My problems is
    the following i have a firstProduct variable that is initialized as
    global at the begining of my code and the i have an XML on load
    function where i should take the first child and write it to his
    variable and use it afterwards for passing it as a variable to PHP
    but this is irrelevant, however when im trying to trace im getting
    undefined any suggestions ?? here is the code

    when i trace the variable inside the function on load it
    writes it but when i try to access it outside it is undefined im
    really frustrated, how the heck i assing values to variables in
    actionscript where i can access them from any frame that i want. do
    u have any suggesstions?

  • Problem with .DLL and global variables

    Hi,
    I need some helps to figure out my problem.
    I wrote a .dll file to open and run a GUI. When I run it at the first time, it is ok. When I call it again, there is an error "Pointer to free memory passed to library. It will be ok if I completely exit the program that calls the .dll before re-call it. I think there is some problems with global variables when I call another thread. How can I free global variables between threads. Is there any solution for this problem?
    Thanks

    Vinh Pham:
    Are you doing anything intentionally that frees your globals?
    CVI ships with an example program that demonstrates calling a DLL to create a user interface: guidll.cws.
    I made two simple modifications to guidll.cws.
    1. In guidll.c, I made hpanel global by moving its declaration from RunDLLUI() to right below the #include statements.
    2. In useguidll.c, I duplicated the lines calling RunDLLUI () and MessagePopup() to call the DLL gui twice.
    I built the project and ran it.  I had no problems with free'ed globals.
    Take a look at the guidll example.
    Can you either post your code or a modification to guidll that demonstrates the problem you're having?

  • Import/export to memory and global variables

    Hi,
    Im working on some functionality using import/export to memory. One of the statements is:
    import gf_memid_exit = g_exit_flag gf_memid_result = t352r from memory id 'ZREV_EXT'.
    Im using global variables to contain the cluster names. But this is not working. When I change the global variables into local variables, it works. It this normal? Because I would like to have global variables (even better I would like to have global constants) to declare in order to use them within the program.
    Any ideas?
    With regards,
    Mike

    Hi Mike...
    I think with import u can use global or local variables..in debug mode pl. check when u r using global variables..whether it is getting cleared or overwritten by some other values or not. Or try with global constants..it should work...
    Regards,
    Joy.

  • DASYLAB QUERIES on Sampling Rate and global variable

    hola
    i'm new user of dasylab and i would like to manipulate the sample rate through a layout ;
    using global variable seems good idea but the adress of sample rate is unknown .
    Hope that someone would be able to help.!
    also other small things when i use coded swich and i want modify  the text in the Switch Window i don't know how
    Lots of thanks!

    Hi,
    There is a dedicated place in this forum where you'll certainly get more answers than here :
    http://forums.ni.com/t5/DASYLab/bd-p/50
    Regards,
    Da Helmut

  • Forms personalization and global variable

    Hi,
    I'm trying to call a procedure in forms personalization and using a defined global variable. The data in the global variable is number. In the procedure, some of the parameter has a number datatype and I'm converting the global variable using to_number eg (to_number(:global.XX_LINE_NUM). This fails with error message ora-01403 no data found. I've tried putting the above into a variable with datatype number in the declare statement, and it errors as well.
    Does anyone knows the syntax to convert the global variable to number datatype in personalization.
    Thanks

    Ask in this forum : OA Framework

  • Function REUSE_ALV_GRID_DISPLAY, events and global variables

    Hi everybody,
    in a report I use FM REUSE_ALV_GRID_DISPLAY with a registered callback for event 'USER_COMMAND'.
    In the callback-form I want to change the internal table, which I provided for displaying to REUSE_ALV_GRID_DISPLAY.
    How can I access the internal table in the callback-form without using global variables?.
    Kind regards,
    Hubert
    Edited by: Hubert Heitzer on Feb 23, 2011 4:13 PM
    This is not the solution I asked for, but I found a workaround.
    I created a function group, which encapsulates the internal table.
    A function provides the service for colleting data for the internal table and displays the ALV.
    The callback-form is also a member of my function group and is therefore able to access the internal table.

    Hi everybody,
    in a report I use FM REUSE_ALV_GRID_DISPLAY with a registered callback for event 'USER_COMMAND'.
    In the callback-form I want to change the internal table, which I provided for displaying to REUSE_ALV_GRID_DISPLAY.
    How can I access the internal table in the callback-form without using global variables?.
    Kind regards,
    Hubert
    Edited by: Hubert Heitzer on Feb 23, 2011 4:13 PM
    This is not the solution I asked for, but I found a workaround.
    I created a function group, which encapsulates the internal table.
    A function provides the service for colleting data for the internal table and displays the ALV.
    The callback-form is also a member of my function group and is therefore able to access the internal table.

  • Web Services: runBatchJob and global variables

    Dear all,
    I'm facing a problem when I try to call web method runBatchJob defined by port BatchJobAdmin of the Web Service interface published by DS. 
    I have defined a job TestWSCall characterized by global variable $G defined as varchar(50) and I have written the following code to invoke job  TestWSCall with variable $G set to a given value (e.g. u2018Testu2019):
    RunBatchJobRequest runBatchJobRequest = new RunBatchJobRequest();
    runBatchJobRequest.setJobName(jobNameCall);
    runBatchJobRequest.setRepoName(repoName);
    GlobalVariables variables = new GlobalVariables();
    Variable gvariable=new Variable();
    gvariable.setName(varName);
    gvariable.setValue(varValue);
    variables.getVariable().add(gvariable);           
    runBatchJobRequest.setGlobalVariables(variables);
    BatchJobResponse res = batchJobAdmin.runBatchJob(runBatchJobRequest);
    After running this code, the job is executed with the default value and not with value u2018Testu2019. Since the variable type is varchar, I've also tested with value Test written between '', but it is ignored as well.
    When I check the XML generated by my call, I obtain the following XML code:
    <globalVariables><variable name="$G">'Test'</variable></globalVariables>
    or without ''
    <globalVariables><variable name="$G">Test</variable></globalVariables>
    which seems to comply with the description provided by the WSDL.
    Notice that job TestWSCall (and in particular the value of variable $GVAR) works as expected when I launch it from Designer or the web interface.
    Any idea?

    Hi,
    I have done the same scenario as you.
    For e.g.
    If your global variable is $gv, then your java code would be use gv as the global variable name (without the $)
    You would also emit the '' from the value in the global variable text.

  • FixValues and Global Variable

    hi,
    Is there a functionality which does exactly like FixValues but stores the value thorugh out the mapping?
    I have a requirement where i have to map 2 different values to other values but i have to repeat this for all the fields using FixValue instead if there would be a Global Variable i could use that instead.
    Any ideas.
    Thanks,
    KP

    Hi Tirumal,
    For your requirement you can define a HashMap in Java Sections Tab of Graphical mapping and refer the values from UDF.
    Steps
    1. Goto MessageMapping (Design TAB)-> Edit JAVA Sections (Found on top-right side)
    2. Declare a HashMap in Global variables section.
        Eg.
    HashMap materialNumMap = null;
    3. Initialize the same variable and fill some values.
        Eg.
    materialNumMap = new HashMap();
                materialNumMap.put("MAT-01","10001");
                materialNumMap.put("MAT-02","10002"); 
                materialNumMap.put("MAT-03","10003");
                materialNumMap.put("MAT-04","10004");
    4. Write UDF to retrieve value from Global container
    public void chkExists(String materialNUM,ResultList result,Container container){
      String valueFrmMap = (String)materialNumMap.get(materialNUM);
      return valueFrmMap;
    Hope this solves your problem.
    Regards,
    Ananth

Maybe you are looking for

  • I am having a problem with copying and pasting text into the Safari search bar.

    For example, when I copy and paste "Organic Chemistry: A Short Course" it will change to Organic%20Chemistry:%20A%20Short%20Course" It will then tell me it has failed to open page, even though my interenet is otherwise working. How can I fix this?

  • Report Based on SQL view not pulling in all parameters

    Post Author: ronhawker CA Forum: .NET I based a report on a SQL view below:SELECT     TOP (100) PERCENT CorpDirectory.Position, CorpDirectory.PhoneDirect, CorpDirectory.Email, CorpDirectory.Store, CorpDirectory.Name,                       CorpDirecto

  • Old version of Camera Raw toolbar in photoshop cc

    Hello Guys, I'm hoping someone can help me with this problem that's been driving me nuts for a couple of weeks now. I have the very latest version of Photoshop CC - when I bring up Camera Raw in Photoshop (Filter-Camera Raw Filter), the toolbar at th

  • Proxy to SOAP Scenario, payload with the SOAP envelops

    Hi , We have Scenario like Proxy to SOAP,As per Business requirement they are asking payload with ENVELOP . Like below message ================================================================ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/

  • My playlist keeps jumping back

    I will be listening to a playlist on my iPhone 4s for a few songs and then pause. A few hours later I will come back to the music App and press play, but it will start playback from the song that I started with last time. So I have to skip any number