Search with restriction

Hi
I need to add a search help for a field with field restriction.
suppose if i press f4 for a field's search help, i shud get a restriction pop up.
Regards,
Neelima
Edited by: S Neelima on Mar 26, 2010 10:48 AM

Hi,
   Use this FM 'F4IF_FIELD_VALUE_REQUEST' to get the restriction popup. Sample code is given below.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      TABNAME                   = 'EKKO'
      FIELDNAME                 = 'EBELN'
     DYNPPROG                  = PROGNAME
     DYNPNR                    = DYNNUM
     DYNPROFIELD               = 'S_EBELN'
   TABLES
     RETURN_TAB                 = IT_INIT
   EXCEPTIONS
     FIELD_NOT_FOUND           = 1
     NO_HELP_FOR_FIELD         = 2
     INCONSISTENT_HELP         = 3
     NO_VALUES_FOUND           = 4
     OTHERS                    = 5.
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  READ TABLE IT_INIT INTO WA_INIT INDEX 1.
  L_T_DYNPREAD-FIELDNAME = 'S_EBELN-LOW'.
  L_T_DYNPREAD-FIELDVALUE = WA_INIT-FIELDVAL.
  APPEND L_T_DYNPREAD.
  CLEAR L_T_DYNPREAD.
  CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
      DYNAME     = SY-REPID
      DYNUMB     = SY-DYNNR
    TABLES
      DYNPFIELDS = L_T_DYNPREAD.

