How to limit the WCManager(admin?) to choose the old date while using datetime ?

Hi All,  Now we are using the datetime in a dialog, but the requirement for us is the date before today should not be chose anymore, should be set it disable. I look the doc Here, I know there is a way for the textfield to use the regular expression to verify the data. but i cannot find this (or other way) to do this.
Any one know this ??
Thanks very much.
Kevin

Hi Kevin,
Looking at your use case. The value is dynamic. What you can do is create a listener node under your 'datetime' xtype node and  create a property 'beforerender" (which is basically an event) of type string and add the code like [1] to set min date
[1]
function()
var minDate = new Date();
//setting mindate to be selected
minDate.setDate(minDate.getDate());
this.df.minValue=minDate;
Thanks,
Sham

Similar Messages

  • How to improve the load performance while using Datasources for the Invoice

    HI All,
    How to improve the  load performance while using Datasources for the Invoice . Actually my invoice load (Appx. 0.4 M records) is taking very long time nearly ~16 to 18 hrs  to update data from R/3 to 0ASA_DS01.
    If I load through flat file it will load with in ~20 Min for the same amount of data.
    Please suggest how to improve load performance.
    PS: I have done the Inpo package settings as per the OSS note.
    Regads
    Srininivasarao.Namburi.

    Hi Srinivas,
    Please refer to my blog posting [/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction|/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction] which gives the details about the package size setting for extractors. I am sure that will be helpful in your case.
    Thanks,
    Divyesh
    Edited by: Divyesh Jain on Jul 20, 2010 8:47 PM

  • How to view the old data in a column if that column is dropped or rename

    Using workspace manager I am not able to track the old data of a column which is dropped.
    I have tried by using import and export features that Workspace manager have.. But import is not working properly in this case. And savepoint option is work with DML operation not with DDL.So, I want help in this matter
    Thanks In Advance

    No way even in 10g. You should build another DB and import your exported data.
    then you can get data from this new DB.
    SQL>create table t5 as select object_id,object_name,created from all_objects where rownum<20;
    Table created.
    SQL>select  current_scn from v$database;
    CURRENT_SCN
    7724122625
    SQL>desc t5
    Name                                      Null?    Type
    OBJECT_ID                                          NUMBER
    OBJECT_NAME                                        VARCHAR2(30)
    CREATED                                            DATE
    SQL>alter table t5 rename column OBJECT_ID to oid;
    Table altered.
    SQL>desc t5
    Name                                      Null?    Type
    OID                                                NUMBER
    OBJECT_NAME                                        VARCHAR2(30)
    CREATED                                            DATE
    SQL>alter table t5 drop column created;
    Table altered.
    SQL>desc t5
    Name                                      Null?    Type
    OID                                                NUMBER
    OBJECT_NAME                                        VARCHAR2(30)
    SQL>select * from t5 as of scn 7724122625;
    select * from t5 as of scn 7724122625
    ERROR at line 1:
    ORA-01466: unable to read data - table definition has changed

  • How to limit the response rows while invoking a stored procedure from OSB 10gR3

    Dear Experts,
    I am trying to limit the response while invoking a stored procedure from OSB via DB adapter.
    Here the stored procedure returns cursors as response. I tried using the MaxTransactionSize propertiy (which is used for polling the database option in DB adapter).
    We are investigating the ways to protect the application from response containing huge number of rows.
    Is there any way to restrict the number of rows returned in each and every cursor while invoking the stored procedure via DB adapter?
    Thanks
    Ram

    Hi James ,
    I want to know how to run stored procedure using jca adapter in OSB11g.
    I am new to stored prcoedure,will be great if you could share some example on it as above.
    Req: Single input xml will be posted on queue ,need to perform 3 DB operation (with same input):
    1.Insert operation to insert master table contents.
    2.select the primary key column value from master table for the last inserted record.
    3.Need to insert primary key column value + other fields frm same xml file to child table.
    Pls assist me on how to create a simple stored procedure and to run the same with OSB 11g.I am familiar with creation of DB adapter using Jdeveloper,we have option to perform insert and to call stored procedure here,will it be useful for this scenario?
    Edited by: Anitha R on Nov 21, 2010 9:30 PM

  • How to handle the bad record while using bulk collect with limit.

    Hi
    How to handle the Bad record as part of the insertion/updation to avoid the transaction.
    Example:
    I am inserting into table with LIMIT of 1000 records and i've got error at 588th record.
    i want to commit the transaction with 588 inserted record in table and log the error into
    error logging table then i've to continue with transaction with 560th record.
    Can anyone suggest me in this case.
    Regards,
    yuva

    >
    How to handle the Bad record as part of the insertion/updation to avoid the transaction.
    >
    Use the SAVE EXCEPTIONS clause of the FORALL if you are doing bulk inserts.
    See SAVE EXCEPTIONS in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm
    And then see Example 12-9 Bulk Operation that continues despite exceptions
    >
    Example 12-9 Bulk Operation that Continues Despite Exceptions
    -- Temporary table for this example:
    CREATE TABLE emp_temp AS SELECT * FROM employees;
    DECLARE
    TYPE empid_tab IS TABLE OF employees.employee_id%TYPE;
    emp_sr empid_tab;
    -- Exception handler for ORA-24381:
    errors NUMBER;
    dml_errors EXCEPTION;
    PRAGMA EXCEPTION_INIT(dml_errors, -24381);
    BEGIN
    SELECT employee_id
    BULK COLLECT INTO emp_sr FROM emp_temp
    WHERE hire_date < '30-DEC-94';
    -- Add '_SR' to job_id of most senior employees:
    FORALL i IN emp_sr.FIRST..emp_sr.LAST SAVE EXCEPTIONS
    UPDATE emp_temp SET job_id = job_id || '_SR'
    WHERE emp_sr(i) = emp_temp.employee_id;
    -- If errors occurred during FORALL SAVE EXCEPTIONS,
    -- a single exception is raised when the statement completes.
    EXCEPTION
    -- Figure out what failed and why
    WHEN dml_errors THEN
    errors := SQL%BULK_EXCEPTIONS.COUNT;
    DBMS_OUTPUT.PUT_LINE
    ('Number of statements that failed: ' || errors);
    FOR i IN 1..errors LOOP
    DBMS_OUTPUT.PUT_LINE('Error #' || i || ' occurred during '||
    'iteration #' || SQL%BULK_EXCEPTIONS(i).ERROR_INDEX);
    DBMS_OUTPUT.PUT_LINE('Error message is ' ||
    SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE));
    END LOOP;
    END;
    DROP TABLE emp_temp;

  • How to limit the range of counter using rotary encoder

    Hello all!
    I'm new user of labview..
    I've problem to limit the range of counter by using rotary encoder..
    I use DAQmx 6024e in my project..
    Actually i am designing the controller for both dyno & throttle for engine testing..
    The idea is, i want to vary the output of 0-10V from ni card to control the dyno & throttle..
    I'm already manage to get the output from the analog output..
    The problem is due to my software..
    When i rotate the encoder shaft cw or ccw, it increase or decrease the voltage respectively just like i want..
    But, when the counter hit minimum (0 value) it jump to the maximum count which is 16.772M (for koyo encoder that i used)..
    In that case the output voltage is increase to 10V directly..
    So , the question is how can i limit the range of encoder so that it only count certain minimum or maximum value even the shaft is rotate cw or ccw over it standard limit which is 0 to 16.772M count..
    Tq

    You'll need to do a little software workaround on the values you read from your counter.   But first a little tutorial to explain *why*.
    The E-series boards use 24-bit counters.  When LabVIEW requests an integer count value, the count is returned in a 32-bit unsigned integer datatype, where the 24 lowest bits represent the value in the board's count register.  The upper 8 bits are *always* 0's.
    The count register can increment from 0 to 16 million plus (2^24 - 1), then it must "roll over" back to 0 again just like an odometer.  Similarly, when it decrements past 0, it next goes to the max value of 2^24 -1 as you observed.
    So we need a little software workaround that'll convert (2^24 -1) to (-1) and (2^24 -2) to (-2), etc.  The way to do it is to first detect whether the highest bit is a 1.  One way is to compare whether the count value is >= 2^23, making sure to use integers to do the comparison.  Whenever the value is >= 2^23, subtract 2^24 from it to create your new count value which will then decrement 3,2,1,0,-1,-2,-3, etc. as desired.
    Here's a link to a similar explanation.  Couple more notes too.  First, if this is a continuously rotating encoder, you may still encounter a discontinuity when the revised count value crosses the +/- 2^23 boundary.   Second, direct connection of a quadrature encoder to an E-series board isn't recommended because of unrepeatability when measureing direction changes.
    -Kevin P.

  • How to skip the Selection screen while using BAPI_MATERIAL_DELETE

    Hi,
    I have to delete material master.
    I'm using BAPI_MATERIAL_DELETE Fm,
    But while executing this BAPI it is going to a screen where it is asking to tick the Check Box for material number.
    Can you please tell me how to execute the BAPI Avoiding the selection screen.
    Thanks & Regards,
    Rajender

    Hi,
    Thanks for replying.
    We have to run the BAPI in Background, Then how to achieve the default values.
    Thanks & Regards,
    Rajender.

  • How to transfer the transactional dat a using ale

    hi to all abap gurus
    i heard that we can transfer the transactional data ( like so data , po data ) using message control technique by ale technology . . can u please give  all steps  in message control technique with one exapmle . i searched in the forum but i did not get answer . pls points will be rewrared for good answers.  if u want to give links pls give exact links .

    Hi ,
           here is the configuration.
    MESSAGE CONTROL (USING EDI / ALE)
    For Purchase order (Message control using EDI and message type ORDERS) – STEPS
    Settings to be done in the Sending system
    From NACE
    Choose Application – EF ( Purchase order), press on condition record
    Output type – NEU – Purchase order / double click ;choose  Purchasing output determination:Doc type/purc org/vendor . Key in the data (Purchasing doc type – NB, Purc organisation – 0001, Venor – vendor11) execute. Key in the data (vendor –vendor11, name – name1, partner function  - VN, Partner – Vendor11,Medium – 6 (EDI), time – 4(send immediately), language – EN).
    Press on output types , choose NEU –Purchase order, double click,  Access sequence 0001(doctype/purcorg/vendor) tick mark the access to condition, go to default values (dispatch time – send immediately, Transmission medium – EDI, Partner function –VN)
    Create RFC destination from SM59 (ZNARA_ALE_EDI).
    Create a port from ZNARA_ALE.
    Create partner profile vendor11 under LI and not LS. PARTNER NUMBER SHOULD BE  SAME AS THAT OF VENDOR SET IN THE CONDITION TYPE.
    In the outbond parameters of the partner profile Vendor11 key in the data (Reciever port -> ZNARA_ALE,
    Basic type –ORDERS05, Message type – ORDERS ) Go to the message control and key in the data (Application – EF, Message type – NEU, Process code –ME10, Transfer immediately )
    Create a purchase order from ME21 with data (Purchasing doc type – NB, Purc organisation – 0001, Venor – vendor11). System will generate an outbond Idoc automatically which can be seen from WE02.
    For Purchase order (Message control using ALE and Message type ORDERS) - STEPS
    To transfer the idoc from Client 555 to 500
    Settings do be done in 555.
    From NACE
    Choose Application – EF – Purchase order, press on condition record
    Output type – NEU – Purchase order / double click ;choose  Purchasing output determination:Doc type/purc org/vendor . Key in the data (Purchasing doc type – NB, Purc organisation – 0001, Venor – vendor11) execute. Key in the data (vendor –vendor11, name – name1, partner function  - VN, Partner – Vendor11,Medium – A (ALE), time – 4(send immediately), language – EN).
    Press on output types , choose NEU –Purchase order, double click,  Access sequence 0001(doctype/purcorg/vendor) tick mark the access to condition, go to default values (dispatch time – send immediately, Transmission medium – ALE, Partner function –VN)
    From SALE create two logical systems and assign them to the respective clients (ZALERECV_N – 500, ZALESEND_N – 555).
    From SM59 create RFC destination with the same name as that of the receiving logical system  (ZALERECV_N).
    From BD 64(distribution model),  create a model view with Technical name ZNARA_PO (message type – ORDERS, Sender – ZALESEND_N, Receiver – ZALERECV_N). Generate partner profiles. Distribute.
    Note that partner profile will be generated under LS.
    Settings do be done in 500.
    From NACE create two logical systems and assign them to the respective clients (ZALERECV_N – 500, ZALESEND_N – 555).
    From BD 64(distribution model), keep the cursor on Technical name ZNARA_PO. Generate partner profiles. Note that partner profile will be generated under LS. Change the process code to ORDE in the inbond parameters .
    Now in client 555, Create a purchase order from ME21 with data (Purchasing doc type – NB, Purc organisation – 0001, Venor – vendor11). System will generate an outbond Idoc automatically which can be seen from WE02. The purchase order details will be updated in 555 thru the inbond idoc.
    IMP data for message control in  Sales order creation.
    Partner profile to be created under KU.
    Outbond parameters in the partner profile (Message type – ORDRSP, Basic type – ORDERS02, partner profile - SP) In Message control (Application – V1, Message type – BA00, Process code – SD10)
    Notes:
    Check the entries in the NAST table to see whether outbond idoc has been created successfully or not
    If you have choosen collect idocs in the partner profile, use trans code BD87 to process them
    Table EDP13 - Partner Profile: Outbound (technical parameters)
    Table EDP21 - Partner Profile: Inbond (technical parameters)
    Please reward if useful.

  • How to recover the old data

    Hi all, i got a new iPhone, i had tried to restore data from the old iPhone to the new one. Unfortunately, before restoring the data i forgot to copy some importance documents and pictures from the new one. so after restoring, those documents are lost, anyone know how to recover those data? thank you very much

    If those documents are not contained in any backup, then you cannot recover them.

  • How to delete the old data

    I have a search page (jsp),...wn i open the page again, the older searcg result stays in the page. how to open an empty page each time?..(without the older search results).. im calling the search page thro' action.

    pradeepa5 wrote:
    wn .. searcg .. thro' Please write human readable English sentences. Please don't write like a fool.
    Regarding to your problem: just store the search results in the request scope instead of the session scope.

  • How to fill the configuration data while creating a sales order

    Hi,
       I am creating Sales order through BAPI_SALESORDER_CREATEFROMDAT2, the order is getting created but I am not getting the characteristic values. I filled the structures required for the configuration part.
      If possible please post the code for the config part.
    Thanks,
    Sarath.

    Hi,
    Here for your reference:
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
          EXPORTING
            salesdocumentin     = w_line-vbeln
            order_header_in     = order_header_in
          IMPORTING
            salesdocument       = salesdocument
          TABLES
            return              = return
            order_items_in      = order_items_in
            order_partners      = order_partners
            order_schedules_in  = schedules_in
            order_conditions_in = conditions_in
            order_text          = order_text.
    Rgds,
    Jenny

  • When and how to update the "saved data" in report ?

    Hi,
    The BO version is "BusinessObjects Enterprise 12.0"
    The case is that, some reports are uploaded withe saved data. while viewing the reports, the reports return the old data.
    How to view the update data while click the "View" in CMC/InfoView ?
    I have tried to schedule it , then can see the update data in "View the latest instance".
    Is there any approach to refresh/update the saved data in the report ?
    Thanks and regards,
    Forest
    Edited by: Forest lin on Dec 5, 2008 12:12 PM

    Hello Forest lin,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to get the current date in a workflow

    Hey,
    Can anyone tell me how to get the current date while in a workflow?
    Thanks in advance.

    Here is how we did it, hope it helps
    <defvar name='locCalendar'>
    <new class='java.util.GregorianCalendar'/>
    </defvar>
    <defvar name='dateFormat'>
    <new class='java.text.SimpleDateFormat'>
              <s>MM/dd/yyyy</s>
         </new>
    </defvar>
    <defvar name='formatedDate'>
         <invoke name='getTime'>
    <ref>locCalendar</ref>
    </invoke>
    </defvar>
    <invoke name='format'>
    <ref>dateFormat</ref>
    <ref>formatedDate</ref>
    </invoke>

  • HT204264 How do I limit the amount of space used by photos on my phone - now that I turned iCloud on it is taking over my phone

    How do I limit the amount of space used by photos on my phone - now that I turned iCloud on it is taking over my phone

    Hello Maahk,
    Welcome to the Apple Support Communities!
    I understand that you would like to optimize your Photos storage. If you are using iCloud Photo Library on your iPhone, please read over the information in the attached article. 
    iCloud Photo Library FAQ - Apple Support
    Can I use iCloud Photo Library to save space on my device?
    iCloud Photo Library automatically keeps all your photos and videos in the original, high-resolution version. Follow these steps to choose how you store your photos and videos on your device:
    In iOS, tap Settings > iCloud > Photos or Settings > Photos & Camera, then select a storage setting.
    In OS X, click Photos > Preferences > iCloud, then select a storage setting. 
    If you turn on Optimize [device] Storage, iCloud Photo Library will automatically manage the size of your library on your device, so you can make the most of your device's storage and access more photos than ever. All of your original, full-resolution photos and videos are stored in iCloud while device-size versions are kept on your device. You can download the original photos and videos over Wi-Fi or cellular when you need them. 
    If you turn on Download Originals, iCloud Photo Library will keep your original, full-resolution photos and videos in iCloud and on your device. Download Originals is the default setting for iOS devices with the free 5 GB storage plan and for all Mac devices.
    Have a great day,
    Joe

  • How to limit the max dialog no that one user can use at the same time?

    Hi,
    I meet one performance problem that one user can open 6 sessions in the GUI and he/she can run 6 reports at the same time witch could occupy 6 dialogs in the sap R/3 instance. It makes poor performance for other users.
    Would you pls tell me how to limit the no. of sessions one user can create at the same time or how to limit the no. of dialogs one user can occupy at the same time?
    Thanks a lot!
    I used this parameters in the default profile as blew:
    rdisp/rfc_check 1
    rdisp/rfc_use_quotas 1
    rdisp/rfc_max_own_used_wp 20 (means: 20%)
    It still didn't work.
    Sean

    Hello,
    We can reserve DIA W.P by giving value to the parameter :- rdisp/rfc_min_wait_dia_wp=1(default)
    that have to necessarily remain free for other users.
    This parameter is used to reserve a number of dialog work processes for Dailog mode.
    For eg. If 10 dialog w.p. are configured for the instance(rdsip/wp_no_dia=10) and the parameter rdisp/rfc_min_wait_dia_wp=3 is set,parallel RFC's can occupy a maximum of 7 DIA W.P.3 DAI W.P. always remain free for dialog mode.
    But now the question is how we assign/restrict this free dialog w.p. to the specific user.
    Reply...
    Regards,
    JUNAID

Maybe you are looking for