Formatted Search screen - populate multiple fields

I have an Employee Id field in my screen.
On clicking Choose button,I use a Formatted Search screen to populate value to that field.
I also have other fields like employee Name,department which should be populated, once an employee Id is chosen from Formatted Search screen.
The functionality is like that of "Purchase Order screen".
Once a vendor Id is chosen Name,Contact Person etc get populated in "Purchase Order screen".
How do I do that?
Should I trap the Choose button event of Formatted Search screen?
Please help.

I think all you are missing is a check to make sure you don't try and re-run the lookup when you are validating the return value from a previous lookup.
I made a minor change to my code and achieved the behaviour you described.  I have extracted the relevant  code from the application .  Unfortunately it looses its indentation when I post it, so it might be quite hard to read.  It uses recordsets for the validation as in practice most of the real validation is more complex than this cut-down sample.
This particular example is from a screen with a Customer Code prompt, and displays the customers name below it.
Regards,
John.
<b>Constant holding menu uid of Formatted Search</b>
Public Const AZU_MNU_SEARCH             As Long = 7425
<b>Declare a variable at module level</b>
Dim mblnCardLookup as Boolean
<b>Create validation routine (cut down sample included)</b>
Sub ValidateCustomer(sboApp As SAPbouiCOM.Application, sboCompany As SAbobsCOM.Company, BubbleEvent As Boolean)
    On Error GoTo ErrorHandler
    Const AZU_PROCEDURENAME     As String = "ValidateCustomer"
    Dim sboRecordset            As SAPbobsCOM.Recordset
    Dim sboForm                 As SAPbouiCOM.Form
    Dim sboDSCard               As SAPbouiCOM.UserDataSource
    Dim sboDSName               As SAPbouiCOM.UserDataSource
    Set sboForm = sboApp.Forms(strUID)
    Set sboDSCard = sboForm.DataSources.UserDataSources("UCARD")
    Set sboDSName = sboForm.DataSources.UserDataSources("UNAME")
    If sboDSCard.value <> "" Then
        Set sboRecordset = sboCompany.GetBusinessObject(BoRecordset)
        sboRecordset.DoQuery "Select CardCode, CardName, Currency From OCRD where CardCode Like '" & sboDSCard.value & "%'"
        If sboRecordset.RecordCount < 1 Then
            If sboDSName.value <> "" Then
                sboDSName.value = ""
                sboForm.Items("edtName").Update
            End If
            If Not mblnCardLookup Then
                LookupCustomer sboApp
            End If
            BubbleEvent = False
            Exit Sub
        End If
        sboRecordset.MoveFirst
        sboDSCard.value = sboRecordset.Fields(0).value
        sboDSName.value = sboRecordset.Fields(1).value
        mstrCurrency = sboRecordset.Fields(2).value
        sboForm.Items("edtName").Update
    Else
        sboDSName.value = ""
        sboForm.Items("edtName").Update
        BubbleEvent = False
    End If
    Set sboDSName = Nothing
    Set sboDSCard = Nothing
    Set sboForm = Nothing
    Set sboRecordset = Nothing
    Exit Sub
ErrorHandler:
    Call AZU_STD_ERROR_MSGBOX(AZU_MODULENAME, AZU_PROCEDURENAME)
End Sub
<b>Create lookup routine (cut down sample included)</b>
Private Sub LookupCustomer(sboApp As SAPbouiCOM.Application)
    On Error GoTo ErrorHandler
    Const AZU_PROCEDURENAME     As String = "LookupCustomer"
    Dim sboForm                 As SAPbouiCOM.Form
    Set sboForm = sboApp.Forms(strUID)
    mblnCardLookup = True
    sboApp.ActivateMenuItem AZU_MNU_SEARCH
    Set sboForm = Nothing
    Exit Sub
ErrorHandler:
    Call AZU_STD_ERROR_MSGBOX(AZU_MODULENAME, AZU_PROCEDURENAME)
