How validade fields in a query_find Block

Hello for the Headstart Workers !
I dont know how validade fields in a query_find Block because we have no access to when-button-pressed of the button query item in time of Design Editor.
Congratulations
Nelson
null

Nelson,
Well, there's the WHEN-VALIDATE-ITEM trigger on the items itself, of course, but if you really need to put functionality on the WHEN-BUTTON-PRESSED you could put the procedure qms$event_item from QMSEVH65 in your form or module library, capture the 'WHEN-BUTTON-PRESSED' (don't forget to check the :SYSTEM.TRIGGER_ITEM to be sure it is a query find button that has been pressed) and perform your validation there. Raising a forms_trigger_failure there will prevent the execution of the normal Query Find functionality.
Kind regards,
Peter
null

Similar Messages

  • How to set a field from an assigment block as required for a BP creation

    Hi,
    I have the following requirement.
    On employee master data creation, I want to make field System user mandatory in Employee creation.
    Iam using Component: BP_EMPL View: BP_EMPL/EmployeeDetails
    It happens that this field is inside an assignment block (BP DATA, view: InternetUser).
    By screen configuration I am not able to set it as a mandatory assignment block or as a mandatory field inside the assignment block. Is there any way to solve this by configuration?
    In case of development is better to use an ABAP exit on save moment or is there any option using BSP development?
    Thanks.
    Susana Messias

    Hi Susana!
    Please see also these posts related to your issue:
    [Different fields depending of BP Role or any other field|Different fields depending of BP Role or any other field]
    Here some relevant notes:
    Note 1259940 - Authority check for accounts depending on roles
    Note 1260695 - Data set-specific screen control
    Note 1097651 - How to use the Account Life Cycle
    Note 999092 - CRM WebClient: Field & screen modification
    Best regards
    Arno

  • Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
    Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page.

  • How to delete or remove delivery block in VL01N using userexit?

    Hi All,
    Would like to seek your advice on the above mention subject. There is a scenario where during the creation of sales order (VA01) and the order type is Sample Order (ZSA). The delivery block for the customer has the status '05: Check Free of charge delivery'.
    After creation of sales order, i would like to create a delivery via (VL01N) with reference to the sample sales order that i have creation as mention above. It does not allow me to create and after i hit enter, a display log prompt out with the message text: Order blocked for delivery as a result of credit check.
    Question:
    1. How to set the delivery block to blank or delete the delivery block via user exit during the creation of delivery (VL01N)?
    2. Which form should i use in user exit: MV50AFZ1, is it FORM USEREXIT_SAVE_DOCUMENT or FORM 
        USEREXIT_SAVE_DOCUMENT_PREPARE?
    Steps Taken:
    1. User exit found is MV50AFZ1.
    Appreciate your advice a lot. Thanks in advance..:)

    Hi,
    i would suggest you to read these links first.
    [http://help.sap.com/saphelp_46c/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]
    [http://help.sap.com/saphelp_crm40/helpdata/en/dd/5607b3545a11d1a7020000e829fd11/content.htm]
    this will you an idea of delivery block.
    at delivery level LIKP-LIFSK field stores the delivery block value. in your case it will be 05. 90 is total block i believe.
    so in your case, in user exit check for value in this field and if its 05, make your changes.  be careful when you make this change;  any batch jobs running at background can also get affected and start creating deliveries although it is suppose to have a delivery block.
    Thanks,
    Sam.

  • How different fields linked with Application Utilities Lookups

    Hi,
    I need to know how different fields at different forms are linked with utilities lookups and pick the values(meaning)?
    For example #1;
    at Organization form, Type of organization is must to define, value of Type comes from Utilities lookups. Type field name is ORGANIZATION_TYPE (Help ---Diagonestics --- Examine), if we try to search the ORGANIZATION_TYPE in utilities lookups we will not find it, we will find if we enter in front of type ORG_TYPE and search then system displays all the codes and meanings defined in the system.
    #2;
    at People -- Additional Information form, Nationality is defined which is picked up from utilities lookups. Nationality field name is LOC_ITEM08 (Help ---Diagonestics --- Examine), if we try to search the LOC_ITEM08 in utilities lookups we will not find it, we will find if we enter in front of type NATIONALITY and search then system displays all the codes and meanings defined in the system for different nationalities.
    my question, what's the relationship b/w
    ORGANIZATION_TYPE to ORG_TYPE
    LOC_ITEM08 to NATIONALITY
    I hope that my question is simple and you guys understand it. Please reply soon.
    Regards,

    Hi
    There is no link between the block/field name you see in help->examine and the application utilities lookup type. I'm afraid this is just something you have to learn as you go!
    Regards
    Tim

  • Overflow-field in multi-rows block

    Hi!
    How can i realize overflow-field in multi-rows block.
    I place overflow fields in the footer area of block
    and get value use ${uix.current['Description']} - but no have results.
    Use javascript to set value of overflow-field?
    thanks

    Andreas,
    I was most intrigued by your offered solution, so I created a test case. Unfortunately, this solution gives inconsistent results. Here was my test case:
    1. Table: Planets
    Columns: 3 (PL_ID, Name, Description
    2. Added nine entries for all 8 planets and one record for Pluto (sorry, grew up with this being classified as a planet! :) )
    3. Created very basic form to display all 3 columns in Tabular (Multi-Record) format and displayed 5 rows.
    4. Created button in a Control Block to display Cursor_Record, Trigger_Record and Top_Record
    - Set Mouse & Keyboard navigate to NO
    Ran Form and navigated to each row and clicked on button. The following was my results:
    >
    Row 1: Cursor Rec: 1, Trig Rec: 1, Top Rec: 1
    Row 2: Cursor Rec: 2, Trig Rec: 2, Top Rec: 1
    Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 1
    Row 4: Cursor Rec: 4, Trig Rec: 4, Top Rec: 1
    Row 5: Cursor Rec: 5, Trig Rec: 5, Top Rec: 1
    Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 2
    Row 7: Cursor Rec: 7, Trig Rec: 7, Top Rec: 3
    Row 8: Cursor Rec: 8, Trig Rec: 8, Top Rec: 4
    Row 9: Cursor Rec: 9, Trig Rec: 9, Top Rec: 5
    Row 10: Cursor Rec: 10, Trig Rec: 10, Top Rec: 6 - New Record - NULL values
    - Navigated back to Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 5 (however - visually in the screen Row 6 was the 2nd row of the 5 rows displayed.
    - Navigated back to Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 3 (however - visually in the screen Row 3 was the 1st row of the 5 rows displayed.
    >
    Based on these results, the option to use the GET_BLOCK_PROPERT('BLOCK_NAME',TOP_RECORD) won't work either. :-( Unforntunately, displaying the MCHAR field in a static location or using Java (though hardest) are still the best solutions.
    Craig...

  • In Report Painter, need to find out how a field is defined.

    I'm trying to find out how a field used in a current report is defined.  For example, columns 2-13 are monthly columns.  Double clicking on the column name (April), for example, brings up the box "Element Definition: April;$Year.  The Value Field is Net Sales.  Clicking the drop down box brings up a group of fields, including Net Sales. 
    The Field Name for Net Sales is MA0001.  How do I find out how this field is defined and what accounts are included in it?
    Thanks for any help you can give.

    Hi,
    Thank you for your answer.  I was able to track 'Net Sales' as a part of a Key Figure Structure and as an element of Key Figure 'Net Sales'.  However, when I get into CO-PA, Information System, there is no line for 'Report Components'. 
    There are the following lines/folders: Display Line Item List, Define Report,Current Settings, Background Processing.  I looked at all the possibilities in those line items/folders and nothing was there.  Is there another way to get at it?
    Thanks again.

  • How can I get a detail block to requery after a database change?

    Hi, I have a master/detail form. When the status of the master record changes, I need to update a date in one of the detail records. If I use SQL to update the detail row in the database in the ON-CHANGE trigger of the master block, how can I get the detail block to requery to show the change? When I try doing a go_block from any of the ...UPDATE triggers, it says it is restricted.

    wjpenfold,
    Do you have a "Relationship" defined between your Master and Detail blocks? If so, you simply need to requery your master block and the detail block will automatically be requeried. If you can't use a relationship, then you can use can create a timer in the trigger that updates the database and then in the When-Timer-Expired (WTE) trigger you can go to the detail block and execute a query. For example:
    /* Sample On-Change trigger */
    DECLARE
       timer_id  TIMER;
    BEGIN
    ....your code here that performs the update....
       /* Now create an instance of a timer */
       timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
    END;
    /* Sample Form Level When-Timer-Expired trigger */
    DECLARE
       timer_id   TIMER;
    BEGIN
       -- Find the timer first
       timer_id := FIND_TIMER('upd_detail');
       IF NOT ID_NULL(timer_id) THEN
          GO_BLOCK('DETAIL_BLOCK');
          Execute_Query;
       END IF;
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Oracle Forms - How can I create a Data Block with query

    Dear friends I have a question, I couldn't do this..
    I have a sql query, I want to show the datas of the query.. How can I do this. ?
    Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
    Semih

    Hi,
    You have two options
    1. create a view and base the block on the view
    2. create a block with a query Data Source Type of 'FROM clause query'
    Hope this helps
    Neil

  • How to turn off pop-up blocker

    How to turn off pop-up blocker?

    Are you speaking of the one in the Firefox browser or Firefox OS?
    * Desktop Browser: [[Pop-up blocker settings, exceptions and troubleshooting]]

  • How do i turn pop up blocker on or off

    how do i turn pop up blocker on or off

    What OS are you using?  OS 8.6, 9.2, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8?
    What browser Safari, Firefox, TenFourFox, Chrome?
    What version of the browser?  Click on "Safari" in the upper lefthand corner of the browser's window, pull down to "About Safari", a small window will open telling you what version of Safari you're using.  Same goes for Firefox, Chrome, etc.
    Generally, if when you click on "Safari" or "Firefox" in the upper lefthand corner, if you don't see "Block Pop-up Windows" listed, try clicking "Preferences", and check through the settings there for it.
    Good luck.

  • HT4061 My iPhone 4 has been recently stolen :( and I am wondering how can I be able to blocked my iPhone 4 so the one steal it cannot use my phone pls let me know what to do thanks.

    My iPhone 4 has been recently stolen :( and I am wondering how can I be able to blocked my iPhone 4 so the one steal it cannot use my phone pls let me know what to do thanks.

    Apple does not get involved with lost or stolen items.  A carrier may offer IMEI blocking (non in the USA currently do, but elsewhere some do).  Your carrier would already know your IMEI number anyway, so just contact them and ask them about it.
    It is VERY good that you had a passcode lock on the device.  That means your personal information will be safe.  And yes, after 10 failed attempts (each with increasing time out between allowing another attempt) the device will permanently lock them out until they restore the device in iTunes.  Anyone can go ahead and restore your iPhone as new in iTunes, but that also wipes everything off it and restores it to new condition - which does mean they can go off and use it as theirs, but at least all your data is gone.
    Did you file a police report it was stolen?  Also your carrier should be told (and ask them about IMEI blocking).  Sorry it is gone, but you did the best thing possible to protect yourself and your information when you set up that passcode lock.

  • How to read particular Sector and Block in Mifare 1k through Java?

    Hi Friends..
    Do you know how to read particular Sector and Block in Mifare 1K through Java?..
    I've created the simple application that read data from Mifare 1K, but i've problem when i want to read the other sectors and blocks..
    i tried to read the blocks by using this APDU command :
    FF B0 00 00 10  //read data in Sector 0 and Block 0
    FF B0 00 01 10  //read data in Sector 0 and Block 1
    FF B0 00 02 10  //read data in Sector 0 and Block 2
    FF B0 00 03 10  //read data in Sector 0 and Block 1How to read the other sectors and blocks?..
    I've tried to read data in Sector 1 and Block 5, so i tried to send this APDU command : FF B0 01 05 10, but i got this error : *6986*
    Actually, it doesn't matter if i use MifareWnd, but i want to create my own application that Read/Write From/into Mifare 1K..
    Please help me regarding this..
    Thanks in advance..
    Edited by: Leonardo_Carreira on Mar 31, 2010 2:47 AM
    Edited by: Leonardo_Carreira on Mar 31, 2010 2:50 AM

    Hi Sidd,
    You should check out the Example Finder under Hardware Input and Output»IMAQ»Signal Input and Output for examples of triggering in framegrabbers.
    Stephen Meserve
    National Instruments

  • How do I update Pop-up blocker settings on my iMac

    How do I update Pop - up blocker settings on my iMac?

    Launch the App Store on your iMac. Then click Updates from the menu top of the App Store window.
    You can access the App Store from your Apple menu, your Dock or your Applications folder.
    You should not have to sign into iCloud to do this...

  • Re How to get apple to stop blocking online wagering apps?

    Would anyone have any suggestions for how to get apple to stop blocking online wagering apps in New Zealand? They block them with 'online wagering is illegal in NZ with a mobile device'. This is not true in relation to racing and many forms of online wagering. I have tried AppleCare and the person I dealt with eventually agreed with me but said he could not help. He suggested this forum as he believed postings were read by Apple. I have been able to access the sites via apps on Samsung pad no problems. Don't really want to ditch my iPad and iPhone though.

    Apple's legal department would probably just ignore any such comments. I'd suggest the iTunes Store request page:
    http://www.apple.com/feedback/itunes.html
    Again, you will not receive a reply.
    Regards.

Maybe you are looking for

  • [SOLVED]GDM don't ask password and fail authentication

    Solved by reinstalling all the stuff involved, like skunktrader said the .pacnew files are the NEW config files that we had to fill with our preferences, because it have new options or diferent stuff Thank you again Mr. skunktrader Hi everybody. I wa

  • Issues on ODBC CALL SQLStatistics

    We have an application that call ODBC function SQLStatistics to get the information of database objects, oracle ODBC Driver can return the right answer, the problem is that the process is very slow, we analyzed the database, why oracle ODBC driver do

  • Partner of Record for Azure subscription

    How would we go about adding our company as the Partner of Record to our customers Azure subscription?  I've read about adding a POR to an Office 365 subscription, however the customer does not have a current Office 365 subscription.  Azure subscript

  • I Need Color Calibration Help

    I noticed after i got my new imac intel core 2 duo the way the calibration is set makes the color look much better, does anyone know what the calibration settings are for the imac profile or know of a place i can download the profile ps the new imacs

  • Create a counter(in a query) by how many unique items are in a document num

    Hi, Is there a way for me to create a counter(in a query) by how many unique items are in a document number? If you look at the bold amounts below they have two unique item numbers 3 & 11. Because of that data is being duplicated in the InfoSet. The