Adding field values together using Advanced Field Management

Hi All
I have 5 currency fields on the Revenue page, that I need to add together into one field, Total Amount (currency field also). I have made Total Amount field read only, and using adv field mgt set the following default and ticked post default:
[<Revenue>]=[<cCorporate_Income_ITAG>]+[<cDonation_Income_ITAG>]+[<cFlower_Income_ITAG>]+[<cHost_ITAG>]+[<cMerchandise_Income_ITAG>]
It does not seem to work, is this possible at all or am I not doing something right.
Help....

I'm having a very similar issue. I'm trying to do the calculation as a default field value and receive the following error:
[1] An error occurred calculating the default value for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00412) [2] Could not evaluate expression 'Expr: '=[<cMetal_Rate_ITAG>]*[<nQuoted_Weight_ITAG>]*[<nDross_Factor_ITAG>]'' for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00394) [3] Generic SSA NOTOK error message.(SBL-DAT-00472)
I can make the update work via workflow, but this does not help during the initial creation of the record.
Any ideas?

Similar Messages

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Sort Rowset field values without using rowset.sort or sortscroll

    Hi dudes,
    any one tell me the different ways to sort a rowset values ie, single field or more than one field without using Rowset.sort or Sortscroll() method. i tried some ways but not get the optimum solution.

    My first question to you would be why you want alternatives for Rowset.sort or Sortscroll.
    Your question doesn't describe your true issue or motive to search for alternatives for delivered PeopleTools Apis & Buildin Functions.

  • Why is Field value sometimes used an sometimes not?

    In workflow, I have been able to execute rules using things like
    [<OpportunityType>]="New Accountt"
    I see in the expression builder help files that sometimes FieldValue is used i.e.
    (FieldValue('<OpportunityCategory>') = 'Small Deal'
    Could someone give a quick over view of the differences between using 'FieldValue' and not using 'FieldValue'?

    I posted this in the wrong forum so I will post this in the admin forum. thanks

  • Retain all form field values after input text field validation failure

    Hi,
    I have a form with 1 input text field, one Command button and one h:selectManyListbox. when User enteres some values in input field and clicks on command button named Add, the value is validated. If input is invalid, then an error message appears next to the field. If input is valid, then the value is added into h:selectManyListbox. Adding to list box is done using Ajax4Jsf.
    Probelm:
    Let's assume user entered 3 valid values one after another and all are added into the list box. When he enters a wrong value, and error message appears. however, the entered values in list box goes away. Is there a way to retain the values even after validation failure.
    Code is given below;
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <h:panelGroup>
         <h:outputLabel for="inputEmailId1" value="Email Id: " />
         <t:inputText value="#{bean.newEmailId}" id="inputEmailId1" maxlength="100" size="40" immediate="true">
              <t:validateEmail message="Enter a valid Email Id." />
         </t:inputText>
         <t:message for="inputEmailId1" styleClass="errorStyleClass" />
    </h:panelGroup>
    <t:panelGroup style="text-align: left;" >
         <a4j:commandButton value="Add" styleClass="buttonsSub" action="#{bean.addSharedEmails}"
              reRender="inputEmailId1, selectedSharedEmails" />
    </t:panelGroup>
    <t:panelGroup style="text-align: left;">
         <h:selectManyListbox id="selectedSharedEmails" size="8" style="width:100%;" immediate="true">
              <f:selectItems value="#{bean.sharedEmails}" />
         </h:selectManyListbox>
    </t:panelGroup>
    Thanks in advance,

    Use the attribute "binding" instead of a "value". This will remember the value. You can also make sure that you dont have anything in your constructor or class level that initialises that value to "" or null. Because if JSF is remembering your value but your initialization that gets triggered before the page loading resets it to default values then you need to change that part of the code.

  • Not able to get the taxonomy field value of meta data field type

    Hi Everyone,
    Not able to get the taxonomy filed value from the metadata filed type.
    Any one can help me on this.
    Label, TermGuid, ValidatedString are showing empty when i debug the code.
    Below is the code which i used to get the taxonomy filed value

    Hi,
    Can you please try getting this way?
    var taxonomyField = listItem.Fields.GetFieldByInternalName(fieldName) as TaxonomyField;
    if (taxonomyField.AllowMultipleValues)
    var fieldValuesCollection = listItem[taxonomyField.Title] as TaxonomyFieldValueCollection;
    return fieldValuesCollection.Select(x => new Guid(x.TermGuid)).ToList();
    else
    var fieldValue = listItem[taxonomyField.Title] as TaxonomyFieldValue;
    return new List<Guid>() { new Guid(fieldValue.TermGuid) };
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Fb60 business place field value assign to branch field

    Hi Experts,
    for vendor invoice creation in fi by using fb60 t.code i am giving business place & all required fields. My requriment is that business place value assign into branch name by using j_1i7_get_bussiness_place function module.suggest how to assign & how to develop logic in this function module(in ecc6.0).
    Regards,
    babu

    Thanks a lot,
    I am not referring to "Business area" here, but i am looking for the "Business Place / Section Code" fields.
    While doing Down Payment Request to Vendor in F-47, I want to fill  "Business Place / Section Code" fields but they are suppressed.
    And this field cannot be controlled through FSG / Posting Keys.
    Thanks,
    Pavan.

  • Send Multiple field values to Single Target field in Message Mapping

    Hi,
    My  Requirement is to Map Multiple fields to Single field in Target side.I have to send all the values concatenated and pass the same to target Field in Message Mapping.
    We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    Is there any way to simplify this requirement or we can use any UDF for this,kindly suggest.
    Regards,
    Madhu

    >>>We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    I don't think it's complex but  just that it occupies more mapping area
    Just write a simple UDF - a one line code and pass all your input variables.
    return var1+var2+var3+var4+...+var15;

  • Asign Numeric Field Value to Another Numeric Field

    I have 3 numeric fields on 3 different pages and I want to populate all 3 with the same value. If the value changes in 1 the other 2 should change. I've tried many variations, but I can't get it to work. Here is what I have right now. This is in the change event of "TopmostSubForm.Page1.SurveyNumber"
    TopmostSubForm.Page2.SurveyNumber2.rawValue = TopmostSubForm.Page1.SurveyNumber.rawValue;
    Any help is appriciated.
    Greg

    That is an interesting solution that I will use for next time - or I may use this idea now.
    In this case, the survey form is being emailed back and the XML data is already being stored in a database and then reported on. I would need to change all of the queries that produce the reports and change existing data. Not the end of the world.
    Even if I do go that route, it seems I should still be able to use the change event to populate the other field. What am I doing wrong?
    Greg

  • Can I bind multiple field values to a single field?

    Here's the scenario:  I have a form with 2 pages.  On the first page, there are three fields for a person's first, middle, and last name.  On the second page, there's a field that just says "Name".  I want the user to fill out the first, middle and last name fields, and then have the "name" field on the second page reflect all three fields from the first page.  How can I accomplish this?

    Add client-side script to the calculate event on the name field on page 2 to concatenate the name fields on page 1. For JavaScript, something like this:
    this.rawValue = form1.page1.subform1.firstName.rawValue + " " + form1.page1.subform1.lastName.rawValue;
    Steve

  • Sum Fields Values Identified by Another Field

    Working in LiveCycle ES2. Very basic experience in developing scripting. Have created an expandable Expense Reimbursement form with a replicating table for each expense item (e.g., row). Have a subform at the end of the form to capture the totals.  Have been able to script to capture the AmountSpent for all of the expense items:
    form1.MainForm.TotalsSF.Table4.Row2.EmployeeExpenses::calculate - (FormCalc, client)
    Sum(ExpenseDetailsTable[*].ExpenseTypeRow.AmountSpent)
    Need to script to capture the AmountSpent for only items that are identified as NonReimbursable:
    form1.MainForm.TotalsSF.Table4.Row3.NonReimbExpenses
    Have a checkbox in the table to identify an expense item as NonReimb.  This box replicates with the table.
    form1.MainForm.ExpenseDetailsTable.DetailsLocationRow.NonReimb
    How do I script a calculation to sum all of the AmountSpent for each item that is checked as NonReimb?

    You should post this in the forum for LiveCycle Designer. This forum is for documents created in Acrobat.

  • Validate a field on selection screen based on value entered on anothr field

    HI,
    There is a program with some fields in selection screen in EWM. The first field is Warehouse. I need to add another field 'Entity to Dispose' in such that what ever value I enter in Warehouse field, its corresponding values should only be displayed as F4 help for 'Entity to Dispose' field.
    For eg: If I select the warehouse as 0799(lets say), then the F4 help for Entity to Dispose field should display only the values which are related to warehouse 0799 (and any other values pertaining to other warehouse should not appear).
    Could anyone suggest, how this can be achieved?
    Thanks in advance.
    Regards,
    Pavan

    Hi,
    You can use FM
    DYNP_VALUES_READ
    DYNP_VALUES_UPDATE
    to read the another field value and Using that field build your internal table for f4 values.
    and use FM F4IF_INT_TABLE_VALUE_REQUEST for F4 values..
    do this on AT SELECTION-SCREEN ON VALUE REQUEST FOR <YOUR_F4_FIELDNAME>.

  • Access field value in ALV

    Hello experts,
    I have created an simple ALV Grid report, in that I have implemented double click event n I want to create a new ALV grid with new data to be displayed. So I want to access field value ie using SLIS_SELFIELD or anything. Could anyone please guide me how can I access a field value using slis though SLIS_SELFIELD has methods like SEL_TAB_FIELD... I wan to access something like SEL_FIELD_VALUE but its not available in the class.
    Thanks in advance...
    Regards,
    Viral Patel

    Hi Viral,
    SLIS_SELFIELD has an attribute named VALUE which holds the value you selected row & TBAINDEX holds the row number.
    Refer below code snippet :-
    FORM user_command
              USING s_ucomm LIKE sy-ucomm
              s_selfield TYPE slis_selfield.                    "#EC CALLED
      CASE s_ucomm.
        WHEN '&IC1'.
          CLEAR wa_podat2.
          READ TABLE itab_podat2 INTO wa_podat2 INDEX s_selfield-tabindex.
          CHECK sy-subrc = 0.
          IF wa_podat2-ebeln = s_selfield-value.
            SET PARAMETER ID 'BES' FIELD wa_podat2-ebeln.
            IF wa_podat2-ebeln IS NOT INITIAL.
              CALL TRANSACTION c_tcode.
            ENDIF.
    For above event to happen, you have to use parameter I_CALLBACK_USER_COMMAND of  REUSE_ALV_GRID_DISPLAY as below :-
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = l_repid
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = itab_fieldcat
          it_events               = itab_events
        TABLES
          t_outtab                = itab_podat2[].
    Regards
    Abhii
    Edited by: Abhii on Nov 30, 2009 11:25 AM

  • Submit button and using form fields

    Hello all, I'm a bit new to using LiveCycle.  I created a form in acrobat. I have all my fields working properly but I ran into a snag.  Seems as though people with reader can't open and fill in my form because of a saving issue.  So I figured... let's try LiveCycle. I opened the same form.
    This is what I can figure out: I need a submit button that can attach the current pdf to a new email and then grab some of the field values from the form.  These field values are used to fill in the subject and the "To" field in outlook. I had a button that could do this in acrobat, but it doesn't seem to work in LiveCycle.  Can someone please offer some guidance?  Thanks so much.
    This is what I had on the acrobat form that worked before LiveCycle if it helps at all (used from an adobe sample):
    // This is the form return e-mail. Its hardcoded
       // The form will return to the manager chosen from the dropdown bob
       var cToAddr = "[email protected]";
       // First, get the client CC e-mail address
       var cCCAddr = this.getField("manager").value;
       // Now get the beneficiary e-mail only if it is filled out
       var cBenAddr = this.getField("PlaceHolderEmail").value;
       // Get the name and req number
       var cName = this.getField("EmployeeName").value;
       var cNumber = this.getField("Department").value;
       // Set the subject and body text for the e-mail message
       var cSubLine = "Absence Notification - " + cName + " - " + cNumber;
       var cBody = "Thank you for submitting this form.\n" +
                   "Save the mail attachment as a record";
       //** Send the form data as an PDF attachment on an e-mail
       // Build the e-mail URL
       var cEmailURL = "mailto:" + cCCAddr + "?cc=" + cBenAddr
                     + "&subject=" + cSubLine
                     + "&body=" + cBody;
       this.submitForm({cURL: cEmailURL, cSubmitAs:"PDF", cCharSet:"utf-8"});

    Here is a sample form for your reference..
    https://acrobat.com/#d=CK4QgXn38l49bzQlhWtKSA
    You need to use the rawValue to get the field value in LiveCycle..
    for example
          // First, get the client CC e-mail address
         var cCCAddr = manager.rawValue;
    Thanks
    Srini

  • MANDATROTY FIELD VALUES

    Hi ,
    I have one interface.I'm sending data from sap to oracle database.I'm using sender side rfc adapter,reciever side jdbc.In my interface i'm sending employee information.In that i' have 60 fields.I'm sending 60 field values.In that 6 field valuse are mandatory for reciever side.These values Expected from sap side.Suppose sap didn't send these six fieds values.How xi raise exception to sap.Is it possible in xi.Pls help me.
               Advanced Thanks
    Ravi

    The simple solution to this could be use of alerts. You may check in mapping using standard funtions whether the source side value exist or not using standard functions. In case the value does not exist, simply use a UDF to trigger the alert as shown here.
    Triggering XI Alerts from a User Defined Function
    Regards,
    Prateek

Maybe you are looking for

  • Cannot install FCP X on Mac Pro (2,1).  Graphics card issue.

    I have a Mac Pro 2,1 (2 x 3 Ghz Quad Xeon, 16 GB RAM, and ATI Radeon X1900 XT (512 MB)) AND I cannot install FCP X.  It says graphics card not supported. What do I need to run FCP X?  If I need a better GPU, what card is recommended for this machine?

  • After I updated my iTunes, my devices are not appearing in iTunes and won't let me sync

    please help - after I updated my iTunes on my PC (Windows 8), my iTunes won't recognize any of my devices to sync anymore.  How can I fix this? trying to sync, iPod (5th generation), iPod Touch (4th generation), iPhone 5s and iPad 3rd generation than

  • Naming Exception: Name not found for local interface in 8.1

    Hi, I am trying to use local interfaces for my ejbs to call from my web application as both are running on the same server. I am migrating from 6.1 to 8.1 and with 6.1, I was using the remote interfaces. Now, I am planning to use local interfaces fro

  • I miss this Jaguar finder feature in Tiger

    In the Jaguar finder, you could drag directories to the toolbar; you can see an image of it here: http://www.actsofvolition.com/images/osxreview_threepaneview.gif In the current Tiger finder, I can click on the "egg" in the top right corner to put th

  • Disable All Notifications

    How can I temporarily disable all notifications on iPhone iOS 7? Is like to do this to conserve the battery or while in a netting and the Do Not Disturb still displays notifications.  Thanks in advance!