Formatted Search not saving in database

Dear All,
I have created a formatted search to get the TAX Amount, and i'm using that field in Printing of invoices. After adding the document if i go back and check the user defined field value is being displayed but it won't be stored in the database as i check the print preview it shows there is no value. but the value will be displaying on that user defined field, After i select that field and click of shift F2 again and then click on Update then only it stores in the database.
For the Formatted search i have given the condition as refresh regularly on document number.
kindly help on this.
Thank you in advance.
Regards,
Shreyas

Hi Shreyas,
Your FMS Query is Correct but your Auto Refresh is wrong.
->> put the Auto Refresh of Display Saved Values on BP Code or Remarks.
Regards,
Madhan.

Similar Messages

  • How to make the fields of BPM object not saved in database.

    Is it possible to declare some attributes of BPM object not saved in database.
    For example: Order has attribute orderId and date, user (other attributes)... we only want OBPM save orderId. We want the other attributes could be saved and retrieved by external DAO classes.
    We still want to use the OOTB presentation from BPM object (not the customer jsp).
    Thanks

    When you say:
    Is it possible to declare some attributes of BPM object not saved in database.do you mean you do not want the information stored in the Oracle BPM Engine's database?
    If this is the case, create a BPM Object with just two attributes. One would store your orderId as a primitive data type. The other attribute would be a BPM Object that would store all the other data you are going to retrieve from the external database.
    At the beginning of the screenflow, read the database using the orderId attribute and populate the other attribute (the BPM Object). At the end of the screenflow just before it flows to the end activity, you could set the second attribute (again, the BPM Object attribute) to null. This would keep the BPM object with the two attributes from storing anything but the orderId in the Engine's database table for the work item instance.
    Dan

  • Text fields populated from lov mapping are not saved to database

    Hi Everyone,
    I'm having a wierd problem. My requirement is to autopopulate two text fields field 2 and field 3 when a value is selected from lov in field1 and save all the values to database on click of a submit button.
    Using lov mapping i'm able to populate field 2 and field 3 with corresponding values based on the value selected in field1. And also field2 and field3 should be in the readonly mode so that user cannot change the value.
    So to make the fields readonly i have changed the property of readonly to true for field2 and field3. But if I change the readonly property, the values for field2 and field3 are not being saved to database.
    The values are getting saved to database only when readonly = true for messageTextInput item type or if the item type is a form value.
    I also tried disable = true, which also didnt work.
    I tried to debug by writing some sop statements in PFR, but these statements also returned null for pageContext.getParameter("field2") etc;
    Can anyone please tell me how to solve this problem?
    Thanks
    Sunny

    Hi Gyan,
    I forgot to mention that , I also tried messageStyledText. Which also didn't work. I wanted to use vo.setAttribute as my last option, but i wanted to understand why the values are not saved to database when the text item is showing the values on the page.
    Thanks
    Sunny

  • Formatted Searches Not Working on a PC

    Dear Experts,
    I have a case where formatted searches for one particular computer are not working at all. All the connected computers are working as required with all the formatted searches.
    What PC requirment is need to facilitate FMS functionality ?

    Dear MARTIN,
    there Are two types of FMS Are used in the SAP B1.
    Dynamic Value :- Select  $[$20.24.number]
    In this Example 20 is the matrix Id 24 is the Col Id And Number show the type of the Value
    Static Value After Save the Document :
    Select $[Odln.Docnum]
    You can Also Call the Store procedure in the  SAP b1
    Thanks
    Dhiraj

  • HELP: Formula Item data is not saved to database

    Hi:
    I've added a formula in a database item but when i commit the form the data is not saved to the database. When i am working on form the item reflects the formula value, but when i commit the value is not stored in the database.
    I need urgent help.
    Thanks
    Joao Oliveira

    It is not clearly stated in the help file I agree. With a little PLSQL code you could copy the item to a hidden database field and have it be saved to the database. See Note 43012.1 on Metalink for details.

  • Formatted search not updating

    Hello Experts,
    I have created a Formatted search on AR invoice document for an UDF and auto refresh is set on Document series.
    The FMs works fine for all series except for one which is set as default in document numbering. The values are in UDF not shown when this invoice is created with this series.
    Is there any limitation for FMs when set to auto refresh on an series with default one.
    Thanks
    Deepak

    Hi Deepak,
    UDF will refresh only when Series will change. This is Limitation.
    So Try to refresh UDF on some other field so that you can get Value in UDF for Default Series also.
    Regsrds::::
    Atul Chakraborty

  • Data not saved in database

    hi,
         i'v a prob. that once i create quation through va21 then it create and saved data.
    now when i create sales order through va01  then it show data saved and gave the sales order no.
    but when i 'm going to change it then message comes order not in data base.
    when i saw the data in table like vbak/ vbap then i found no data.
    what is the prob.
    pl. help me.
    mukesh

    Hi Mukesh,
    May be the data is not saved at all. Use TCODE SM12 and SM13 to check if there are entries for the corresponding table under processing
    Regards

  • No variant is possible, because workbook is not saved in database

    Hi All,
    We are moving from GUI Version 640 Patch 17 to GUI 710 Patch 7.
    During the testing about the GUI, We are facing the a problem while saving an variant.
    Steps:
    Open the workbook and refresh.
    Input the Values into the selection screen.
    We are unable to save the Variant.
    Save button is disabled.
    Can anybody suggest  or guide to over come this problem.
    Thanks in advance,
    Regards,
    Krishna

    You need the following role in order to save variants. The conversion from 3.5  to 7.10 added a new role that didn't exist in 3.5  You must add this to your general role for execution queries:  S_RS_PARAM.  Hope this helps.

  • Bdc - values are not saved in database

    hi mates
    im have recorded the transaction for XK01 and im using batch input session. when i process the session my transactions are failing
    can any body help me
    regards
    mano

    Hi,
    Just make sure that all the data fields are replaced with the value fields i.e. internal table fields.  and check whether u have placed the code  for save.
    PERFORM F_9000_APPEND_BT USING:
        'SAPLCJWB'           '0901'                'X',
        'BDC_OKCODE'         '=BU'                 ' '. "SAVE
    FORM F_9000_APPEND_BT USING IV_FNAM LIKE GT_BT-FNAM
                              IV_FVAL TYPE ANY
                              IV_DYNBEGIN LIKE GT_BT-DYNBEGIN.
      CLEAR GT_BT. "Clear the field string...
      IF IV_DYNBEGIN = 'X'.
        GT_BT-PROGRAM  = IV_FNAM.
        GT_BT-DYNPRO   = IV_FVAL.
        GT_BT-DYNBEGIN = 'X'.
      ELSE.
        GT_BT-FNAM     = IV_FNAM.
        GT_BT-FVAL     = IV_FVAL.
      ENDIF.
      APPEND GT_BT.
    ENDFORM. "End Of f_9000_append_bt

  • Measure format not saved

    Hello,
    Since we've upgraded to BO 4.1 SP2 Patch 4, the measures format are not saved anymore.
    The users have to change their format at each new execution;
    Do you know how to solve this problem ?
    Thank you in advance.
    Regards,
    Nicolas

    Hello Nicolas
    My apologies for the inconvenience. This issue was resolved in 4.1 SP2 Patch 6. It was made available to download from Service MarketPlace on 16 May.
    Kind Regards
    Ian

  • How to activate several Formatted Search Forms !!

    Hi Guys,
    I have a problem concerning the manipulation of formated Search Forms. Actually when using the ActivatMenuItem() method, one needs a UID of the items to be activated. And I would like to use this method to activate several formated Search Forms but I don't know how to get the UID of those formatted Search Forms.
    While searching on the Forum, I have seen that some developers used following command SBO_Application.ActivateMenuItem("7425");
    I tried that and it works, but it only activates the first formatted Search Form saved in the CSHS table. My problem is how to activate the other formatted Search Forms and how to access their UID.
    Thanks in advance for Responding
    Bop

    Formatted searches are tied to an individual field on the screen.
    They are not launched by individual UID's, there is only one formatted search menu UID - 7425.
    The actual screen that is called is based on which field the focus is currently in.  If you are in form UID "1", field UID "1" it will call the formatted search (defined in CSHS) for Form 1 / Item 1.  If the focus is currently in field UID "2", it will call a different search.  If there is no formatted search defined on CSHS for the current field, then it will display a dialog asking if you want to create one.
    If you want to open other formatted searches for different fields in your form, simply place the focus on them before calling ActivateMenuItem("7425").  You can do this using the Click method.
    John.

  • Conditional Formatted Search

    We have a formatted search in Sales Order to pull the Ship To Code from Sales Quotation based on the line #. But we want the formatted search NOT to happen for certain customers.
    How can we write a conditional formatted search so that when this condition is met, this formatted search does NOT carry out?
    thanks!

    Hi Yi Liao,
    try to use IF ELSE condition in the query.
    cheers,
    erwine

  • 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

  • Formatted searches on patch levels

    Dear experts,
    I did my formatted searches on my development database they all work well. on transfering them to my production database they refused to work. I am using SAP Business One 2007 A (8.00.232)  SP: 01  PL: 07. What could be the issue cause its strange why they aint working on my production Database.
    Regards

    hi suda,
    below query works perfect on my development database but on my production i get null values
    declare @Price as decimal (13,6)
    declare @Price1 as decimal (13,6)
    declare @FromWHS as nvarchar (4)
    declare @ToWHS as nvarchar (4)
    declare @ItemCode as nvarchar(30)
    declare @TransitItem as nvarchar(30)
    declare @LocalItem as nvarchar(30)
    set @ToWhs = $[$13.15.0]
    set @itemcode = $[$13.1.0]
    select @FromWHS =  (case when isnull($[OIGN.u_FromWarehouse],'') = '' then @towhs else $[OIGN.u_FromWarehouse] end)
    select @Price = t1.[stockprice] from ige1 t1 inner join oige t2 on t2.docentry =t1.docentry where @FromWhs = t1.whscode and @itemcode = t1.itemcode and $[OIGN.U_GINumber.Number] = T2.DocNum
    select @Price1 = t1.[stockprice] from ige1 t1 inner join oige t2 on t2.docentry =t1.docentry where @FromWhs = t1.whscode and $[OIGN.U_GINumber.Number] = T2.DocNum
    select  @TransitItem  = t1.ItemCode from oitm t1 inner join ign1 t2 on t2.ItemCode = t1.itemCode where T1.[QryGroup61]='Y'
    select @LocalItem = t1.ItemCode from oitm t1 inner join ign1 t2 on t2.ItemCode = t1.itemCode where T1.[QryGroup63]='Y'
    select distinct case
    when T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = @ToWHS and $[OIGN.U_AdjustmentType] ='STX' and @itemcode = @TransitItem and $[OIGN.U_TransportType]='04'
    then (T0.[U_RateUSD]*T0.[U_ExchangeRate]) + @Price + $[OIGN.U_BioCoding]
    when T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = @ToWHS and $[OIGN.U_AdjustmentType] ='STX' and @itemcode=@LocalItem and $[OIGN.U_TransportType]='04'
    then (T0.[U_Rate]) + @Price + $[OIGN.U_BioCoding]
    when T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = $[OIGN.U_OffLoading] and $[OIGN.U_AdjustmentType] ='STX' and @itemcode = @TransitItem and $[OIGN.U_TransportType] in ('01','02','03')
    then (T0.[U_RateUSD]*T0.[U_ExchangeRate]) + @Price + $[OIGN.U_BioCoding]
    when T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = $[OIGN.U_OffLoading] and $[OIGN.U_AdjustmentType] ='STX' and @itemcode = @LocalItem and $[OIGN.U_TransportType] in ('01','02','03')
    then (T0.[U_Rate]) + @Price + $[OIGN.U_BioCoding]
    when $[OIGN.U_AdjustmentType] ='Con' then
    @Price1 + $[OIGN.U_Duty]+$[OIGN.U_BioCoding]
    when $[OIGN.U_AdjustmentType] ='Hosp' and T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = @ToWHS and @itemcode = @TransitItem then
    (T0.[U_RateUSD]*T0.[U_ExchangeRate])+@Price1 + (Select T0.U_HospitalityFee from [dbo].[@HOSPITALITY]  T0 where T0.[U_WarehouseCode] = $[IGN1.WhsCode]) + $[OIGN.U_BioCoding]
    when $[OIGN.U_AdjustmentType] ='Hosp' and T0.[U_FromCode] = @FromWHS and T0.[U_ToCode] = @ToWHS and @itemcode = @LocalItem  then
    (T0.[U_Rate])+@Price1 + (Select T0.U_HospitalityFee from [dbo].[@HOSPITALITY]  T0 where T0.[U_WarehouseCode] = $[IGN1.WhsCode]) + $[OIGN.U_BioCoding]
    end
    from [dbo].[@TRANSFERS]  T0
    order by 1 desc

  • 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

