Ranges declaration for integers "and" characters

Hi All...
Is there any way in which we can declare a ranges variable for both integers and characters???
I want the ranges variable to check in between 10 to 13 and 30 to 33 and A to E.
I tried as ranges BT 'A' and 'E'. That is, it should only accept values in [A B C D E].
But the problem is, it is accepting the value [BETER] also.
How can this be solved.

That is fine. But the declaration occupies more space than actual code. Readability also counts!
Any other suggestions?
Thank u Vivek.

Similar Messages

  • No. range skipping for leads and opportunities

    Hello,
    I have assigned an internal number range to leads and opportunity, which are own transaction types, i have created by copying standard ones, but it is surprising for me to see that the numbers are being skipped in random intervals.
    Have any one of you have encountered this problem...what solution you applied?
    Regards

    Hi,
    Go to trx. SNRO and change the object to no keep in buffer and select only one number.
    Best regards,
    Caíque Escaler

  • Integers and characters

    i have been reading oreillys java in a nutshell.
    it states that you can only store values in a variable of the declared type.
    does this mean you can not store single characters in an integer, like you can in C++?

    Sure, I believe you; wanna buy a bridge? ;-)Ok, which one? :)> int i= 'a';
    System.out.println("J"+((i == 'a')?"os":"salonen")+" is right"); Ah, but the fact that in Java the character "a" and the number 97 equal come out, means not that the character "a" the number 97 is. One a character, the other a number, conceptually very different things they are :)

  • Date Range Calculations for gaps and overlaps

    Oracle version: 11.2.0.3
    Platform : Linux
    Empno       position    start_dt       end_dt
         1                X            01/01/2008  01/02/2010
         1                Y           01/02/2009  12/31/2012
         1                X           02/01/2012   04/01/2013    
         1                Z           5/01/2012    12/31/2012
         1                Y           05/01/2013  present         
    I need to find the exact time period the employee worked for the company in a particular position. The query should be able to calculate the overlap/gaps accordingly
    For example in this case the result should be
    Empno  position   days    Total_Days
    1             x              1156        2943
    1             y              1543        2943
    1             z               244        2943
    Thanks
    Kevin

    Hi, Kevin,
    Assuming you do have overlaps (and depending on what you mean by "overlaps") here's one way to handle them:
    WITH got_new_grp AS
       SELECT  empno, position, start_dt
       ,       NVL (end_dt, TRUNC (SYSDATE)) AS end_dt
       ,       CASE
                   WHEN  MAX (end_dt)
                             OVER ( PARTITION BY  empno, position
                                    ORDER BY      start_dt
                                    ROWS BETWEEN  UNBOUNDED PRECEDING
                                         AND      1         PRECEDING
                                  ) < start_dt
                   THEN  1
                   ELSE  0
               END  AS new_grp
        FROM   table_x
    --  WHERE  ... -- If you need any filtering, put it here
    , got_grp  AS
        SELECT  empno, position, start_dt, end_dt
        ,       SUM (new_grp) OVER ( PARTITION BY  empno, position
                                     ORDER BY      start_dt
                                   )  AS grp
        FROM    got_new_grp
    SELECT DISTINCT
              empno, position
    ,         SUM (MAX (end_dt) - MIN (start_dt))
                  OVER (PARTITION BY empno, position)   AS days
    ,         SUM (MAX (end_dt) - MIN (start_dt))
                  OVER (PARTITION BY empno)             AS total_days
    FROM      got_grp
    GROUP BY  empno, position, grp
    ORDER BY  position
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Point out where the statement above is getting the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Intrastat Declaration for Italy - services

    If we create the material master for services (so we use services as "normal" materials in purchase orders),
    can we manage to separate the intrastat declaration for goods and services for Italian needs?

    Hi,
       I could find the material number in the dynamic selection of the report. Could you please check the option:
       But there is no option for commodity code-wise selection in standard, as of my knowledge.
    Regards,
    AKPT

  • Number Range (series) for Billing Document (F2) and Excise Invoice

    Hi All,
    I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
    In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
    But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
    The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
    If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
    Can somebody provide inputs/solution on this?
    Thanks indvance.
    Rgds,
    Amit

    Hi Saurabh,
    My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
    My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
    For example: number range 1000 to 1999  --- same for F2 and excise invoice....
    Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
    If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
    Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
    Hope the question/scenario is clear now.
    I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
    Rgds,
    Amit

  • SAME NUMBER RANGES FOR DOMESTIC AND EXPORT INVOICE

    Dear All,
    We have maintained Two objects separately for Exports and Domastic sales invoices which is inturn giving two different number ranges.
    But our client needs same number to be continued for both.
    For eg: 000001 .  000002 and 000003 is the number range for domastic invoices for Export invoice 00004 should come. now as we have maintained different objects Export invoice is starting from 00001.
    Our client does'nt want to maintain separate number ranges for Exports and Domastic, same number range should be there for both which should follow continues numbers.
    Please suggest me on this at the earliest.
    Regards,
    Jay

    Dear Jay
    Assuming that you are asking about Excise Invoice number ranges, please do maintain Numbers for the Object: J_1IEXCLOC
    When you go into J1IIN, you will need to mark the checkbox: Use Local Number. If at the first time (in the case of Deemed and Regular Exports), you do not see this checkbox, click on the 'Calculator' icon and hit the 'Back' icon. Mark the checkbox and save your Excise Invoice. This number will be a continuation of your Domestic Excise Invoice.
    thanks
    G. Lakshmipathi

  • Same Number Range for OTHR and DLFC

    Hi All,
    I want to know whether we can mantain different number range for OTHR and DLFC transaction Type for same Series Group.
    i.e for Returns Vendor Delivery Excise Invoice(MM side-OTHR) and Outgoing Excise Invoice(Sales Side-DLFC).
    Pls guide me..
    With Regards
    Azeez.Mohd

    even when you sell SFG / Trading goods -( HAWA / HALB) , then also you have to update RG1, though they are not FG materials.
    Material type in terms of excise, but not in terms of SAP.
    eg:
    When customer returns the goods, you can process it in 2 ways-
    either by creatign Excise JV - J1IH
    or by following MM route, nothing but by creating Incoming excise Invoice wrt:inbound delivery-LR in Tcode:J1IEX-
    where in excise tab, material type will be defaulted as "F-RG1", but it has to be changed to "Raw Material".
    similarly, Vendor returns also treat as the same,
    for your info, adjustment of excise duty for vendor returns will be routed through excise JV in J1IS & mov type:122 -ret to vendor is activated for RG1.

  • Given filename or path contains Unicode or double-byte characters.Retry using ASCII characters for filename and path What does this mean? it happen when I publish an OAM

    Given file name or path contains Unicode or double-byte characters. Retry using ASCII characters for filename and path
    What does this mean? It is happening when I try to publish an OAM for Dreamweaver.
    Also: How can I specify the browser in Edge Animate? It is just going wherever. Are there no Preferences for Edge Animate?
    BTW. Just call it Edge. Seriously. Do you call it Illustrator Draw? Photoshop Retouching?

    No, my file name is mainContent.oam
    My project name is mainContent.an
    This error happens when I try to import into Dreamweaver. Sorry, I wasn't clear on that earlier.
    I thought maybe it was because I had saved my image as a png. So re-saved as a svg, still get the error.
    DO I have a setting is Dreamweaver CC that is wrong? Should I try this in Dreamweaver CS6? I might try that next.
    Why is this program so difficult? I know Flash. I know After Effects. I can work the timeline part just great. It's always in the export that I have problems.
    On a MacPro, 10.7.
    Are you an Adobe person or just a nice helper?

  • I am putting together a proposal for a Final Cut Pro Workstation to use with a tapeless HD camera.  Can anyone suggest the best camera (in the 5-10,000 dollar range) ?  What hardware and software should I include in the package?

    I am putting together a proposal for a Final Cut Pro Workstation to use with a tapeless HD camera.  Can anyone suggest the best camera (in the 5-10,000 dollar range) ?  What hardware and software should I include in the package?

    This is quite an open suggestion, but here are some ideas which might get you started.  There are good HD cameras in your price range from Sony, Panasonic and Canon (and maybe other manufacturers). Tapeless formats vary.  I have only worked with Sony XDCAM which seems pretty good to me.  File sizes for material shot at 35MBS are not too huge and, with the free Sony transfer and conversion programme, are easy to bring into the computer via USB direct from the camera or from a fairly inexpensive converter.  The Sony XDCAM EX3 can produce results well up to broadcast quality.
    As to hardware, you'll need a powerful MAC - iMac, Macbook Pro or MacPro with 4GB or more of RAM and a good video card.  Softwarewise, FCPX is quite a bit cheaper than FC Studio 3 and of course it's 64bit and can make better use of multi-core machines than FCP7.    It's also designed to handle HD formats with less hassle than FCP7 and is matched to the latest versions of Motion and Compressor.   But you'd probably be wise to search reviews of FCPX before you make your choice - it has some issues.
    A good HD monitor will be essential and, for colour correction etc, you may want to consider a second monitor or HD TV foe editing. ( A MacPro is generally the best machine to connect a second monitor to). 
    This should give you a good editing system, but there are many other things you could add (Photoshop, professional sound monitors, etc)
    Hope this helps a bit.
    Jonathan

  • ""  No authorization for number range object type GTIN and activity SHOW ""

    While creating number range in number  range administration for GTIN system showing the error
    ""  No authorization for number range object type GTIN and activity SHOW ""
    Pls help me to solve this issue

    Hi ,
    Please check roles for user assigend as  [ This is for super administrator ]
    SAP_AIN_ADMINISTRATOR
    SAP_AIN_OER_ADMINISTRATOR
    SAP_AIN_SUPER_ADMINISTRATOR
    SAP_AIN_SUPERVISOR
    SAP_AIN_WORKER
    and profiles assgined as
    SAP_ALL          
    SAP_NEW          
    Hope it will helps
    Thanks .,
    V.Rangarajan

  • No authorization for number range object type BTI and activity SHOW

    Hi All,
    When I try to execute
    SAP Easy Access screen - > Auto-ID Infrastructure -> Master data -> Number Ranges -> Number Range Administration
    on the next web window when I select the object type BTI , it comes up with the error
    Number range table not maintained for object BTI in customizing  
      No authorization for number range object type BTI and activity SHOW  
    I am using AIN 5.1 .  Is this an authorization issue ?. If so which all roles I should give to the user?  IF you have any idea about this please share some tips.

    Hi Sahad,
    Only few number range object types are available in the standard system:
    Follow the link for help .
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm
    Follow the for setting up the others.
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm

  • Number range buffering for dimension tables (DIM IDs) and InfoObjects (SIDs

    Hi BW Experts,
    How to check whether this number range buffering for dimension tables (DIM IDs) and InfoObjects (SIDs) is Active or not ??
    can you please provide me this technical information where to go and check in the system ?
    Thanks in Advance.

    The Early Watch report lists these because of the large number of rows in the MD/Dim tables.  Keep in mind though, that Number Range buffering will really only help if you continue to generate a large volume of new SIDs or Dim IDs with ongoing loads, e.g.
    If your transactions being loaded to a cube result in several thousand new rows being added a Dim table, then it makes sense to turn on Number Range buffering for that Dim ID.  But if the transaction volume is only cause a few hundred DIM IDs to be added, buffering will not really get you anything.

  • Number ranges for SD and FI documents(Invoices, credit and debit notes )

    Hi all,
    I have a requirement that that the document numbers used on  sales documents issued to customers be within the same number range.that means SD and FI documents (Invoices, credit and debit notes to customers) should be in the same number range.
    Can anybody tell me userexit for this or related solution or how should I approach to it.
    Regards,
    Azra.

    >
    Azra Husain wrote:
    > SD and FI documents (Invoices, credit and debit notes to customers) should be in the same number range.
    >
    > Can anybody tell me userexit for this or related solution or how should I approach to it.
    > Regards,
    > Azra.
    What do you mean by same number range?
    As for as i know number ranges are application specific so you cannot have both SD and FI documents in a same number range.
    What you can do with userexits is to assign a number range based on a condition. For example Plant based Billing number range, even you cannot have same number range for Sales order and billing.
    Regards
    Karthik D

  • Hello. I have an iphone5 and I use it for a hotspot for mylaptop and printer. Does any one know a device that will extend its range? I have tried a Netgear and Belkin range extenders without any luck. Thank you!

    Hello. I have an iphone5 and I use it for a hotspot for mylaptop and printer. Does any one know a device that will extend its range? I have tried a Netgear and Belkin range extenders without any luck. The Belkin was closest to working. IT could find my iphone but when it create a new network, both the laptop and printer could not find the new extended network. Thank you!

    Hi - you can do what you want to do with AirPlay from your iPhone - but unfortunately it is not as easy as the people in the Apple store told you - your first problem is that you have a non Apple router - you cannot extend a non Apple router wirelessly with the Express - you can only join the network and connect an ethernet device to it - you can however connect via ethernet and have it create a wireless network of its' own - you can set this up from your iPhone or the XP - but this is a complicated setup and would involve many different discussion areas of this forum - therefore I would suggest that you use your 90 days of support and consult directly with Apple to do this - go to this link - http://www.apple.com/support/contact/

Maybe you are looking for

  • Report for invoices project wise

    Hello All, I need a report where I can see the invoices project wise i.e (PS module and SD module) I am looking for invoices details project wise is there any standard report which I can check that how many invoices have been raised for  a particular

  • How to get results of search help window?

    Hi, experts, I have a question here. For a field vendor id there is pre-defined search help, with which the detailed information of vendor inclusive the vendor id will be returned. But it will only fill this vendor id field. other information in the

  • Delete Report painter from group

    How to delete a Report painter from a group which is assign to it. I mean I have created a report assign it to a group to run it. But I want to delete it can some tell what is the way to delete it. Regards, Kiran Message was edited by:         Kiran

  • OMS Core dumping 10.2.0.1 - 10.2.0.4 Something to be aware of

    Just to warn anybody who this may affect. My 10.2.0.4 OMS started core dumping manically yesterday, so much so it kept filling the mountpoint where the home was in minutes and effectively crashing the oms. After a a frantic couple of hours, a sev 1 c

  • Messages transfer failure

    Hi, I have the latest PCSuite software version (6.82.22.0) installed on a PC with windows XP OS. It is not possible to transfer the messages (long messages, more than 160 characters) from my nokia 6021 (but the problem occurred even with a nokia 6070