-DO_WHILE_VARY_NOT_IN_RANGE - When using while endwhile

Hi all ,
ex : I need to print values 23 24 25 26  preferably integers using while and endwhile looping.
when we use do enddo condition the loop iterates 22 times to reach the processing logic .
Using while endwhile we reach the condition 23 in the logical expression ,  im doing it but im getting one dump when i enter ranges value.
somewhere im doing a mistake .. need hints ..
Thanks.
data : int type i.
RANGES SELTAB FOR INT.
SELTAB-SIGN = 'I'.
SELTAB-OPTION = 'EQ'.
SELTAB-LOW = lv_low.
SELTAB-HIGH = lv_high.
append seltab.
while ( l_val <= lv_high ) vary l_Val from seltab-low next seltab-high range seltab.
endwhile .
here lv_low and lv_high are the limits of my logic ..
Br,
Vijay.

Dear Raymond ,
Thanks for your reply .
// next iterations - l_val is lost somewhere in the program memory
Infact the problem is solved if you are using the code to add 1 value  inside the  while logic. My attempt was to get rid of those
extra iterations . 
l_value = l_low
WHILE l_value LE l_high.
" process value
  ADD 1 to l_value.
       if l_value between desired range . "processing block
         then do something here ..
      endif.
ENDWHILE
Now using the above we reach to the processing block only after l_value crossed 22 ref to my earlier example. SO there is no go around to land directly .. just curious ..
Thanks for your time ..
Br,
Vijay

