Breakpoint on variable read

Hi,
    Is it possible to set up a breakpoint on variable read/access ?
    i.e.
    MOVE var_1 to var_2.   <---- var_1 is being read and transferred to var_2    so debugger should break here
   Little background story: I have an ALV Grid control with property stylefname = 'XXXX'. Now in every source data itab I add some entries to color individual cells. Now I would like to catch the piece of SAP code where the value is actually read and used to format the cell. (What I am trying to do is to check how are the styles interpreted and used to color font and background).
Cheers,
Bart

hi,
in such a case where you do not know the source name, target name, function module name, etc... it is difficult to suggest where to place breakpoint. As you said that you are using ALV classes, so you can place breakpoint in the class interface code where the data extraction is done.
i have checked 'stylefname' property of ALV layout. It is used to pass the name of the cell table for displaying cells as pushbuttons.
you can go through the below link for ALV grid control page 18 for Layout Adjustments:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907?quicklink=index&overridelayout=true
mostly we can get the stripped pattern in ALV grid by setting 'zebra' property of layout.

Similar Messages

  • Analoge shared variable read Problem

    Can any body help me in reading analogue shared variable read in LabVIEW 2009 dynamic event structure. I have tried to read the above tag through Tag Reader VI but i have experienced too much delay in first read for real data i.e. Plant data from PLC. when this particular VI executes it take minutes to display the data. if some needs its code i can provide it. Thanks in advance

    This seems to be a LabVIEW problem, so please post it over in the LabVIEW forum.
    (the feedback forum is for problems with the website itself)
    LabVIEW Champion . Do more with less code and in less time .

  • Variable reading other's characteristic value.

    Hi gurus,
    do you know, how can I make a variable (characteristic value variable) that reads other characteristic's value?
    i.e. I have 0CALMONTH in columns and a structure with 3 restricted key figures - I need to show KF value for 1st, 15th and last day of 0CALMONTH.
    Regards,
    Dorota

    Hi Dorota,
    What I have got from your query is.
    Take an input for 0CALMONTH from user.
    And then display Key figures restricted by 1st Day of the month entered by user, 15th daysand then last day of the month.
    If this is what your requirement is then you can achieve it by restricting the three key figures with variable.
    The variable should be defined with processing type as Customer Exit.
    Please refer the below link for more info:
    Problem while deriving 1st Calendar day of the fiscal period
    Regards
    Shubh Karan

  • Using global variable read status

    Hi Experts,
    I need to change the Note based o the Service Ticket status. I declared global variable as a string in ZL_ICCMP_BT_BTSHEADER_IMPL (Component: ICCMP_BTSHEAD; View: BTSHeader)
    And I am passing the Status to this global variable using the GET and SET methods of the STRUCT.ACT_STATUS attribute in BTSTATUSH node in same component and view.
    I referred this global variable in DO_PREPARE_OUTPUT of the component ICCMP_BTTEXT/TextView to set the Note as shown below.
    if ZL_ICCMP_BT_BTSHEADER_IMPL=>GC_STATUS = 'E0001'.
    I would like to know whether this approach is the best way to read status or any other optimistic  approach is there to follow for my this scenario. Please advise me.
    Thanks
    Chand

    Hi Basha,
    If you are using static variables, i wouldn't recommend using this approach.. there are better approach to get/set values in web client session which avoids setting/clearing static variables etc..
    you can follow below approach..
    1. To Get/set the variable in ic session to avoid the static variable.. for eg global cuco is available which you can use for this purpose.
    lr_bdc type ref to if_crm_ui_data_context.
    lr_bdc = cl_crm_ui_data_context_srv=>get_instance( me ).
    check lr_bdc is bound.
    Using SET_DATA_ATTRIBUTE set the attribute value and using GET_DATA_ATTRIBUTE get the attribute valueu2026get_attribute, set_attribute
    read current BuAg if exist
    lr_buag ?= lr_bdc->GET_DATA_ATTRIBUTE( 'CURRENTBUAG' ).
    Here "CURRENTBUAG" is the attribute name, you can give any attribute name while setting and get the same attribute value via get_data_attribute.
    Cheers,
    Sumit Mittal

  • Shared Variable Read Access Denied from Fieldpoint

    I've posted this in the Fieldpoint forum, but I think I may get more responses here:
    I've created a shared variable bound to a single analog input (AI) channel on my fieldpoint 2120.  When I attempt to read from this variable in my VI, I get the error:  "Read access is denied to the shared variable." 
    BUT, when I view the variable in the shared variable manager, the analog signal is updating correctly and continuously.
    Anyone know what I may be doing wrong?
    Thanks!

    Link to post in Fieldpoint forum.

  • Network-Shared Variable - read string with CVI

    I need to read an NSV string with CVI.  I have been digging into accessing and writing NSV with CVI, but they are all scalar value.  What should I do with strings, clusters and arrays?

    'm an employee at National Instruments and I wanted to make sure you didn't miss the Network Variable API that is provided with LabWindows/CVI, the National Instruments C development environment. The the Network Variable API will allow you to easily communicate with the LabVIEW program over Shared Variables (http://zone.ni.com/devzone/cda/tut/p/id/4679). While reading these links, note that a Network Variable and a Shared Variable are the same thing - the different names are unfortunate...
    The nice thing about the Network Variable API is that it allows easy interoperability with LabVIEW, it provides a strongly typed communication mechanism, and it provides a callback model for notification when the Network/Shared variable's properties (such as value) change.
    You can obtain this API by installing LabWindows/CVI, but it is not necessary to use the LabWindows/CVI environment. The header file is available at C:\Program Files\National Instruments\CVI2010\include\cvinetv.h, and the .lib file located at C:\Program Files\National Instruments\CVI2010\extlib\msvc\cvinetv.lib can be linked in with whatever C development tools you are using.
    Thomas N.
    Applications Engineer
    National Instruments

  • Playing Variable - Read as Currency

    Hi, I have a node in a campaign that queries for values and gets a string of prompt variables to play as well as customer balances and payment amounts. I play the prompts just fine, but when it comes to playing the variable money amount, CCA can't read it. Is there a particular field type CCA reads better when querying the DB?
    An oracle rep told me to set all values in DB as varchars even if they were numbers, is this acurate?

    Currency type playback assumes the last 2 digits are 'cents'.
    The number 258 will play back 2 dollars and fifty eight cents.
    If you multiple by 100 then it will play back
    25800 - two hundreds fifty eight dollars and zero cents

  • CRIO scanned variable reads are slow. Do you know why?

    I have a cRIO 9073 with a few I/O modules (for a total of 8 AI, 2 AO, 30 DI, 50 DO). I want to read and write the I/O from a PC.
    This is the code I used on the PC (LV 2011):
    (And no, opening the variable once before the loop doesn't help).
    This is the basic structure:
    It's supposed to use the scan engine on the cRIO to read and write the I/O values. The scan engine was left with its default values of a 10 ms scan rate and 100 ms network update rate.
    My Problem is that the updating of both the DI and the DO is slow (it varies between immediate and ~6 seconds). It almost looks like there's a cycle somewhere and the time it takes for updating is dependent on where in that cycle the DI or DO was actually set. The primitives themselves run quickly (the loop has a 100 ms delay in it and it always runs at that speed), but the data takes time to arrive.
    The cRIO hardly has any code running on it - the FPGA reads two DI cards and transfers the data as a U64 value through a DMA FIFO and the code on the RT target only takes this value from the FIFO and writes it to a network stream (not too quickly either, since most of the time there's no data in the FIFO). There's another network stream in the same loop which the cRIO uses to send error clusters to the PC. And that's it. That was all the code running on the cRIO, and yes, it did have a delay.
    As far as I could tell, the code which managed the network stream always responded immediately. Triggering data in the FIFO results in an immediate display of the data on the PC. It's just the I/O read through the scan engine which is slow (and apparently not even all of that, since the AI display on the FP would update at several Hz).
    At some point we tried moving the I/O reads to the cRIO (using ni.var.io instead of ni.var.psp), but that heavily loaded the CPU on the cRIO (although I can't understand why, since it was a simple loop which read a SV and wrote the data from it to the IO variable).
    The latest thing we tried was to take the data from the SV, convert it to a U32 and send that to the FPGA VI. The FPGA VI then writes and reads the actual I/O. This seems to work, but makes me unhappy as it's considerably less inelegant from the system we had originally.
    This didn't happen on another test unit which had less cards and code in it, so I'm not sure if this is a problem with too many cards/code or with something we did to the unit. I don't have experience with the cRIO, so I don't know how it's supposed to behave. Maybe we'll try configuring the test unit to be the same as the real unit and see what happens.
    If I understand correctly, the real problem here is in the diagonal line in the diagram above, but I'm not sure why.
    Does anyone have any idea why this is happening and if there is any way to do this (read and write the I/O from the PC at around 5-20 Hz) elegantly?
    Try to take over the world!

    Hi tst,
    The scan engine is certainly not the fastest option for acquiring data from the i/o modules. However, you should be able to acquire the data consistently in the rate range you are looking for. The face that you're inconsistently getting ~6 s pauses in updating the DI and DO is strange.
    One thing that was unclear in your explanation is how you're using hybrid mode. What I/O modules are you using with scan mode and which ones are you using in FPGA mode?
    You said that you have found an "inelegant" solution by writing data from the shared variable (data transferred from the host VI?) directly to the FPGA and having the FPGA write and read the result. Programming the FPGA directly will always be quicker then accessing the i/o through scan mode. Do you have this module set to program in FPGA mode? Did you have it set to program the scan engine when you were using that interface?

  • TS Variables - read/write

    I setup some variables in the StationGlobals.ini, which I could then see in my sequence file under Variables:tationGlobals, etc.  What I ran into at runtime, however, was that the StationGlobals.ini file had to be read/write.  I'm not sure that's a good idea, since I have so many read-only things being read from there, and if it were messed up during a write, I'm not sure how the operators in the field would recover . 
    If I want a variable to have scope throughout the life of the sequence file, such that (1) Setup/Main/Cleanup can see it (2) I can read/write from/to it (3) I don't have to leave my .seq file unprotected (remove the read-only attribute), what do you recommend? 

    Hi,
    If you are writing to the StationGlobals, you will need the file attributes as read/write. The StationGlobals file only gets updated when TestStand shuts down or when if you force a Save Station Globals using the API function.
    With the FileGlobals, usually you are changing the Runtime version and therefore you are not changing your Sequence Files. If you are changing the static version of the FileGlobals (DefaultSequenceFileGlobals), then obviously, you will have to have the sequence file with file attribute of read/write.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Input Ready Query, Variable read mode setting Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query :
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    - Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
    Could someone explain me why it doesn't work correctly?
    Thanks in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • Variable "read mode setting" Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query:
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query;
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    Could someone explain me why it doesn't work correctly?
    Thank in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • [Solved]Variable read/write speed with WD Passport 1 TB external drive

    I have this drive connected to my Arch Linux box. Whenever I transfer large files (I use it to backup) the write speed drops from 30M/s to sometimes a few KB/s and then speeds up again ! This drive is connected via an USB 2.0 port with a specific cable which is 2.0 at one end (to connect to my motherboard) and 3.0 at the other end (to connect to the drive). Could this be related to the kernel SES driver which is used (buffer problem maybe)?
    This speed problem is that serious that backups take very long and become almost not feasable.
    Thanks in advance
    Last edited by Strider (2014-02-02 21:00:54)

    Jason,
    this drive has 3 use cases (my PC is dual boot Arch / Windows Vista) :
    1) Backup my PC linux box using a rsync front end (luckybackup) here source and target are ext4 in target always and source is either ext4 or lvm on raid.
    2) Backup of my PC Windows Vista using an own written script which uses ntfsclone where source and target are ntfs.
    3) Backup of my Windows 7 laptop
    The problem is that I have performance issues in scenario's 1 & 2 (but not always) and never in case 3. I think this might finally be hardware related ...
    Just before writing this post I connected the drive and it didn't even appear in my file manager (nemo under cinnamon 2.0). So I ran a journalctl and here is the outcome :
    Feb 02 09:55:33 Megatron kernel: usb 2-4: new high-speed USB device number 3 using ehci-pci
    Feb 02 09:55:33 Megatron kernel: usb 2-4: new high-speed USB device number 4 using ehci-pci
    Feb 02 09:55:33 Megatron mtp-probe[911]: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-4"
    Feb 02 09:55:33 Megatron mtp-probe[911]: bus: 2, device: 4 was not an MTP device
    Feb 02 09:55:33 Megatron kernel: usb-storage 2-4:1.0: USB Mass Storage device detected
    Feb 02 09:55:33 Megatron kernel: scsi12 : usb-storage 2-4:1.0
    Feb 02 09:55:33 Megatron kernel: usbcore: registered new interface driver usb-storage
    Feb 02 09:55:34 Megatron kernel: scsi 12:0:0:0: Direct-Access     WD       My Passport 07A8 1049 PQ: 0 ANSI: 6
    Feb 02 09:55:34 Megatron kernel: scsi 12:0:0:1: Enclosure         WD       SES Device       1049 PQ: 0 ANSI: 6
    Feb 02 09:55:34 Megatron kernel: sd 12:0:0:0: [sde] Spinning up disk...
    Feb 02 09:56:04 Megatron systemd-udevd[186]: worker [926] /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:1 timeout; kill it
    Feb 02 09:56:04 Megatron systemd-udevd[186]: seq 1876 '/devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:1' killed
    Feb 02 09:56:06 Megatron kernel: usb 2-4: reset high-speed USB device number 4 using ehci-pci
    Feb 02 09:56:06 Megatron kernel: .ready
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Write Protect is off
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Mode Sense: 53 00 10 08
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] No Caching mode page found
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Assuming drive cache: write through
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] No Caching mode page found
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Assuming drive cache: write through
    Feb 02 09:56:06 Megatron kernel:  sde: sde1 sde2
    Feb 02 09:56:06 Megatron kernel: ses 12:0:0:1: Attached Enclosure device
    Feb 02 09:56:06 Megatron systemd-udevd[186]: worker [926] terminated by signal 9 (Killed)
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] No Caching mode page found
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Assuming drive cache: write through
    Feb 02 09:56:06 Megatron kernel: sd 12:0:0:0: [sde] Attached SCSI disk
    Feb 02 09:56:07 Megatron org.gtk.Private.UDisks2VolumeMonitor[592]: ### debug: emit_signal: 0x175a210
    Feb 02 09:56:37 Megatron systemd-udevd[186]: worker [908] /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:0/block/sde/sde1 timeout; kill it
    Feb 02 09:56:37 Megatron systemd-udevd[186]: seq 1884 '/devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:0/block/sde/sde1' killed
    Feb 02 09:56:37 Megatron systemd-udevd[186]: worker [928] /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:0/block/sde/sde2 timeout; kill it
    Feb 02 09:56:37 Megatron systemd-udevd[186]: seq 1885 '/devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/host12/target12:0:0/12:0:0:0/block/sde/sde2' killed
    Feb 02 09:56:37 Megatron kernel: usb 2-4: reset high-speed USB device number 4 using ehci-pci
    Feb 02 09:56:38 Megatron systemd-udevd[186]: worker [908] terminated by signal 9 (Killed)
    Feb 02 09:56:38 Megatron systemd-udevd[186]: worker [928] terminated by signal 9 (Killed)
    Something also worth knowing : the drive is know for being a heavy power drain on the usb 2.0 port (it does not have an external power connection and gets its power only via usb) . So I bought a specific cable with 3.0 at one end and 2 usb 2.0 at the other end : one for transferring data and one for power.

  • How to read shared variables inside event structure ?

    Hi,
    I have a problem that my shared variables do not update inside event structure. The program(s) I am trying to get working is seen in the attached screenshot. It works as follows:
    0. I start the vi that is unsquared.
    1. I write a string to a shared variable using vi in red square. I make sure that its updated using write-wait-read.
    2. I run the other vi (blue square), this changes the boolean shared variable.
    The unsquared vi has been running the whole time, it has event structure bind to boolean shared variable change (the one in blue vi). After I have runned the blue vi, the unsquared vi should change the indicator values to match the ones in red vi. However I have to start the blue vi multiple times to get it to change, sometimes even 6 times.
    Also, when I change the value in red vi to a third value and start blue vi multiple times, the unsquared vi shows all the variables. I.e. I put "cat" to red then start red, put "mouse" to red then start red,... and then start clicking blue... Unsqured shows cat, mouse,..., dog (dog is the default).
    How can I force the shared variable to update inside event sructure. I want the current value of the variable, not some historical values.
    Attachments:
    Screenshot-5.png ‏108 KB

    Found the buffering... disabling it solved the problem... thanks.
    FYI, there is another solution that I just found out... attached. Adding timeout to the event structure and the variable read outside the event structure... This makes the shared variable strings (one that is read outside and the otherone that is read inside) different.
    Could someone explain why the variables are in different state even if they are used in the same place and looped with 10ms intervals?
    Juha
    Attachments:
    Screenshot-6.png ‏110 KB

  • Read the value of user input variable during calculation of virtual char

    Hello
    Virtual characteristics is populated in custom BAPI based on values specified by user in the variable screen.
    How to read the value of user input variable outside the user exit for custom variables?
    The one way is to create faked user exit variable, read the value of user input variable in corresponding FM and insert it into table. Then value of this variable will be derived from the table.  
    Thanks

    no answer

  • Read a file content into Variable

    Hi There,
    I've a file in Unix and the content of it need to be assigned to an ODI variable. How can I do it?
    Regards.
    -Bhavani

    Step 1. ODI procedure .
    Command on Target - Java bean shell.
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    BufferedReader br = new BufferedReader(new FileReader("C:\\test.txt" ));
    String strLine = br.readLine();Step 2
    Create variable and add
    SELECT '<@=strLine@>' from dual This particular code will read only first line and pass into variable.

Maybe you are looking for

  • Hyperlinks don't work in PDF Form

    We use Acrobat Pro 10 / LiveCycle Desginer to create our fill-able forms to then publish on our website.  Our users can click the form on our webpage, the PDF opens in Chrome just fine and they can fill in the fields.  But when a user trys to click o

  • Context Menu for XML

    When creating an extension, a context menu item can be added to a menu for a java file by using "instanceof oracle.jdeveloper.model.JavaSourceNode". Similarly, for jsp source you would use "oracle.jdeveloper.model.JspSourceNode". What do I use if I w

  • IPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

    iPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

  • How do I create this logo in 3d in AE?

    I an trying to create the attached company logo in 3D for a video into. I am very new to After Effects and am having a great amount of difficulty figuring this out. The logo is drawn in Illustrator and everything is outlined as vectors. Where do I go

  • Mathscript Array -problem

    Dear Friends, I am reading the serial port data data , byte by byte..I used serial port vi and math-script in it .... And these  serial data are sent in a format like below........ format:  HEADER ,  MSB  , DATA ,  CHECKSUM.. I need to collect these