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

Similar Messages

  • 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]

  • Formatted Search on User Defined Table

    Dear Experts,
    I have the following formatted search query on a user defined table : select $[dbo.[@SALES_BUDGET].U_AcctCode]
    It throws an error when I attempt to execute it. What's the proper way to write formatted searches on User Defined Tables. Please advice.
    Kind Regards

    This works very well on the delivery docs :
      select  $[ODLN.DocNum] 
       on the header fields of a delivery document, Why not this
    select  $[SALES_BUDGET.U_AcctCode]  
    on a field in the User defined Table  ? Is it the syntax ?
    Edited by: MARTIN KAMAU on Sep 27, 2010 2:28 PM

  • Limited Logistics users and User Defined Fields - UDF

    The SAP "Overview of SAP Business One License User Types" shows, in the last section under General, that only Professional users have any access at all to User-defined fields and tables.
    This seems counterintuitive as these fields are usually set up for others to see and to use.
    What is the real scoop on this?
    Thank you,
    Sal

    Hi Sal,
    It only means Professional User License has unlimited usages of UDF & UDT including managing and defining them.
    To read the values and use them are available to all license types.
    Thanks,
    Gordon

  • Formatted Search on user-defined items

    Hi everyone,
           I have to edittext item, editA and edit B. I created a formatted search on edit B but with a condition depending on the value of my editA. My query results to an internal error. Below is my code. Thanks
    SELECT T0.[Field1] AS [Field1]
    FROM [dbo].[@TABLE]
    T0 WHERE T0.[Field2] = [EditB]
    What is the right format for getting the value of [EditB] during run time?
    Regards,
    Omann

    Hi,
    Create the User Query and Save it with some name...
    Declare @Item varchar(20)
    Set @Item = Replace(RTRIM($[$editA.0.0]),'*','') + '%'
    SELECT T0.ItemCode AS 'Item Code', T0.ItemName AS 'Item Description' from OITM T0 WHERE T0.ItemCode
    like @Item
    Assign the Query to the User Defined Item i.e for editB Item in the FORM
    With Regards,
    MadhuSudhana Rao.G

  • User Defined Field that gives the date output of the last price update.

    We would like to create a User Defined Field (UDF) with a Formatted Search (FMS) on the Item Master form that gives the date output of the last price update specifically the wholesale price.
    Last Price Update
    Pricelist 2 = Wholesale
    Is this feasible?
    If it is feasible what is the recommended approach?
    Current working UDF on Item Master.
    /* Date output is based on all the latest updates on the Item Master.*/
    select max(updatedate)
    from aitm
    where itemcode = $[oitm.itemcode]
    Resources that were helpful.
    1.(Note:1165947 - Tracking Item Price Changes.)
    2. Case 4-I6: Query on price updates. Mastering SQL Queries for SAP Business One By: Gordon Du

    Thank you Gordon,
    We are looking for the date output of the 'Last Price Update' based on 'Pricelist 2 = Wholesale' which is the challenge.
    These 2 are the parameters for the date output, I should have mentioned that in my original message.
    Last Price Update
    Pricelist 2 = Wholesale
    Per reading a bunch of other similar Forum Questions it looked like it is might not be possible to do. With there being no date on the AIT1 table and AITM.Updatedate is based on any and all updates not just last 'Last Price Update' and not sure how to use the loginstanc.
    Thanks,
    Vern

  • OIM user defined field in process form

    I am trying to create a user defined field (UDF) in a process form. The UDF would be a drop down list of values for the status field.
    I've tried to do this by going to the Administration list, and double clicking on User Defined Field Definition. Then selecting the Form Designer. I can add a column but I cannot add values to the drop down. I know I'm probably doing this wrong.
    How do I add a UDF drop down and its values to a process form?
    Thanks!

    1. Create lookup table for the drop down contents.
    2.In the process form--->go to the properties tab-->select the User defined filed name-->add property--->property Name drop down list -->select lookup code-->in the property value-->provide the lookup table name-->save
    Edited by: user13513300 on Feb 24, 2011 1:45 AM

  • User Defined Fields greyed out for one user

    Hi Experts,
    One of our users is a Super User but on the Business Partner Master Data screen, the User Defined Fields are greyed out.
    This is user specific as the issue is happening for the same user on 2 seperate PCs.
    Other users can update these UDFs - any suggestions?
    Thanks
    Greig

    Hi
    take a look at this SAP Note :
    Cannot access settings for the user defined fields
    Symptom
    Cannot access settings for the User Defined Field(UDF)
    Other terms
    UDF, user defined field, sbo-udf, settings for UDF are inactive, the settings for the udf are greyed out.
    Reason and Prerequisites
    Need to use the Settings option to order the udf.
    In Tools -> User Defined fields -> Settings the option 'Settings' is greyed out and inactive.
    Solution
    If in Tools -> User Defined fields -> settings and this option is not available then return to the document and click anywhere in the main document window.
    Now return to Tools -> User Defined fields -> settings and this option will now be active.

  • User Defined Fields and Reference Fields on the B/S

    Dear Experts,
       On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ?
    Kind Regards

    Hi Martin,
    If you add any user defined fields (UDF) in Journal Entry (JE) screen, You can use the udf's in the
    balance sheet report.
    Regards
    Neslin

  • User-Defined Fields Window

    Hi All,
    I have one issue with the User-Defined Fields window of the ACTIVITY form.
    I had added some user defined fields (UDF) to the Activities so that the User-Defined Fields are displaying in a separate window just near to the Activity window with Type (-651). All the UDFs are bound to the table, "OCLG".
    I want to initialize the values in the User defined fields controls with a text when the form is loading.
    I had tried to do this using
    oForm.Datasources.DBDatasources.Item("OCLG").SetValue("U_CUST",0,"MyValue");When I executed this statement, i am getting HResult error.
    Then I tried this by using UserDataSources.
    The same error repeats.
    But the code with .Specific.String = NewVal is working fine.
    Can you please explain the scenarios that we are able to do it using .Specifc.String. Is this a true method for doing this?
    if not
    please tell me How can we do this using Datasources (DBDatasources/ UserDataSources),?
    Please Help.
    Thank you in Advance
    Anoop

    Anoop,
    when you have created UDF in master item data, the textbox you can see on left side of form (separate form) is bounded already to this field. You cannot rebound it (its system form).
    When you want to change the value, you must use specific.string or specific.value for that textbox (as you wrote), but the calcualted value will be stored into master table (change of udf will set formmode to update mode). If you dont need to update formmode, set the formmode by code to normal mode.
    hope it helps
    Petr

  • User Define Field

    Hi,
    Just wondering, if any one faced the dilemma as I am facing in reference to User Define field.
    I have user define field and is visible in SBO Interface (Tools - User Defined Field - Manage User Defined field), but unfortunately its not available in XL report writer (Tools - User Defined Fields). Its quite confusing because other user defined field is visible in XL Reporter, but only one is missing. Is there any restriction or can anyone guide to view all the user-defined fields in XL Reporter defined in SBO interface.
    Regards
    Ronald

    Hi,
    There is a pdf file from SAP that explains about the table supported by XL reporter. So, if you made some UDF in the table that is not supported by XL reporter, I think it won't be available in the XL reporter.
    The pdf file title is Support of User-Defined Fields (UDFs) in XL Reporter - SAP Business One 2005A SP01 - March 2006.
    Rgds,

  • User defined fields window / formatted search

    HI
    I 've created a user defined field in the marketing documents
    I want tO put the result of a query into this field :
    I use a formatted search in order to have the result :
    SELECT T0.Balance FROM OCRD T0 WHERE T0.CardCode = $[$4.0]
    My query is based on CardCode(item 4), but when the user defined field window is open, the item 4 is the cross of this form and i have the result next :
    SELECT T0.Balance FROM OCRD T0 WHERE T0.CardCode = N'RSRCButtonCloseBox'
    Thanks
    Sylvain

    Hi,
    It happened the same today for me, but using both, $[$4.0.0] and $[$4.1.0]... both of them return that RSRCButtonCloseBox....
    So, what is wrong here?
    Regards,
    Leo

  • UDF in Work order of Production in the user defined field management

    Hi all
    I wanted to know which is the Screen for which this path indicates
    Tools >Customisation Tools->User defined Field Management-->Production--> Work Order Row
    when i create a UDF here i dont know where it is created or attached to which screen.
    Pls Guide me
    Praveen B K

    Hi Marcia
    Thank you for replying
    I have SAP Business One 2007 B installed in my system and was installed just few days ago.
    help me.
    Praveen B K

  • Add Link button in UDF(User Defined Field)

    How Can be add link Button when create new user Defined Field ?

    Hi,
    You can bring the link button in user designed forms using SDK, but you cannot create the Link button in SAP standard forms. It's hard to bring the link button in SAP standard forms.
    Raja.S

  • How do I refer to a user defined field in a query  (using $ notation) ?

    if i have a user defined field in Invoice header called U_Test, and if I need to read it using a query (to be used on a formatted search).
    I am not quite sure of the syntax. can anyone help please?
    I tried
    $[$U_Test.0.0]  which is the accepted way with fields with numerical ids such as $[$8.0.0] etc.
    appreciate any help,
    Indika.

    Hi all,
    Aliw, the 38 is not the form number, is the Item Number (which I guess is a matrix). In your case the User Defined Field is a line UDF. In Indika´s case is a header UDF.
    And that´s the issue. As the indika´s UDF is a header UDF, it lays in a different form (which is named "-" + Main Form Name). Formatted searches work with the $[$Field.Column.Format] notation ONLY in the same form. So, if you try to get the UDF from another UDF, it will work with that notation (they are in the same form). But if you try to get the UDF from the main form, it won´t find it (It is in another form).
    In that case you should use the other notation, as Andrea, Alexey and Salvador told you in the posts before.
    Hope this clears a bit the issue.
    Regards,
    Ibai Peñ

Maybe you are looking for

  • File Renaming

    I like to add borders to my pictures and I am trying to automate the applying and saving process with actions. I figured out the applying process but saving and renaming is a problem. The borders I use are pre made from a blank file and saved as a ps

  • Live streaming to Ustream or other streaming sites or programs w/MacBook

    I have a brand new MacBook. USB only no firewire. I need to be able to stream LIVE video to Ustream or programs like it. I have gone back and forth about various adapters (usb to component/svideo) that capture video. Some only work within the softwar

  • JTable cell background color

    Hi All, I want to change the background color of the same of the cells in jTabel. How can I do that. Like, I want to keep 3 cells in red color. Another 2 cells in in green color, And keep other cell background color to default. Also I want to change

  • Guided Procedures Problems with Deleted Instances

    Hi everyone, good morning, In Guided Procedures Administration I cannot delete Instances, when I trying to delete an instance through "Procees Instance Manager" I had the following message "Cannot stop instance <Instance name> <null>", this Instance

  • Request for Conversion from labview 4 to labview 2013

    Dear Support, Could you please update these vi to be readable by Labview 2013? Thank you in advance, Mary