BDC date field should be blank

I am creating a bdc - the date field should be blank.
My logic is if input-field ne '0'.
  if w_ausbs ne '00000000'.
      PERFORM bdc_field    USING 'VIQMEL-AUSBS'  w_ausbs.
   else.
      PERFORM bdc_field    USING 'VIQMEL-AUSBS'  ' '.
   endif.
Initially i just tried
  if w_ausbs ne '00000000'.
      PERFORM bdc_field    USING 'VIQMEL-AUSBS'  w_ausbs.
  endif.
However, the field still gets populated with '00000000' which casues an error since it should be blank.  Able to create manually without entering a value in this field so it is not mandatory.
Any ideas on how to get this field to be left blank.
Thanks,
Jill

Hi Jill,
1. U want the date field to be  blank.
a) make sure it is not compulsory
b) secondly, make sure, default value
   does not come up when entering
   data in the tcode
2. If this is so , then
   how is ur w_ausbs defined ?
   a) it should be c(8)
(so that 0000000 does not come,
  spaces come !)
  and specificlally passit
  using
PERFORM bdc_field USING 'VIQMEL-AUSBS' w_ausbs. <---
regards,
amit m.

Similar Messages

  • Complaint qty and Ref Quantity field should be Blank in QM01

    Hi Gurus,
    When using QM01 the quantities shown in Complaint qty and Ref Quantity are from the Production Order.These fields should be shown as Zero in order to not to confuse the data entry personnel, by mistake they are leaving the fields with the same Qty from the production order as they are shown and the scrap is captured with this quantities.
    For example, the quantity to scrap will be 20,000, when it was indicated just to scrap 1,000, but the data entry person did not overwrite the quantity to 1,000 from 20000. Is there any way in standard SAP to make the Complaint qty and Ref Quantity blank, so that the user can fill it manually.

    Wanted to know if there was ever a resolution to this question.  I need a solution for the same thing.  We do not want the complaint quantity of a QM notification to default to the order quantity.  We need the inspector to fill in this quantity.

  • SPEL Field should be blank in R12 OAF Personalization

    Hi,
    I have a personalization requirment to remove the default values populating from "Labor Start Time" field and it should be blank. This field has Required property as *"${oa.current.StartEndTimeRequired}"* in original definition . I am trying to set the Required property as "False" or "No" at responsibility level. But there is no option to disable the default value, only had the following options :
    1. Inherit
    2. Yes
    3. SPEL
    How to resolve my issue. Is there any other way to solve this by personalization itself.
    Pl share your knowledge about this...
    Thanks,
    Mini.

    Wanted to know if there was ever a resolution to this question.  I need a solution for the same thing.  We do not want the complaint quantity of a QM notification to default to the order quantity.  We need the inspector to fill in this quantity.

  • SPl G/L posting Due on Date field should mandatory field .

    Hi ,
    while posting special G/l code 'G', (Advances from vendor with posting Key-29 ) I need  Due on Field as Mondatory field, (Baseline date for due date calculation
    Date to which the periods for the cash discount deadline and the due date for net payment refer. This is the case for line items in open item accounts.) it is giving other Spl G/l code except this code, it is in suppress mode. anybody can help me how get this field as reqd.( I have given same field status group and same reconciliation account also, for which I am getting it is a mondatory field eventhough it is not showing)
    Regards,
    SYReddy.

    1) use validation :  OB28
    2) tcode OB41
    A.

  • Date field should be different

    Hi
    Iam creating an application in web dynpro.In that labels "From Date" and "To Date" labels are present.
    In that i created Context of type "Date".
    I written code like this.
    Date date=new Date();
            java.sql.Date today=new java.sql.Date(date.getTime());
            wdContext.currentTimelogElement().setFromDate(today);
            wdContext.currentTimelogElement().setToDate(today);
    While writing like this,its showing todayDate as "From Date " and "To Date ".
    I want both the Dates should be different.
    Suppose "From Date-06/02/2009"  "To Date---10/02/2009" or
                   From Date-01/02/2009"  "To Date---06/02/2009"
    For that what are the modifications i have to do in the Code.
    Regards
    Sushma

    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

  • 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

  • Delivery Date field in PR/PO needs to be blank

    Hi Experts,
    At present  system is showing delivery date as todays date , as default.
    We need this field should be blank , so that user needs to force to enter date in PR/PO creation.
    Plz give ur ideas how can this be achived.
    Also can this be done by any badi/user exit? If yes, which one?
    Thankx for ur kind help.
    Regards:
    Nilesh

    Hi
    Goto -SPROMMPurchasing PO-check Screen field seletion -
    >Delivery date mandetory
    -SPROMMPurchasing PR-Check Screen field seletion -
    >Delivery date mandetory
    Vivek

  • Date field to be set blank--Urgent --Please help

    Hi All,
       We are running on SRM 4.0(classic scenario).On the SC screen,there  is a  date field called "Required on".By default this field is getting populated with the system date.
      Now my reqt is that when the SC screen appears,i want this date field to be blank(not carry the system date)..The user will change the date whcih will flow to the next screen(Item level data-->std functionality)....
       I tried implementing this using the BADI BBP_DOC_CHANGE_BADI....but with this BADI,the date field can be changed to blank at the next screen..not at the first screen where this field gets populated by deafult with the system date where I want...
       In addition to this with this BADI,when i reset the field value to blank on the2nd(next ) screen,i get an error  message(stating that the date field value is not carried over)...
      Can anyone tel me how this date field is getting populated and how i can set this  value to blank when the SC screen appears???Please help..
    Thanks & regards,
    Disha.

    Hi Disha,
    second message is normal: this is the std check on delivery date (here it is initial because of your mods).
    first one semas to be related to the WF.
    It could be deactivated via usual message control in SPRO.
    1> I don't know this message
    2> message BBP_PD 584 or 587
    If you set this field as mandatory in the HTML template, maybe it would force the user to populate it before sending it to SRM SC item.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Syclo - Clearing/Unsetting Date fields

    Hi All,
    I'm having some trouble with clearing a date field. I need to have the option of setting a date field back to blank if the user request so.
    I've tried to create a transaction where the date is a string property and set the date as blank. When running the application, clearing the date field results in the error message <Date> field is required and I'm not able to clear the field.
    Thanks in advance for any hints on how to clear a date field.
    Thanks!
    Tags edited by: Michael Appleby

    Jason,
    You cannot really clear a date field on screen by design.  There is a concept of a special value in Agentry that gives you more flexibility.  You could experiment with a special value tied to your date screen field.  This should put a check box next to the date and allow you to turn it on/off allowing you to finish the transaction without setting it.  I don't believe this will unset a value that has been previously saved, so this may not work for you.  I have noticed that date special values seem broken in the latest clients anyway.
    You could add your own check box next to the date and enable/disable the date based on whether the check box is checked or not.
    You are working with MyObject and have a data field called MyDate.  Create a Date field in the MainObject called DummyDate.  This is the equivalent of a blank date since there is no data in it.  In your transaction, your final date field is called DateFinal and ties to MyDate in the object.  Create another Date property called DateScreen.  Point your screen field to DateScreen.  DateScreen transaction property initial value should be "From another object".  Set it to MyObject -> MyDate field.  DateFinal transaction property initial value is "Rule after data entry".  The rule should check whether your date check box is checked or not.  If checked, use the transaction value from DateScreen since this is the date the user entered on screen.  If not checked, use MainObject ->DummyDate.  Using DummyDate will set the date back to empty.
    Jason Latko - Senior Product Developer at SAP

  • Click event to add (or subtract) a day to a date field

    I have a form that is giving me a little trouble. I want to be able to input a start date in one field, then input a number of days in another field, and then have it calculate a date that is that number of days away from the start date. The form is actually working ok for the most part, but there are a couple of issues I'm having.
    1. The end date is not calculating immediately upon exiting the number of days field. You have to tab all the way back to the start date and only when you exit that field does it calculate the end date. I need it to calculate when you exit the number of days field.
    2. I have added a little (+) and (-) button to be able to increase or decrease the date by one day. This works, but the problem is, I want to do this in the background. Meaning, I want the calculated date to change, but the # of days field to not change.
    So say I enter 12/1/2010 in the start date. Then I enter 1 in the # of days field. When I tab to the Calculated date field, it should immediately change to 12/2/2010. Then, if I click (+), the Calculated date field should go up to 12/3/2010, but the # of days field should stay at 1.
    I've uploaded a sample of what I have figured out so far here:
    https://acrobat.com/#d=v4c4KKdj0hesicxO8yO1pw
    Thanks so much for any help I can get on this!
    Jo

    I think this is what you are after. I moved the logic to the calculate event of the target date and added a numeric field to hold the result of adding/subtracting (called 'delta').
    // form1.#subform[0].date2::calculate - (FormCalc, client)
    var date1 = Date2Num(date1.formattedValue,"MM/DD/YYYY")
    $.rawValue = Num2Date(date1+days+delta,"MM/DD/YYYY")
    You could make 'delta' hidden.
    Steve

  • Add 90 days to a date field.

    Hi All,
    I have a form page in which i have a field called date. The requirment is like this whenever i come to this form page the date field should 1st check the sysdate and add 13 weeks or 90 days to it and display it there. It should be like this whenever user comes to this page the date field gets loaded like this and display there. Need help to do this.
    Thanks in advance.
    Regards

    But i want this field to be dynamic. This date field is date picker. If i select 15th May from date picker it should populate 14th august. Any suggestions on thisIs this concept of selecting one date and having a completely different one appear going to be clearly understood by users? From a usability/accessibility perspective it may be a better idea to use 2 items, with the initial selection being made in a date picker and the computed value appearing in a separate display/read-only item.

  • Numeric, date field data to be in English format

    My Characterset on 10g AS & 10gdb, NLS_LANG=ARABIC_KUWAIT.AR8MSWIN1256
    In my all arabic screen numerical number & date fields are in arabic. Instead all numeric & date fields should be in English. I have tried settting NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256 on Application Server. But no use & also by doing this just runtime application is doing flip,,ie from left to right.
    i know I can query using below
    TO_CHAR(hiredate, 'DD/MON/YYYY', 'nls_date_language = ENGLISH')
    Is there any way of doing that at database level, so that all fields of applicaton of type numeric & date are in english.
    thanks

    In reports I am getting Numeric & date format in English. But only forms all these are in arabic.

  • Retention period of a document in this folder (Days)? - Should be BLANK

    Team,
    In our R/3 4.7:
    In SAP office (Business Workplace):
    in Attribute of certain folder:
    The Filed "Retention period of a document in this folder (days)" is being filled with some number.
    The field should be blank but somehow it is being filled with some number. - Why is this happening? Any help is appreciated.
    Thanks

    Hi,
    a default number for the retention can be set up.
    Please check Tr. SO16 >> Tab: document org.
    Here you will find the option where to set up the default value for retention.
    Regards.

  • "Start Date" field available

    Hi
    experts....
    I need your help on this ....how can we configure the "start date"field should be available for an opportunity In GUI.i am able to see all the closing dates for an opportunity.But i need start date Please provide me the configuration steps what i need to do in this.
    Thanks
    Mohammad

    Hello Mohammad,
    Did you check transaction BSP_WD_CMPWB (BSP Component Workbench) for this component (click on F2 in the WebUI to find out the right component for your view, it is something like "...111...". The go to your view, go to configuration and add the field if it is not available.
    Best regards,
    Thomas

  • Unicode and Date fields crash the kernel

    Hi,
    we ran into a bug in the query parser while testing our system with japanese dates, that crashes the kernel when a date/time/timestamp field is compared to a literal that contains a unicode character.
    For instance,
    select * from dual where now() = '2011年10月12日'
    will crash the kernel (7.7 or 7.8)
    Normally the date field should be compared only with strings in ISO format, but we fear some wrongly written query will crash our production database.
    Is that a known bug and is there a workaround ?
    Guillaume

    Hi Guillaume,
    this is a bug whereas not a known one up to now. We will solve this ASAP and have created an entry in our error database: [1239879|http://maxdb.sap.com/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1239879].
    Unfortunately there is no other workaround for this error than not to use UNICODE characters in those queries.
    Thank you for reporting.
    Best regards,
    Steffen

Maybe you are looking for

  • Pages Questions/Frustrations

    I'm pretty frustrated with Pages and have some questions. Data: MacBook with 1.83ghz dual core Intel, OS 10.4.11, 1 gig RAM, lots of hard drive space available. I'm working in Pages on a novel that is around 200,000 words. Software Update reports no

  • Update Sales EH before Deleting Delivery EH from application system

    I have placed an enhancement implementation into IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_DOCUMENT I plan on creating an event for an unexpected event called "DeliveryDelete" which will update the Sales Order EH. Should I be using the function mod

  • Designer on 64 bit?

    Hi, I would like to know, if the Designer is supported in 64 bit systems. Being NWDS available for only win 32 bit, I would like to know, if the designer is OS dependent. I referred to the Product compatibility matrix of Adobe products at the adobe s

  • E52 music skipping?

    it keeps skipping, how would i fix this problem? E52 - Product code 0585050

  • Can I change the user account on a pre registered macbook pro?

    I'm looking at buying a brand new Macbook Pro from someone who has only used it to do a system restore from a previous Macbook. It's a 2012 model and thanks to his system restore it is now running Mavericks. Can I update the user account to my name s