PO date(bedat) range validation

i have to validate the PO delivery date range:
and the scenario is given  below
Please display a warning if no date range is specified or if the date range exceeds 31 calendar days. The warning should state u201Cno or large date range specified. This can result in long processing times. Do you want to proceed? u201CThe user should be given the option to abort and re-enter the selection criteria or continue with the execution of the report.
Moderator message : Spec dumping not allowed.  Read forum rules before posting.  Thread locked.
Edited by: Vinod Kumar on Jul 6, 2011 1:41 PM

If you can share the form,then it will be easy to find out where the issue is..
Steps to share a document..
1. Go to URL http://Acrobat.com
2. Create an account if you don't have one.
3. Then login to the website.
4. In top left corner you will see a button called Upload.
5. Click on browse and select the file you want to upload.
6. After Uploading, mouse over on the uploaded file. Click the down arrow button and choose Share document.
7. Then you will be prompted a popup window at the lower left corner. Choose "Publish it" option.
8. In the next pop up window choose "Copy Link" option.
9. You can paste the link in the forum thread.
Thanks
Srini

Similar Messages

  • Threadinar13 - Double Range, Length & Long Range Validator Components

    Hi All,
    This is the thirteenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss the 3 components in the "Components Palette: Validator Section" of the Creator Component Catalog.
    The components we will focus on today are
    "Double Range Validator", "Length Validator" & "Long Range Validator" Components.
    Let us begin our discussion with the "Double Range Validator" Component.
    [b]What Is a Validator?
    If your application collects information from users, for example a login and a password, then it is important that you verify the user data. The IDE provides a set of components for validating user input. These validators, which you access from the Validators section of the Components Palette, are as follows:
    [b]Double Range Validator Component
    A Double Range validator is typically used to validate that the value of a component does not exceed the standard range of the Java double data type. This data type represents a double floating-point number that ranges from �439E-324 to �1.7976931348623157E+308. Typically, the way you add a validator to a JavaServer Faces component is to edit the component's validator property, which provides a drop-down list from which you can select a validator.
    Use a Double Range validator to test whether the user has entered a double data type value within the range defined by the specified minimum and maximum values. The value must be floating-point or convertible to floating-point.
    [b]Length Validator Component
    A Length validator is used to validate that the length of text entered for a component is no shorter or longer than the values you specify for the validator's min and max properties. The validation occurs after the page is submitted. Typically, the way you add a validator to a JavaServer Faces component is to edit the component's validator property, which provides a drop-down list from which you can select a validator.
    Use a Length validator to test whether user has entered a string of a length defined by the specified minimum and maximum values. The value must be a java.lang.String.
    [b]Long Range Validator Component
    A Long Range validator is used to validate that the value of a component does not exceed the standard range of the Java long data type. This data type is a signed integer that ranges from -263 to 263-1, or
    -9223372036854775808 to 9223372036854775807. Typically, the way you add a validator to a JavaServer Faces component is to edit the component's validator property, which provides a drop-down list from which you can select a validator.
    Use a Long Range validator to test whether user has entered an integer of a size defined by the specified minimum and maximum values. The value must be any numeric type or String that can be converted to a long.
    You can use more than one validator on an input component to validate for different criteria. When you use a validator, your component also needs a message component to indicate when the validation fails.
    [b]See Also
    For more details on
    "Using Validators", Please see the tutorial at
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/validators_converters.html
    Customizing a Standard Validator Message
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/custommessage.html
    and
    Adding Your Own Validation Handler
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/customvalidator.html
    Please share your comments, experiences, additional information, questions, feedback, etc. on these components.

    .

  • Date and Time validation together...

    Hi,
    I want to have the date and time validation together. Is it posible?
    I am not able to do it using "AT SELECTION-SCREEN".
    e.g.
    DATE1 - DATE2 is 12/22/2009 - 05/27/2010
    TIME1 - TIME2 is 15:00:00 - 01:00:00
    This will result in error because the time1 is more than time2 but it is correct when it is tied to date1.
    I tries to validate them together but it gives the standard error all the time.
    Please help me.
    Thank you.

    Hi,
    You could have a normal range for your date field and two parameters for the times...no?
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(33) ttime FOR FIELD p_time1.
    PARAMETERS: p_time1 type t.
    SELECTION-SCREEN COMMENT 54(2) tto FOR FIELD p_time2.
    SELECTION-SCREEN POSITION 60.
    PARAMETERS: p_time2 TYPE t.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
       ttime = 'Time'.
       tto = 'to'.
    Kr,
    Manu.

  • Conversion from string "20041023 " to type 'Date' is not valid.

    Hi ,
       I have a table with one of the column(EmpHiredate) datatype is char(10). It has value like "20141023". I need to display this value as date format(dd/mm/yyyy) in report. 
    Following methods i tried in textbox expression but no luck.
    =Format(Fields!EmpHireDate.Value,"dd/MM/yyyy")
    =Cdate(Fields!EmpHireDate.Value)
    Error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "20041023  " to type 'Date' is not valid.
    Is it possible to convert string to date using SSRS textbox expression ? Can anyone help me with the solution.
    Thanks,
    Kittu

    Hi Jmcmullen,
         Found one more issue on the same. I have one value like "00000000" for the column(EmpHiredate)
    , when i use above expression values(ex:"20141023")
    are displaying in dd/MM/yyyy format in report except value like "00000000" and giving following error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "0000/00/00" to type 'Date' is not valid.
    Even i tried to pass its original value("00000000") as below but no luck.
    =IIF(Fields!EmpHireDate.Value = "00000000","00000000",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Also tried this:
    =IIF(Fields!EmpHireDate.Value = "00000000","2000/10/21",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Please Suggest. 
    Thanks ,
    Kittu

  • Errors in Data Type Range

    As per the Java Complete Reference Book, long Data Types Range is -9223372036854775808 to 9223372036854775807.
    Ex. long l = 9223372036854775807;
    I got an error message while compiling this above statement.The Error message is : "integer number too large: 922337203685477580"
    Why the above error is coming?

    type
    long l = 9223372036854775807L;

  • Range validations in web dynpro

    Hi experts,
    can you please tell me How to perform Range validations in web dynpro applications ?
    Advance Thanks,
    Namrata.

    Hi Namrata,
    Create a Simple Type (Local Dictonary -> DataTypes -> SimpleTypes). Enter either Length constraints / value constraints in the simple type. Bind this simple type to the context attribute. Whenever you are performing an action framework generated error message will be displayed based on the constraints you designed in simple type.
    Thanks
    Madhu

  • Gaps in vendor master data number range

    Hi, we have noticed there are sometimes gaps (missing numbers) in the internally issued vendor master data number range. Does anybody have any idea why this happens and how to avoid this?
    Many Thanks for your answers!
    Lucie

    Hi Lucie,
    This happens due to buffering of the number range in question. You can go to SNRO transaction (object KREDITOR) and change the buffering options (deactivate them, actually). Please, consult your ABAP team before doing this. For more info, see note 62077.
    Regards,
    Eli

  • Range Validation in Java

    Hi,
    I am having a doubt in Range Validation
    I having the following as input, i will maintain a Default Values,
    StartId, EndId as Constant in my program
    Example :
    StartID= "0000000" Format will be "XXXXXXX"
    EndID = "0000100" Format will be "XXXXXXX"
    From the UI, i will have the option to enter a text. If the User has to enter the same Format "XXXXXXX", the format validation I performed using reg Expression,
    I need to perform the Range validation here, if the user Enters value say
    "0000700" < it is not within the StartId & EndId Range, then i need to say Error.
    How can i perform Range Validation in java.?
    Any Ideas please..

    It can be done with regexp but it's probably easier to parse the start and end ids and the entered value into integers and perform the validation using a normal if statement.

  • Filter data by cross validation rules

    Hi all,
    Is there any way to build report that filter out data by cross validation rules ?
    For e.g:
    Acc. Flex -> Company.CC.Natural.Future.
    The cross validation rules are excluding CC -> 01 and 05.
    So all the combination_id that contains CC 01 and 05 will be filter out.
    TIA,
    Fendy

    Perfect! This is how you define cross validation rules. It's not back to front but from R11.0.3, Oracle standard is to use the cross validation rules like this.
    - Kiran

  • Master data number range, Free goods

    Hi All,
    Can any one tell me, what is the requirement of deletion of number range? normallly for number range deletion you have to initialize it,(I am writing about master data number range).
    What customization is required for free goods from MM prespective.
    Thanks
    sushanta

    Hi Lucie,
    This happens due to buffering of the number range in question. You can go to SNRO transaction (object KREDITOR) and change the buffering options (deactivate them, actually). Please, consult your ABAP team before doing this. For more info, see note 62077.
    Regards,
    Eli

  • Appending data in ranges object

    hi,
    i have a ranges field i want to append the land data in
    ranges object.

    sort table itab by vbeln posnr.
    read table itab index 1.
    ranges-low = itab-vbeln.
    clear itab.
    describe table itab lines w_line.
    read table itab index w_line.
    ranges-high = itab-vbeln.
    ranges-sign = 'I'.
    ranges-option = 'BT'.
    append ranges.
    This is surely help u.
    Re: Moving DATA from Internal Table to Ranges

  • Collapsing rows - date/time ranges

    Hi,
    I need to collapse date/time ranges (1 range per row) into the smallest continuous block for a particular item, instance (date/time).
    For example,
    CREATE TABLE "BLOCK_TEST"
       "ID" NUMBER,
       "START_BLK" DATE,
       "STOP_BLK" DATE
    alter session set nls_date_format = "YYYY-MM-DD HH24:MI";
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 01:00'), TO_DATE('2006-07-03 01:30'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 01:30'), TO_DATE('2006-07-03 02:00'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 02:00'), TO_DATE('2006-07-03 02:30'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 02:30'), TO_DATE('2006-07-03 03:00'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 03:30'), TO_DATE('2006-07-03 04:00'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (1, TO_DATE('2006-07-03 04:00'), TO_DATE('2006-07-03 04:30'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (2, TO_DATE('2006-07-03 02:00'), TO_DATE('2006-07-03 02:30'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (2, TO_DATE('2006-07-03 02:30'), TO_DATE('2006-07-03 03:00'));
    INSERT INTO BLOCK_TEST ("ID","START_BLK","STOP_BLK") VALUES (2, TO_DATE('2006-07-03 03:00'), TO_DATE('2006-07-03 03:30'));
    select * from block_test order by id, start_blk;
    ID      START_BLK               STOP_BLK
    1     2006-07-03 01:00     2006-07-03 01:30
    1     2006-07-03 01:30     2006-07-03 02:00
    1     2006-07-03 02:00     2006-07-03 02:30
    1     2006-07-03 02:30     2006-07-03 03:00
    1     2006-07-03 03:30     2006-07-03 04:00
    1     2006-07-03 04:00     2006-07-03 04:30
    2     2006-07-03 02:00     2006-07-03 02:30
    2     2006-07-03 02:30     2006-07-03 03:00
    2     2006-07-03 03:00     2006-07-03 03:30If ID = 1 and my instance is 2006-07-03 01:45, I need to obtain 2006-07-03 01:00 as the start of the block and 2006-07-03 03:00 as the end - notice the gap from 3:00 to 3:30 so the end would not be 4:30.
    I can do this in a procedure but I was wondering if this could be done with just SQL?
    Any hints, suggestions or opinions would be welcome.
    Thanks,
    dfg
    EDIT: After re-reading this, need to clarify that I don't need to actually change or update the rows, just query to get the start and end of the block in question...
    Message was edited by:
    Indy

    There might be better ways but the following worked for me
    SQL> select
      2        first_value(start_blk) over (partition by id ORDER BY lvl desc),
      3        first_value(stop_blk) over (partition by id ORDER BY lvl desc)
      4  from (select level lvl, id, connect_by_root start_blk start_blk, stop_blk
      5        from (select id , start_blk, stop_blk
      6              from   block_test
      7              where  id=1
      8             )
      9        connect by prior stop_blk=start_blk
    10        order by level desc
    11       )
    12  where to_date('2006-07-03 01:45', 'YYYY-MM-DD HH24:MI') between start_blk and stop_blk
    13  and rownum < 2
    14  ;
    FIRST_VALUE(STAR FIRST_VALUE(STOP
    2006-07-03 01:00 2006-07-03 03:00
    SQL> select
      2        first_value(start_blk) over (partition by id ORDER BY lvl desc),
      3        first_value(stop_blk) over (partition by id ORDER BY lvl desc)
      4  from (select level lvl, id, connect_by_root start_blk start_blk, stop_blk
      5        from (select id , start_blk, stop_blk
      6              from   block_test
      7              where  id=1
      8             )
      9        connect by prior stop_blk=start_blk
    10        order by level desc
    11       )
    12  where to_date('2006-07-03 03:15', 'YYYY-MM-DD HH24:MI') between start_blk and stop_blk
    13  and rownum < 2
    14  ;
    no rows selected
    SQL> select
      2        first_value(start_blk) over (partition by id ORDER BY lvl desc),
      3        first_value(stop_blk) over (partition by id ORDER BY lvl desc)
      4  from (select level lvl, id, connect_by_root start_blk start_blk, stop_blk
      5        from (select id , start_blk, stop_blk
      6              from   block_test
      7              where  id=1
      8             )
      9        connect by prior stop_blk=start_blk
    10        order by level desc
    11       )
    12  where to_date('2006-07-03 03:45', 'YYYY-MM-DD HH24:MI') between start_blk and stop_blk
    13  and rownum < 2
    14  ;
    FIRST_VALUE(STAR FIRST_VALUE(STOP
    2006-07-03 03:30 2006-07-03 04:30
    SQL>

  • Range validation

    Hi all,
    What would be better way if I need to do a range validation.
    Lets say, I have a lv_range with value 'X01','X02','X03'.........until 'X50'.
    Now I want to do a checking like this: -
    IF lv_range is 'X01' to 'X10'.
    DO ABC.
    ELSEIF  lv_range is 'X11' to 'X20'.
    DO ABC1.
    ELSEIF  lv_range is 'X21' to 'X30'.
    DO ABC2.
    ELSE.
    DO ABC3.
    ENDIF.
    Thanks in advance.

    Other than using
    IF lv_range GE  'X01' AND lv_range LE 'X10'.
    it looks fine to me.
    matt

  • Date range validity evaluation in BRM table

    Lectori salutem, Gurus salutem,
    I'm using 7.3 sp03. I would like to achieve the following with BRM (bit simplified):
    a parameter, ABC, is passed to a ruleSetService, and needs to be evaluated.
    The table is as follows:
    ABC startDate endDate Value
    1 01-01-2011 31-12-2011 A
    1 01-01-2012 31-12-2012 B
    2 01-01-2011 31-12-2011 X
    4 01-01-2012 31-12-2012 Y
    When ABC-value '1' is passed to the ruleSetService in the table the first row needs to be selected. CurrentDate (24-11-2011) is in between 01-01-2011 and 31-12-2011, making this the valid row. The value that should be returned is A.
    Beginning of next year it should change to B.
    How should I set this up in BRM?
    Thanks in advance!
    Martijn.

    Hi Martijn,
    Appreciate that you've simplifiied the scenario... but do you have any idea how many of these entries you are likely to have in total as that may change the answer.
    You have a couple of choices that might work here...
    1. You could a decision table... to hold your values (i.e. ABC and date range as conditions, value as action) and use the rule that evaluates the decision table to pick up the current date for the comparison. e.g.  date conditions would be "greater than than 01-01-2011", "less than 31-12-2011", etc.
    2. Alternatively, if the plan is to have a simple end of year change over,  you could use Effectivities (in the Project Resources of the rules project) to determine which values  are selected and use a decision table or even just a rule script to determine the value.
    But the thing is... HOW you organise your rule is going to depend a lot on:
    a) How many entries in total do you expect
    b) Is there a nice neat cutover of all ABC values at the same time or do effective date ranges vary a lot between different ABC values
    c) Who's responsible for maintaining these and if multiiple people are responsible do you need to organise your rule to cater for that? E.g. Are different people responsible for different ABC entries
    Does that help at all?
    Regards,
    Jocelyn

  • Date range validation

    I have a requirement where i have to check date range in select option and if its more than 45days the I have to give an Informatory message and exit the programme , How can I do that ??
    Urgent Plzz..

    Hi,
      try this code...
    TABLES: zpr_prog_item.
    DATA: cnt TYPE i.
    SELECT-OPTIONS date FOR zpr_prog_item-date_shoot.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        i_datum_bis                   = date-high
        i_datum_von                   = date-low
    IMPORTING
       e_tage                        = cnt
    EXCEPTIONS
       DAYS_METHOD_NOT_DEFINED       = 1
       OTHERS                        = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      IF cnt < 45.
        LEAVE TO LIST-PROCESSING.
        WRITE:/ date-low,
              / date-high,
              / cnt.
      ELSE.
        MESSAGE i000(zsam).
        LEAVE SCREEN.
      ENDIF.
    regards,
    Bhuvana.

Maybe you are looking for

  • Error Message - Adobe has encountered an error and must close.

    I keep getting this message anytime I try to print a pdf file. I am running Windows XP and have downloaded Adobe 8.1.2. The strang thing is that on another user on this same computer, the Adobe works perfectly. What do I have to do to get it to work

  • Rollover buttons that play a movie clip.

    Hello,    I am new to Flash and I am trying to accomplish a simulation such as this example, http://www.its-about-time.com/investinesart/coalplantvirtualtour.swf. I have all of my movie clips done, but how do I tell a rollover button to play a specif

  • How to map payload to SDATA in IDOC_INBOUND_ASYNCHRONOUS.

    Hi, I am trying to send a payload  to DWM from MES  using RFC IDOC_INBOUND_ASYNCHRONOUS. I want to include my payload in <SDATA> tag of IDOC_INBOUND_ASYNCHRONOUS but <SDATA> is accepting only string fromat its not accepting the xml tag format . while

  • Netware 6.5 SP8 abends hang with IBM System X3650 M2

    Hi, I installed Netware 6.5 with SP8 on IBM X3650 M2, after installation done & restart the server for first initialize. the server got hanged at Novel logo & after 15 min the following error happned Debug symbols are enabled running process: server

  • How to find out the Functional module related to a T-code

    Hi All , Please tell how to find out the Functional module related to a T-code. i want it for the T-code RSZDELETE.