Authorizatoins needed to execute formatted search

Hi,
I'm trying to assign correct authorizations to a user with a professional license to execute a formatted search within the payment means for incoming payments.
User has full authorizations on incoming payments and execute command on the Customization tools.
We have upgraded client to 2007A SP00 PL42 but was on PL3 and worked fine.
What else do I need to look out for?
Kind Regards,
Lou van Wyk

The user should have read authorization to the authorization group for which the query category is assigned.

Similar Messages

  • Delivery - Sales Order executes formatted search

    Hi
    Found a very strange behaviour of B1:
    When making a new Delivery, which contains a formatted search in the lines, based on an sales order the value of the delivery  (position) gets newly calculated -> the formatted search gets executed!. This is imho very very strange because when referencing an order i want the value SIMPLY from there (All other fields get copied too).
    the formatted search is based on a saved query:
    SELECT $[$38.11.NUMBER]*$[$38.U_AnzMenge.NUMBER]
    -Autorefresh Yes
    -When altering Column
    -Display Saved Values
    Any suggestions?
    TIA

    Hi there,
    Can try:
    SELECT 'Price'=CASE WHEN $[$38.44.NUMBER]=0 THEN 2*2
    ELSE
    (SELECT T0.Price From RDR1 T0 INNER JOIN ORDR T1 ON T0.DocEntry=T1.DocEntry
    WHERE T1.DocNum=$[$38.44.NUMBER] AND T0.ItemCode=$[$38.1.0])
    END
    This query only workable for local currency or currency specify in your Delivery Order. If your Sales Order line detail have different currency then you will need to modify the query.
    Hope this help...

  • Formatted search on User Table

    Hi..,
          I need to set formatted search for user table which is @DCNR . My Requirement is that i need to  Pick CST NO from BP Master  . In my user screen i had taken CARDCODE value using CFL which is binded to the field U_ven in the table @DCNR.Using this CARDCODE value i need to pick CSTNO from BP master to the user screen which is binded to the table (@DCNR).My Query is as follows but it is not working,
    SELECT crd7.taxid1 from crd7 inner join @dcnr on crd7.cardcode  = @dcnr.u_ven where crd7.cardcode = $[@dcnr.u_ven]
    U_VEN field contains card code value.
    Do i need to follow some other terms in order to write formatted search on user table.
    Hope some one would help to fix this problem.
    thank u,
    -Ashok Krishnan

    Dear Mr Krishnan,
    As a starting poing I would suggest reading these documents regarding UDF and Formatted search:
    https://websmp108.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700004463532006E&_SCENARIO=01100035870000000183&
    https://websmp108.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700003625432006E&_SCENARIO=01100035870000000183&
    let us know if they were usefull.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team
    Edited by: Paul Finneran on Aug 14, 2008 1:15 PM

  • 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

  • I need one formatted search for Goods Issue

    Hi Experts
    I need one formatted search for Goods Issue
    ex. I have Issued One item  on 20/07/2011
      In Goods Issue Line Level one column LstIssDt 
    when i issue for the first Item  My document Date Will be my Ige1.LstIssDt(LastIssueDate)(linelevel)
    Now
    the Same Item Iam issuing on 23/07/2011 
    Now  In Goods Issue Line Level   LstIssDt column  shud come as 20/07/2011 when i click formatted search
    Similarly For all the Other Items
    can anyone help me in these
    Thanks  & regards
    Jenny
    Edited by: Jennifer Anderson on Jul 23, 2011 7:57 AM

    Hi Jenifer.....
    I think it should work as it is working on my DB
    Select Top 1 T0.U_LstIssDt From IGE1 T0 Where T0.ItemCode=$[IGE1.ItemCode.0]
    Order By T0.U_LstIssDt DESC
    Do execute this just save and Apply this on Goods Issue for. So when you select the Item this will bring the Last Issue Date of this Particular Item on which field you applied this FMS.......
    Is that an UDF of Last Issue Date or standard field?
    I modified above FMS and please now try.....
    Regards,
    Rahul

  • Help needed for Formatted Search

    Hai Experts,
    would like to ask you some clarification on Formatted Search. In the
    query I found $http://$44.2.1 given in the criteria part.
    In some articles it was mentioned that, the 44 meant for the table
    connected with the form and 2 is field index and so on.
    Can you please explain how to find out those numbers and field index.
    I need to work out planty of FMS to fetch data into
    UDF automatically based on user input.
    Regards
    Anand

    Hi Anand,
    You may check these threads first:
    Re: Vendor default GL FMS help
    Re: Runtime data calculation
    Thanks,
    Gordon

  • Formatted Search Error -  Help Needed

    Hi All,
    My client has a peculiar purchase process. They are into chemical trading and do their purchase as follows:
    The vendor gives discount based on the volume and not on the quantities purchased. Thus, an item X if purchased in 250gm will cost $ 20 while the same item if purchased in 50gm may come to $15. So, the user wants to enter this values in the purchase order and want the unit price to be calculated based on this. Assuming the clients wants 1kg quantities of item X, he would like to fill  250 x gm  @ $20 in separate UDFs and based n these values, the system should calculate the unit rice for this item.
    What I did was as follows:
    a)  I created 3 UDFs each for the Base Quantity (U_BPQty), Base UoM(U_BPUnit),  Base Price (U_BasePrice). Thus the user enters 250, gm, 20 respectively as explained in the above example.
    b) I created one field  (U_UnitQty) to convert the base unit into purchasing unit. For this, I am writing a query to get the conversion factor value into the PO. Thus if the Purchasing UoM is KG and the base unit in which the supplier is charging is G, then I am populating 1000 in this field.   
    c) One more UDF to convert the base price into the unit price is captured is created. So, if 250gm cost $20 and my client wants 1kg, I am first getting the value of 4 in this UDF. This I am getting by dividing the value obtained from the step b) with the value in U_BPQty. 
    Once I get this value, I then calculate the unit price by multiplying 4 with $20 which will populate $80 in my Unit Price field through another FMS.
    I wrote a formatted search for converting this base unit to purchasing units. Given here is the FMS which is giving an error. For the sake of another functionality, I created a UDF for Purchasing UoM as well (U_UoM).
    Declare @UQty as varchar
    Declare @BPC as varchar
    set @UQty = $[POR1.U_UnitQty]
    set @BPC = SELECT
    (Case
    when $[POR1.U_UoM]  = 'kg' and $[POR1.U_BPUnit] = 'kg' then 1
    when $[POR1.U_UoM]  = 'kg' and $[POR1.U_BPUnit] = 'g' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'kg' and $[POR1.U_BPUnit] = 'mg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'g' and $[POR1.U_BPUnit] = 'kg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'g' and $[POR1.U_BPUnit] = 'g' then 1
    when $[POR1.U_UoM]  = 'g' and $[POR1.U_BPUnit] = 'mg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'mg' and $[POR1.U_BPUnit] = 'g' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'mg' and $[POR1.U_BPUnit] = 'kg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'mg' and $[POR1.U_BPUnit] = 'mg' then 1
    when $[POR1.U_UoM]  = 'kl' and $[POR1.U_BPUnit] = 'kl' then 1
    when $[POR1.U_UoM]  = 'kl' and $[POR1.U_BPUnit] = 'l' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'kl' and $[POR1.U_BPUnit] = 'ml' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'l' and $[POR1.U_BPUnit] = 'kl' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'l' and $[POR1.U_BPUnit] = 'l' then 1
    when $[POR1.U_UoM]  = 'l' and $[POR1.U_BPUnit] = 'ml' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'ml' and $[POR1.U_BPUnit] = 'l' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'ml' and $[POR1.U_BPUnit] = 'kl' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
    when $[POR1.U_UoM]  = 'ml' and $[POR1.U_BPUnit] = 'ml' then 1
    else 1
    end)
    Select @BPC
    I would like to know  where I am going wrong or if there is any simpler method for the above scenario?     
    Thanks and regards,
    Bharath S

    Try the third line change to:
    set @UQty = $[POR1.U_UnitQty.number]

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

  • How to use "insert into & select" in format search

    Hello,
    I am just wonderring whether you can help me solve this issue.
    I want to change the value of a field in the title area for a sales quotation. however, this field is not shown up on the interface.
    For example, there is a field in the title area, "OQUT.Ref1". You actually cannot see this field from the quotation interface or any other doc. Now I want to update the value of this field.
    What I am now trying to do is to create an field named "update" in the title area, use format search to update. the code for the command will be something like
    Insert into $[OQUT.Ref1.0]
    select $[OQUT.U_MFG#]
    here, U_MFG# is UDF. as you may understand, I want to copy the value in the U_MFG# to the field of "Ref1".
    However, when I run "Execute", it gives me error. I believe there is something wrong with the code of "Insert into $[OQUT.Ref1.0]
    Does anyone know how to write the code?
    many thanks
    Stanley

    Thanks both Suda and sagar. The reason I wanted to do this is because I wanted to have UDF info be shown on the  MS word-templated quotation document.
    As you know, when you click the word symbol, a word-templated doc will be generated. The client needs two completely different format of quotation printout. thus I plan to print one type from PLD and other type by clicking the Word symbol. but later, I found out that the UDF field cannot be selected on the MS word template, or only system fields.
    Thus, the only way I can do is to copy the value from udf to some unused sytem fields and then show that system fields on the MS word template.
    any idea do you have?
    I wanted to tell SAP that It is not useful if the udf fields cannot be inserted into word template.
    thanks
    Stanley

  • Problem when create auto numbering in BP master using Formatted Search

    Hi all,
    I have a problem in creating auto numbering in BP for Customer type using Formatted search
    My query is like this
    declare @tempNo as char(20)
    set @tempNo=(select  Isnull(max(REPLACE(OCRD.CardCode , LEFT(OCRD.CardCode,10),'')),0)  + 1
    from OCRD where (CardType ='C') and LEFT(OCRD.CardCode,3) = 'CU.' )
    set @tempNo='CU.'left(convert(varchar,GETDATE(),112),6)'.'+@tempNo
    select cast(@tempNo as char(20))
    It should be creating the new number for example
    CU.201101.1
    CU.201102.2
    CU.201103.3
    CU.201103.4
    The format will be like this CU.YYYYMM.autonumbering
    So if the current year is still the same it will always increase the number and it will reset the number become 1 if the current year is change.
    But when i execute the number , the number doesn't increase, still generate the last number CU.201103.4
    I have use this query in generate item number, it runs well but different format.
    Is there some thing wrong with my query?
    Thanks in advance
    Regards
    Jia shun

    Hi Jia shun,
    You have posted an identical threads. There is no such need. Please close this one and response to the one with answer already.
    Thanks,
    Gordon

  • WebHelp - Executing a search using URL parameters

    Hello everyone,
    I'm trying to figure out how to execute a search in a WebHelp output by calling it from the URL, just like I do with map IDs. Basically, I'd like to do something like this:
    http://www.myserver.com/help/robohelp/index.htm?search=mysearchterm
    Or any variant. I've tried searching the help files and the internet but can't find out how to do this.
    Any idea?

    Peter, it's the other way around. I'd like to search within RH from the outside.
    In reality, the only thing I want to have is highlighting. The thing is, our help files will not be integrated within the software we're building and are actually just hosted on the web, and the user, hitting F1 or a Help button, will have his default browser open to the corresponding page. However, we do have access to quite a bit of information from the software, in a format that we can still change before release. At the moment, here's what we're planning:
    http://help.objectiflune.com/<lang>/<product>/index.htm#<module>_<dialog>.htm
    But we have one further bit of information that I'd love to use: <control>. Basically when someone uses the (?) button and clicks on a control, or if the user has an option active (clicked) when hitting F1, we can get the name of that control (checkbox, radio, button, input box, etc). What I would have liked to do is to highlight that control on the page. So technically I don't actually need search, I need highlighting. Oops, should have made that clearer (but I was avoiding a wall of text).
    Note that I will be using WebHelp Pro with RoboHelp Server 9, as soon as we can set that in place, if that changes anything.

  • Link Formatted Search to BP

    Hi
    I would like to attach a query to a UDF on the BP Master Data.
    When executed I would like it to display the results based on the current BP number on the header.
    What do I need to add to my query to acheive this.
    Thank you in advance.
    SELECT T0.[DocNum], T0.[CardCode], T0.[CardName], T0.[U_ABBA_SPuCall], T0.[U_ABBA_SRecDoc], T0.[U_ABBA_SBProdStat], T0.[U_ABBA_SBArtStat], T0.[U_ABBA_SBRecStat], T0.[U_ABBA_ProdSch], T0.[DocDate], T0.[DocDueDate], T0.[U_ABBA_IntNotes], T0.[DocTotal] FROM ORDR T0 WHERE T0.[DocStatus] = 'O' AND T0.[U_ABBA_SBProdStat] = '4'

    Hi,
    The formatted search can return multiple values back in a list.  Having multiple values though would not work well when auto-refreshing, but when running manually its fine.
    Change your query to be:
    SELECT T0.\[DocNum\], T0.\[CardCode\], T0.\[CardName\], T0.\[U_ABBA_SPuCall\], T0.\[U_ABBA_SRecDoc\], T0.\[U_ABBA_SBProdStat\], T0.\[U_ABBA_SBArtStat\], T0.\[U_ABBA_SBRecStat\], T0.\[U_ABBA_ProdSch\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[U_ABBA_IntNotes\], T0.\[DocTotal\]
    FROM ORDR T0 WHERE T0.\[DocStatus\] = 'O' AND T0.\[U_ABBA_SBProdStat\] = '4' AND AND T0.\[CardCode\] = $\[$-5.CardCode\]
    Regards,
    Adrian

  • Formatted Search and Item Events

    Hi,
      I am having a huge problem with using Formatted Search and Add-Ons.
    On the Sales Order Form I have a Formatted search Setup on the Customer Reference Number, it is set to Auto-Refresh when the CardCode changes.  This is the only Formatted search on this form and it works fine.
    However, when I run my Add-On, and enter an Item Code it takes about 30 seconds to display the Item Description. In tracing my Add-On it appears to call the Item Event et_GOT_FOCUS on the Item Code Column I just entered over 50 times.  I don't use other events, but for testing I did turn on all events and the only other event it occured with was et_LOST_FOCUS.
    If I turn off my Add-On or turn off Auto Refresh on the Formatted search everything runs as it should.
    I figure the Auto Refresh of the Formatted search has something to do with this, but I need to have this turned on.  Another thing is that it only seems to call this event when Before Action = false, It does not seem to be called on Before Action = True. 
    Can I disable the Formatted search temporarily from within my add-on or is there something else I need to do to keep this from happening.
    Thanks for Any Help
    Paul

    Hi Alfredo,
      Thanks for the suggestion, that sounds like it might be what I am looking for. But I am confused on trying to visualize how this would work. Do I need to duplicate the entire logic that Business One already does or are there some functions in the DI/UI that I can call that does the functions.  Since I am doing this from a System(Sales Order) not User Defined Form, does that change anything.  I did see the FormattedSearches Object to add a Formatted Search through the DI, but that seems like it will just create the Object and not help me execute it from my Add On.
    Is there some code snipits you could provide or get me going in the right direction on how to implement the formatted searches from within my Add-On. 
    Thanks Again,
    Paul

  • UDF link type and formatted search

    Dear experts,
    Im trying to use a formatted search to fill a UDF of the link type.
    The plan is to generate a weburl voor googlemaps like the link with business partner addresses. I do this with the following query:
         DECLARE @URLp1 AS VARCHAR(254)
         DECLARE @Adres AS VARCHAR(254)
         DECLARE @Plaats AS VARCHAR(254)
         DECLARE @Postcode AS VARCHAR(254)
         DECLARE @URL AS VARCHAR(254)
         SET @URLp1=('http://maps.google.com/?q=')
         SELECT @Adres=($[$U_Adres.1.0])
         SELECT @Plaats=($[$U_Plaats.1.0])
         IF LEN($[$U_Postcode.1.0])=0
              BEGIN
                   SELECT @URL=(@URLp1+@Adres+'+'+@Plaats)
                   SELECT @URL
              END
         SELECT @Postcode=($[$U_Postcode.1.0])
         SELECT @URL=(@URLp1+@Adres+'+'+@Postcode+'+'+@Plaats)
         SELECT @URL=(SELECT REPLACE (@URL,' ','%20'))
         SELECT @URL
    The select replace doesn't work yet but that's not the real problem.
    I used the following formatted search settings:
    Search in Existing User-Defined Values according to Saved Query
    Auto Refresh When Field Changes -> set to Adres
    Refresh Regularly
    When I try these settings on my UDF link style the field just stays empty.
    When I use this formatted search on a Alphanumeric(100) field it more or less works. I need to manualy refresh the field to execute the query.
    If I simplify the query to insert just one value like 'Opportunity No.' ($[$74.1.0]) it does auto update in both fields.
    Could someone point me in the right direction what I'm missing/forgetting or give me a sollution that might even be better?
    Kind regards
    Edit:
    PS. We are using SAP BO 8.8 PL15

    I've found a topic with a similar problem but there's no solution there either...
    Formatted search with Query auto update

  • Formatted Search on Add On Grid

    Hi,
    I am trying to create a formatted search on a add-on grid but can not seem to execute it.
    I need to retrieve a UDF from ODLN onto a field on the same grid.
    The information I get from system information is:
    [From=NBS_FindCC Item=Grid Pane =0 Column=DocNum Row=0 Variable=2 # 000004415,Docnum]
    I have tried:
    Select U_FREIGHT From ODLN where ODLN.DocNum = $[NBS_FindCC.Docnum.0]
    Select U_FREIGHT From ODLN where ODLN.DocNum = $[$NBS_FindCC.Docnum.0]
    Select U_FREIGHT From ODLN where ODLN.DocNum = $[Grid.Docnum.0]
    I also believe the docnum is generated using a script directly from ODLN and not from a source UDT.
    Your quick response will be much appreciated.
    Thanks
    Jacques

    Hi Gordon,
    This is a grid being populated only by only documents and I don't believe the information is stored in a UDT but only extracted from ODLN using Select Queries.
    I thought about using a UDT but could not trace any UDT with this information in and this why I am assuming select queries are being used.
    Regards,
    Jacques

Maybe you are looking for

  • Multiple Libraries for iTunes

    I am wondering if there is any way to create multiple libraries for my music? I use my iTunes for both work and personal music and would like to be able to move my work music into a separate library. I've seen this concept in accounting programs, whe

  • Can't update or uninstall itunes on windows 8.1

    Hi, I've been searching for a while but havent found a workable solution as yet. Basically if i try to update, uninstall or reinstall i get the message "the feature you are trying to use is on a network resource that is unavailable. click ok to try a

  • Attachments using Yahoo and Safari

    Have Safari and Yahoo mail. My attachments go as zip file and can't be pulled up properly - even by other mac users. Have a table in pages that needs to be used by another mac user. I also tried to save as an .rtf file - it looks like it takes but it

  • Using of Oracle Text functions not working in JDev

    Hi, I'm confused about using Oracle Text functions in JDeveloper. It's not possible for me to pass the sql syntax test while creating a view object with a custom query: SELECT score (1) myScore, dokumente.titel, ctx_doc.snippet ('idx_dokumente_titel'

  • Billing block in periodic billing

    Hii all, Need a solution for the following project scenario. We have a scenario where periodic billing is involved through project. In the sales order we assign the WBS element in account assignment. After assigning the WBS element, billing is blocke