Formatted search values

Hello experts
How can I get access to formated search form?
How to return its marix values (it returns 3 values)? I can choose forms uniqal ID, but how can I get a specific row from it?
Or how can I display the list of indexes after puttin "*" in the column? what conditions must column have?

Thanks for your reply.
1. Well I think I could just make an Matrix object (its an item of formatted search form) and return its rows, am I right?
2. Could you explain me how to display list of indexes after putting * and tab in a matrix cell (I have no CFL)?  I know it is possible but how should I bind column or maybe do sth else to gain this functionality?

Similar Messages

  • Formatted Search on Report Parameter

    Hi Experts,
    I've 5 reports that I build using Crystal Report 2008 for SAP B1. All of them will ask for parameter input. And for the parameter value input user will be helped by formatted search. What confused me is that when I set formatted search for a report, another reports formatted search value will also get change. For example I have 3 reports, A B and C.
    A has 3 parameters: date from, date to and warehouse code
    B has 4 parameters: as of date, warehouse code, item code and branch
    C has 3 parameters: as of date, item code, division
    When I update the formatted search for report B (No query, Warehouse, Item, Branch), then report A and C parameters will also follow those changes. So everytime I run the different report I've to reset the formatted search that will be user input in the report.
    Can anyone give me suggestion how to solve this problem so the formatted search attached to each parameter won't change?
    Thank you before
    Edited by: Willy on Mar 1, 2011 9:31 AM

    Hi Julie,
    I am using SAP token. This is the detail. I need an input of card code of customer to see detail report of the code chosen, but the input can also be typed  by user. and they can type 0 so they can see detail report of all code. At first I think I can use formatted search but the problem is the query I use in each parameter keep on changing, following the last change I do to another report. (as I explain in my first post). Is there any suggestion??

  • How can I reference value of a field from a diffrent line in formatted search

    I want to use a formatted search for this
    I want to set a field value based on a value from a previous row. ( is this possible at all ?)
    I have a udf called Test at Line Level on AR Order
    The user enters a value for test on line 1
    he will have a lot more lines then after that. all I want is to copy the value in test ( on row 1) to row2 as the user edits say the Item code on that row.

    Hi,
    Unfortunately formatted search is for current line only , you can't reference the previous or next line .
    You can do achieve this with SDK but with FMS not possible .
    Regards

  • How to Fetch the Row value in SBO Formatted search

    Hi Experts,
    I have created a Sales order, in which i  have 4 UDF Fields(A,B,C,D) in the following:
    Example values:
    A  B  C  D 
    2   2   4  4
    3   2   6  10
    C=A*B
    D=1st value of D + 2nd col value of C
    i have written query for C, but how to write the Formatted search Query for generation of D values. plz reply as soon as possible.

    Magesh,
    I quite understand what you are trying to do.   If you look at the example below I added a third row to show how you want the D to be a running total of column C. RIGHT !!
    A B C D
    2 2 4 4
    3 2 6 10
    <b>4 2 8 18</b>
    Honestly, it is not going to be simple as you do not have a way in SBO to access a particular column from a row.  When you say $[$38.U_C] it refers to the context row OR the row which has the highlight OR the row which has the curson on it.
    It is not possible to say $[$38.U_C from row 2]  JUST  NOT POSSIBLE ...
    You have to write a tricky code by using a temp table referencing the value of column C.  Also you have to keep track if Rows gets deleted and a new row added. 
    I will test a sample code and will come back.
    Suda

  • Addition of two rows values in table  using formatted search

    hi all,
            i have created one UDF field in market document rows, now in AR invoice i need to add the values in the UDF fields of two rows, want to show it in anather outside UDF in title. kindly suggest me some query to track that.
    Ex:- i had entered two items in rows and
    for first UDF row i have given 20
    for second UDF row i have given 30.
    now i need to show sum of the two UDF in two rows in title UDF.
    kindly give me some query used for formatted search to do this task.
    regards
    sandip

    Sandip,
    To the best of myknowledge When you try to take the row value to the header the results of the Formatted Search are not consistent.
    but for your interest, I am giving below the logic to work this out.
    You need two Header level user fields.  One to copy the row user fields value and the other to store the sum.
    You can create a simple SQL "SELECT $[$38.U_UserFieldName] (substitute with row level user field name) and attach it to the first header level user field and make it Auto refresh on doc total.
    Then Attached SQL  "SELECT $[ORDR.U_HeaderUserField1] + $[ORDR.U_HeaderUserField2]"
    The results could be flaky because the header user field takes the value of the active row and sometime it only considers the first row active though you might be entering the second row of data.
    My recommendation would be to Use The Transaction Notification Stored Procedure for this by which you can be absolutely sure that the Header User field will have the sum.
    Let me know if you need directions for this.
    Regards
    Suda

  • Formatted Search - Search in existing values

    Hi,
      In formatted search we have an option "Search in Existing values"
      i need to know in which table the values we enter in this screen gets stored?
    Manoj

    Hi Manojkumar,
    You need to turn on the "System Information" from within the "View" menu on the main toolbar (or as Juha said, use CtrlShiftD), but then go into the "Define New" option on the table.
    This will open the linked form and when you hover over the data you are interested in the lower left hand side the screen will give you details of the table and field ID  that you need for your query.
    Hope this helps,
    Julian

  • How can change the query where clause values in formatted search

    Hi
    I have a formatted search with the below sql
    Select ItemCode,ItemName from OITM
    where ItemCode like 'FX%'
    how can I change 'FX%' to another value
    I tried to make it as paramter
    where ItemCode like $[ItemCode]
    but I am receiving an error
    sincerely yours
    Riade Asleh

    Try this:
    Select ItemCode,ItemName from OITM
    where ItemCode = $[$5.0.0]
    5 = Item number of form (On item master data 5 is item-number)
    0 = Column of item... since item 5 is no matrix 0 shoul be used.
    0 = Casting type (0 is default, but int, string and date is possible)

  • Formatted search can we use current records values ?

    Hi.. to all,
    I have a need to get tax amount from current document at the time of entry before updating the entry by using Formatted search through saved query.
    Can any body help me to resolve it ?
    Regards..
    Chintesh Soni

    Hi,
    You can get the value at entry time (for example on an invoice) by creating a search define query such as:
    [code]SELECT $[OINV.VatSum][/code]
    Then add the search define to a UDF that gets 'Auto Refresh When Field Changes', and select an option like 'Document Total' and 'Display Saved Values'. This way the search define query will refresh the tax value in the UDF when ever the total value changes i.e qty, unit cost, discounts get altered...
    You'll need to alter the query to match different marketing documents and set the search defines on each one.
    Hope this is of help
    Kind Regards
    Matthew

  • Retrieving the value using formatted search

    Hi everyone. I have a question regarding on how I can get the value of the user-defined field in the title of a marketing document. I would like to get the value using formatted search and sql query.
    Here's the format I am currently using.
    $[$ <Item>.<Pane>.<Variable>]
    Is my format correct? Thanks.
    Regards,
    Omann

    Hi Omann,
    You can refer to fields in an entry screen using the syntax
    $[Table name.Field name]
    The table name is the name of the table belonging to the entry screen, for example, OINV for the A/R invoice entry screen.
    You can also use the fieldu2019s item number and fieldu2019s column number to refer to a field on the entry screen. By doing this, the query applies to all document entry screens. The syntax is then
    $[$Fieldu2019s item number.Fieldu2019s column number.NUMBER/CURRENCY/DATE/0]
    The system is able to uniquely identify each field of a document using the fieldu2019s index number and fieldu2019s column number. If you have activated the debug information under View  Debug Information, the system displays the fieldu2019s item number and the fieldu2019s column number in the status bar.
    You use the NUMBER parameter if the field concerned contains an amount and a currency key, and you want to extract the amount only. 
    You use the CURRENCY parameter if the field concerned contains an amount and a currency key, and you want to extract only the currency key.
    You use the DATE parameter if the field concerned is a date field and you want to use it for calculations.
    Regards, Yatsea

  • Formatted Search: How 2 get the active value

    Hi ,
    I defined a simple FS to learn, but keep getting the same values for different codes.
    Shortly, I have 2 tables, first one (
    REASON) keeps ReasonID,Reason Description, etc.
    In the second one (MAIN) I enter other unrelated data and ReasonID.
    I wanna get Reason Description from REASON table into that MAIN table by the help of FS. So I defined something like that:
    SELECT T0.U_ReaDesc from .[@REASON]  T0 , .[@MAIN] T1 WHERE T0.U_ReasonID = T1.U_ReasonID</b> 
    When I use this query, I keep getting the same reason description for different reason codes, actually the description of the first data in the REASON table.
    Ouery settings : Search By Saved Query - Auto Refresh - When exiting altered column - Column "REASONID "- Refresh regularly
    I guess, I have to add or change something in the query, so that I can refer to the <u>activ ReasonID value</u> in the MAIN table and get the descr. for it.
    (Sorry if this subject is handled before but I couldn't find anything related in SDN.)

    Hi Gul,
    Why don´t you download the help files from the SBO marketplace?
    You can find a document about the FS under Service & Support SAP Business One  Knowledge & Services  Knowledge Base Customizing Formatted Searches.
    There it explains lot of things about them.
    The FieldId is the variable number seen when you are in debug mode. ColID is used only for matrix columns. And you could use 0 for the format is no formating is needed.
    Regards,
    Ibai Peñ

  • Dynamic SQL an Form values in formatted Search

    Hi all,
    Can I create Dynamically the where clause of a query (for a Formatted Search) finding that into a UDF of another table, and then store all in a Varchar(300) variable and use that variable as parameter of an EXEC?
    Sorry for my bad explanation, it takes less time attach the query ...
    so here it is:
    declare  @pol as varchar(8)
    set @pol = $[ORDR.U_PolProj]
    declare @internal_q NVARCHAR(300)
    select  @internal_q = T0.U_CondPol
    from [@PRG_CEN_POL_PROJ] T0
    where Code = @pol
    declare  @itcode as varchar(100)
    set @itcode = $[RDR1.ItemCode]
    declare @sql NVARCHAR(300)
    select @sql = 'select  result =  count(ItemCode)
    from OITM T0
    where T0.ItemCode = ''' + @itcode +
    ''' and ' + @internal_q
    exec(@sql)
    Could someone tell me what's wrong with this formatted search?

    resolved!!! It works

  • Formatted Search returns no values

    Good Afternoon
    Experts:
    I have a situation where I am using a Formatted Search on the BINS column of the Inventory Tab matrix for the ItemMaster Data screen.  It works great...displays the information I am looking for.  Here it is:
    Select T0.U_BinLoc AS 'Bin Location', T0.U_WhseCode AS 'Warehouse', T0.U_ItemCode AS 'Item Code', T0.U_Quantity AS 'Qty in Bin' FROM [@ITEMBIN] T0 where T0.U_ItemCode = $[OITM.ItemCode]
    <b>Issue:</b>
    If there are no entries in the @ITEMBIN table for the item in the ItemNumber field, the FormattedSearch box does not pop-up.  Good so far.  However, the screen changes to Update mode. 
    <b>Questions:</b>
    1)Is there some kind of "no result invisible" character that is getting returned back to the column behind the scenes? 
    2)How can I alleviate this behavior and just have the screen stay in OK mode if there are no results from the Formatted Search?
    Thanks,
    Ed

    John:
    I was not aware I could utilize that type of functionality in the query for a formatted search. Thanks for the suggestion...I will try it.
    Ed

  • 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

  • Auto-refresh formatted search is not working properly...

    I have created a User Defined Field in Item Master named: FLD1 (Alphanumeric 30)
    Then I have created a User Defined Field in Marketing Documents Row: FLD1 (Alphanumeric 30)
    Now I want as follows u2013
    In Marketing Documents if I select any Item, the value saved in FLD1 in the Item Master will come automatically in the Field FLD1 of the Marketing Document.
    I did as follows u2013
    I have created a formatted search for the above marketing document (in Sales Quotation) for the field FLD1 as follows u2013
    Option: Search in Existing User-Defined Values according to Saved Query
    Query: GetItemFLD1 (SELECT $[OITM.U_FLD1] )
    Option: Auto Refresh  -
    When Exiting Altered Column
    Field: Item Description
    Option: Display Saved User-Defined Values
    But the above is not working automatically --- after saving the document if I click on the Formatted Search Marker then the value comes otherwise not.
    Can any one please explain the reason behind?
    for SAP B1 2007 B SP0 PL7
    Edited by: Narottam Das on May 5, 2009 1:53 PM

    Check this thread for explanation of Syntax of FMS:
    [Refer to Sales Order From Payment Means;
    Refer Suda Sampath  reply that explains clearly

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

Maybe you are looking for

  • Unicode and ascii conversion help needed

    I am trying to read passwords from a foxpro .dbf. The encrpytion of the password is crude, it takes the ascii value of each char entered and adds an integer value to it, then stores the complete password to the table. So to decode, just subtract same

  • Blue Screen on Domain controllers after Updates

    After patching our Domain controllers (virtual on ESXi 5.5 U2) recently we started getting Blue screens and reboots. Other changes in our environment around this time include enabling vshield drivers and scanning with Trend Micro. I have removed patc

  • Can't hear green apple loops

    I just downloaded the trail version of Logic express. I want to use some "green" apple loops as well as blue apple loops. I can hear the blue apple loops during playback but not the green apple loops. The only thing that happens with the green apple

  • Error: Microsoft word web app -Sorry we ran into a problem - IE 11

    Hi, I am using Windows 8\Office 2013 32bit\IE 11. When opening word docs in SharePoint 2013, the Word Web App shows the error "Microsoft word web app -Sorry we ran into a problem" and does not open the file.  SharePoint site is a http one. The docume

  • What's purpose of OAMK

    Hello SAP Professional 1. In t code OAMK, I have removed the u201CAssetsu201D reconciliation indicator settings (column name Recon.account for acct type) and made that line as blank for GL account for 111 to 115 for e.g 2. Then I run FAGL_FC_VAL for