Similar Messages

  • Mail wants to use the restricted Service "Search With Google."

    This is the response/error I see when I try to do a Google search from an email message - "Mail wants to use the restricted Service “Search With Google.”"

    Interesting - I just created a new user account I named "Test", and tried "Search With Google" in Notes and it worked fine in this new account.  Without any additional change, I went back into my normal user account, and tried to use "Search with Google" on the highlighted word, and it pulled up the Google search fine as well.  No reason I can think of that these actions would have resolved the problem - e.g., either the creation of the "Test" account, or switching between this "Test" account and my normal account.  Possibly creating new account caused a cleanup of the Safari preferences to point to version 6.0.(essentially reset the default)
    Would be curious if droow007 solution works for others.  Definitely quicker than the route I went :~)

  • How to display check box in the search help restriction pop-up window

    Hi Experts,
    I have created one searc help with dialog value restrictions. Search help contains 4 fields.
    Out of which one field has length one character.
    As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
    I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
    Pls help me ,... How can we acheive this..
    Thanks
    Raghu

    Ur Exact Requirement,
    Types : begin of itab,
         fields type c,
         Check type c,(For Check Box)
         end of itab.
    data it_tab type standard table of itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
      CLEAR  v_input.
      GET CURSOR FIELD s_input VALUE  v_input.
      CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
        EXPORTING
          i_input  = v_input
          i_langu  = sy-langu
        IMPORTING
          e_output = v_input.
      CLEAR s_input-low.
      IF v_input NE '' .
        IF v_input NE '?'..
          v_input1-sign = 'I'.
          v_input1-option = 'CP'.
          v_input1-low = v_input.
          APPEND v_input1.
        ENDIF.
      ENDIF.
    SELECT DISTINCT   Field
                      FROM Table
                      INTO TABLE it_tab
                      WHERE field IN v_input.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
              EXPORTING
                i_title                 = 'Select Colors'
               i_selection             = 'X'
                i_zebra                 = 'X'
                i_screen_start_column   = 5
                i_screen_start_line     = 5
                i_screen_end_column     = 30
                i_screen_end_line       = 12
                i_checkbox_fieldname    = 'CHECK'
                i_tabname               = 'IT_TAB'
                i_scroll_to_sel_line    = 'X'
                it_fieldcat             = it_fieldcat1
                i_callback_program      = sy-repid
                i_callback_user_command = 'USER_COMMAND1'
              IMPORTING
                es_selfield             = selfield
              TABLES
                t_outtab                = it_tab
              EXCEPTIONS
                program_error           = 1.
    Cheers,
    Naveen

  • Disable fields in search help restriction window

    Hi Experts,
    Here is the situation:
    I have created the new search help for material number and assigned this search help in my module pool program.
    As soon as user press F4 button on material number , it will display search help restrictions window with 4 fields ( material, material type, plant, plant status).
    I have set default value for the material type in search help itself. But I would like to disable this field.
    I mean .... user should not enter any other values other than my default value. So I should disable the material type field in searh help restrictions window.
    Pls help me.
    Thanks
    Raghu

    Hi Vinod,
    In the FM F4IF_INT_TABLE_VALUE_REQUEST, pass exporting parameter callback_form = 'SUB_CALL_BACK'.
    Define the sub routine with the SUB_CALL_BACK with below logic
            FORM SUB_CALL_BACK TABLES record_tab STRUCTURE seahlpres
                                                   CHANGING shlp      TYPE           shlp_descr
                                                                     callcontrol TYPE DDSHF4CTRL.
                   callcontrol-MULTISEL = 'X'.           
             ENDFORM.
    Hope it helps.
    Regards
    Gangadhar

  • CheckBox in search help restriction dialog.

    Hi Experts,
    I have created one search help with dialog value restrictions. Search help contains 6 fields.
    Out of which three fields has length one character(Data Element XFELD).
    As soon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 6 fields.
    I would like to show that fields(with Data Element as XFELD) as Check Box in search help restrictions pop-up window.
    Pls help... How can we do this.
    Thanks
    Vinod

    Hi,
    Kindly check the standard search help "F4TESTCHECKBOX".  Copy it and change the dialog type to 'Display with restrictions' . On execution,  you will notice that -
    i) On the restriction screen the checkbox is displayed as textbox .
    ii)  In list display , checkbox is displayed correctly .
    Follow Raymond's suggestion,
    You could define your own selection-screen, and display it in a search-help exit : if step = 'PRESEL', display your screen, modify selected values in table shlp-interface  and force next step as 'SELECT' to bypass standard selection-screen.
    Regards,
    DPM

  • Regarding search help restrictions...

    Hi Experts,
    I have created search help with dialog type C (i.e Dialog with restrictions).  As soon as user hits F4 on particular field , it will give pop-up with restriction count.
    I want to set restrict count by default 10 instead of 500. How can we acheive this.
    Please help me .
    Thanks in advance
    Raghu

    [search help exit|http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm]
    [Search help Help|http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm]
    check my wiki for the code for a search help exit.
    J@Y

  • Batch with restricted status not allowed to consumed in Process order/Staged/Deliver

    Hi
    My requirement is batch with restricted status can NOT be
    - consumed in process order via MIGO or MB1A
    - Can not be delivered to Customer
    - Can not be allowed / available to be staged
    Together with your input i want to make development strong/defect free/consider all aspects.....kindly suggest
    Thanks & Regards
    Prashant Gupta

    I still believe that this is configurable  I believe that a PP-PI person can control that restricted stock is not allowed for use in orders.
    Restricted stock should already not be allowed to be sent to a customer.
    I'm not sure what you mean by staged.  That can be different in different places. I assume you mean some type of stock transfer to a different storage location?
    You can also use batch search strategies to prevent selecting restricted stock as well in almost all areas.
    Again, there should not be a need for custom development.
    Craig

  • My itunes does not open. I receive this error message:unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary

    Process:         iTunes [6564]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         10.3.1 (10.3.1)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [143]
    Date/Time:       2011-06-26 09:12:25.888 -0400
    OS Version:      Mac OS X 10.7 (11A390)
    Report Version:  8
    Sleep/Wake UUID: 57AD9B95-8923-403C-BDB2-EBBBD4E1F09C
    Interval Since Last Report:          40546 sec
    Crashes Since Last Report:           6
    Per-App Crashes Since Last Report:   5
    Anonymous UUID:                      0B83B69E-63F7-4197-908B-49A24783F09F
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary
    Binary Images:
        0x1000 -   0xe50ff3  com.apple.iTunes (10.3.1 - 10.3.1) <DA5B3668-53FC-8550-A39C-06EB35AA692F> /Applications/iTunes.app/Contents/MacOS/iTunes
    0x8fe00000 - 0x8fe3320b  dyld (195 - ???) <33A6763E-295E-3FE1-9594-81B9E296BACC> /usr/lib/dyld
    Model: MacBookPro7,1, BootROM MBP71.0039.B0B, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 5.100.198.11 )
    Bluetooth: Version 2.5.0b13, 2 service, 19 devices, 3 incoming serial ports
    Serial ATA Device: Hitachi HTS545025B9SA02, 250.06 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
    USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 6
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0x06300000 / 2

    I have the same problem...
    Process:         iTunes [498]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         10.3.1 (10.3.1)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [254]
    Date/Time:       2011-06-27 14:23:04.822 -0400
    OS Version:      Mac OS X 10.7 (11A390)
    Report Version:  8
    Sleep/Wake UUID: AC114B5B-BBDE-47BE-A34A-73D0CBEC2D1D
    Interval Since Last Report:          21605 sec
    Crashes Since Last Report:           3
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      7CA002EB-2F78-46A8-B8FC-917C420125C9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary
    Binary Images:
        0x1000 -   0xe50ff3  com.apple.iTunes (10.3.1 - 10.3.1) <DA5B3668-53FC-8550-A39C-06EB35AA692F> /Applications/iTunes.app/Contents/MacOS/iTunes
    0x8fe00000 - 0x8fe3320b  dyld (195 - ???) <33A6763E-295E-3FE1-9594-81B9E296BACC> /usr/lib/dyld
    Model: MacBook4,1, BootROM MB41.00C1.B00, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB, SMC 1.31f1
    Graphics: Intel GMA X3100, GMA X3100, Built-In, 144 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz, 0xAD00000000000000, 0x48594D503131325336344350362D59352020
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz, 0xAD00000000000000, 0x48594D503131325336344350362D59352020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.131.36.5)
    Bluetooth: Version 2.5.0b13, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: FUJITSU MHY2250BH, 250.06 GB
    Parallel ATA Device: HL-DT-ST DVDRW  GSA-S10N
    USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8205, 0x1a100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x5d100000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0229, 0x5d200000 / 3

  • How to add a new user so it have the same access with restricted usertime

    When i made a new useraccount to my daughter,with restricted usertime,she have probl.to get into the interned.
    How can i make it possible to have the same look on her useraccount as mine as admin.but only with restricted usertime?
    Brgds
    O.Knutsen

    Hi,
    This should be very much possible.
    Please see:
    https://glassfish.dev.java.net/nonav/javaee5/amx/javadoc/index.html
    Once you've got the domain-root, you should traverse and get a named "config",
    using getConfigConfigMap("server-config") method and then get the
    SecurityConfig out of that. Once you get the Security Config, you should get
    the default realm using getDefaultRealm method and then it should be
    possible for you to use addUser.
    Please let me know if it helps.
    Kedar

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • Data inconsistency: posting with restricted transaction type (FAA_POST047)

    Hi colleagues!
    I have the following error:
    Data inconsistency: posting with restricted transaction type
    Message no. FAA_POST047
    Diagnosis
    You are trying to post in company code 1000 with transaction type 130 in ledger group 0N. According to table TABWA, this transaction type is limited. Nonetheless, according to your entries, you want to post to area 11.
    System Response
    Using limited transaction types is obsolete and would lead to an inconsistent posting in this situation. The system rejects the posting.
    Procedure
    Use a transaction type that is not limited. And, if possible, choose the ledger group and/or depreciation area on the initial screen.
    According to specific accounting we shouldn't post to one of the depr. area, so most of the tr.types are restricted to post to all areas except this one.
    Because of this, posting from MM with acc.assignment 'A' is impossible - I have this error.
    Any ideas how to solve?
    Thanks in advance

    Hi Anton
    This looks like your transaction type -130 is limited to post only in ledger group-0N as per the transaction type configuration. Due to which system is unable to post all the ledgers and hence this lead to inconsistency.
    Please verify the transaction type 130- in configuration T code - OAYA and see if it is restricted by depreciation area (eventually allow to post only ledger group- 0N.
    Tcode - OAYA (Limit Transaction Types to Depreciation Areas)
    please verify and let us know the update. hope this helps
    Best Regards
    Jomon

  • How do i change the setting so that when i type something in the address bar, it searches with google. it's started using yahoo and i hate yahoo, i'm even considering leaving firefox

    somethings i type something in the address bar, like 'paypal', mozilla used to go straight to that website, which was helpful... then it started searching with google, this i was not too upset about... however now it has started searching with yahoo, this i am upset about, and i would like to change this, however i do not know how?

    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • Searching with in a SharePoint 2013 Document Library

    Hi,
    i want to search document library by passing values from Search box to Search Results webpart. I m not able to search with in the document library although i have configured content source and result sources. 
    With Regards,
    Jaskaran Singh

    You can try using a web form html webpart in a web part page instead.
    Use Designer to add additional search columns and you should be able to create something usable.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to customize quick query to search with SQL in contain keyword

    I want to build simple query using quick query component. But it will search with SQL equal keyword. How can I customize it to use contain keyword instead. That means, I enter 'sc' to return 'scott'.

    Not sure if the technique described here http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/ can be used for quick query, but you can try ...
    Timo

Maybe you are looking for

  • Error in using JMSSend Communication agent

    hai all, If anybody has been using or knows about the JMS Send agent in ecxpert? I am trying to use the JMS Send feature in ecxpert. But i can't see any message been published successfully. There is no logs to see also, i don't know what is happening

  • How to do sql in database 10g

    Hi, I have downloaded oracle from the following site: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/winsoft.html I have downloaded the following file which is on the above site: Download the Complete Files 10g_win32_db.

  • AIA FP 2.4 Installation in Weblogic 9.2 MP3

    AIA FP installation fails in deployment & running of AIAValidationSystem. I am getting following error- weblogic.application.ModuleException: [HTTP:101216]Servlet: "AIAValidationSystemAPIServiceSoapHttpPort" failed to preload on startup in Web applic

  • "save page as" window closes too soon

    When I try to save a page, often the save window will close (ie, save the page) before I finish typing in the name to save the page to.

  • Help with installing WindowsXP

    i just got all of the parts for my new system today and put everything together. i'm running two 120gig SATA Seagate drives in RAID 0. upon installing Windows XP, i'll get a message that says that my hard drives were not detected although it's clearl