Deleting date field value via import

I need to clear the value in a date field for a few thousand records. I tried doing this via import by setting the value to a space " " but it didn't work.
Any ideas on how this can be achieved through import or otherwise would be great.
Thanks.

Hi Nakul,
Try any of the following, it will hopefully work in your case:
1) Import using excel with blank date field (no data in date field). This will erase the already existing value in the date field [provided there is no workflow that restricts such deletion of date data.]
2) Create a temp workflow on condition "before modified record saved" and update the date field value with blank (no values in fx), do the import, this workflow will delete the existing data.
Cheers!
Vix

Similar Messages

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

  • Setting Fields value via reflection

    I'm starting from a c# code:
              internal void RefreshFromObject(object objFromUpdate)
                   if (this.GetType()==objFromUpdate.GetType())
                        PropertyInfo[] fieldsFrom = objFromUpdate.GetType().GetProperties();
                        PropertyInfo[] fieldsThis = this.GetType().GetProperties();
                        for(int idxProp=0; idxProp<fieldsFrom.Length;idxProp++)
                             if (fieldsThis[idxProp].CanWrite && fieldsFrom[idxProp].CanRead)
                                  fieldsThis[idxProp].SetValue(this, fieldsFrom[idxProp].GetValue(objFromUpdate,null),null);
                   else
                        throw new ObjectTypeNotValidException("Object type from which update current instance not valid. Use same type.");
    Now I have to translate it in Java:
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
         Field[] fieldsFrom = clazz.getDeclaredFields();
         Field[] fieldsThis = thisClazz.getDeclaredFields();
         try {
              fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
         catch (IllegalAccessException iaccEx) {
              System.out.println("IllegalAccessException");
         catch (IllegalArgumentException iaccEx) {
              System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);
    My problem is that I don't know if the field type is one of primitive, for which I should use the particular setters and getters.
    My questions are:
    1) is there in Java a more elegant way to set fields values via reflection?
    2) how can I know if a field i changable (equivalent to the method CanWrite of c#?
    Thanks a lot to each one that will answer me.
    Marco

    Hi georgemc,
    thanks for replying. I-m new with java forum, so I don't know if it is correct the code tags...
    Anyway... the problem is that the Field of reflected object could be both of Object types or primitive types. So I cannot use the general method "set" when changing Field's value.
    Maybe somebody else had the same problem...
    Seems in C# it is a very easy thing... not in java :(
    Marco
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
    Field[] fieldsFrom = clazz.getDeclaredFields();
    Field[] fieldsThis = thisClazz.getDeclaredFields();
    try {
    fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
    catch (IllegalAccessException iaccEx) {
    System.out.println("IllegalAccessException");
    catch (IllegalArgumentException iaccEx) {
    System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);

  • I used firefox 3.6.14 on windows 7 x64 (firxfox x32). I found a problem when I develop my website and alert data or value via javascript , firefox hang (not response) every time. What's happend? How to solve is problem?

    I used firefox 3.6.14 on windows 7 x64 (firxfox x32). I found a problem when I develop my website and alert data or value via javascript , firefox hang (not response) every time. What's happend? How to solve is problem?
    Thank you for help
    Lohkaeo

    Oops - for some reason, this problem now seems to have gone away. May have had something to do with Flash. I'll keep my fingers crossed.

  • In the script date field value not printing in address window

    Hi Abaper's
    We are working for the upgradation project,my issue is:
    we are upgrading from 4.6 to ecc 6.0,the problem is *one from in 4.6 working fine but after upgradation to 6.o in that from in the address window date field value is not printing.in debugging mode i have checked value is coming properly but in the sppol..the date value is not displying.*can you please suggest on this.is required any changes or need to somting?
    Thanks and regards
    durga.K

    Hi,
    Kindly check if the window size is proper.
    Check if the tab settings are fine.
    Regards,
    Ankur Parab

  • Deleting a Date/Fields value

    Hi I'm developing a XDP Form to be depolyed under XHTML, and I cannot find a way to clear a Date/Time Fields current value using Javascript.
    I've tried fieldname.rawValue = "", fieldname.value = "", and fieldname.formattedValue = "", and = null for all properties mentioned. These do seem to visually remove the date's value (or put the string "null"), However when a server side script tries to read the value (should be empty) from the date/time field it still returns the original date value.
    I've also tried combinations of xfa.host.resetData(), which only partially works if the date field had an original value of empty not if it was populated with a value, plus it seems to clear all the other fields on the form which is not desireable.
    Is there any way to delete the Date/time fields value client side?
    Any ideas would be greatly appreciated?

    No attachment appears on this end ....can you mail it to [email protected]
    Thanks
    Paul

  • Issue facing : Deletion of Qualified Look up field value : Using Import Map

    Hi All,
    We are having qualified multi-valued look up field in the main table. Using import map for the main table record update, we are trying to delete the qualified look up field value. But it is not working.
    Please guide on how you have achieved this.
    One approach is to supply NULL value, though I am not sure or have tried this.
    Regards,
    Ganga

    Hi Ganga,
    I assume that you are trying to delete the Qualifier values for the Qualified look up table. The only possibility is to pass the Null values to the already Existing records in the Main table. Please note that if you are passing one Null value only one record will get deleted. So you will have to pass the Null values equivalent to the number of values for the Multi Valued Qualified table.
    Kind Regards,
    Thamizharasi N

  • Date field conversion in Import Manager

    Hi,
    I am getting the source Date field as 'Text' type and want to convert it to Date type.
    Is it possible in import Manager?
    What are the best way to manage the issue.
    Appreciate your reply
    regards,
    reo

    Hi Reo,
    The data types of source data values are automatically
    converted within the Source Values grid based on the data type of the
    destination field to which the source field is mapped, even when stored
    in the source data as text values.
    Original source values appear with their original data type in the Value
    column, and the converted values appear in the Converted Value
    column with the data type of the mapped destination field and the
    proper grid cell type for editing (e.g. text, numeric, measurement,
    currency, date, time, Boolean).<i> If necessary, individual values can then
    be manually edited to override errors or omissions in the source data.</i>
    Regards
    Neethu Joy.

  • Help with Date Field Value

    I have only used livecycle for a few months, so sorry if this questions seems basic, just beyond my knowledge at the moment.
    I need a little assistance with a date issue I am having on one of my forms.
    I have the display pattern of a date field set to --    date{MM/DD/YYYY}
    The issue I am having is some users are entering the date using the  " - "symbol instead.
    Example  01-01-2000
    and other are using the correct  01/01/00 format with the " / " as the divider.
    This is causing calculations in the next field to fail because the date it formatted incorrectly.
    How can I make the field convert the " - " to the the correct symbol of " / " and still allow others to use the " / " as they are now.
    Thanks

    I was able to figure it out using the edit pattern page

  • Personal Data - Field value PERID deleted when saving

    Hi,
    When the user updates the personal data view in ESS the field Social Security - PERID gets updated with blank value (i.e. if you only change nationality or any other field). I'm not sure what is causing this, I'm not getting the same problem when updating the infotype directly in the backend.
    Does anyone know what might be causing this?
    BR Olof

    Exactly!!! This was it.
    Thanks for helping out.
    Br Olof

  • DTW update deletes UDT fields values

    hello
    i work with sap 2007A 8.00.242 sp:01 pl 15, dtw version 2005.0.31 api version 8.0.242
    and i have a special user tables ordered from a sap partner company that replaces several excel files in our company.
    i tried to import data into them using DTW, but the import erases all the fields that i left blank in the csv, i even tried to delete all the blank columns from the csv but it didnt help.
    im importing into udt table found under "user defined data" > tables(UDT) > U_PASSPORT(**my table) using "update existing data" option.
    this table is the big part of a window with several tabs - each tab is a different table(U_example) and it gets data from items(OITM) so i dont think that filling all the blank csv columns is the answear because can affect child tables in this window as well as production order and customer orders.
    when i tried to update fields in OITM it was doing great.
    what can i do?
    mickel

    hey gordon thanks for the fast reply
    yes i can add new records.
    the main issue is that i want to make the transfer from execl documents with its simple data insertion, as smooth as it can be as my colleagues are very afraid from the sap and the time that it will steal from them.
    i want to make them a simple template with an XML and a batch file so they only have to insert data into csv and press a windows shortcut without going through the DTW annoying wizard every time.
    can i change the values at the second row of the template into a caption i choose?
    mickel

  • Help for date field value

    I want to manually modify something in our ERP system. But I find some fields in table which is in date type have the value '0000-00-00'. How can I insert the same value to the database?
    Our DBMS is oracle 816.
    SQL> select to_char(t$curd,'yyyy-mm-dd hh:mi:ss') from triton.ttdsls051702
    2 where
    3 t$orno = 104497;
    TO_CHAR(T$CURD,'YYY
    0000-00-00 00:00:00
    0000-00-00 00:00:00
    0000-00-00 00:00:00
    SQL> select to_date('0000-00-00' , 'yyyy-mm-dd') from dual;
    select to_date('0000-00-00' , 'yyyy-mm-dd') from dual
    ERROR at line 1:
    ORA-01843: not a valid month
    Please offer me some help. Thank you!

    Oracle has some funny ideas about dates. I tried this on 8.0.6, 8.1.7 and 9.0.1.
    SQL> SELECT TO_CHAR(TO_DATE('01-01-0001','dd-mm-yyyy'),'j') FROM dual;
    TO_CHAR
    1721424
    SQL> SELECT TO_CHAR(TO_DATE('1721423','j'),'dd-mm-yyyy') FROM dual;
    SELECT TO_CHAR(TO_DATE('1721423','j'),'dd-mm-yyyy') FROM dual
    ERROR at line 1:
    ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    but ...
    SQL> SELECT TO_CHAR(TO_DATE('1721424','j')-1,'dd-mm-yyyy') FROM dual;
    TO_CHAR(TO
    00-00-0000
    again but...
    SQL> CREATE TABLE t (dt DATE);
    Table created.
    SQL> INSERT INTO t SELECT TO_DATE('1721424','j')-1 from dual;
    1 row created.
    SQL> ALTER SESSION SET nls_date_format = 'dd-mm-yyyy';
    Session altered.
    SQL> select * from t;
    DT
    31-12-0000
    yet again but ...
    SQL> SELECT TO_CHAR(dt,'dd-mm-yyyy') FROM t;
    TO_CHAR(DT
    00-00-0000I think it is probably safe to set those dates to null, or some other acceptable default value depending on what t$curd means in your application.
    TTFN
    John

  • Clear customize Date field value in workflow using IDOC Script

    hi all
    I have a customize field type is Date with default value is Current date time. At one step of workflow I want to clear the default value of this field with
    <$wfUpdateMetaData("xmPublicDate", "")$>
    But it not effect. The current date time still here
    Do you have any idea about it?
    Thanks!

    hi all
    I have a customize field type is Date with default value is Current date time. At one step of workflow I want to clear the default value of this field with
    <$wfUpdateMetaData("xmPublicDate", "")$>
    But it not effect. The current date time still here
    Do you have any idea about it?
    Thanks!

  • Set Date field value through Form datasource

    Hello all,
    Has anyone set the value of a field of type Date through the form's datasource?
        If (Not Entrega = Nothing And NrDias > 0) Then
            Entrega = Entrega.AddDays(NrDias)
            ds.SetValue("U_data", ds.Offset, Entrega)
        End If
    End If
    If I change the field to a text field it write to the datasource and display no problem.
    Any ideias?
    Best regards.

    Ups,
    Found it.
    ds.setValue("U_dataent", 0, Entrega.ToString("yyyyMMdd"))

  • How to send date field value from one page to another page

    Hi every one!
    In my page I have a requirement....I need to select From date and Todate....based on that data has to be displayed in the table....but in my table i dont have such type of fields.....please help me

    I used hidden variable also but it's not useful for me. If by "hidden variable" you mean a "hidden field" (ie a text-input field in the submitting form with display=none), then that's exactly what I was thinking...
    So WHY is a hidden field "not useful"? It's just that... ummm... I suspect you're doing it wrong, or maybe just not understanding how it works. So post both your JSP Pages (if they're not too big), or take the time to prepare a [Short Self-Contained Compilable (Correct) Example|http://mindprod.com/jgloss/sscce.html].
    The more information you provender, the greater your chances of getting real help.
    Cheers. Keith.

Maybe you are looking for