Date Field - custom entry

Hello,
I'm trying to create a date field in LC which can only be selected from the drop down calendar.  I would like to disable keyboard entries both before and after the date selection.  Is anyone able to assist?
Thanks.

You can check the length of the strings during the change event.
A keystroke always has the length 1 and can be filtered.
Add this sript into the change event of your date field:
xfa.event.change = xfa.event.change.length > 1 ? xfa.event.change : "";
Pasting from the clipboard is still possible, but I don't think anyone ever will enter a date this way.

Similar Messages

  • Use of revision no,revision date field in bom header details screen

    Hi all,
    Please let me know use of revision no,revision date field(customer fields tab) in bom header details screen.I tried with F1 ,no information.
    Thanks
    Sukumar

    Dear,
    In standard SAP in BOM header overview there are 4 tabs.
    Quants/Long text.
    Further Data
    Admin Data
    Doc Assignment.
    I think Customer fields tab may be customized based on client's requirement.
    I Know about revision level. It Identifies the change status of a material.
    The revision level can be uniquely assigned to changes made using a change number.
    Hope this helps. Correct me if i my understanding of the problem is  wrong.
    Thanks and Regds
    Sridhara K N

  • Get the error "Make an entry" in the date field

    Hallo Experts,
    I have the following problem. I have a date filed with value help. In the Getter-Method, I inserted the following code to get a value help:
    CALL METHOD CL_CRM_UIU_BT_DATE_TOOLS=>GET_DATE
        EXPORTING
          IV_ATTRIBUTE_PATH   = ATTRIBUTE_PATH
          IR_BTDATE           = current
          IR_MODEL_UTIL       = me
        RECEIVING
          RV_VALUE            = value
        EXCEPTIONS
          CONVERSION_ERROR    = 1
    *    others              = 2
    so far is everything is ok, I can select my date in the field. But the problem is, if I select an other button without any funktion (no event) in the same viewset I get the error message: Make an entry in field "Date". By the way, the field date is a mandantoy field.
    My intention is, that the entry of the date filed is still exist (without to save) if I push an other button to invoke an event. 
    Could anyone help me?
    Best regards,
    John

    Hi,
    You are only displaying the date in getter method. To set the date in the entity it should be done using set_property.
    current->set_property( iv_attr_name = 'date field' iv_value = 'value' ).
    Check whether the date is set in setter method. If not add the above code.
    Regards,
    Arun

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

  • Copy data customer PO and PO date field from quotation to sales order

    Hi Friends,
    Can you please let me know what copy control settings I need to maintain in order to copy customer PO# and PO date field data in quotation to sales order.
    All the data is getting copied from quotation to sales order when I create sales order with reference to quotation but the customer PO no. and PO date is not getting copied.
    Can anyone please help.
    Regards,
    Wasim.

    HI
    Not sure if this is possible via Customization or not but you can try the user-exits or Routines for the Sales Order program for this
    You need to change the include FV45C102 (assuming you have copied standard order and the copy controls). ABAP team should be able to make changes to this routine and achieve your requirement.
    In VTAA, after choosing the Source and Target order type and choosing the right Quatation item, check the routine for 'Bus.data/item compl.' and it will be what has been mentioned above.
    Please check &Revert
    Thanks&Regards
    Raghu.k

  • Which table for the field "Net due date" of customer line items?

    Hi All,
    In which table could I find the field "Net due date" of customer line items?
    Thanks
    Gandalf

    I don't think there is a field for that.  In various SAP screens where you see this field, I think it is a calculated value (baseline date ZFBDT + days ZBD*T).

  • Custom Date for Birthdate entry

    I got issued a project that requires me to take a pre-exsisting professional Scholarship form and make it into a PDF. I've been able to make the form fields with no problem but I'm running into a few issues with the Date format.  This form requires the Applicant to type out their Birthdate and Social Security #, however, the higher ups don't like the default method Acrobat uses.
    Problem #1: Because some of our Applicants are Elderly and/or are not very computer literate, I want there to be "some" flexibility to them typing out their birthdate.  IE, MDDYY, MMDDYY, MDDYYYY, MMDDYYYY will Validate through a script that turns it into the company standard format of MM/DD/YYYY.  I have a very basic bit of Custom Keystroke script that I found and edited slightly.  Its not pretty though.
    var a = event.value;
    if(a.length==5){var b = util.scand("mddyy",a);event.value = util.printd("mm/dd/yyyy",b)}
    if(a.length==6){var b = util.scand("mmddyy",a);event.value = util.printd("mm/dd/yyyy",b)}
    if(a.length==7){var b = util.scand("mddyyyy",a);event.value = util.printd("mm/dd/yyyy",b)}
    if(a.length==8){var b = util.scand("mmddyyyy",a);event.value = util.printd("mm/dd/yyyy",b)};
    This does what I want it to do, sort of, but deviating outside of this script results in undesired results. IE typing 02/13/71 will get 02/13/71 not 02/13/1971.  Then there's a potential problem of the century. Typing 021327 will get 02/13/2027 not 1927.
    Can anyone lead me in the right direction of where to close the flexibilty off at giving an Audio Alert when any other keystroke besides 0-9 and / is entered while maintaning the Validity of the above format of MM/DD/YYYY?
    (I realize this is pretty much nitpicking, but the higher ups say jump and I have to say How High and I'm not at the skill level yet to achieve the desired results.)
    Problem #2: In the same form, the Applicants SSN needs to be entered but the default format under Properties > Format > Special is requiring the full 9 digits. However, we have more than a few people who have "less" than 9 digits.  Given that the higher ups want to give some flexibilty to Elderly and non-computer literate on the SSN field as well, I've been asked to correct this problem.  Now, I've been steered in the direction of Leading Zeros script and AutoTab features, but to be honest, most of this is beyond my understanding in how to achive it. I understand the concept of leading 0's in the util.printd feature of the 999-99-9999 format, however, any attempt to do this stuff leads in undesired results.  Please help if you can.
    Thanks in Advance,
    Dean

    Thank you for replying Gkaiseril, not really sure what you're talking about with RegExp, hidden Fields and the like.  As I stated above, my skills with acrobat are limited and my knowledge of Java script is less than that.  Could you give examples or write out examples of what you're talking about?  I plan to learn more on Java, scripting and getting better at Acrobat, but for the mean time, I just need the scripting of how to get the Date field to do what I want it to do.
    As for the SSN, I'm aware of the 9 digit limit, this is why I'm wanting the script to fill in less-than-9-digit SSN's with leading Zeros.  We have had examples of the past of our clients and applicants with Exm 001-34-5678 not entering their 0's first and it confuses them as why their paperwork was'nt accepted or returned invalid.  Plus, our OCR system doesn't like the SSN field if its entered incorrectly.  This is why I was directed to look at leading 0's and something about a decimal point ...
    I haven't looked into the util.printd yet, in fact I know absolutely nothing about it except from what you told me.  No idea where to look for the things I want to accomplish.

  • Is it possible to add value date field in the debit entry?

    Hi gurus,
    I'm an abapper and struggling to be an FI consultant since I have no one to consult with. Here's my issue:
    I want to add the Value Date field in a GL acct debit entry. I used optional in Field status group. It doesn't appear unless if I change the posting key to credit. But if I change it to required entry, an error appears " Rules for posting key 40 and acct 115-30-002 set incorrectly for "VALUT" field . Did I miss anything? As much as possible, I don't want to use the other GL Account (a credit entry) since I dont need it in the program flow.
    Need an expert explanation on this. Sorry I only have limited knowlege with regards to FI concepts.

    Hi
    Feild status at entry time looks for the following combination
    S- Supressed
    D- Display
    R- Required
    O- Optional
    System looks for this above combination at first in Posting Key and then in FSV of account which we enter. For this partical purpose the the feilds in posting key are kept optional.
    Check the feild status of posting key & account T-code FBKP.
    thanks
    Colin Thomas

  • 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)

  • Marriage anniversary date field for customer contact

    Hi
    We like to have Marriage anniversary date field for customer contact.
    We found Birthday field & even Marital Status in Customer Contact. However, Marriage Anniversary Date is missing.
    Please suggest whether it is already avalible somewhere? If yes, how to get it (in XD01/XD02), or what is the alternative then.
    Thanks.
    - Sunil

    Hi,
       I don't think SAP has provided marriage anniversary field , you can very well user REMARKS field to enter the details.
    Regards,
    Siraj

  • 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.

  • Additional data in Customer master  to be mandatory field

    Hi SAP Gurus,
      I've a requiremnt of setting the additional data fields as mandatory in Customer master "Sales area" data.
    I have checked in the standard config were there is no settings related to additional data  in the Std configuration
    (account group)
    Finaly, I found an include program - LV02ZOKV for this requirement to do the changes through ABAP programe.
    (to activate  field us  Mandatory)
    May I know is this the correct approach for this requirement or in case if you have better requirement could 
    you please share with me to avoid the unnecessary impacts.
    Thanks in Advance.
    Thanks & Regards
    Pugal

    Hi Thomas,
        Thank you!!
    I have recently got a programe - SAPLV02Z, I think this will help me out..
    Thanks & Regards,
    Pugal

  • Data in Customer Group Field according to the sales area

    I have two sales area, i.e. 1000,10,10 (area1) and 1000,20,10. (area2) configured in the sap.
    i want that when user creates a customer for area1, then he get different data in list in "customer group field" in sales area in sales tab i.e. group1, group2. and while creating customer for area2 field, user get different data in list of the same field (now group3, group4).
    is that possible without ABAP??

    Hi
    The field customer group flows from imgsd-master data-business partners-customers-sales-define customer groups
    Whatever you define here will flow as options in F4 while creating CMR
    But there is no restriction of limiting certain groups according to sales areas as reqd by you in standards
    It needs a development only
    Regards
    Raja

  • 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

