Using IFNULL returns failure on Opportunity Custom Date Field

I want to use the IFNULL statement to automatically populate a date field when nothing is added. I want to use
IFNULL("- Opportunity Custom Attributes".DATE_28, '01-01-2009') but this returns error message: [nQSError: 46033] Datatype: 25 is not supported. (HY000)
Apparently the value '01-01-2009' is not recognized as valid date format. Any solutions?
Kind regards,
Jan

Hi,
You have to use something like this, i believe. Hope it helps
IFNULL("- Opportunity Custom Attributes".DATE_26, TIMESTAMP '2006-01-01 00:00:00')
-- Venky CRMIT
Edited by: Venky CRMIT on Apr 24, 2009 2:12 PM
Edited by: Venky CRMIT on Apr 24, 2009 2:14 PM

Similar Messages

  • Different calendar styles: seeded vs. custom date fields

    All,
    In several reports we prompt users to select an opportunity close date (seeded date field) that is within a given period of interest using a prompt on the close date field. The calendar style provides two buttons to select the starting and ending points. Then the user must select the refresh link to narrow the date range and then pick the first and second dates. This requires five clicks. Users find this cumbersome.
    In contrast, we have a couple of reports that use a custom date field and users are prompted to select a beginning and end date. For this custom date field the calendar style provides a calendar button that allows you to directly select the first and second date without having to filter the range of possible dates. This is obviously only two clicks and is preferred by users.
    Does anyone know how to get the "nice" date picker to apply to seeded date fields as in the first case?
    Thanks,
    Dan

    Of interest relating to file upload component to users : "Saving Uploaded Files Uploaded by the File Upload Component " Check the blog:
    http://blogs.sun.com/roller/page/divas

  • Need Report based on "CUSTOM DATA field @ Shop Order Maintenance"

    Need the REPORT based on CUSTOM DATA field.
    Requirement - I am having the CUSTOM data at Shop Order Maintenance that is called as XXX, I need some report in SAP ME which can display the SFC related to particular Shop order based on XXX Number.

    Hi!
    As far as I remember there is no such base report. So, you may try to create it using SDK or request it as custom enhancement from SAP.
    If you want to create it using SDK, you can find the required data for report in CUSTOM_FIELDS table.
    Regards,
    Alex.

  • IW38 Traffic Light for Custom Date field

    Hi Experts,
    I am trying use the Reference Field for Monitor.  It has got 1. Priority, 2. Order/Start/End, 3. Scheduled Start/End.
    We have created a custom date field as Original start/Finish dates. I want to create traffic light based on this date.
    Can you please help me where and how to do this configuration. I have already searched the forum. But no help found.
    Thanks,
    Panneer

    Panneer,
    You can use Enhancement Spot ES_EAM_LIST_ENHANCEMENTS for this purpose (see SE18)
    PeteA

  • Custom Date Field not showing up in Pages Inspector

    I created a custom date field in Address Book and now want to merge info from Address Book into a Pages template I created (including this new custom date field). When I go to the Inspector to add the custom date field to the template, it is not listed as a field - only Anniversary and Birthday are listed as "other" fields.
    How do I get the custom date field to show up in the inspector?
    Chris

    Question asked and responded several times.
    The Help is unaware of the true program behaviour.
    In version 3, custom AddressBook fields are not usable in Pages.
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE samedi 8 novembre 2008 18:13:21)

  • Displaying Customer Date-Fields in SRM 4.0

    Hallo,
    I want to display a customer date-field (data type DATS) in the basic data of a SC. The Problem is that the field is only displayed, but you can't enter any data. When i change the data type to CHAR you can enter Data in the field.
    Can anyone help me, please?
    Best regards

    Hi,
    please try to add the authorization object S_DEVELOP (Role: SAP_EC_BBP_ADMINISTRATOR) to the user, and test again.
    Regards
    Laszlo

  • E-Recruiting Custom Data Fields & Flexibilization

    Hi,
    Our development team has added custom data fields for work experience (IT5103) via include CI_P5103.  We are unable to adjust the appearance of the fields via Flexibilization.
    Steps we followed:
    1. Developers added fields (Z_FIELD1 & Z_FIELD2) to CI_P5103
    2. Created contexts EXTRNL & INTRNL
    3. Configured Flexibilization for Z_FIELD1 & Z_FIELD2 in EXTRNL for SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP to Hidden (Item Considered for Calculating Layout)
    4. Configured Flexibilization for Z_FIELD1 & Z_FIELD2 in INTRNL for SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP to Display Only
    5. Ran RCF_GENERATE_URLS for both EXTRNL & INTRNL
    6. Both fields show on External Candidate Start Page (EXTRNL) and Internal Candidate Start Page (INTRNL) and are not affected by the Flexibilization config
    Any suggestions would be greatly appreciated.
    Thanks in advance.
    Jason
    E-Recruiting 6.0 SP11
    BSPs

    Deepak, thanks for the input.
    I understand your feedback, but I don't see anything in that documentation that excludes custom fields from the modification of display.
    Define Additional Fields says:
    You can define additional fields for various infotypes in a Customer Include. The additional fields are displayed automatically on the relevant page.
    Modify Fields in Interfaces says:
    In this IMG activity you can switch fields on and off on certain application user interfaces and flag fields as mandatory fields. You assign these field definitions to a context in which the changes to the user interfaces are visible.
    Screen flexibilization is possible for the following pages:
    Candidate Profile
    Namespace/Application/Page Page Name...
    SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP Work Experience
    It seems logical we should be able to alter the display for a custom field that if the field is defined in the approriate include.
    I guess this could be another case of logic and SAP not following the same path.
    Jason

  • Help BC Webform custom date Field

    I have a BC webform which I have decided to use a custom field as the date field, because BC Date picker is buggy for users. This is my webform:
    <form name="catwebformform72193" method="post" onsubmit="return checkWholeForm72193(this)" enctype="multipart/form-data" action="https://myastymin.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=104882&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}">
      <span class="req">*</span> Required
      <table class="webform" cellspacing="0" cellpadding="2" border="0">
        <tr>
          <td><label for="Title">Title</label>
            <br />
            <select name="Title" id="Title" class="cat_dropdown_smaller">
              <option value="299539">DR</option>
              <option value="299538">MISS</option>
              <option value="299535" selected="selected">MR</option>
              <option value="299536">MRS</option>
              <option value="299537">MS</option>
            </select></td>
        </tr>
        <tr>
          <td><label for="FirstName">First Name <span class="req">*</span></label>
            <br />
            <input type="text" name="FirstName" id="FirstName" class="cat_textbox" maxlength="255" /></td>
        </tr>
        <tr>
          <td><label for="LastName">Last Name <span class="req">*</span></label>
            <br />
            <input type="text" name="LastName" id="LastName" class="cat_textbox" maxlength="255" /></td>
        </tr>
        <tr>
          <td><label for="CAT_Custom_352788">Date of Birth <span class="req">*</span></label>
            <br />
            <input type="text" maxlength="4000" name="CAT_Custom_352788" id="CAT_Custom_352788" class="cat_textbox" /></td>
        </tr>
        <tr>
          <td><label for="EmailAddress">Email Address <span class="req">*</span></label>
            <br />
            <input type="text" name="EmailAddress" id="EmailAddress" class="cat_textbox" maxlength="255" /></td>
        </tr>
        <tr>
          <td>{module_ccsecurity}</td>
        </tr>
        <tr>
          <td><label for="Username">Username <span class="req">*</span></label>
            <br />
            <input type="text" name="Username" id="Username" class="cat_textbox" maxlength="255" /></td>
        </tr>
        <tr>
          <td><label for="Password">Password <span class="req">*</span></label>
            <br />
            <input type="password" name="Password" id="Password" class="cat_textbox" maxlength="255" autocomplete="off" /></td>
        </tr>
        <tr>
          <td><label for="PasswordConfirm">Confirm Password <span class="req">*</span></label>
            <br />
            <input type="password" name="PasswordConfirm" id="PasswordConfirm" class="cat_textbox" maxlength="255" autocomplete="off" /></td>
        </tr>
        <tr>
          <td><input type="checkbox" name="CampaignList_223" />
            Subscribe to: Astymin Postboard</td>
        </tr>
        <tr>
          <td><input type="checkbox" name="CampaignList_224" />
            Subscribe to: Postboard Users Birthday Card</td>
        </tr>
        <tr>
          <td><input class="cat_button" type="submit" value="Submit" id="catwebformbutton" /></td>
        </tr>
      </table>
      <script type="text/javascript" src="http://www.myastymin.com/CatalystScripts/ValidationFunctions.js"></script><script type="text/javascript">
    //<![CDATA[
    var submitcount72193 = 0;function checkWholeForm72193(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.Username) why += isEmpty(theForm.Username.value, "Username"); if (theForm.Password && theForm.PasswordConfirm) { why += isEmpty(theForm.Password.value, "Password"); why += isEmpty(theForm.PasswordConfirm.value, "Confirm Password"); if (theForm.Password.value != theForm.PasswordConfirm.value) why += appendBreak("- Password and its confirmation do not match."); if (theForm.Password.value.length < 6) why += appendBreak("- Password must be 6 characters or longer."); } if (theForm.CAT_Custom_352788) why += isEmpty(theForm.CAT_Custom_352788.value, "Date of Birth");if(why != ""){alert(why);return false;}if(submitcount72193 == 0){submitcount72193++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
    </form>
    But I want the date field (highlighted) to look like this Well formatted date of birth input field - JSFiddle (The Date Format Normal. Not the tab option. I mean the second styling ). Issues like validation and should each date parameter be a separate field, etc is my headache. Please can someone kindly look into this BC webform and kindly help. Kind regards.

    Hi,
    I think only CHAR and NUM data types are allowed in OXK3, not possible to assign dats.
    Thanks,
    Shailaja Ainala.

  • Custom Date field range

    Hi
    I have 3 date fields in my view.
    what i need is
    for example
    My First date field i am selecting 1st January 2008
    Second date field i am selecting 10th January 2008
    in my third date field calendar should enable only in between that 2 dates.remaining dates are disable.
    How to dothis? pls reply ASAP.
    regards,
    Gobinath

    Hi,
    I dont think it is possible, just go through the following link
    [Disabling dates in the past]
    Regards
    Raghu

  • Added custom date fields at contract;need to trigger mail using those dates

    Hi,
    II have added 14 custom fields in the service order quotation for handling waranty start date and end dates capturing for the maximum of 7 years contract.
    Then its usual yearly action of the waranty team to put the dates in those fields.
    The first set of 2 input fields will be filled at the quotation creation itself; rest the set of 12 fields will be updated in this 7 years time.
    My requirement is such that to the capture all the waranty end dates filled in the input fields and trigger a mail 30 days prior to that days.
    Example : I have contract from 01/08/2004 to 31/07/2010.
    Then my waranty startdate / end date can be filled by waranty team as 01/08/2004 to 31/07/2005 in the waranty first year.the i need to trigger a mail to waranty team on 01/07/2005.
    For the second year if we have dates filled as 01/08/2005 to 31/07/2006; then to trigger mail on 01/07/2006.
    I have tried using ACTIONS but couldn't get much help.
    As a work around thinking for a report to fetch the contract for that Trans.type and check the dates with the present date + 30 and collect those to perfrom the respective actions.This is workaround.
    Tried using the DATE TYPES creating 7 different DATE TYPES and assigning the ( end dates - 30 ) to that manually upon save.
    and using this DATE TYPE along with the action definition can we acheive ?  but it too will be work around.
    How to acheive this one. It became critical now in the project. 
    Thanks and Regards,
    Satish Akkina

    Hi,
    In your scenario, you don't need synchronous email facility.
    Probably you can create a z table and maintain all required dates in this table (before saving your transaction somewhere you would have to read your custom fields and save them in this table along with object ID/GUID). Then create a report that would read dates from z table and then send emails to your warranty team. Schedule this report in background with frequency of once day.
    Hope that helps.
    Regards,
    BJ

  • Custom date fields in Interactive Report

    Hi,
    I am using newly patched version of Apex - 4.0.2.00.06
    What I am trying to do is to have two datepicker fields P84_DATE_FROM and P84_DATE_TO in separate HTML region, on the page that has IR / Interactive Report, that will be filter in report source.
    In debug mode I noticed that values that are picked with datepicker are not binding in report sql.
    select * from calendar_x
    where
    date between to_date(:P84_DATE_FROM,'DD.MM.YYYY') and to_date(:P84_DATE_TO,'DD.MM.YYYY')
    Do I have to force submit on Go button before it executes gReport.search('SEARCH')? Is it the right way to go about this?
    Thnx,

    Hi Vish,
    I was informed by SAP few months back that Interactive Reports can not be enhanced with custom fields. I don't see any documentation regarding this.
    You may want to check with SAP also.
    Regards,
    Paparao Undavali

  • Exchange rate should pick from TCURR based on custom date field added in MIGO

    Hi,
    In MIGO, FI document get posted by picking exchange rate based on the posting date. Through BADI(MB_DOCUMENT_BADI) we have added a field called translation date in MIGO screen, while doing GRN exchange rate should pick from TCURR based on translation date instead of posting date. We have tried this logic using substitution (GGB1) in FI accounting it is working fine in FB60 & F-02 transaction but it is not working with MIGO transaction. Please suggest some solution for this.
    Thanks & Regards
    Vinoth Kumar.M

    Hi Maniraj,
    This will a modification to existing system and it is not supported directly.
    There are 2 notes of SAP for modification of translation date of BKPF.
    SAP Note 574583 will activate a BADI kindly refer to it for details.
    http://www.stechno.net/sap-notes.html?view=sapnote&id=574583
    There is another one but is appilcable if material ledger is active in the system
    Regards

  • Date Profile -- custom date field should be populated.

    Hi All,
    I am creating a sales order from CRM Web UI. I am having Configurable Product. to create a sales order.
    If i click on configure product button, I can maintain the parameter values (Months) while creating a sales order.
    Now my question is i need the "Sales Order End date" automatically populated with "Sales order start date" + above menctioned Parameter value by months.
    Please let me know if you need any more details.
    What i have done is i created a date rule to configure this and added the parameter in the generated ABAP code for date rule.
    But i am not having any luck to populated the value.
    Please show some light to move further.
    Thanks in Advance.
    Regards,
    Siva

    Hi Sushma,
    Create 2 Date instances for 'FromDate' & 'ToDate' with required values & set them.
    Example:
    java.sql.Date fromDate = new java.sql.Date(109, 1, 1); // This is 1st Feb, 2009
    wdContext.currentTimelogElement().setFromDate(fromDate);
    Similarly, java.sql.Date toDate = new java.sql.Date(109, 1, 6); // This is 6th Feb, 2009
    wdContext.currentTimelogElement().setToDate(toDate);
    For details, refer http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Date.html
    Hope this answers your query.
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Feb 6, 2009 6:41 AM

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Pages custom date format

    I'm looking for a way to create a custom date format outside a Pages formatted cell. In other words, in text paragraphs, I need to be able to update the year only in a paragraph. Any ideas?

    If you are looking for the capability within Pages to insert a custom date field-code like the following, outside of a table, then I am not aware of how it can be done. I used LibreOffice 4.0 to produce the following image.
    When this was exported as a .docx file into Pages v4.3 on Mountain Lion, the YYYY format was replaced by a Pages date field. A right-button selection of this date in Pages offers an Edit Date & Time... menu item that produces the following panel:
    There is no YYYY format customization on this panel within Pages.
    It is possible to write an AppleScript service that runs from your Pages > Services menu and scans your Pages document for a date to convert to a YYYY replacement format. You may not want that either.
    Did this answer your question?

Maybe you are looking for

  • White Screen of Death - NOTHING IS WORKING

    Right, I've had my blackberry for a few months now, it was bought from someone else. Only recently, my phone has been turning itself off and giving me the "white screen of death" but I've always managed to get passed it by removing the battery then r

  • I'm having trouble updating to iOS 7 on my iPhone

    I continue to get messages stating that i don't have enough storage.  When I have increased the storage size, it still contines to give me this error.

  • The back and forward button stay disabled after upgrading to Firefox 4

    I upgraded to Firefox 4 and the back and forward buttons are never enabled. I see them, but they are not working. History works, recently closed pages work, bookmarks work. I disabled all addons, uninstalled FF4, deleted \Program Files\Firefox, re-in

  • Filter on "---" in Left Outer Join Query

    Hi guys, very basic question but I have not found an answer, yet. I built an left outer join MDO query and need to select all those dataset that did not find a "partner", that is fields are set to "---". However, I do not manage to filter on '---', N

  • Can I permanently disable the navigation pane in HTML help?

    My company has a web-based application on MicroStrategy platform. I have created a customized WebHelp to replace the MicroStrategy out of the box help and that works just fine. We are developing the MicroStrategy Office add-in for Excel for our clien