Using a function in SUMIF condition field

I have a rather vexing problem that I can't seem to solve.
I have a three column table. Column 1 is just labels, column 2 is dates, column three is values. What I want to do is look for all of the dates in column 2 that are within a certain month (say January), and if that date is within that month, take the value in column 3 and sum it. So if I have 5 rows with a column 2 date that falls in January, I want to add the five values together that are in those rows' column 3.
I have tried several ways to do this, but the current try looks like this (the name of the table where the values are is called "Detail" and I am referencing this function in another table):
=SUMIF(Detail :: $B$2:$B$12,MONTH(1),Detail :: $C$2:$C$12)
The dates are located in the column "$B$2:$B$12", the values I want to sum are located in the column just to the right "$C$2:$C$12". I put the function "MONTH(1)" in an attempt to find all dates in the column $B$2:$B$12 that are in January. However, I get a 0.
So the problem is with the condition. The examples in the help text all use string examples like "<5", but that is not very helpful for dates or for any kind of variable really.
Thanks in advance for any advice!
Message was edited by: Morris Zwick

The function you provided does not work in Excel as far as I can tell. And I believe it shouldn't for two reasons. First, the range contains dates while the condition, if it was a valid formula, would be an integer. These two are not very comparable. Second, MONTH requires a date for the parameter, not a digit. MONTH(1) doesn't make sense. It does not throw an error but it doesn't make sense. What you are be looking for is more like SUMIF(MONTH(B2:B12),1, C2:C12) but if there is a way to get that to work in Excel it is beyond me as I have not worked with Excel array formulas in the past and don't know how to get MONTH(B2:B12) to result in a range of values as required by the SUMIF formula.

