Search help proble m for date

Hi All,
Am using 4 screen fields which are of DATS type ,but am unable to attach F4 help.
i have tried several posibilities like declaring the fields like sy-datum and many more,but nothing is working out.
pls help me out.
regards
-john

hi,
use 'F4_DATE'  function module.
DATA: DATE  LIKE WORKFLDS-DAY.                         
CALL FUNCTION 'F4_DATE'
       EXPORTING
            DATE_FOR_FIRST_MONTH         = SY-DATUM
       IMPORTING
            SELECT_DATE                  = DATE
       EXCEPTIONS
            CALENDAR_BUFFER_NOT_LOADABLE = 1
            DATE_AFTER_RANGE             = 2
            DATE_BEFORE_RANGE            = 3
            DATE_INVALID                 = 4
            FACTORY_CALENDAR_NOT_FOUND   = 5
            HOLIDAY_CALENDAR_NOT_FOUND   = 6
            PARAMETER_CONFLICT           = 7
            OTHERS                       = 8.

Similar Messages

  • How to search a .csv file for data using its timestamp, then import to labview

    Hi, I'm currently obtaining density, viscosity and temperature data from an instrument, adding a timestamp and writing it to a .csv file which I can view in Excel. This works fine (see attached code) but what I need to do now is to search that csv file for data which was obtained at a certain time, import the temperature, density & viscosity values at this time back into Labview to do some calculations with them, while the data acquisition process is still ongoing.
    I've found various examples on how to import an entire csv file into labview, but none on how to extract data at a specific time. Also, whenever I try to do anything with the .csv file while my data acquistion VI is running, I receive error messages (presumably because I'm trying to write to and import data from the .csv file simultaneously). Is there some way around this, maybe using case structures?
    If you need to know my skill level, I've been using Labview for a few weeks and prior to that have basically no experience of writing code, so any help would be great. Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Lemis VDC-30 read registers MODBUS v5.vi ‏56 KB

    It sounds as if you are going about this a little backwards writing to a data file and then extracting from the file but its the weekend so I can't think of an improved way to do it at the moment. 
    Searching for a specific time with those specific values is quite easy, or if you wanted to select any time then you could interpolate the values to find any value that you want (This is where the contiguous measurement comes in, as you have readings at discrete times you will have to interpolate the values if you want to get the 'measured value' at a time point that is not exactly one of your measured points).
    If you can extract the TDMS time column and the T, D & V then simply thresholding and interpolating each of your array/data sets should allow readings at your desired times.
    Attachments:
    Interpolate.png ‏301 KB

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • Assigning search help (F4 functionality ) for recipient field in IW32

    Hi,
    my requirement is to assign search help (F4 functionality) for recipient field in components tab of IW32. anybody help me to assign search help for it. same way i need to assign that in MIGO, MB21, MB1A goods recipient field.

    hi,
    refer to the following link:
    http://www.saptechies.com/how-to-add-f4-help-to-a-field-on-screen-module-pool/
    i hope it helps
    regards

  • Search Help in Webdynpro For ABAP

    Hi Experts,
                      In my application I want to attach search help to a field. My problem is that table field for which I am creating search help contains duplicate values. I dont want those duplicate values. How can I achieve this?
    I am using trfgr field of table T510.
    Please help.
    Thanks & Regards,
    Pratibha Shukla

    I have coded like this . But I am getting short dumb. It says field symbol not assigned. Please help.
    FUNCTION zexit_search_trfgr.
    *"*"Local Interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCT
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     REFERENCE(SHLP) TYPE  SHLP_DESCR
    *"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      DATA : BEGIN OF it_trfgr OCCURS 10,
              trfgr TYPE pa0008-trfgr,
            END OF it_trfgr.
      DATA : itab LIKE LINE OF it_trfgr.
      IF callcontrol-step = 'SELECT'.
    *******Fetch trfgr from table t510
        SELECT DISTINCT trfgr FROM t510 INTO TABLE it_trfgr WHERE molga = 40.
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    EXPORTING
       SOURCE_STRUCTURE         = 'T510'
    *   APPLY_RESTRICTIONS       = ' '
      TABLES
        shlp_tab                 = shlp_tab
        record_tab               = record_tab
        source_tab               = it_trfgr
      changing
        shlp                     = shlp
        callcontrol              = callcontrol
    * EXCEPTIONS
    *   ILLEGAL_STRUCTURE        = 1
    *   OTHERS                   = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      ENDIF.

  • In condition records section Search help problem at one data type

    hi there,
    we are upgrading 4.6c version to ecc 6.0 past january. but in
    vk11/vk12/vk13 condition master records sections, we have a problem for
    one data type search help. when we want to join sales deal code to sales
    detarmination condition, at one tables rows type price list (data type =
    pltyp_d) does not allow f4 (search help).
    thanks your interesting.
    Sinan Alt&#305;ner
    Betek Boya ve Kimya Sanayi A.&#350;.
    SAP CONSULTANT / ABAP Developer

    Hi surya,
    I per your suggestion i did like this ,
    data : date1 like sy-datum.
    types : w_date1 type sy-datum.
    date1 = w_date1(ztable-date1). "ztable-date1 - is screen field.
    but it is giving error "The field "W_DATE1" is unknown, but there is a field with the similar name "DATE1" . . . ."
    actually that value is coming after triggering PBO event but i want that value in at time of calling F4 help at that screen filed
    suppose on screen the fields like
    date : 30.08.2008.
    matnr : ( .............F4 )  '".....on this field when i m pressing F4 that time only that above date materials should come as per my first query see my first thread.
    thanks,
    Sanket.

  • Searc help in entry help/Check tab vs Search help in Further Char-Data elem

    Folks,
    I have a screen field which is linked to a structure.When I look at that structure's entry help/check tab in se11 this field is having a collective search help.Now I want this to be replaced by a Z search help.
    If my understanding is right I need access key for this structure so that I can link the z search help in entry help/check tab against this field.
    My query is whic is the right way
    1.Linking the z search help in the entry help/check tab against that field in the structure at SE11 level
        or
        Linking the Z search help in Further Characterisitics tab of the data element used by this field.
    Either way the search help will be reflected at all the places wherever this field is available in the screen.Am I right ?
    or
    2. Linking the search help to a data element is different from linking the seach help to the field in that structure in entry help/check tab ? If they differ how do they differ.Kindly let me know
    Thanks,
    K.Kiran.

    Not true.
    Search help assigned at data element level is independent of that assigned at structure level, and the latter has higher priority. Please read "Input Help Hierarchy in the ABAP Dictionary":
    http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    The structure level assignment can (and generally is) linked to more than one field, not only the one that triggers the search help. That depends on the search help importing and exporting parameters. The data element assignment can only affect the field in which it is used.
    Nevertheless, even the search help defined at structure level could be overriden in the program (e.g. PARAMETERS...MATCHCODE OBJECT, AT SELECTION-SCREEN ON VALUE-REQUEST, PROCESS ON VALUE-REQUEST, etc). If that is not your case, it's the structure assignment that you want to change (have into account that it will affect any other dynpros which use that structure).

  • Custom search help in WD for ABAP

    Hi
    I have a Text field which does not have any input help. Now I have a custom Search help object in my R/3 store. How do i use this search help object for displaying the values for this Text field. I believe there is some standard  method  available for this. Kindly help me out.
    Regards,
    <i><b>Seema</b></i>

    Context->Dictionary Search Help.

  • Trigger Automatic Search Help in WebDynpro for ABAP

    I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
    The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
    Now for the question:
    When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
    Any help would be gratefully accepted.

    hi gareth.......
                a solution for you.....
                   instead of triggering  a search help....
                  in you wddoinit method... call a popup which ahs a table with all the required values...
                 so when the user selects one... it has to be bound to an attribute....
                 which is then passed to the po field.
    ---regards,
       alex b justin

  • Search help: default value for 'Maximum no of hits'

    Hello,
    I have a request from a user to change the default value for maximum number of hits in the search help.
    Any quick hint?
    Regards,
    Michal

    Not sure if this is possible and don't have a SAP system available at the moment ...
    But check this out...
    Is there anything in user profile ..
    or check if the number of hits field has a PARAMETER ID associated with it...
    Then in that case you might default a value other than 500 in your user profile.
    Cheers,
    Ram

  • How to see additional individual search helps in sh for PERNR

    Hi,
    In this moment I see only 3 tabs in search help for PERNR. But there are about
    20 search helps. How  can I activate them ?
    I tried to do it by program DBPNPGMC but it didn't help.
    Thank you very much
    Irena

    Hi irena,
    1. Attach the search help PREM
      for pernr.
    2. It has got many different kinds of 20-30 helps inside it.
    regards,
    amit m.

  • How to make custom append search help tab default for all users?

    I've implemented my own search help append and I need to make the F4 search help to display my tab as default for all users. I know that search help stores the last tab used by the user in memory and when user uses the search help next time the last used tab is displayed but I have to make the system display the tab od my search help append always as default tab. Any idea how to do it?
    Message was edited by:
            Marcin Milczynski

    hi
    <b>Enhancement using Append structures</b>
        Append structures allow you to attach fields to a table without actually having to modify the table itself. You can use the fields in append structures in ABAP programs just as you would any other field in the table.
    Click on the append structure tab and opt to create new
    structure.
    Append structures allow you to enhance tables by adding fields to them that are not part of the standard. With append structures; customers can add their own fields to any table or structure they want.
    Append structures are created for use with a specific table. However, a table can have multiple append structures assigned to it
        Customers can add their own fields to any table or structure they want.
    The customer creates append structures in the customer namespace. The append structure is thus protected against overwriting during an upgrade. The fields in the append structure should also reside in the customer namespace, that is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP

  • Search help description translation for portal view

    Hi Experts,
    I have created a Z search help which is being called in the portal. The description of the search help text has also been maintained in user local logon language via se63 but still when viewing from portal the description is shown incorrect/different. Is there anywhere else where i need to maintain the search help text description?
    thanks.

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • Pls help me our for date problem.

    There are two tables a header and a detail
    In the details is having start_time and end_time
    I put a format mask that I want to show only hh24: mi.
    The problem is if, I changed the hh24: mi values the date bounds back to the first day of the current month. Why it's so?
    I used another field st,et(start_time & end_time) these are non-database items of number type and here also I put the format mask hh24: mi. So the data goes in the database in the form of seconds.
    I want in start_time and end time (sysdate +the hh24: mi value I given)
    How to do this??????.Any idea .Pls help me out ....
    [email protected]

    machan nuwan,
    there are two way
    client side genaration(flex)
    server side genaration(java,php,crystal report...)
    client side
    My openion is before u print.
    create pdf in your server and save (then client can access it by usinf URL)
    keep the saved location(URL) in DB and then
    pass the URL to client (when you are doing reporting this process is happenning machan)
    see this link for more(me link1 balapan tawa.mage 1k newei)hope this will help u. http://amthekkel.blogspot.com/2010/09/flex-web-app-generating-pdf-reports.html
    otherwise u can genarate reports using crystal report or what ever tool and put into server then pass the URL to client then client can access the pdf and print it.
    hope this will help you machan.thnx

  • I'm using Vista SP1 and tried to install iTunes 10.5 many times, but failed. I was searching help on web for the whole day but those are useless. I always encounter something related to 'Windows Installer', which I've update.Any help would be appreciated.

    Yea, as topic. Help plzzzzzzzzzzz

    I should have posted this earlier, but anyway. I restored my laptop to factory version after backing up any useful data, and the first thing I the laptop was restored was connect to the internet, download and install the latest version of iTunes. And Bingo! It worked.
    Apple helps you find Original Sin with the Windows.

Maybe you are looking for