2 Formatted Searches on the same field

Good Evening
Experts:
I thought maybe one of you might have come across a similar need to what I have to do and could help out.  I have a screen that uses Whse id as the unique identifier for each record. I have a Formatted search on the Whse id in my screen that displays the Whse Code and Name from the OWHS table.  This is good for adding records so the User can see which ones are valid in the table OWHS. However, when I switch to Find mode,  I would like the User to see a list of records for my screen by Whse Id. 
So, the Add needs to see all the valid Warehouses(OWHS) and the Find needs to see all records in my screen table that have been entered. 
Do you have any suggestions how I can achieve this?
Thanks,
Ed

Thanks for responding Owen...
After re-reading my question here this morning, it appears I was not very clear in my explaining what I need to do here. 
Table OHWS has the following records:
Whse     Name
01          Location 1
02          Location 2
03          Location 3
04          Location 4
I have a custom screen with a field called Whse id...it is the unique identifier for the table records in a table called "Test".
I started with the Add on my custom screen and put a formatted search on the Whse id field(Select Whse, Name from OWHS).  This is great for the User when doing an Add so they can see all the possible Whse to pick from. 
So, the User adds a few records to the "Test" table and they might look like:
Whse     Item     Buyer
01          X          Joe
04          Z          Bob
Now, when in Find mode for that Whse id field on my custom screen, I want the Formatted search to display the Whse's in my "Test" table that have been used  already.  So, the Formatted search would display 01 and 04 instead 01,02,03 and 04 like it would for the Add.
Thanks,
EJD