End Sub
<b>Add the following code to the ITEMEVENT handler</b>
    'Validate Customer Code
    If pVal.EventType = et_VALIDATE And pVal.ItemUID = "edtCard" And pVal.Before_Action = False Then
        Call ValidateCustomer(sboApp, sboCompany, BubbleEvent)
    End If
    'Customer Code Lookup on TAB Key
    If pVal.EventType = et_KEY_DOWN And pVal.ItemUID = "edtCard" And pVal.Before_Action = True And pVal.CharPressed = 9 Then
        Set sboDSCard = sboApp.Forms(strUID).DataSources.UserDataSources("UCARD")
        If sboDSCard.value = "" Then
            LookupCustomer sboApp
            BubbleEvent = False
        End If
    End If
    'Force Validation on Return from Lookup
    If pVal.EventType = et_FORM_ACTIVATE And mblnCardLookup = True Then
        sboApp.Forms(strUID).Items("edtRef").Click
        mblnCardLookup = False
    End If

Similar Messages

  • Fill Find edit box of Formatted search screen

    Hi,
    I have an edit box and a choose button.
    when I click on that choose button I get a formatted search screen.
    I want the value typed in the edit box to be defaulted in the
    Find Edit box of the foratted search screen.
    Say I type "1" in my edit box, My formatted search screen should pop up having "1"
    in the Find edit box and results pertaining to value "1"(like wild card search)
    should be displayed in the formatteed search screen.
    Can anyone tell me as how to implement this?

    The reference to $[x.0.0] was simply meant to point you towards using the formatted search syntax for selecting fields from the current screen for use in your query.
    The two techniques I mentioned were not meant to be used together, you could either use the sendkeys, or the $[x.0.0] syntax depending on which result you wanted.
    The $[x.0.0] syntax actually goes in the query that is saved for the formatted search, you don't need to do anything with it programatically at runtime, business one does it for you.  You can get a formatted search to pick values up from the current screen by using syntax such as $[$4.0.0] or $[$OINV.CARDCODE]. This particular example will pick up the cardcode from a document screen.  Look in the standard help file under Formatted Searches for more details.
    I have attached a sample query showing how it can be used with fields based on userdatasources in custom screens.  This one can be used to show product lookups out when the user has already keyed in a partial product code.  At runtime the $[#018.UItem] reference automatically gets replaced with the value currently in the item field.
    DECLARE @Item Varchar(20)
    SET @Item = RTRIM($[#018.UItem]) + '%'
    SELECT T0.ItemCode, T0.ItemName FROM OITM T0 WHERE T0.ItemCode LIKE @Item FOR BROWSE
    If you haven't seen this type of formatted search processing before, I would recommend you try to spend a little time learning it - it sometimes eliminates the need for writing SDK code at all.
    Regards,
    John.

  • 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

  • 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

  • Formatted Search for Delivery Date field in SO not working

    Hi All
    Can anyone help me as to why my formatted search is not working?
    I am currently using SAP B1A SP01 Patch 19.
    I have created a user query as follows:
    SELECT $ [$10.0.DATE] + 5
    When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
    Any ideas?
    Thanks and best wishes
    Gail

    HI Gail,
    If I am not mistaken you want to add days to the posting date...if that is so then try this out:
    SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
    Set The indicator to Auto Refresh when the fields change
    Nagesh

  • How can I create a search plugin for multiple fields

    There are a number of sites that have search capabilities but they require entries into multiple fields.
    One such site is for instance the IBM Employee directory.
    (http://www.ibm.com/contact/employees/servlets/lookup)
    On this site - in order to get usable results - I have to enter both First name and Last name of the employee I'm looking for.
    I created a search plugin for the site, however I wasn't able to split the entered text into two parts and provide them as separate fields for the form.
    Is there a way to do this?
    Regards,
    Imre

    Hi,
    This is excellent. Not search-plugin though but but this is as good as a search-plugin. (Even better, as I haven't seen any solution with the plugins for the problem.)
    I didn't know that it was possible to use javascript as bookmark location.
    Thanks,
    Imre

  • Formatted Search Query for Variable field

    Hi Experts,
    I have a client who wants a UDF on the Delivery Document to auto populate wiht a Variable field in the Administration module. This variable field was added by a Add-on.
    The system information is:
    Form: ShipOpt
    Item: Boxes
    Pane: 1
    Column: Box Name
    Row: 0
    Variable: 3
    How do you specify a Variable field in the Query?
    Any help would be appreciated.
    Thanks,
    Marli

    Hi Marli,
    You may only use Current form variable for FMS query.  I believe you need UDF on the Delivery. SO the other form will not be available to your query.
    Thanks,
    Gordon

  • Formatted Search with user defined fields??

    Hai everyone,
    I know how to use the search.. I did like this...
    SELECT U_Discount FROM OITM WHERE ItemCode = $[$38.1.0]
    But now i want to know the other way...ie.
    SELECT U_TVal FROM OITM WHERE U_Tcode='??????'
    the where condition is to be like this -I have 2 user defined fields
    1. U_TCode
    2. U_TVal
    I want to select the U_TVal where the U_Tcode= ????
    HOW TO SPECIFY THE USER DEFINED FIELD HERE like  this one $ $38.1.0 ....or is there any other method??
    Thanks
    Vibin

    Its Same..I didnt try your way but i tried this
    select oNHand from OITW where ItemCode=$[RDR1.ItemCode]
    Here in sales order- when an item selected the Stock in different warehouse will be listed in quantity...
    Try that
    $[Tablename.FieldName]

  • Search form asp multiple fields access database

    Hello everyone:
    I do really need help guys. Using ASPVBScript on Dreamweaver CS3
    It’s all about search and results page.
    Search Form
    This form contains 6 list/menus:
    Ref, New_resale, Town, Type_English, Bedrooms, Bathrooms.
    In all of them I have an option “All”, the idea is if you choose “All” the results page displays all the records of the DB. I don’t know how to do this.
    The way I have it now is if you choose from the list/menus data matching the data on the DB it will display it on the results page with no problem.
    Example of what I need the "All" for.
    I choose “All” from Ref list/menu.
    Then if I choose matching data from DB for the rest of list/menus. The desire result should be the results page displaying all the records matching all list/menu data exept Ref. Basically is searching the DB for matching data independently of  Ref  if you choose “All” from the list/menu.
    This is the code for the results page:
    <%
    Dim Search_properties__varRef
    Search_properties__varRef = "%"
    If (Request.Form("Ref") <> "") Then
      Search_properties__varRef = Request.Form("Ref")
    End If
    %>
    <%
    Dim Search_properties__varNew_resale
    Search_properties__varNew_resale = "%"
    If (Request.Form("New_resale") <> "") Then
      Search_properties__varNew_resale = Request.Form("New_resale")
    End If
    %>
    <%
    Dim Search_properties__varTown
    Search_properties__varTown = "%"
    If (Request.Form("Town") <> "") Then
      Search_properties__varTown = Request.Form("Town")
    End If
    %>
    <%
    Dim Search_properties__varType_English
    Search_properties__varType_English = "%"
    If (Request.Form("Type_English") <> "") Then
      Search_properties__varType_English = Request.Form("Type_English")
    End If
    %>
    <%
    Dim Search_properties__varBedrooms
    Search_properties__varBedrooms = "%"
    If (Request.Form("Bedrooms") <> "") Then
      Search_properties__varBedrooms = Request.Form("Bedrooms")
    End If
    %>
    <%
    Dim Search_properties__varBathrooms
    Search_properties__varBathrooms = "%"
    If (Request.Form("Bathrooms") <> "") Then
      Search_properties__varBathrooms = Request.Form("Bathrooms")
    End If
    %>
    <%
    Dim Search_properties
    Dim Search_properties_cmd
    Dim Search_properties_numRows
    Set Search_properties_cmd = Server.CreateObject ("ADODB.Command")
    Search_properties_cmd.ActiveConnection = MM_amanda_STRING
    Search_properties_cmd.CommandText = "SELECT * FROM [Resale Properties] WHERE Ref = ? AND ? = New_resale AND ? = Town AND ? = Type_English AND ? = Bedrooms AND ? = Bathrooms ORDER BY [Ref] ASC"
    Search_properties_cmd.Prepared = true
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param1", 200, 1, 255, Search_properties__varRef) ' adVarChar
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param2", 200, 1, 255, Search_properties__varNew_resale) ' adVarChar
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param3", 200, 1, 255, Search_properties__varTown) ' adVarChar
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param4", 200, 1, 255, Search_properties__varType_English) ' adVarChar
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param5", 200, 1, 255, Search_properties__varBedrooms) ' adVarChar
    Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param6", 200, 1, 255, Search_properties__varBathrooms) ' adVarChar
    Set Search_properties = Search_properties_cmd.Execute
    Search_properties_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    Search_properties_numRows = Search_properties_numRows + Repeat1__numRows
    %>
    <%
    Dim MM_paramName
    %>
    <%
    ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
    Dim MM_keepNone
    Dim MM_keepURL
    Dim MM_keepForm
    Dim MM_keepBoth
    Dim MM_removeList
    Dim MM_item
    Dim MM_nextItem
    ' create the list of parameters which should not be maintained
    MM_removeList = "&index="
    If (MM_paramName <> "") Then
      MM_removeList = MM_removeList & "&" & MM_paramName & "="
    End If
    MM_keepURL=""
    MM_keepForm=""
    MM_keepBoth=""
    MM_keepNone=""
    ' add the URL parameters to the MM_keepURL string
    For Each MM_item In Request.QueryString
      MM_nextItem = "&" & MM_item & "="
      If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
        MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
      End If
    Next
    ' add the Form variables to the MM_keepForm string
    For Each MM_item In Request.Form
      MM_nextItem = "&" & MM_item & "="
      If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
        MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
      End If
    Next
    ' create the Form + URL string and remove the intial '&' from each of the strings
    MM_keepBoth = MM_keepURL & MM_keepForm
    If (MM_keepBoth <> "") Then
      MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
    End If
    If (MM_keepURL <> "")  Then
      MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
    End If
    If (MM_keepForm <> "") Then
      MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
    End If
    ' a utility function used for adding additional parameters to these strings
    Function MM_joinChar(firstItem)
      If (firstItem <> "") Then
        MM_joinChar = "&"
      Else
        MM_joinChar = ""
      End If
    End Function
    %>
    Thanks a lot for your help. I hope you can give and hand.
    Cheers,
    Johnny

    The best method would be to construct the SQL statement dynamically, removing conditions from the WHERE clause if value 'ALL' is contained in the form field. You'll need to compare each form field value and then append the WHERE clause accordingly. Of course, you will need to have reasonable SQL and VBScript skills to accomplish this.
    Also, I see you table name has a space in it. Tables and column names should never contain spaces - it leads to problems.

  • Free app to search contacts by multiple fields, then dial/send the desired found contact?

    I've got a few thousand contacts. Some I know the company name (organization) or street or city, etc.. I found one app called Contact Finder that searches effectively, but doesn't allow you to do anything once you've found what you're looking for.

    Only have to do this once....
    1. Open Google search
    2. Click left menu button
    3. Select Search Settings
    4. Uncheck all except Contacts and Voice Search (This give faster search results)
    Search this way will work now...
    Pressing and holding menu button on the home page and start typing the name of company or person name.
    +
    You can also use the right search button to find information...
    +

  • Formatted Search Multiple Sources

    Hey all,
    I know that standard functionality in formatted searches in SAP B1 does not support multiple source fields.  However, I was hoping that someone had come up with a workaround for this scenario.
    Field A = Variable
    Field B = Variable
    Field C = Field A + Field B
    Can I get field C to update whenever field A OR field B is updated?
    Thanks,
    Kevin

    Thanks Gordon, that made perfect sense.  My solution was this:
    Field A -> Formatted Search refresh regularly when Field B changes
    Field B -> Formatted Search refresh regularly when Field A changes
    Field C -> Formatted Search refresh regularly when Field B changes
    This way, if you touch Field A or B, Field C will always be updated.  For the queries, I simply used the active screen syntax to pull the values that were already there.  For example:
    If Field B changes, then Field A = $[$38.Field_A.0]
    It's enough to register a change to field A which triggers the whole refresh.  Thanks for your recommendation Gordon!

  • Formatted Search working Partially on SDK Field

    I have a text field on the Service call screen called
    "A"
    I need the field to be updated with a value taken from the Item Master table, U_A field.
    I have created my query as below,
    SELECT I.U_A FROM OITM I
    WHERE I.ItemCode = $[$33.0.0]
    and set a formatted search on the field A in the Service Call screen to refresh regularly when the Item No field changes.
    The Formatted search does NOT fire when the item number changes.
    It fires only when I do Shft + F2
    HOWEVER if I try the formatted search on a system field on the same screen such as the Description field, then the Item Number Change fires the formatted search.
    Does anyone know of this resriction, or a workaround please?
    appreciate your help.
    Thanks,
    Indika

    Hi Felipe,
    The problem happens when I use the formatted query on a text field I created using the SDK only. It works on any other SAP field.
    as I mentioned, if I press Shift + F2 then it works regardless.
    I tried this on the Item Master screen too with the same result. of course I changed the query to $[$5.0.0].
    Threrefore I don't think it has anything to do with the query syntax , rather the SDK field.
    in any case here is the code (vb6) I used on the Item Master
    Private Function temp(ByRef pval As SAPbouiCOM.ItemEvent) As Boolean
        Dim oItm As SAPbouiCOM.Item
        Dim oForm As SAPbouiCOM.Form
        Dim oRelateItm As SAPbouiCOM.Item
        Dim iRelateItmHt As Integer
        Dim oEdtBox As SAPbouiCOM.EditText
        Set oForm = mObjSBOApplication.Forms(pval.FormUID)
        With oForm
            '---text
            Set oItm = .Items.add("maxGstT", it_EDIT)
            Set oRelateItm = .Items("76") 'closed on date edit box
            oItm.Left = oRelateItm.Left
            oItm.Width = oRelateItm.Width
            oItm.Top = mObjSBOApplication.Forms(pval.FormUID).Items("36").Top   'item group top
            oForm.DataSources.UserDataSources.add "dsmaxGstT", dt_SHORT_TEXT
            Set oEdtBox = oItm.Specific
            oEdtBox.DataBind.SetBound True, "", "dsmaxGstT"
        End With ' With oForm
    End Function
    Message was edited by: Indika Dekumpitiya (spelling)

  • Formatted search based on screen entry

    Hi,
    I need help to create a formatted search based on a field that the user entered on the screen. For example, I want a formatted search on the Purchase Order screen where the item search will only show the items where the vendor entered in the Default Vendor field of the master record is the same as the vendor specified in the Vendor field of the purchase order.  Please advise on the correct sql statement.
    Thanks,
    Jane

    Thanks Sudah! That worked!
    However, I do not understand the syntax.  What does [dbo] mean?
    I am trying to duplicate the query for the following scenario.
    I have a user defined field U_Freight in the Business Partner Master Data (OCRD) and also in the sales order screen. I want to create a formatted search for the freight field in the sales order to automatically find the freight from the business partner master data screen based on the customer entered in the sales order.
    I have tried the following as a formatted search on the sales order screen, but it does NOT work.
    SELECT T0.U_FREIGHT FROM [dbo].[OCRD] T0
    WHERE T0.CardCode = $[$4.0.0]
    Please advise.
    Thanks!

  • 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

  • Remove  Formatted Search on the field or Delete Formatted Search

    How to Delete or Remove the Formatted Search set on the Field ?
    Appreciate your help.

    Alt-Shift-F2
    Without search
    Update

Maybe you are looking for

  • I have restored my iPhone 4 S but iTunes is still trying to restore it. What do I do?

    I have upgraded my iPhone 4 to a 4S and have all afternoon been trying to restore it with my old iPhone backup.   I connected it to my computer and it did it straight away - I have all my contacts and texts up until monday morning however I have none

  • Need to include the R/3 Business system in SLD.

    Now i need to include the R/3 Business system in SLD. To do that i have to establish an RFC connection, could anyone guid me what type of RFC connection i need to use like HTTP connection or else other..... Get me the details.

  • Additional screen!

    hi I have just installed Lion and running smoothly but did come across a problem. I am currently my HD lcd tv as a monitor extension from my Macbook pro (13) via HDMI cable. The problem is dragging the video over to my tv then trying to (command+F) f

  • Cannot connect to internet at my house

    I have a WRT54G v 8 and a new lap top - router is wired through desk top.  I finally established a network connection but cannot connect to internet.  I took the lap top to son-in-law an hour from here.  My lap top connected to the internet at his ho

  • Error 1067: When Starting HTTP Server

    Hi all I am getting "Error 1067: The Process Terminated Unexpectedly" when I try to start HTTP Server service. Any ideas? null