Maybe you are looking for

  • SAME EJB 3.0 Stateful Session bean for different JSP sessions returned

    Forum, I have a strange problem utilizing stateful session beans. Please note, that I am using jdeveloper for the following: 1) Here is a basic stateful session bean: @Stateful(name = "DemoClass") public class DemoClassBean implements DemoClass,     

  • How to best use mail in 2 computers?

    Hi, I now have 2 computers (an imac and a macbook) connected to an airport extreme. I setup a new email address which SMTP forwards mail for the user of the macbook. However, when you click mail on the macbook, it seems to still be showing the mail o

  • Strange problem with out.flush

    Code: package com.test.servlets; import javax.servlet.*; import javax.servlet.http.*; import java.io.IOException; import java.io.PrintWriter; public class MultiThreadTest extends HttpServlet {   public void doGet(HttpServletRequest req,HttpServletRes

  • Problems with Date bind variable

    I'm trying to use a Date as a bind variable in a View Object, and I'm running into difficulties. I've got the bind variable type set to date, and the control hints for Format Type and Format set to "Simple Date" and "yyyy-MM-dd" respectively. When I

  • Acrobat Pro is in Spanish after English installation of CS6.

    I was given a serial number for a Spanish version of CS6 by mistake.I realized this after the instillation  I then received an English version DVD and serial number. All corrected except Acrobat Pro remains in Spanish. I then uninstall and re install