Similar Messages

  • My macbook pro is burning my leg when used while sitting...why? the gpu fan is not clogged

    i dunno what to do

    Heed the instructions in the manual that came with the MBP: don't use it on your lap.

  • Error while calling RFC when using BSP Web Interface

    Hi,
    we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
    R_AREA   
    R_METHOD 
    R_PACKAGE
    R_PARAM  
    R_PLEVEL 
    R_PM_NAME
    R_PROFILE
    R_STS_PT 
    R_STS_SUP
    R_WEBITF 
    S_RS_ADMWB
    S_RS_AUTH
    S_RS_COMP
    S_RS_COMP1
    S_RS_DAS 
    S_RS_ICUBE
    but we still get the error message: "Error while calling RFC".
    When using a user with SAP_ALL, it works.
    What can we do?
    Thx for your time.
    Joerg

    Actually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
    Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded.

  • Need help please. When using Safari while banking online I cannot get rid of Pop ups although I have ticket no Pop ups. Any ideas ?

    Need your help please. When using Safari while banking online- I cannot get rid of the Pop ups although I have ticked the correct place. Any ideas ?
    A few months ago I downloaded a program someone suggested.

    Get Adblock or GlimmerBlocker.

  • When using FaceTime, my iMac makes noises.  It dings like I am receiving an email and sometimes sounds like a busy signal, but this is while I am talking to someone. Any suggestions?

    When using FaceTime, my iMac makes noises.  It dings like I am receiving an email and sometimes sounds like a busy signal, but this is while I am talking to someone.  Any suggestions?

    Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
    Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
    I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
    I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
    Thanks again..
    Harv..

  • HT201178 when using apple bluetooth keyboard with iPad, hitting the enter/return key while typing in iMessage only adds another line not 'send' the message? is there a setting to change that somewhere?

    when using apple bluetooth keyboard with iPad, hitting the enter/return key while typing in iMessage only adds another line not 'send' the message? is there a setting to change that somewhere?

    Everywhere that I've checked it is not possible to do this. I would like to even do this using the vkb. I hate having to stretch my thumb all the way up just to send a message. It's messaging, not a report or email. Seems backwards. Hopefully some day Apple can add this option.

  • Just switched from safari on my imac. when using search menu safari gave me the option to "find on this page," which was an incredible help while doing research. Is there any way to have this feature using firefox?

    Just switched from safari on my imac. When using search menu in safari I had the option to "find on this page," which was an incredible help while doing research and looking for specific phrases/words. Is there any way to have this feature using firefox?

    I think Safari has the same keyboard shortcut as Firefox "command+F" on a Mac or "Ctrl+F" on Windows.
    Look in the lower left corner for the Find. There are more likely to be differences in Find Next and Find Previous in the keyboard shortcuts, but continuing at the Find bar at the bottom doesn't matter what browser you use. There is an "X" there to dismiss the Find bar. In Windows the "Esc" key will dismiss the bar if you are within the find text entry area.
    Keyboard shortcuts:
    * [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts?s=keyboard&amp;r=0&amp;as=s Keyboard shortcuts | How to | Firefox Help], from Mozilla very limited number of shortcuts but will show correctly for your system
    * [http://dmcritchie.mvps.org/firefox/keyboard.htm Firefox and other Browser Keyboard Shortcuts (Comparison Table)], more comprehensive but is oriented to Windows users with some guidelines for Mac and Linux users.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • When using Exprt PDF, the choice of language for the document to be exported is sometimes very restricted, while sometimes many more languages are available. What's the matter?

    When using Exprt PDF, the choice of language for the document to be exported is sometimes very restricted, while sometimes many more languages are available. What's the matter?

    Dear Mrs.,
    I now add 2 print screens which show what I get when I try to export a PDF from Adobe Reader and which languages are available.
    The same problem does not exist when I use the website.
    I hope this gives you a clue.
    Many thanks,
    Jos MERTENS,
    Advocaat.

  • I am stumped I do not understand why my roommates macbook pro when duel screened will display perfectly on my monitor while mine refuses to, but mine will display perfectly when using another monitor that is not mine. Please help me out.

    One day when using my duel display the second monitor decided it wouldn't display at full resolution in the middle of doing something i was confused. I use a mini display to hdmi then hdmi to the second monitor. I thought maybe the converter or cable died. I bought another another mini display to hdmi and tried another hdmi cord and the same issue. My roommate has macbook pro as well so i decided to see if it was the monitor, when i pluged the mini display converter into his and used the external monitor it displayed perfectly not below resolution. Doing this I knew it was not the monitor or the mini display to hdmi or the hdmi cable. I took it into the genuis bar assuming now that it was my grapics card or logic board. When the genuis went to duel screen it on a cinema display it displayed perfectly. So went home tried to duel screen it again and still not displaying at full resolution. That is where I am stuck, in summary:
    My screen used to display perfect resolution on a second monitor and suddenly did not.
    Tested two mini display to hdmi and hdmi cords both were fine.
    Tested to see if monitor was issue but displayed perfectly when i used roommates laptop.
    Went to genius bar and displayed perfectly on second monitor so it can display perfect resolution on apples monitors but will not do so anymore on my monitor, even though roommates macbook pro will display perfect resolution on my monitor.
    I am beyond confused.

    Apparently you have tried everything except - take the monitor in question to the Apple Store along with your computer.  If it works there, the mystery continues.

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • Where is my Mac App. I purchased a MacBook Pro about two years ago while in Okinawa.  I recently moved to St Louis.  When using the "find my Mac" app, it still says my Mac is located in Okinawa.  How do I get it to recognize that it is now in St. Louis?

    I purchased my MacBook Pro 2 years ago in Okinawa.  I recently moved to St Louis.  When using the "find my Mac" App, it still says my Mac is in Okinawa.  How do I get it to accurately show my Mac is now in St Louis?

    Open System Preferences using the menu item " > System Preferences" then select the "Security & Privacy" pane.  selec the "Location Services" on the left and enable using the checkbox:
    Just noticed you details show you are running OS X 10.7.5 so I am not sure this is exactly correct.

  • Skype keeps quitting when using Skype call to another computer while using

    This does not happen when using to pc's but when I use my Macbook Pro to call back home to my Desktop PC in Taiwan it never fails to disconnect after a few minutes of talk. Anyone else having these problems with Skype quitting when on a VOIP cal from computer to computer. My Skype is the latest verison.

    Hi there stylineexpat,
    I have the exact same issue here with my MBP & 10.5.x.. About 10.. 15 mins or less into the call my mbp drops the call..
    Interestingly enough, my MacPro running 10.4.11 NEVER drops a call to the same people and the same network. I mean .. never drops em.. I have been using Skype for roughly 3 years and haven't had issue until this machine and another MBP I had that was running 10.5 as well.
    I agree, It is a pain.
    I'll look to the Skype user forums too.
    Cheers, ML

  • I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive?

    I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive in Iphoto?

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Adobe Photoshop CS4/5 Crashes when using the Move Tool

    Hello. I'm here because I'm having an issue with Photoshop.
    I was trying out CS5 when it started to crash every time I tried to use the Move Tool. It was the generic error message: "Adobe Photoshop CS4 has stopped working.
    A problem has caused Adobe Photoshop CS4 to stop working correctly. Windows will close the program and notify you if a solution is available."
    Thinking that it was a CS5 issue, I went back to my copy of CS4, only to find the same thing happening there (I also downgraded because CS5 was also crashing at other random times for some reason, but that's an issue for another time).
    This puzzles me because both were working fine before. Granted, I hadn't opened them for a while, but it was a sudden thing.
    My first impulse was to uninstall and reinstall CS4. No luck. So then, I uninstalled all third-party plugins, thinking that might be it. Still, the same problem. I started looking around on Google for solutions and found the instructions on resetting the Tool preferences (I chose to reset the preferences for ALL of the tools). When that didn't work, I tried deleting the preferences file outright, which said instructions recommended. Nothing.
    I should note that Photoshop crashes when using the Move Tool to move an object without ant lines around it, i.e., a layer. I'll move the object, and after two to three seconds, the mentioned error message will appear and Windows will close Photoshop. This, however, only seems to happen after selecting, copying, and pasting part of a large object with some variation of the Marqee Tool (thus making that part a new layer by default) while working at a zoom of 100%. So, in short, working with a large image like <a href=http://www.wallpaper4me.com/images/wallpapers/ergo_proxy_267_1280-862301.jpeg>This</a> at 100% zoom. The image linked is the image that I was using and am currently using to reproduce the problem. It is 1280x1024 pixels. I have tested this with somewhat smaller, yet comparable images too. Same problem. I have never had this problem working with large images before, and I wonder if anyone has any suggestions short of formatting my hard drive.
    The error code, from Event Viewer:
    Faulting application name: Photoshop.exe, version: 11.0.2.0, time stamp: 0x4bf2d4f6
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x65637275
    Faulting process id: 0xe28
    Faulting application start time: 0x01cb2bb3471d87bf
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
    Faulting module path: unknown
    Report Id: b412e368-97ab-11df-8f49-001d60b646ef
    Details:
    System
    Provider
    [  Name]
    Application  Error
    EventID
    1000
    [  Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [  SystemTime]
    2010-07-25T05:15:57.000000000Z
    EventRecordID
    78845
    Channel
    Application
    Computer
    Gatherum
    Security
    EventData
    Photoshop.exe
    11.0.2.0
    4bf2d4f6
    unknown
    0.0.0.0
    00000000
    c0000005
    65637275
    e28
    01cb2bb3471d87bf
    C:\Program  Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
    unknown
    b412e368-97ab-11df-8f49-001d60b646ef
    Details in XML View:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-07-25T05:15:57.000000000Z" />
    <EventRecordID>78845</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Gatherum</Computer>
    <Security />
    </System>
    - <EventData>
    <Data>Photoshop.exe</Data>
    <Data>11.0.2.0</Data>
    <Data>4bf2d4f6</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>65637275</Data>
    <Data>e28</Data>
    <Data>01cb2bb3471d87bf</Data>
    <Data>C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe</Data>
    <Data>unknown</Data>
    <Data>b412e368-97ab-11df-8f49-001d60b646ef</Data>
    </EventData>
    </Event>
    System Specifications:
    Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7600)
    System Manufacturer: HP-Pavilion
    System Model: GN697AA-ABA a6214x
    Processor: Intel Pentium Dual CPU E2160 @ 1.80 GHz (2 CPUs)
    Memory: 2048MB RAM
    DirectX Version: DirectX 11
    Display Device:
    Name: NVIDIA GeForce 8600 GTS
    Manufacturer: NVIDIA
    DAC Type: Integrated RAMDAC
    Approx. Total Memory: 1010 MB
    Current Display Mode: 1440 x 900 (32 bit) (60 Hz)
    Photoshop Version: CS4 Extended 11.0.2

    Even a decent RAM upgrade is usually only a few hundred dollars nowadays, but it's not a trivially simple process.  That said, with a little research and care you can do it.  Alternatively, you can hire people (e.g., "Geek Squad") to do such an upgrade.
    First, you'll need to know what your operating system capacity is.  For example, a 32 bit Windows system can really only use up to a bit more than 3 GB of RAM, while a 64 bit Windows system can use all the RAM you can find a place to plug in.  What version of Windows are you running?
    Then you'll need to determine what RAM you have installed and what your computer's maximum RAM capacity is - usually you can do this through internet research, either by visiting your computer manufacturer's web site or doing google searches.  There are even RAM manufacturer web sites that will tell you what kind of RAM your computer needs and suggest sources, for example:
    http://www.kingston.com/
    It may be that you can just plug additional chips into currently empty sockets, or it is possible you'll need to replace the RAM chips you have installed in your computer to make room for an upgrade.  Every computer is different.
    If you list your computer model and current RAM that you have installed here, it may be that someone can help with more specific advice.
    -Noel

  • How to force simple tags and null attributes to appear when using SQL/XML?

    Hello everybody:
    I'm developing a non-schema based XMLType view.
    When the XML document is generated, i noticed two things I need to manage in order to achieve the desired result:
    1. Oracle generates a <tag></tag> pair for each XMLELEMENT defined; in my case, some tags need to appear as <tag/>... how do I do? Is it possible when using schema based XMLType views? Is it possible while using a non-schema approach?
    2. When using XMLATTRIBUTE('' AS "attribute") or XMLATTRIBUTE(NULL AS "attribute"), no one attribute with label "attribute" and null value appears at the output; how do I force to Oracle DB to render those attributes which are with no values (needed to render those attributes as another parsing code will await for all the items)?
    3. Some tip about how to route the output to an XML text disk file will be appreciated.
    Thanks in advance.
    Edited by: Enyix on 26/02/2012 11:21 PM
    Edited by: Enyix on 26/02/2012 11:22 PM

    Hello odie_63, thanks for your reply:
    Reasons why needed single tags are these two next: Needed to generate a single XML file from 50,000,000 rows, where the XML ouput matches not only row data but another default values for another elements and attributes (not from database but using strings and types with default values); by using start and end tag, the generated file is as much twice bigger than using single tags; second, needed a very precise presentation for all the document.
    For generating that document, currently focus is based on using a batch process relying on Spring Batch with using a single JDBC query where a join happens between two tables. From my point of view, that approach uses: database resources, network resources, disk resources, and processing resources, including the price of making the join, sending to network, creating objects, validating, and making the file (Expending too much time generating that XML file). That processs currently is in development.
    I think possibly another approach is delegating the complete generation of that file to the database using its XML capabilities. My current approach following your recomendations is to generate a clob where I will put all the XML and putting it into a table. It leads me to another issues: Considering limitations on memory, processing and disk space, needed to append a single row-as-xml into the clob as soon as possible, and putting the clob inside the field as soon as possible, or putting the clob inside the field, and appending into it as the data is generated; so How do I manage the process in order to achieve that goals?. Seen these issues aren't related to my original question, so I'll open a new post. Any help will be apreciated.
    Thanks again in advance.

Maybe you are looking for

  • Problem in ABAP Proxy(sometimes XML Messages are not being created)

    Hi, I am trying to send the data from ECC to CRM when post goods issue is done for a delivery from ECC side. I called my proxy method in BADI : DELIVERY_PUBLISH. And after calling the method, I used commit work also. But the problem is, some times it

  • Does any one know how Fixed Assets links to the Purchasing ledger?

    Hi, Does any one know how Fixed Assets links to the Purchasing ledger? As I have looked high and low and can't find any table mappings or anyway the ledgers link, this is a problem as I am struggling to track an asset back to a Purchase Order. I have

  • Schema Based Problems

    I am a rookie to schemas and am having some validation type issues with a schema. Could someone tell me what it looks like I am doing wrong within this schema? Thanks. <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xsd="http://www.w3.org/200

  • Smart Window Placement Manager for KDE

    Hey all,  I'm having a hard time figuring out how to search for what I'm looking for as I don't think it fits nicely into a search term for google (or I simply do not know what the right term is :-)  At any rate, I'm looking for a program that will t

  • WRT 610N and 2TB Drive

    I currently have a buffalo 1 tb drive working with my wrt 610.  Bought a 2tb Hitachi drive but cannot seem to get it to work with the router.  Any ideas.... Can the wrt 610 hook up with 2 tb dirves