Maybe you are looking for

  • Cost center Assessments

    Hi All, We are using Cost center assessments to allocate costs.whenever we do cost center assessments with receiving tracing factor as "fixed percentages" then system is posting to cost center as well as PCA.but when we use cost center assessments wi

  • Locationcode for plant + purchase order

    Hi Workong with an ediproject.  Locationcod is a vital field to use when sending edi purchase orders. The vendor shall deliver to different plants and the id for the plant is the 13 digit location number Where can i maintain this locationcod on plant

  • Export cliping mask as PSD from Illustrator

    Hello, i'm trying to export Illustrator cliping mask as PSD file, but when i import file into Photoshop i my cliping mask is not cropped, so it imports the borders of the rest of illustration artwork. I tryied to expand the cliping mask, getting same

  • Business rule access privilege

    Hi, Please help me to understand; how to assign user privilege for Business rule. I mean should i assign users for Planning, essbase and Planning? Edited by: Kumar 1 on Nov 22, 2010 3:51 AM

  • Problem installing XP home SP2 on MacPro

    I am trying to install XP home on a freinds new MacPro. He has 2 Hard drives and needs Linux. We have installed rEFIt. The partitions are set up as followes Disk 1 235GB OSX HFS+ 40GB Linux Swap to be 200GB Users Directory RAID Disk 2 40GB Windows NT