Similar Messages

  • I need to execute a formatted search when the field loses focus

    Is this even possible?  I do NOT want to force the users to press shift-f2 every time to validate/search on every field on the form.  This is absurd.  How can I trigger a formatted search on a field when it loses focus?
    I tried activating menu item #7425, but it's not executing the one on the field that loses focus, but a different one.  I guess it only works on the active field??
    I tried catching an earlier event, but after it executes the formatted search on the right field, it places the value on whatever field just gained focus instead of the one it was assigned to.
    Any ideas here?  We cannot force our users to press shift-f2 on all these fields!
    The only other idea I have is to not use a formatted search but instead try to create some sort of popup form with a grid and my own query.  There has to be an easier way, right?

    Bryan:
    I use the following on a KeyDown event for when the User tabs out of a field after entering data if the data they entered is not valid.  Perhaps you could try this in the LostFocus event:
    g_B1Connection.Application.SendKeys("+")
    Also, I have used this in the KeyDown event:
    DisplayLookup("txtWO0")
    Private Sub DisplayLookup(ByVal objText As String)
            Try
                WOItem = WOForm.Items.Item(objText)
                WOItem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)
                g_B1Connection.Application.SendKeys("+")
            Catch ex As Exception
                g_B1Connection.Application.MessageBox(ex.Message, "Ok", 1)
            End Try
        End Sub
    Thanks,
    EJD

  • Using !format on multiple occurrences of the same field

    I'm trying to use the @if function to apply formatting to two occurrences of a field, but am not having any luck so far.  The specific example is that I have two check boxes on the template, and would like to have only one of them checked at a time, using the same field in my data file for both check boxes.  The field that I'm using in my data file is:
    ^field ACCOUNT_TYPE
    And the only two possible values for that field are CHECKING and SAVINGS.  On the first ACCOUNT_TYPE checkbox, I have entered the following !format:
    @(If("@_$_."=="CHECKING","X"," "))
    And on the second ACCOUNT_TYPE check box it is
    @(If("@_$_."=="SAVINGS","X"," "))
    The @if statement works fine when I apply it to only one of the check boxes, but when I apply it to both, nothing populates into the field.  A simple solution would be to change the data, but doing so is not an option in this case for me.  Any help or alternate solutions is appreciated.  Thanks!

    Hi
    I treid different combination keeping the same field name for two radio buttons but it didnt work. You can work out with an alternate solution , keep different name for two radio buttons say : JF07 & JF08
    And under JF07 for !Format event : @(If("@JF03."=="SAVING","S",""))
    And under JF08 for !Format event : @(If("@JF03."=="CHECKING","C",""))
    where JF03 is the field name which may have one of two value : i.e either SAVING or CHECKING
    So your form consits of 2 radio buttons ( JF07,JF08) and one field label JF03. In your dat file you have to refer to first radio button that appears first on the form i.e left to right or top to bottom.(So whatever radio button is appearign first in the sequence on the form from left to right use that radio button in dat file.Here its JF07)
    ^symbolset 108
    ^page 1
    ^field JF03
    CHECKING
    ^field JF07
    ==========
    ^symbolset 108
    ^page 1
    ^field JF03
    SAVING
    ^field JF07
    Hope this layman's altenate solution will give you a bit of relief.
    thanks
    jaY

  • Different fonts in the same field

    Is it possible to format a single field with two different fonts. I have concatenated two database columns to get this field. But I want different fonts for the two columns. I could achieve this by using a format trigger and placing some html tags. But this solution only works if the output is in HTML style sheets. It does not work if I want the output to be in PDF. Does anybody know how to achieve it in PDF? Is it possible at all (from what I have seen it isn't). I will be grateful for any help in this direction.
    Thanks
    Janaki

    Hi!
    Try this:
    Let say you have scott/tiger and emp-table and want to concatenate and print ename and job in the same field but with different fonts.
    1. In the Database model you have the columns seperate as usual.
    2. Create a boileplate text field and put &ENAME &JOB in this field.
    3. Select &ENAME and set the right font to it, set another font for &JOB.
    4. Run and test. This should work...

  • Formatted search in the User defined table

    Hi All..
    I created two user defined table one is for document row and other is for document master.So in the master table created one column named as Sales order no and through formatted search call the sales order no in that column.Now i want that in my child table i want to show the those items which belongs to the selected sales order no in the master table.So how can i do that through Formatted search.Is there any query of it then please forward it..
    Thanks

    Ya Sure..
    I need some quality check on the items after delivery so i am trying to manage it through the user defined tables.I created two tables first is document type ,Second is Document type rows.Now i created 5 user defined field in both the table.Now i want to call my sales order and its items in the UDT.so i created one fms and call the sales order in the Document table now when i double click on the first row after that i am able to see the new table which is the document row table .Now i need the item code and description of the selected sales order in the document rows table.So how the items and description can come in the row type table through FMS..
    I hope now u r able to get my scenario..

  • Formatted Search in User Define Field (UDF)

    Hello everyone...this is really puzzling and hope someone can help...2007A/000/PL42...
    1. We created a UDF on the OITB Table (Groups) called U_GrpDescrip
    2. We created a UDF on the OITM Table (Item Master) called U_IGrpDescrip
    3. We want the system to auto populate the U_IGrpDescrip (Item) with the value U_GrpDescrip (Group) everytime the Item Group is changed on the Item Master Data Window.
    So,
    1. We wrote this query...SELECT T0.U_GrpDescrip FROM OITB T0 WHERE T0.ItmsGrpCod = $[$39.0.0]
    2. Opened up a Blank Item Master Data Window.
    3. Placed cursor in the new U_IGrpDescrip
    4. Hit ShiftAltF2
    5. Selected "Search in Existing User...Saved Query"
    6. Double clicked on the appropriate FMS Query
    7. Checked the Auto Refresh
    8. Selected Item Group from the displayed list of fields
    9. Selected "Display Saved..."
    10. Update and then closed out the Item Master Data Window
    Now here is where it gets interesting...
    1. We go to the Item Master Window and change the Item Group and hit Update. Button on IMD Window changes to OK.
    2. The U_GrpDescrip from the OITB table does NOT change
    3. However, if we click the "Magnifying Glass" TWICE in the new field on the Item Master Data Window the description DOES change to the appropriate description on the OITB table...
    Can anyone help out here - this is really puzzling because we effectively use Formatted Search on other windows and they work fine, but this one seems to be a horse of another kind..
    Thanks for reading and thanks ahead of time for helping
    Zal

    Hello everyone - thanks for responding...
    I finallly figured out what is happening - and this is interesting
    1.  The field it is supposed to populate is on the main window of the Item Master Data (not on the side window of UDFs).
    2.  The field was placed there with Boyum.
    3.  When I do the formatted search in a test field that IS on the side window, the FS works perfectly.
    So - it seems if you use a FS in a moved field created by Boyum, it might not work - and now I turn my attention to what Boyum is doing.  Might not even need a FS with Boyum!!!
    Thanks to all who read and gave their suggestions - now you get your points!!!
    Take care - Zal

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

  • I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    Randy,
    We have an application that I would like to have in Formscentral.  That application is also in a larger PDF file that once filled in populates all the other forms below it (lease, credit check form, ect).  If the Application on Formscentral keep the same field names as the pdf can I pull the data from formscentral and sill populate the old application pdf so that all the forms below it will be also populated. 
    Greg

  • Getting the name of the previous event of a field in another event of the same field?

    How to get the previous event that has occured on the same field?
    For example when we click a text box click event occurs then the enter event occurs.so want to know how to write a code in enter event of the text box to check that the click event has occured before the current event in java script.?
    Please give an idea.
    Regards,
    Sugan.

    Any changes (like adding new fields, deleting existing field, change field properties of existing fields) applied to the database table has to adjust to changes to their definition in the ABAP Dictionary. So everytime when you make any new change on a database table, table conversion is required to refresh the exisiting entries in  the ABAP dictionary so as to synchronize Database &  Data Dictionary.
    Thanks,
    Rakhi
    Edited by: Rakhi Nair on Oct 4, 2011 7:21 PM

  • Providing F4 help for the same field on selection screen

    Hello Experts,
    My requirement is :
    There are 2 radio buttons and a parameter "p_file" on my selection scree.
    1. rb_appl
    2. rb_pres
    If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Else if the rb_pres = 'X', then I need to place the logic of F4 help of presentation server for the same field p_file.
    I have written the code in the below manner
    PARAMETERS: rb_appl RADIOBUTTON GROUP rad DEFAULT 'X',
                             rb_pres RADIOBUTTON GROUP rad ,
                             p_file   TYPE ibipparms-path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      IF rb_appl = 'X'.
          PERFORM f_applictn_server_filenm.
      ELSEIF rb_pres = 'X'.
        PERFORM f_presentation_filenm.
      ENDIF.
    But I am getting the F4 help for only the radio button for which i have placed the default value in the parameters.
    So please let me know how to define the F4 help for the same field based on the radio buttons.

    Hi,
    You can acheive the same by the addition of [USER-COMMAND fcode].
    RADIOBUTTON GROUP group [USER-COMMAND fcode] - The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
    So you code should be altered as
    PARAMETERS: rb_appl  RADIOBUTTON GROUP rad
                         USER-COMMAND radclick    "Addition which you have to make.
                         DEFAULT 'X',
                rb_pres  RADIOBUTTON GROUP rad ,
                p_file   TYPE ibipparms-path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      IF rb_appl = 'X'.
        PERFORM f_applictn_server_filenm.
      ELSEIF rb_pres = 'X'.
        PERFORM f_presentation_filenm.
      ENDIF.
    Thanks & Regards,
    Harish

  • TS1646 When I try to buy music, I get message saying that my credit card information does not match the bank records. My information, formatting are exactly the same as the bank. Help!

    When I try to buy music, I get message saying that my credit card information does not match the bank records. My information, formatting are exactly the same as the bank. Help!

    Look on one of your bank statements and be sure to enter the billing address exactly as it shows on the statement. Some folks forget where they actually get the statement. They put their home address in iTunes/Mac App Store and they actually get the statement at their place of employment or vice versa.

  • Freetype OR digital signature in the same field?

    Hello, 
    I'm creating a form for someone who wants to be able to use a digital signature OR free type within the same field.
    I've tried creating a new combo box with the free type as the first option, but can't seem to figure out a way to have a digital signature as the second option. 
    Does anyone know if it's possible to get both options in one field? 
    Thanks in advance.

    Thanks, George.  You've helped me several times in the past and I know you're a power user, so if you say it's not possible, I know I'm barking up the wrong tree!    Appreciate the reply.

  • Pull more than one field into the same field in a report.

    I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
    In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be
    a count, within that same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
    My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
    The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
    need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
    Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?

    Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
    As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
    That is why I was trying to be generic.
    Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them
    to certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part.
    It is just getting them to then display as in my example that I am not sure how to do.
    The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
    Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
    Table Name: Certified
    Table's purpose: This table would list all people who had completed the course.
    Fields:
    CourseName
    CourseCode
    AudienceName
    AudienceCode
    CompletionResult
    EmpCode
    DepartmentCode
    Table Name: Available
    Table's purpose: This table would list all people who are assigned to the audience.
    Fields:
    AudienceName
    AudienceCode
    EmpCode
    DepartmentCode
    The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple
    as possible so you could just use it as a generic example.

  • Combobox and UseLOV with the same field

    Hi,
    i want use a Combobox which Select a Field name and after make a UseLov with this field name.
    I can make the combobox with field name Column and i can separatly make a USELov with a field name, but i can't make it together.
    Have tried two things create a new Bean with one method which call theses two methods and i have tried call the two methods directly in the JSP on the same field.
    In each case the first method's call is ignored.
    Thanks
    Philippe
    null

    Philippe,
    To do this you'd have to implement your own control.
    Thanks
    Blaise

  • I have tried to format my HDD from MS-DOS fat to MAC OS Extended (jurnaled) but after formating turns to the same MS-DOS FAT format why?

    I have tried to format my HDD from MS-DOS fat to MAC OS Extended via disk utility but after formating turns to the same MS-DOS FAT format why?my current OS is 10.5

    You will need to perform an Internet Recovery or be able to boot the computer using a Snow Leopard 10.6.3 or later DVD. For the former:
    Restart the computer and at the chime press and hold down the COMMAND-OPTION-R keys until you see a globe appear in the gray startup screen. This may take a little while so be patient. You need to have an internet connection for this to work - preferably using Ethernet.
    After a fairly long period of time - 15 minutes or more - the recovery screen will appear. Select Disk Utility from the main menu, and click on the Continue button.
    1. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    2. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    3. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    4. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    5. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    6. After formatting is done quit DU and return to the main menu. Select Install OS X from the main menu and click on the Continue button. Follow the onscreen instructions to install OS X onto the internal drive.

Maybe you are looking for