Similar Messages

  • If I use the function to align adjacent fields, or the function to match size, duplicate fields are created. How can I get this to stop?

    I have a form that consists of columns and rows of fillable fields. When I use the edit function to make the height of the fields the same, or make the widths of the different columns of fields the same, or align the fields vertically or horizontally, duplicate fields are created. If these fields have a box around them, all of the duplicate fields' boxes are shown. The field names have the same base name, but have a suffix that is sequentially numbered. If I delete the "lower" numbered suffix names (with the same base name), the resulting field does not appear on the form.
    What is going on with the alignment or size process. I do use the CTRL-Click function to select the group of fields I am trying to size or align. If using the selection of multiple fields should be done differently, how can it be done?

    No. That's not what's happening. The duplicate fields are ONLY created after I employ the alignment or sizing functions. Weird.
    I was hoping that this was the result of some kind of setting in Acrobat, or that the duplicate fields would disappear when saving the form, but that's not what happened.
    Thanks for your input, however.

  • How to use XDOFX function in IF condition?

    Hi All,
    We have requirement to display the age group of a person person.
    i.e., if the person is age is in less than equal to 30 then display the age group as 1-30
    if >=31 and <=60 then 31-60
    if >=61 and <=90 then 61-99.
    for deriving for the age i have subtracted the sysdate from DOB
    <?xdofx:round((to_number(to_char(SYSDATE,'JSSSSS'))-to_number(to_char(to_date(DOB_DATE, 'YYYY-MM-DD'),'JSSSSS'))) div 100000)?>
    My question is how do i use this calculation in for deriving age group.
    Any pointers on this will be really helpful.
    Thanks,
    Jana

    I am using the below way but it is not working as desired it is always printing the derived value.
    <?xdofx:if (xdofx:round((to_number(to_char(SYSDATE,'JSSSSS'))-to_number(to_char(to_date(DOB_DATE, 'YYYY-MM-DD'),'JSSSSS'))) div 100000)) <= 30 then '(1-30)' else '(1-100)' end if?>
    Let me know if i missed anything..
    Thanks,
    Jana

  • Using Match function in FR Reports

    Hi,
    Can anyone pls. let me know how i can use Match function in FR ? I've a Report where i'm using 2 Grids. In one Grid1 i'm using Entity under page and ICP dimension as Column. In Grid2, i'm using ICP under page and would like to use Match function where the condition is, if i select ICP member from Page, it should show the corresponding Entities in Grid1
    Thanks,
    PVR

    I don't think what your trying to do is available "out of the box", we have used a workaround to do what you want:
    - include idescendants for the member but apply suppression on the member names that ended in rollup.
    (we were lucky in that the parent members were standardized to contain rollup as the description name).
    Cheers, Iain

  • Using SUMIFS on iPad Numbers has anyone had trouble using the keypad relational symbols in the "conditions" field?

    The iPad Numbers has a very nice data entry keyboard for expressing conditions.  They have the usual =, <, > but also have the single symbol version of >=, <= and <> (as an equals with a slash through it), however, if you try to use these keypad keys in the conditions field of the SUMIFS, it returns a syntax error.  After seeing some examples of Numbers '09 I discovered I had to express a relation inside double quotes, " ", which means the text keyboard is displayed and the very nice data entry keyboard is gone along with the nice symbols.  Has anyone seen this and am I doing something wrong or is this another bug?  Thanks.

    The xxxIF functions have (for as long as I have used them) required a text string as the argument unless it was equal to a value of a cell, with no logical operators. so it is not something new, its been that way for decades and I personally think Apple might have done it differently if they didnt have to maintain compatiability with older spreadsheet programs.
    i.e. not a bug, ensures backward compatability.
    Jason

  • Condition field in XL Reporter Get Other Data function

    I want to use the XL Reporter "Get Other Data" function to get data from a file not in the current Business Partner dimension  BPA.  Using the SalesPerson code SlpCode, I want to get the SalesPerson Name, SlpName. What is the value for the condition field to restrict the retrieval to just the one record that matches the SlpCode in the BPA dimension?  I've tried ocrd.SlpCode=oslp.SlpCode.  I've tried SlpCode=oslp.SlpCode. But I either get all the names in the Salesperson file or I get some type of syntax error.

    Jim,
    When you say I should be able to pass a parameter, do you mean while using the XLR "Get other data" function?  I thought that's what I was doing when I filled out the Get other data screen with the userid, password, then I specified the OSLP table, requesting SlpName in the Fields section, and then in Condition, I specified OCRD.SlpCode = OSLP.SlpCode.   When the report ran, I got a "#ixGetData error: The multi-part identifier "OCRD.SlpCode" could not be bound".   I tried substituting the BPA dimension qualifier, ie: BPA.SlpCode, but got the same error.
    If I removed the initial qualifier in the Condition field, ie: SlpCode = OCRD.SlpCode, when I ran the report I got ALL Salespersons names, not just the one that matched the SlpCode field on the current Business Partner line.

  • How to get field separator in flat file using GUI_DOWNLOAD function

    hi,
    how to get field separator in flat file using GUI_DOWNLOAD function.
                                    thanking you.

    Hi,
      Use WRITE_FIELD_SEPARATOR = 'X'.
      Check this sample code
    REPORT  z_file_download.
    DATA: w_name(90) TYPE c.
    DATA:
      BEGIN OF fs_flight,
        carrid   LIKE sflight-carrid,
        connid   LIKE sflight-connid,
        fldate   LIKE sflight-fldate,
        price    LIKE sflight-price,
        currency LIKE sflight-currency,
      END OF fs_flight.
    DATA:
      BEGIN OF fs_head,
        carrid(10) TYPE c,
        connid(10) TYPE c,
        fldate(10) TYPE c,
        price(10) TYPE c,
        curr(10) TYPE c,
      END OF fs_head.
    DATA:
      t_head LIKE
       TABLE OF
             fs_head.
    DATA:
      t_flight LIKE
         TABLE OF
               fs_flight.
    fs_head-carrid = 'CARRID'.
    fs_head-connid = 'CONNID'.
    fs_head-fldate = 'FLDATE'.
    fs_head-price  = 'PRICE'.
    fs_head-curr   = 'CURRENCY'.
    APPEND fs_head TO t_head.
    SELECT-OPTIONS:
      s_carrid FOR fs_flight-carrid.
    START-OF-SELECTION.
      SELECT carrid
             connid
             fldate
             price
             currency
        FROM sflight
        INTO TABLE t_flight
       WHERE carrid IN s_carrid.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        filename                      = 'D:\flight.xls'
       FILETYPE                      = 'ASC'
    *   APPEND                        = ' '
        WRITE_FIELD_SEPARATOR         = 'X'
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    *   CONFIRM_OVERWRITE             = ' '
    *   NO_AUTH_CHECK                 = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   WRITE_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = t_head
    EXCEPTIONS
       FILE_WRITE_ERROR              = 1
       NO_BATCH                      = 2
       GUI_REFUSE_FILETRANSFER       = 3
       INVALID_TYPE                  = 4
       NO_AUTHORITY                  = 5
       UNKNOWN_ERROR                 = 6
       HEADER_NOT_ALLOWED            = 7
       SEPARATOR_NOT_ALLOWED         = 8
       FILESIZE_NOT_ALLOWED          = 9
       HEADER_TOO_LONG               = 10
       DP_ERROR_CREATE               = 11
       DP_ERROR_SEND                 = 12
       DP_ERROR_WRITE                = 13
       UNKNOWN_DP_ERROR              = 14
       ACCESS_DENIED                 = 15
       DP_OUT_OF_MEMORY              = 16
       DISK_FULL                     = 17
       DP_TIMEOUT                    = 18
       FILE_NOT_FOUND                = 19
       DATAPROVIDER_EXCEPTION        = 20
       CONTROL_FLUSH_ERROR           = 21
       OTHERS                        = 22
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'D:\flight.xls'
          filetype                = 'ASC'
          append                  = 'X'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_flight
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc EQ 0.
        MESSAGE 'Download successful' TYPE 'I'.
      ENDIF.
      IF sy-subrc <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • How to use complex function as condition in Oracle Rule Decision Table?

    How to use complex function as condition in Oracle Rule Decision Table?
    We want to compare an incoming date range with the date defined in the rules. This date comparison is based on the input date in the fact & the date as defined for each rule. Can this be done in a decision table?

    I see a couple of problems here.
    First, what you posted below is not a syntactically valid query. It seems to be part of a larger query, specifically, this looks to be only the GROUP BY clause of a query.
    Prabu ammaiappan wrote:
    Hi,
    I Have a group function in the Query. Below is the Query i have used it,
    GROUP BY S.FREIGHTCLASS,
    R.CONTAINERKEY,
    S.SKU,
    S.DESCR ||S.DESCRIPTION2,
    S.PVTYPE,
    RD.LOTTABLE06,
    R.WAREHOUSEREFERENCE,
    RD.TOLOC,
    R.ADDWHO,
    R.TYPE,
    S.CWFLAG,
    S.STDNETWGT,
    S.ORDERUOM,
    R.ADDDATE,
    C.DESCRIPTION,
    (CASE WHEN P.POKEY LIKE '%PUR%' THEN 'NULL' ELSE to_char(P.PODATE,'dd/mm/yyyy') END),
    NVL((CASE WHEN R.ADDWHO='BOOMI' THEN RDD.SUPPLIERNAME END),SS.COMPANY),
    RDD.BRAND,
    S.NAPA,
    RD.RECEIPTKEY,
    R.SUSR4,
    P.POKEY,
    RDD.SUSR1,
    r.STATUS, DECODE(RDD.SUSR2,' ',0,'',0,RDD.SUSR2),
    rd.SUSR3Second, the answer to your primary question, "How do I add a predicate with with a MAX() function to my where clause?" is that you don't. As you discovered, if you attempt to do so, you'll find it doesn't work. If you stop and think about how SQL is processed, it should make sense to you why the SQL is not valid.
    If you want to apply a filter condition such as:
    trunc(max(RD.DATERECEIVED)) BETWEEN TO_DATE('01/08/2011','DD/MM/YYYY') AND TO_DATE('01/08/2011','DD/MM/YYYY')you should do it in a HAVING clause, not a where clause:
    select ....
      from ....
    where ....
    group by ....
    having max(some_date) between this_date and that_date;Hope that helps,
    -Mark

  • Using AGO function in calculated fields in Analysis

    Oracle BI 11g.
    Hi!
    I have time-hierarchy and try to use function Ago in calculated fields. I created Analysis and add columns Year, Revenue, Revenue (1 year ago). In formula of column "Revenue (1 year ago)" I wrote:
    AGO("Sales"."Revenue", "H Calendar"."Year", 1)
    "H Calendar"."Year" - is level in my time Hierarchy "H Calendar".
    But when I clicked [OK], I got error: [nQSError: 27037] Unresolved level: "H Calendar"."Year".(HY000)
    What I do wrong?

    Hi,
    I think it's a bug, try this.
    If Analysis you have a time folder with this object dimension:
    Time Hierarchy
    Total Time
    Year
    Quarter
    Month
    Week
    Day
    And a measures 1- Revenue try to calculate the criteria like this (write in the level the formula "Time"."Time Hierarchy".Year)
    For example:
    AGO("Base Facts"."1- Revenue", "Time"."Time Hierarchy".Year,1)
    If you have the sample sales of the 11g installed try this on A - Sample Sales
    SELECT s_0, s_1, s_2 FROM (
    SELECT
    0 s_0,
    "A - Sample Sales"."Time"."T05 Per Name Year" s_1,
    AGO("A - Sample Sales"."Base Facts"."1- Revenue","Time"."Time Hierarchy"."Year",1) s_2
    FROM "A - Sample Sales"
    ) djm ORDER BY 1, 2 ASC NULLS LAST
    For me it works.
    Regards,
    Gianluca

  • Extracting Text Field using a function module

    Hi Experts,
          We are trying to extract a test field from the R3 using a Function Module.
                  The Text from R3 Looks like this
                 Input Parameters
                  ID -1
                  SEQ 2
    It displays
              Column 1 Column2
               This is test
               strategy for Function
               Module xxxx
    So we put in some parameters to get this test field displayed. As you see the above is just one field but they are in different lines
            So what happens when we put in the database is it adds a new field
    Eg
    ID SEQ Column 1 Column2
    1   2        *            This is test
    1   2        *            strategy for Function
    1   2        *            Module xxxx
    The result that we need is
    D SEQ Column 1 Column2
    1   2        *            This is test strategy for Function Module xxxx
    How can we handle this in the Query Transform
    Your help in advance is appreciated.
    Thanks
    Edited by: alangilbi on Nov 17, 2010 3:49 AM

    Have you considered using a pivot transform to get your rows into columns and then a query transform to concatenate the columns together?

  • How to use User Options and User-Defined Fields in DC Group function?

    Dears,
    As title, when should I use above fields?  I did not see the related information in SAPME help library.
    Thanks!

    The user options fields are just information fields you can store at the Data Collection Maintenance activity. You can think of these as extra information fields for storage purposes only.  I can't give you a use case except to say 'information fields' only.
    With regards to the User-Defined fields in DC Group - you can think of these as extra data fields to be collected.  They will appear immediately underneath the data parameter they are defined in in the DC Plug-in for the POD.  They do not have limits but are just extra pieces of data you may want to collect about the specific parameter.

  • Using Calendar functions on more than one field

    Could someone clarify the date functions of 0Calendar for me?
    We are told that you can only point the calendar functions to one date field in a InfoCube/Query.  I find this extremely limiting, for example, Validity Start Date and Validity End Date within the Contract Management content 0SRCT, we want to be able to view summaries at a day/week/month/quarter/year level on both fields, but we are being told we can only do this for one of the fields, and the other one we would have to create a custom field.  Also does the calendar function apply to a Infocube level or query level, as some of the multi cube (0SR_MC02) have 0CAL_DAY in at least 3 of the DSOs, how do you know which one is referenced in the query?
    Any information on this would be appreciated.
    Thanks.

    The problem is that the DISTINCT|UNIQUE clause does not take a braketted list but applies across all columns.
    SELECT DISTINCT(dummy, dummy) FROM dual;  -- Invalidwill therefore give the same error as
    SELECT (dummy, dummy) FROM dual;  -- InvalidYou can only get away with
    SELECT DISTINCT(dummy) FROM dual;  -- misleadingbecause it is legal to bracket a single expression, like this
    SELECT (dummy) FROM dual;

  • How to use this FUNCTION VIEW_MAINTENANCE

    hi
    i create a table zxxxx and set Data Browser/Table View Maint:
                                                  Display/Maintenance Allowed.
    so i want to use the function of "VIEW_MAINTENANCE" to update and create new
    inforation the TABLE.
    but i don't know VIEW_MAINTENANCE which of parameter meaning.
    and how to control it.
    who can give demo show.
        CALL FUNCTION 'VIEW_MAINTENANCE'
          EXPORTING
            VIEW_ACTION               = 'S' "DISPLAY
            VIEW_NAME                 = W_VIEWNAME "W_TABNAME
          TABLES
            X_HEADER                  = L_VIMDESC
            X_NAMTAB                  = L_VIMNAMTAB
            DBA_SELLIST               = L_VIMSELLIST
            EXCL_CUA_FUNCT            = L_VIMEXCLFUN.
    what meaning and availability value : EXCL_CUA_FUNCT-FUCNTION ,
    how to use         X_HEADER  
            X_NAMTAB           
            DBA_SELLIST       these parameter.
    thank you very much.

    Please check doucmentation maintained for FM - VIEW_MAINTENANCE.
    CUA functions to be deactivated dynamically
    At runtime, the table EXCL_CUA_FUNCT must contain all those functions which are not to be callable in data processing , i.e. which are to be dynamically deactivated in the CUA interface at runtime. This is useful, e.g. for the following functions whose handling in cluster maintenance is ambiguous:
    - 'ANZG' --> switch from 'Change' to 'Display' mode,
    makes no sense in a maintenance cluster
    - 'AEND' --> switch from 'Display' to 'Change' mode
    makes no sense in a display cluster
    - 'xxxx' --> other functions at the callers discretion.
    The table must have the structure VIMEXCLFUN, as follows:
    FUNCTION(4) TYPE C, ---> contains the function codes to be deactivated dynamically
    MESSAGE(3) TYPE C. ---> online help auxiliary field (not yet supported)
    Return ->
    CUA functions to be deactivated dynamically
    Database Access Selection Conditions The table DBA_SELLIST contains the database access selection conditions. The following fields must be filled:
    Field name Contents       
    NEGATION NOT, if the condition is to be negated       
    SPACE otherwise       
    VIEWFIELD name of the field to which the condition is to apply       
    OPERATOR logical operator of the condition (e.g. 'EQ', 'NE',...)       
    VALUE comparison value of the condition in external format       
    AND_OR AND, if the next line of the condition is to be linked       
    to the current line by logical AND       
    OR , if the next line of the condition is to be linked       
    to the current line by logical OR       
    SPACE, if no further line follows       
    DDIC S, if the view field in DD is flagged as a subset field       
    (PM = 'S')       
    SPACE otherwise       
    TABIX Index of the view field in the view nametab     
    Notes:
    1. Valid operators are: (see also ABAP doc.)
    EQ - equals
    NE - not equal to
    GT - greater than
    GE - greater than or equal to
    LT - less than
    LE - less than or equal to
    CA - only for strings: contains at least one character of the comparison string
    CN - only for strings: negation of CA
    CO - only for strings: contains only characters from the comparison string
    NA - only for strings: negation of CO
    CP - only for strings: contains the pattern in the comparison string
    NP - only for strings: negation of CP
    CS - only for strings: contains the string in the comparison string
    NS - only for strings: negation of CS
    LK - like the LIKE operator in a SELECT ... WHERE clause
    2. The function module does not (yet) check whether the selection conditions passed here are compatible with any conditions in the Data Dictionary view definition. The caller must ensure that this is the case.
    Return ->
    Database Access Selection Conditions

  • How to use node functions in Message mapping !!

    Hi  Gurus,
    I have got one issue in message mapping, please can any one put some ideas on this !!
    Source Structure
    <Group_ZA>  0..unbound
         <D02_ZA>           0.. unbound
             ZA_01             0..1   - QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
          iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
         <D02_ZA>          
             ZA_01             0..1     QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
    <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
    <D02_ZA>          
             ZA_01             0..1     QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    </Group_ZA>
    Target Structure
    ProductActivityNotification                                                       0..unbound
                          ProductActivity                                                             1..1
                                        Item                                                                 1..unbound
                                              Inventory                                                   0..1
                                                     UnrestrictedUseQuantity                    0..1
    The Group_ZA comes 'n' number of times and D02_ZA comes sometimes 5 times and sometimes 6 times etc.,
    ZA_01 field can come with 5 to 6 different values like 'QA','QD','QN' etc., sometimes ZA_01 comes only 3 times QA,QD,QN.
    if ZA_01 = 'QA' then only  we need to pass   ZA_02 value on to ''UnrestictedUseQuantity'' (target side),
    I mapped the fields, the vlaue ZA_02  passing properly on to 'UnrestictedUseQuantity' when D02_ZA comes 5 or 6 times, all the times 'QA'  value comes into ZA_01 field. In case if QA value missed or doesn't come from source, the Target side ' 'UnrestictedUseQuantity' field last value comes into last but one.
    Ex: QA value is in 3 times, but I have 4 source message on top. values comes into target side like
    20
    20
    20
    suppose to come like
    20
    20
    -- (Space)
    20
    Please required your valuable inputs in bit urget !!
    how to map field level please?
    Many Thanks in Advance
    Kind Regards
    San

    Petre:
    If you want to use standard functions then you try this:
    If-->currentdate -OR- Constant(01.02)
    currentdate -OR- Constant(02.02)   --> OR -->
    currentdate -OR- Constant(03.02)
    Then give some output
    Else give some output
    So give the output for the first two conditions to another OR and the result of the third to the same OR. So whenever the condition is true in any of the condition you will get the THEN value else you will get the ELSE value.
    ---Satish

  • Spry: Conditionally Fields

    Hi,
    I am using DW CS3 to create spry fields.
    I have a situation in which I want one field to become
    required based upon the value of another field. In my page I added
    the following:
    var chkOtherValid = function(value, options){
    var sel = document.getElementById("Chk");
    var Chk_value = sel.options[sel.selectedIndex].value;
    if ((Chk_value == 'OTH') && (value == '')) {
    return false;
    return true;
    var chkOtherValid = new
    Spry.Widget.ValidationTextField("spryChkOther", "custom",
    {isRequired:false});
    Within my form I have the following:
    <span id="spryChkOther">
    <input type="text" name="ChkOth" size="23" maxlength="15"
    onblur="this.value=this.value.toUpperCase();" />
    <span class="textfieldRequiredMsg">A value is
    required.</
    span></span> </td>
    </tr>
    My problem is that I am no getting the expected result.
    Can someone please help me.
    Thank You.
    Regards,
    Al

    >>
    if ((Chk_value == 'OTH') && (value == '')) {
    >>
    I´m sure this fails because you´re using an
    && (means AND) comparison here, though the selected value
    can only match one of both conditions. Reckon you´ll rather
    have to use OR instead -- means:
    if ((Chk_value == 'OTH') || (value == '')) {

Maybe you are looking for

  • How to Open Find/Change with menuAction

    Hi, Read the question carefully I'm asking how to open the Find/Change dialog, not how to toggle it. Toggling is easy enough: app.menuActions.itemByName("$ID/Find/Change...").invoke(); But if it is open, this will close it, and vice versa. I'm wonder

  • Can't be able to connect mobile and the servlet ?(Urgent)

    hi to all java Gurus.. I need ur help .. My problem is that I am not be able to connect my mobile Nokia N70 to the servlet and when I am trying with Emulator its working fine but having problem only with physical device. On that I have to connect to

  • DPM 2012 R2 agent update on Windows 2003 server x64 - Exchange

    According to the release notes on http://blogs.technet.com/b/dpm/archive/2014/04/23/now-available-update-rollup-2-for-system-center-2012-r2-data-protection-manager.aspx the following workloads are supported on Win2K3 with DPM2012 R2 UR2: SQL 2005 SQL

  • GW802HP1 Openoffice Integration ODT issue

    Hi, we just experienced that since version 3.2 (3.2 upwards, also with 3.2.1-8)of Novell Openoffice it is not possible to save Opendocument Text (odt) in a groupwise library under Groupwise 8.02 HP1 Windows XP Client. It doesnt matter wether you save

  • Printer won't receive signal after updating to Yosemite

    I have ran a Xerox Phaser 3100 off of my iMac for quite some time and it has been totally fine. I just finished updating to Yosemite and now my printer won't receive anything. Window keeps saying ' Printer 'filter' failure'. I've tried adding and res