Conditional value for formulas

Hello everyone, I have a table for income values, and I have been able to create a Sum field to calculate the total income, but I would want to create a condition to only include values in rows that are checked with a checkbox. Maybe it's easier to show you an image of the table:
So, what I would like is to have the cell in red to be a sum of the cells in the column "Valor Recebido" but, only if they are checked in the column "Recibo". Is that possible?
Thank you so much.

Hi anamorphis,
When I first open your file I see the error message and the formula displays as text rather than as a formula. If I click the green check the error message goes away and the formula works.
I think a regional syntax is to blame. When you examine a formula that does work (say in another table) what separates the arguments? "," or something else?
I want to suggest again you recreate the formula by first choosing the formula in the sidebar, then with the first argument selected click your column E with your second argument selected click TRUE in the sidebar (under "logical and info"), with the third argument selected click column D. click the green check. If this works would you paste the text version of your formula here- I would like to see how it turned out.
quinn

Similar Messages

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • Getting header data (condition values) for shipment

    For the shipment VI03, the user wants the header Condition values(KWERT) corresponding to condition values(KSCHL).
    Some of the condition type having values in item level but these condition types are not maintained in header level, so they want for these condition types values should be Zero.
    As I am taking condition values for PRICING function module, it will display at sub-item level values depending on condition values.
    Please let me know is there any functiona module or table exist where header data is directly mainatined(Condition values & Condition type).
    Thanks & Best Regards,
    Mahesh

    First find the related salesorder using:
    VBFA
    VBAK-VBELN = VBFA-VBELV
    LIKP-VBELN = VBFA-VBELN
    VBFA-VBTYP_N = 'J'.
    or
    LIPS
    VBAK-VBELN = LIPS-VGBEL
    After that, with the order, get condition number in VBAK and then search KONV.
    VBAK-KNUMV -> KONV-KNUMV.
    Regards.
    Valter Oliveira.

  • ABAP code in to JAVA for overwritting condition value for IPC pricing

    Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
    Here is the ABAPcode segment i am trying to transulate
      DATA: l_kdkg1  LIKE komk-kdkg1,
            l_work TYPE f,
            l_umren LIKE marm-umren,
            l_umrez LIKE marm-umrez.
      SELECT SINGLE peinh FROM mbew INTO mbew-peinh         
      WHERE matnr = komp-matnr
      AND bwkey = komp-werks.
      I need some  help in the following things
      1. I don't know how to transulate the following Line of ABAP code into JAVA
         " AND bwkey = komp-werks."
    Bwkey stands for plant details. I don't know how to get plant details from  Pricing Item.
      2. Someone please tell me weather the following JAVA transulation is correct
      Vector x = prItem.getUserExitConditions();
      db database = pricingEngine.getDatabase();
         // set table name
      String tableStart = "mbew";                                             
         // set query parameters
      sys_query_pair[] queryPair = null;
      //matnr = komp-matnr . Getting the material Number
      String materialNo= prItem.getProduct().toString();
      //bwkey = komp-werks.Getting plant.
      // TODO: werks stands for plant. Not sure how to get it from prItem
       String plant = "";
       queryPair = new sys_query_pair[2];                    
       queryPair[0] = new sys_query_pair("matnr", materialNo);
       queryPair[1] = new sys_query_pair("bwkey", plant);
      // set query columns
       String ZZFIELDStart = "peinh";
       String ZZFIELD_VALUEStart;                   
       String[] projectionStart;
       projectionStart = new String[];
       BigDecimal pricingUnit = null;
       try{     
          // execute query
          res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
          if (!res.db_empty_results_p(resultSetStart))
         ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
         pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
         resultSetStart.db_finish();
       else
         System.out.println("Coudn't find a value of field peinh in table mbew!");
       catch (exc_database_error e)
         e.printStackTrace();

    Please login to the server where IPC is installed. In the IPC folder u find libs folder  or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to  user exits in java coding
    Thanks
    Surya

  • Default multiple values for formula variable on variable selection screen

    Hi All,
    Suppose 'A' is formula variable with customer exit as processing type then i want four default values for this variable eg: 3, 6,9, and 12 as selection options, when we will execute query user can able to pick any one of the default value.
    is it possible in BEx for formula variables?
    I also tried with ABAP code in 'cmod' t-code, but it is not working properly for 4 default values....but for single default value, code is working fine.
    I am using following code ::
    When 'ZCSIMCTB'. // variable name
    IF i_step = '1'.
    CLEAR : l_s_range.
    l_s_range-low = 3.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 6.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 9.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 12.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    Thanks in advance

    Hi Sankar,
    Thanks for reply...
    With single quotes also its not working.......
    Also as I am using Formula Variable so by default "Single Value" is coming on Variable Details....
    Regards,
    NIlesh

  • Exclusion item condition value for header condition

    Dear All,
    I explained my problem with example scenerio.
    Sales Order Total Net Amount = 1.500 EUR
    SO Item-10 = Advance Payment Sales = 500 EUR >> for first invoice
    SO Item-20 = Sales from stock with HAWA material - 1 = 300 EUR  >> for second invoice
    SO Item-30 = Sales from stock with HAWA material - 2 = 1.200 EUR >> for second invoice
    SO Header condition > ZAP1 = Advance payment decrease = - 500 EUR
    System divided Advance Payment amount to all items.
    Item-10 = - 125 EUR
    Item-20 = -   75 EUR
    Item-30 =  -300 EUR
    My request is on below;
    Item-10 =      0 EUR
    Item-20 = - 100 EUR
    Item-30 = - 400 EUR
    Is calculation possible with zero value for item-10 ?
    Thanks for your helps.
    Gulay Celik

    Hi Gulay
    System cant divide the advance payment to all items ,System can divide the advance payment for one item  .
    But assign a billing plan at header level and just check , if it works then your requirement can be fulfilled.But generally it is done at item level only 
                            Make the following down payment configurations
    item category group - 0005
    item category - TAO
    for this TAO item category a billing plan 01 (milestone billing plan -01) will be assigned and its billing relevance should be I which is order related billing .
    billing doc type - FAZ
    cancellation billing doc type - FAS
    maintain a condition type AZWR which is down payment settlement , it has requirement as 2 and calc type as 48 acct key as ERL
    Now when you enter a material in line item 10 and go to item data , you can see the billing plan tab.
    now go to billing plan tab and enter the start date and enter the dates on which billing has to be done and then in billing request enter 0009 which is for down payment.once u press enter automatically it all the dates get blocked and billing request by default you get as 1 , that you change it to 4 or 5 . 4 is for down payment at value basis and 5 is for down payment at percentage basis. and beside that there will be a billing type .assign billing doc type as FAZ. to all dates
    check the copying requirements are there at VTFA as 20 and for item category TAO copying requirements 23 is maintained or not
    now do the cycle OR - LF - FAZ (billing doc type)
    Regards
    Srinath

  • Listing Conditions Values for all materials

    Hi SAP Experts,
    We need the SAP Tables which store the Conditions data like Condition types, Condition Values, Validity from date, Validity to date,   and Materials for pulling a conditons Report for all materials.
    We have checked the pricing report t-code : V\LD . But this does not give all data (it does not show all conditions).
    Appreciating your quick reply.
    Thanks and Regards,
    Umesh Karane.

    Hi,
    It is totally depend in the pricing configuration you have done for your client.
    What you can do is create a new Pricing report for your requirement.
    Follow these steps to create a Pricing report.
    To create the Pricing Report
    Tx: V/LA
    u2022 Enter Name for the List (Starting from a letter) & a Title
    u2022 Press "Forward Foot Print"
    u2022 In the new screen you have to select all key fields that should be taken into consideration in the pricing report.
    u2022 Highlight all relevant fields
    u2022 Press AND or OR appropriately
    If you select OR ; all condition tables are evaluated, that contain at least one of the selected key fields.
    If you select AND; all condition tables are evaluated, that contain all selected key fields.
    u2022 Now youu2019ll be directed to condition table list that are to be evaluated. Highlight relevant condition tables (Which you have created for your customers requirement)
    u2022 Select "Forward Foot Print" to define the screen structure for the pricing report.
    u2022 You can configure the report layout here.
    u2022 Once everything is done, save the report.
    To run a pricing report
    Transaction: V/LD
    u2022 Enter pricing report number
    u2022 Press EXECUTE
    u2022 Execute it by giving relevant data.
    You can get all values in one screen.
    Alternative option
    As an alternative to your question, you can use "Condition Information" Button option in the VK11, VK12 & VK13 transactions.
    But there you cannot see the value in the same screen.
    To view those, go to "Condition Information" button.
    BLANK All fields.
    Then Execute.
    You have to double click and go in to see the value.
    Best regards,
    Anupa

  • Using Table name as value for formula

    I am using a table as a list for lookup in other tables using vlookup. The entire table is the source, so I'd like to do something like:
    =Vlookup("value to lookup", TableName, 3)
    However, it seems the entire reference including columns must be included. Is this so?
    Thanks for your help.

    I understand why they didn't do this. Many times you do not need to look up the values in the A column, but in the B or C column. This forces the novice user, and advanced users, to fully evaluate their expression. e.g. Numbers should not make any assumptions about your intentions.
    A novice user might see experienced users that use the shorthand for examples, and assume that you MUST use the entire table, and they would go off making these very odd looking tables just to accommodate this misconception.
    I wouldn't doubt if they tested this with a small set of novice users and got some very confused responses. then nixed it.
    just my 2 cents from writing programs for those very users,
    Jason

  • How to Update the New Condition values for list of sales orders

    Hi
    Client requirement is they have set of old Sales Orders to be executed. But the material prices have been revised in the meantime. Now they want to update the current prices in the sales order before proceeding further.

    Hi,
    Though Lakshmi suggested you the right option, it may not be carried out for Sales Documents in random and will be much suited for Sales Documents with continuous sequence like 00010, 00011, 00012, 00013, etc.
    If you want to New Pricing to be carried out for Specific Lists of documents like 00010, 00017, 00043, 00057, etc, then you can do by following option:
    Go to Transaction "MASS", Select the Table - VBAK and Field - PRSTD and proceed by entering the Sales Documents Lists to carry out New Pricing.
    Hope this will be helpful to you.
    Rgds,

  • Standard Report for PO with Condition Value

    HI MM experts,
    I have checked all the existing standard reports ME2*, cud not find the report which gives the
    condition value means
    Eg; PO made on Pencils - Qty 10 NOs. @ Rs. 1/- (incl tax)
    condition value for the above is Rs.10, in std sap all reports are showing with net price only
    PO no. 45XXXXXXX dt 11.11.2011 - Pencil - qty-10 - Net price Rs.1
    Please let us know is there any Standard report which gives the condition value ie., Rs.10 along with or without Net price.

    Thank you! It is not meeting my requirement.
    I am looking for sap standard report to see the PO value or condition value which is nothing but
    Qty X net price. I do not want to touch the tables.
    for analysis purpose, i want to have the total PO value in any MM Standard Report.
    Today i am visiting every PO and looking at header data for PO value. or at item level Condition value.

  • Condition value (KWERT) in RED for sales order pricing

    Hi,
    Please advise as I find the condition value for my base price is showing up in Red color, which finaly leading to decide Net price.
    I have my access sequence at customer parent and customer child level. I have record aslo maintained at both level when it determines in sales order item conditions tab it shows both the price one in black color for customer parent (inactive) and another one in customer child level RED color (Active).
    Example -
    Base price -  records
    customer / MPG = record matianed $100
    sold to (customer child)  / MPG = record matianed $90
    Now in sales order condition tab  both price show up but $90 is valid and active but in RED color.
    Advise what is the reason and do we need correct some thing.
    thanks

    Hi,
    Could some one advise why do we see some time both the condition record data even though first access has found the data.
    we had record for customer hierarchy parent and sold to at lower level of hierarchy but if we maintain both the recprds it is showing twice the same condition type to show both records.
    Advise how can we resolve.

  • Condition Value(KONV-KWERT) for Sales Order

    Hi Experts,
    I have to print the condition value for ZTDC Condition Type from Header Value, currently it is getting the data from line item level. I am getting condition no document (KNUMV) from VBAK table and checking that condition no document in KONV table to retrieve the Condition Value(KWERT) but it is picking item level data.
    We need to get the condition value for the header level.
    Please help me.
    Points will be rewarded for useful answer.
    Thanks,
    Vinay.

    Hi!
    Try using table KONP (condition at position level) and KONH (condition at header level).
    Regards
    Tamá

  • Change condition value in debit memo and credit memo

    Hi Experts,
    When I am trying to create Credit Memo/Debit memo I could able to change the condition value for which condition type the value is there in Sales Order, but where as for other condition types it is not changeable.
    For example for Freight the Condition type is ZFRE,  value is 100 rs in sales order 90000001.
    If I create credit memo with reference to sales order I can able to change freight value from rs100 to rs 75.
    But what to do If I do not maintain freight value initially in sales order and if I want to adjust freight value ZFRE as rs 60 in credit memo. Presently I could not able to enter values in C/D Memo.
    Hope my question is clear to you all.
    Thanks & Regards
    Naresh

    Hi Naresh
    If I understand correctly,  then you want to include the freight amount automatically in the Credit memo which was not featuring in the Credit memo request.
    If it is so, then first see which is Pricing procedure working  for your Credit memo Request.
    In the Pricing Procedure, check the freight condition type (e,g. KF00).
    See the what is Acees sequence assigned to it and in the Access sequence what are table assigned.
    In  condition type KF00,  Access sequence assigned is KF00 and two condition tables "Incoterm" and "Incoterm Part1 + Part2" are assigned to it.
    In the Access sequnce of your Freight condition type , add another/new condition table "350" (Sales organisation). This table is already available in standard system.
    Select the new condition table row, and click on the "Field" in the dialog box till the technical names are opened up / shown inspite of warning.
    Once the technical names of the fields are shown , you can see the green light there, then save it.
    Now, create a condition record (VK11) for your Freight condition (e,g. KF00) by choosing the "Sales organisation" level  from the key combination.
    Then go to the Copy control (VTFA), find the combination "G2 from CR "> go to Item level > select item category G2N and go to details.
    Here, you change the "Pricing type" value to " H " and save it.
    Now, when you will create a Credit memo with reference to the Credit memo request, the  new Freight condition (KF00) will come into effect in the Credit memo, even if ,it was not there in the reference document.

  • Pricing procedure  change the condition value

    Hi,
    My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type.
    Now my pricing procedure doesnt allow me to make any changes and the condition type is greyed out. how can i calulate the tax in amount instead of % and be able to enter the value manually?
    Thanks,
    Challa

    Hi Challa,
    Price can be maintained either on percentage basis or on amount basis.
    So you have to make changes in condition type to convert it from percentage to amount.
    Go to IMG u2013 sales and distribution u2013 master data u2013 basic function u2013 pricing u2013 pricing control u2013 define condition type.
    Select maintain condition type from the options.
    Now select your condition type and click on detail.
    Change the calculation type from A (percentage) to B (Fixed amount) and save it.
    Now go to VK11 and maintain the new condition record for that condition type.
    Now create the sales order and go to condition tab and check out the pricing it will be amount.
    Please do this method if you find any difficulty then tell us.
    Regards
    Raj.

  • BAPI_PO_CHANGE - Change Condition Value

    Hi,
    I want to change the Condition value for a particular Condition type using BAPI_PO_CHANGE.
    I am populating values for following
    Import parameters
    PURCHASEORDER
    POHEADER (Fields PO_NUMBER)
    POHEADERX (Fields PO_PO_NUMBER = X)
    Tables
    POITEM (Fields PO_ITEM, PLANT, STGE_LOC
    POITEMX (Field PO_ITEM, PO_ITEMX = X, PLANT = X, STGE_LOC= X)
    POCOND (Fields COND_TYPE, COND_VALUE, CURRENCY)
    POCONDX (Fields COND_TYPE = X, COND_VALUE = X, CURRENCY = X)
    But PO condition value is not getting changed...
    Regards,
    Balaji Viswanath.

    Hi,
    I got the answer from Naren's earlier post... Given the answer below...
    Hi,
    I believe you can use this BAPI to PO conditions..
    Check this code..
    PARAMETERS: p_ebeln LIKE ekko-ebeln.
    DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
    DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
    DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
    DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.
    t_poitem-po_item = '00010'.
    t_poitem-net_price = '17.00'.
    APPEND t_poitem.
    t_poitemx-po_item = '00010'.
    t_poitemx-net_price = 'X'.
    t_poitemx-po_itemx = 'X'.
    APPEND t_poitemx.
    t_cond-itm_number = '00010'.
    t_cond-cond_type = 'P000'.
    t_cond-cond_value = '17.00'.
    t_cond-currency = 'USD'.
    t_cond-change_id = 'U'.
    APPEND t_cond.
    t_condx-itm_number = '00010'.
    t_condx-itm_numberx = 'X'.
    t_condx-cond_type = 'X'.
    t_condx-cond_value = 'X'.
    t_condx-currency = 'X'.
    t_cond-change_id = 'X'.
    APPEND t_condx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
    purchaseorder = p_ebeln
    TABLES
    return = t_return
    poitem = t_poitem
    poitemx = t_poitemx
    pocond = t_cond
    pocondx = t_condx.
    COMMIT WORK.
    The above code works fine for me...
    Thanks,
    Naren

Maybe you are looking for

  • Text wrap crash ID6 in OSX8

    ID CS6 - 8.0.0.370 OS 10.8 (12A269) Trying to reposition a text-wrapped box containing grouped text and a small logo within main A5 size page text causes ID6 to crash.  Have submitted a crash repro but no fix found yet. Recreating the inserted box el

  • Can't get eMac onto existing network

    Hi, I have an iMac G5 running Tiger 10.4.9 in my home office connected to a BT Homehub broadband modem / router via an ethernet cable. My wife uses an eMac 1GHz G4 running Panther 10.3.9 in a nearby bedroom that connects to the internet via Airport E

  • Regarding conversion of image to video

    Hi All, I need a small help. My requirement is to convert a text file in to an image file by attaching a background and that image is converted into video file by attaching audio file. please guide me how i can achieve this using sun java API. Is thi

  • Using a previous stage request id as a parameter for a later stage in a Set

    Hi, I am trying to create a request set that has three requests in it. One of the parameters of the second request in the set has to be the request id of the first request. I have looked at the documentation and on My Oracle Support but I can not fin

  • How can I "clean out" my iCloud storage on my iPad?

    Lately I have been getting messages saying that I con't have enough space in my iCloud storage to backup my iPad and lately my iPad has been acting up and going really slow, freezing, and closing out apps. How do I "clean out" my iCloud storage so th