Condition loop only one time

taking input as digits
giving output in words
ex:
100 output hundread
1234 one thousand two hundread thirty four
0003 three
like this we have output
so please specify any logic
thanks&regards
SIva

http://www.google.com/search?q=java+convert+number+to+text
~

Similar Messages

  • Condition type only one time

    Hi ,
    In pricing procedure there is a manual condition type.Now the user can do entry for this condition type more than one time for the line item.If i want to stop that by the user ,what should  i do . Only requirement in the pricing procedure, is the option or there is anything else in the standard SAP ..Please suggest .
    Thanks ,
    Abhijit.

    dear abhijit,
    I have faced same problem and for this a solution is to maintain purchase infor record.
    like you must be purchasing article from different vendors then you can maintain the different purchasing price for different vendor
    Purchasing info records determine the prices suggested in purchasing documents in two ways:
    The system,
    • 1st searches under POrg. Data 1 - Conditions:
    Conditions are included if they have been maintained for an info record manually or from a quotation (but can be changed manually afterwards)
    • 2nd searches under POrg. Data 2 – Last Purch Doc.:
    If an info record does not contain any conditions (under POrg. Data 1), the system reads the number of the last purchasing document in the info record and then suggests the price from this document.
    ‘Info Update’ indicator for Conditions (in PO, RFQ/Quotation, Contract) :
    • for PO – the update occurs in POrg Data 2 (last purch doc)
    • for RFQ/Quotation - the update occurs at POrg Data 1 – Conditions (can be changed manually afterwards) and POrg Data 2.
    • for Contract – the update occurs at POrg Data 1 - Conditions, IF at the time of the contract creation there is No info rec. Otherwise the info rec is updated with the last release order under POrg. Data 2.
    but please note that the final price will get calculated on one condiition only and not on others.
    regards,
    Vishal
    Edited by: Vishal Jajoo on Feb 19, 2008 2:16 PM

  • Loop only one time

    Hi guys,
    I have multiple record in an internal table
    for that i have to loop only once
    ie only first record i have to loop rest i dont want to loop.
    How this can be done?
    Regards
    senthil

    Hi Senthil..
    If you want to Read only single record then use the READ TABLE statement.
    For 1st Record :
    READ TABLE <ITAB> INTO <WA> INDEX 1.
    if sy-subrc = 0.
    endif.
    For reading a single record based on  some condition:
    READ TABLE <ITAB> INTO <wA> WITH KEY MATNR = P_MATNR.
    if sy-subrc = 0.
    endif.
    REWARD IF HELPFUL.

  • Pricing: condition type PR00 only one time enter

    Dear
    In sale order we have condition type PR00 and it is manualy condition type , now user was entering the same condition type(PR00)
    Two times ,how can we  restrict that PR00 is enter only one time in  the sale order

    Check this thread where the same topic was dicussed.
    [how tostop duplicate conditype entry in to prcing at order |Re: how tostop duplicate conditype entry in to prcing at order processing lev;
    thanks
    G. Lakshmipathi

  • BMP EJB Load and Store is calling only one time calling in a loop

    Loop Iterating two times but ejb load and store is calling only one time.
    Application deployed in 0c4j 10.1.2.0.0 container.

    This sounds more like a Teststand quesstion. You might want to post it there.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Structure inside while should work only one time ?

    Hi Everyone ,
                      I have coded a program that if i click a button ( switch untill released) . inside that structure should work only one times . 
                      and i have coded and its working fine .. but its looks compilcated..
                       i need some simple solution . Plz help me guys 
    Attachments:
    CODE.vi ‏10 KB

    saran1988 wrote:
                      I have coded a program that if i click a button ( switch untill released) . inside that structure should work only one times . 
                      and i have coded and its working fine .. but its looks compilcated..
                       i need some simple solution . Plz help me guys 
    Your code has very little to do with what you are describing.
    There is no button with "switch until released" mechanical action. (OK is switch when released, stop is latch when released)
    A case structure always "works". Are you saying that it should execute e.g. the true case only once whenever the outer case goes from false to true??
    Your inner case goes true more than once per run of the program (whenever the OK goes true). If it should really only work once overall, use the "first call?" primitive. You need to formulate the problem using less ambiguous words.
    There is no obvious starting state for the boolean that you read via local variables. How do you ensure that it start with a known value? Does it matter?
    You seem to entirely deal with integers, so why are you using floating point representation for the numerics?
    What is the purpose of the orange numeric indicator. Is it just a kludge for your logic or does its value mean anything?
    Why does your loop not contain any wait?
    At this point, you should learn about shift registers. It would eliminate all your local variables.
    LabVIEW Champion . Do more with less code and in less time .

  • Repeated Region: show dubble entries only one time

    I want to make a recordset where all 'cities' are shown only one time, It should not be like
    The Hague
    The Hague
    The Hague
    Rotterdam
    Rotterdam
    Amsterdam
    But:
    The Hague
    Rotterdam
    Amsterdam
    This is the recordset:
    SELECT c_city FROM canteen
    This is the repeated region:
    <?php do { ?><?php echo $row_allCities['c_city']; ?><?php } while ($row_allCities = mysql_fetch_assoc($allCities)); ?>
    Thankx for any further help!

    Add a DISTINCT statement to your query.
    SELECT DISTINCT  c_city FROM canteen
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • Custom Ringtones ring only one time ( Please Report to Xperia Z2 Developers )

    I buy Z2 last weak, before it i was using Z1.
    Both devices have one error in their Firmware and that is about ringtone.
    no matter whatever the custom ringtone you set for ringtone notification its ring only one time and then only vibrate.
    For example i set a tone which is 12 second tone so when ever some one call me after 12 second the ringtone did not repeat.
    Sample video
    https://www.youtube.com/watch?v=IDy2...ature=youtu.be

    Try a software repair:
    http://www.sonymobile.com/gb/tools/pc-companion/
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Refresh the window only one time

    hi,
    i want to refresh my window only one time using the javascript code window.location = window.location.href. But i am in a situation to write the code in the event of form load. so i the code is executing infinitely. but i want to refresh my window for only one time. any suggestion would be appreciated. thanking u
    rgds
    parameswaran

    Send a URL param with it, then check for that param before refreshing.
    And this isn't really JSP-related.

  • Value only one time displayed

    Hello all,
    one question: I have a report region. In one column a value is several times among each other. What can I do, the same values display only one time?
    Thanks a lot!
    Regards
    Daniel

    Daniel,
    Not sure if I have exactly understood your question but are you talking about Break Formatting? So that a report will display like:
    CATEGORY | PRODUCT
    Computer - Monitor
    - Keyboard
    - Mouse
    Car - Wheel
    - Engine
    - Gears
    instead of:
    Computer - Monitor
    Computer - Keyboard
    Computer - Mouse
    Car - Wheel
    Car - Engine
    Car - Gears
    If so, you'll want to investigate Break Formatting in your Report Attributes or look in the Help for more details on this.
    Sorry if that's not what you meant...
    Andy

  • Only one time Froforma Invoice

    Hi All,
    Is there is any check for Froforma Invoice that should come only one time ...when they will creat the forforma invoice the system should give a error massage that " the Proforma Invoice is already created" and that is error massage ...
    Thanks in advance ....
    Regards,
    Abhijit

    Hi Samier,
    Actually the requirement is they will allow the user to take only one time Proforma invoice ...But in SAP standard u can take save the Froforma invoice as many times as the user want ...In item category the completion rule will not work ....because i want to check the delivery document should be refence for two times once for F2 and again for F8.As if we want to creat the billing doc for 2 time the system shows this billing has already been done ...that is also applicable for F8....
    Regards,
    Abhijit......................

  • If I want to purchase PhotoShop CS6 for my company, how many computers can install this copyright or only one time of installation?

    If I want to purchase PhotoShop CS6 for my company, how many computers can install this copyright or only one time of installation?

    YOu can install and activate on 2 computers for non-concurrent use.
    Mylenium

  • MVC: update only one time

    Hi,
    suppose I've this model class:
    public class MyClass extends java.util.Observable {
         public MyClass(){}
         //get methods
         //set methods
         private int x;
         private int y;
         private int z;
         private int t;
         private int s;
    }Now I want that, when I use more than one set method, observers are notified only one time.
    That is,
    if I have this calls:
    MyClass obj = new MyClass();
    obj.setX(1);
    obj.setY(2);
    obj.setZ(3);
    obj.setT(4);
    obj.setS(5);I want that the update method isn't called five times, but only one time.
    I can't add setChanged() and NotifyObservers() in only one of the set method,
    because I 'm interesting in knowing when the model has been modified.
    I thought of adding a new set method like this:
    setModified(){
       setChanged();
       notifyObservers();
    }so, every time I want to notify observers, I run this method.
    But, I want to know:
    Is this the correct way to do?
    Thank you in advance.
    MargNat

    No,
    the five values doesn't always change all at once.
    I can have this code in one class:
    obj.setX(45);
    obj.setY(46);and in another class this:
    obj.setX(45);
    obj.setZ(345);
    obj.setT(345);I simply don't want the observers are called many times.
    the values are indipendent among them, I don't want to have only one set method for them;
    this isn't an object oriented approach.
    Practically, I want to know where exactly must be placed setChanged() and notifyObservers() methods.
    In all model methods?
    In a specific method I can call every time I want to update?
    I must call setChanged() and notifyObserver() directly, as example, like:
    obj.setChanged()
    obj.notifyObservers?
    Thank you again.
    MargNat

  • HT204053 i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible

    i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible..

    Open the App Store on your device.
    Make sure you are signed in with the same account used for the original purchase.
    Tap on Purchased from the bottom navigation bar.
    On iPhone or iPod touch, tap Updates from the bottom navigation bar, then tap Purchased.
    Locate the app in your Purchased tab.
    Tap the download button (cloud symbol)
    See also: http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

  • Report generation only one time successfull

    Hi @all,
    we are facing the problem that the report generation process is only working one time successfully, the next time it ends with error. After restarting the service on the WWI server the next generation is successfull, but the second one will be "Error" again.
    Does anybody faced this issue before and can provide a solution?
    Thank you in advance for all contributions!!!
    Best regards,
    Christoph
    PS: in the meantime we created the respective service again on the server - no result, still only one successfull run at a time.
    Edited by: Christoph Giehl on Sep 6, 2011 5:18 PM

    Hello Christoph
    we never have had similar problems. May be these hints might help:
    a.) check wich generation server is used during the generation and if any of the potential servers "stop" (WWI process does not proceed etc as explained by you).
    b.) check if "report from template" works (assuming that use use the "old" fashioned client WWI version) => if this works than there might be a problem with SAP <=> connection (RFC) ...
    c.) check please if only this WWI report (more precisely combination of generation variant and language) gives result to the "crash" of WWI process and no other one => in this case you should check WWI template
    Reading you explanation I assume:
    1.) there was no change in SAP set up
    2.) there was no change in WWI set up (number of servers, WWI version etc.)
    and we are talking (??) about a new generation variant/language combination which has never been used before (?).
    With best regards
    C.B.
    PS: Check Marketplace. You will fond there an OSS note called "WWI Cookbook" and furthere related OSS notes poviding FAQs etc. regarding WWI topics.
    Edited by: Christoph Bergemann on Sep 6, 2011 9:00 PM

Maybe you are looking for

  • Does anyone know if there is an HTML 2 Image Rendering tool?

    I am looking for some Java API that converts HTML to Image on the server side. There are a number of desktop utilities that take an HTML file as input and render image, but I am looking for a Server Side solution. I found WebRenderer, but it is invol

  • Adobe photoshop cc 2014 assign to desktop not working properly

    Having an issue with Adobe photoshop cc 2014 not switching to my secondary monitor. I currently have my iMac connected to a 22" cintiq monitor that I use as my secondary monitor and whenever I open photoshop I right click on the "Ps" icon in the tray

  • Syncing with Windows XP and iTunes 9.1 slow,stalled, hanging

    I am attempting to sync my iPad with a Windows XP - based laptop having the latest and greatest iTunes. This process is barely moving. The device was left overnight and it is still attempting to sync. I am afraid to interrupt the process but I can't

  • FM Radio Lollipop Update Locked Screen Issue

    Hi All, After updating my Z1 Compact to Lollipop I face the following problem. When I listen to FM Radio with Sony's supplied single-button earphones with the screen locked if I press the button once it turns off the radio app and then if I press it

  • How do i find what my OS is?

    where do i go to see what my current operating system is?