Alternative for keyword SUM

Hello experts,
My code is like below....
Loop at itab into wa.
at new WERKS.
SUM.
endat.
endloop.
Our CLNT standards doesn't allow to use keyword SUM.
any alternative solution for kewword SUM ?
pls provide suggestions..........
Thanks in adavnce.
Zak.

REPORT  ZSRK_068                                .
DATA : BEGIN OF ITAB OCCURS 0,
       WERKS LIKE MARC-WERKS,
       MTART LIKE MARA-MTART,
       F1 TYPE I,
       END OF ITAB.
DATA : L_SUM TYPE I,
       FLAG.
DATA : ITAB1 LIKE ITAB OCCURS 0 WITH HEADER LINE.
ITAB-WERKS = '1000'.
ITAB-MTART = 'XYX'.
ITAB-F1 = 5.
APPEND ITAB.
CLEAR ITAB.
ITAB-WERKS = '1000'.
ITAB-MTART = 'XXX'.
ITAB-F1 = 10.
APPEND ITAB.
CLEAR ITAB.
ITAB-WERKS = '2000'.
ITAB-MTART = 'XXY'.
ITAB-F1 = 4.
APPEND ITAB.
CLEAR ITAB.
ITAB-WERKS = '3000'.
ITAB-MTART = 'XYX'.
ITAB-F1 = 2.
APPEND ITAB.
CLEAR ITAB.
ITAB-WERKS = '3000'.
ITAB-MTART = 'YYY'.
ITAB-F1 = 6.
APPEND ITAB.
CLEAR ITAB.
ITAB-WERKS = '3000'.
ITAB-MTART = 'ZZZ'.
ITAB-F1 = 1.
APPEND ITAB.
CLEAR ITAB.
SORT ITAB BY WERKS.
LOOP AT ITAB.
  L_SUM = L_SUM + ITAB-F1.
  AT END OF WERKS.
    FLAG = 'X'.
  ENDAT.
  IF FLAG EQ 'X'.
    ITAB-F1 = L_SUM.
    MODIFY ITAB TRANSPORTING F1
                WHERE WERKS EQ ITAB-WERKS.
    CLEAR : FLAG , L_SUM.
  ENDIF.
  CLEAR ITAB.
ENDLOOP.
LOOP AT ITAB.
  WRITE : / ITAB-WERKS , ITAB-MTART, ITAB-F1.
ENDLOOP.

Similar Messages

  • Alternative for TOAD on Linux

    Hi
    I am migrating my desktop from Windows 2000 to Redhat Linux 9.
    I have been using third party tool TOAD for accessing the data from the database. As TOAD does not have a Linux setup, can any one suggest an alternative for the same.
    Thanks in advance.
    Manoj

    you are posting in the wrong forum.. this forum is for the Desktop Datacenter Oracle on Linux VMware kit..
    you'll get better luck in other forums or better yet, Google.. I put toad and linux as keywords and got lots of hits on TOra.. so you might research that way..
    good luck,
    locking.

  • Alternative for UNION

    Hi
    I have to simple sets of query Q1 and Q2, both of them have the SUM function used, they work just fine separately, but we want the result in 1 single query.
    The problem is that Q1 has a master/detail table relation in the join so whenever we join both queries together the result set is being summed incorrectly according to the number of detail records found in the detail table.
    Of course the solution is to use UNION operator.
    What I'm looking for is an alternative for the UNION
    Are there any analytical functions where I can have the result???
    Query examples:
    TONY@DEV> SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QTY
      5  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      6       ISTD_STOCK_MOUVEMENTS_D D,
      7       IACD_AUXILIARIES X
      8  WHERE M.TMVS_CODE = D.TMVS_CODE
      9    AND M.CPNY_CODE = D.CPNY_CODE
    10    AND M.BRCH_CODE = D.BRCH_CODE
    11    AND M.MVTS_YEAR = D.MVTS_YEAR
    12    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    13    AND X.AUXL_TYPE = M.AUXL_TYPE
    14    AND X.AUXL_CODE = M.AUXL_CODE
    15    AND X.AUXL_RPRSNT_TITLE = 1
    16    AND M.AUXL_TYPE = 1
    17  GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE;
      GRP_CODE  AUXL_CODE ITEM_CODE                                         QTY
             1      33405 4030010                                           318
             1      33405 4030020                                            22
             1      33405 4030030                                            22
             1      33408 4030010                                            14
             1      33408 4030020                                             2
             1      33408 4030030                                             2
             1      33410 4030010                                           992
             1      33410 4030020                                            42
             1      33410 4030030                                            42
             1      33413 4030010                                           789
             1      33413 4030020                                            38
      GRP_CODE  AUXL_CODE ITEM_CODE                                         QTY
             1      33413 4030030                                            38
             1      33413 5010008                                             1
             1      33413 5010009                                             1
             1      33413 5010012                                             1
    15 rows selected.
    Elapsed: 00:00:00.00
    TONY@DEV> SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         X.AUXL_CODE,
      3         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT,
      4         SUM(NVL(A.AGAC_AMT, 0)) PAID,
      5         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
      6  FROM IACD_PAYM_AGING A,
      7       IACD_AUXILIARIES X
      8  WHERE X.AUXL_TYPE = A.AUXL_TYPE
      9    AND X.AUXL_CODE = A.AUXL_CODE
    10    AND X.AUXL_RPRSNT_TITLE = 1
    11  GROUP BY X.AUXL_RPRSNT_TITLE, X.AUXL_CODE;
      GRP_CODE  AUXL_CODE        AMT       PAID        DUE
             1      33405    845.248      93.34    751.908
             1      33408     37.334      13.34     23.994
             1      33410   2655.328     394.68   2260.648
             1      33413   2103.855    293.302   1810.553
    Elapsed: 00:00:00.00
    TONY@DEV> SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QUANTITY,
      5         NULL AMT,
      6         NULL PAID,
      7         NULL DUE
      8  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      9       ISTD_STOCK_MOUVEMENTS_D D,
    10       IACD_AUXILIARIES X
    11  WHERE M.TMVS_CODE = D.TMVS_CODE
    12    AND M.CPNY_CODE = D.CPNY_CODE
    13    AND M.BRCH_CODE = D.BRCH_CODE
    14    AND M.MVTS_YEAR = D.MVTS_YEAR
    15    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    16    AND X.AUXL_TYPE = M.AUXL_TYPE
    17    AND X.AUXL_CODE = M.AUXL_CODE
    18    AND X.AUXL_RPRSNT_TITLE = 1
    19    AND M.AUXL_TYPE = 1
    20  GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE
    21  UNION
    22  SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
    23         X.AUXL_CODE,
    24         NULL ITEM_CODE,
    25         NULL QUANTITY,
    26         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT,
    27         SUM(NVL(A.AGAC_AMT, 0)) PAID,
    28         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
    29  FROM IACD_PAYM_AGING A,
    30       IACD_AUXILIARIES X
    31  WHERE X.AUXL_TYPE = A.AUXL_TYPE
    32    AND X.AUXL_CODE = A.AUXL_CODE
    33    AND X.AUXL_RPRSNT_TITLE = 1
    34  GROUP BY X.AUXL_RPRSNT_TITLE, X.AUXL_CODE;
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33405 4030010                                           318
             1      33405 4030020                                            22
             1      33405 4030030                                            22
             1      33405                                                          845.248      93.34    751.908
             1      33408 4030010                                            14
             1      33408 4030020                                             2
             1      33408 4030030                                             2
             1      33408                                                           37.334      13.34     23.994
             1      33410 4030010                                           992
             1      33410 4030020                                            42
             1      33410 4030030                                            42
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33410                                                         2655.328     394.68   2260.648
             1      33413 4030010                                           789
             1      33413 4030020                                            38
             1      33413 4030030                                            38
             1      33413 5010008                                             1
             1      33413 5010009                                             1
             1      33413 5010012                                             1
             1      33413                                                         2103.855    293.302   1810.553
    19 rows selected.
    Elapsed: 00:00:05.03
    TONY@DEV>Here are samples from the joined query
    TONY@DEV> ed
    Wrote file afiedt.buf
      1  SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QUANTITY,
      5         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT,
      6         SUM(NVL(A.AGAC_AMT, 0)) PAID,
      7         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
      8  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      9       ISTD_STOCK_MOUVEMENTS_D D,
    10       IACD_AUXILIARIES X,
    11       IACD_PAYM_AGING A
    12  WHERE M.TMVS_CODE = D.TMVS_CODE
    13    AND M.CPNY_CODE = D.CPNY_CODE
    14    AND M.BRCH_CODE = D.BRCH_CODE
    15    AND M.MVTS_YEAR = D.MVTS_YEAR
    16    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    17    AND X.AUXL_TYPE = M.AUXL_TYPE
    18    AND X.AUXL_CODE = M.AUXL_CODE
    19    AND X.AUXL_TYPE = A.AUXL_TYPE
    20    AND X.AUXL_CODE = A.AUXL_CODE
    21    AND X.AUXL_RPRSNT_TITLE = 1
    22    AND M.AUXL_TYPE = 1
    23* GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE
    TONY@DEV> /
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33405 4030010                                         10494  30428.928    3360.24  27068.688
             1      33405 4030020                                           726    845.248      93.34    751.908
             1      33405 4030030                                           726    845.248      93.34    751.908
             1      33408 4030010                                           140     373.34      133.4     239.94
             1      33408 4030020                                            20     37.334      13.34     23.994
             1      33408 4030030                                            20     37.334      13.34     23.994
             1      33410 4030010                                         56544 164630.336   24470.16 140160.176
             1      33410 4030020                                          2394  10621.312    1578.72   9042.592
             1      33410 4030030                                          2394   13276.64     1973.4   11303.24
             1      33413 4030010                                         56808  151477.56  21117.744 130359.816
             1      33413 4030020                                          2736  10519.275    1466.51   9052.765
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33413 4030030                                          2736  10519.275    1466.51   9052.765
             1      33413 5010008                                            72   2103.855    293.302   1810.553
             1      33413 5010009                                            72   2103.855    293.302   1810.553
             1      33413 5010012                                            72   2103.855    293.302   1810.553
    15 rows selected.
    Elapsed: 00:00:03.09
    TONY@DEV> ED
    Wrote file afiedt.buf
      1  SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QUANTITY,
      5         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT,
      6         SUM(NVL(A.AGAC_AMT, 0)) PAID,
      7         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
      8  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      9       ISTD_STOCK_MOUVEMENTS_D D,
    10       IACD_AUXILIARIES X,
    11       IACD_PAYM_AGING A
    12  WHERE M.TMVS_CODE = D.TMVS_CODE
    13    AND M.CPNY_CODE = D.CPNY_CODE
    14    AND M.BRCH_CODE = D.BRCH_CODE
    15    AND M.MVTS_YEAR = D.MVTS_YEAR
    16    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    17    AND X.AUXL_TYPE = M.AUXL_TYPE
    18    AND X.AUXL_CODE = M.AUXL_CODE
    19    AND X.AUXL_TYPE = A.AUXL_TYPE
    20    AND X.AUXL_CODE = A.AUXL_CODE
    21    AND A.AUXL_CODE = M.AUXL_CODE
    22    AND A.AUXL_TYPE = M.AUXL_TYPE
    23    AND X.AUXL_RPRSNT_TITLE = 1
    24    AND M.AUXL_TYPE = 1
    25* GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE
    TONY@DEV> /
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33405 4030010                                         10494  30428.928    3360.24  27068.688
             1      33405 4030020                                           726    845.248      93.34    751.908
             1      33405 4030030                                           726    845.248      93.34    751.908
             1      33408 4030010                                           140     373.34      133.4     239.94
             1      33408 4030020                                            20     37.334      13.34     23.994
             1      33408 4030030                                            20     37.334      13.34     23.994
             1      33410 4030010                                         56544 164630.336   24470.16 140160.176
             1      33410 4030020                                          2394  10621.312    1578.72   9042.592
             1      33410 4030030                                          2394   13276.64     1973.4   11303.24
             1      33413 4030010                                         56808  151477.56  21117.744 130359.816
             1      33413 4030020                                          2736  10519.275    1466.51   9052.765
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33413 4030030                                          2736  10519.275    1466.51   9052.765
             1      33413 5010008                                            72   2103.855    293.302   1810.553
             1      33413 5010009                                            72   2103.855    293.302   1810.553
             1      33413 5010012                                            72   2103.855    293.302   1810.553
    15 rows selected.
    Elapsed: 00:00:00.02
    TONY@DEV>
    Note: If I join the A table with D table the query's returning no rows
    Any suggestions are apreciated
    Tony S. Garabedian

    Hi Laurent,
    I've got the same results as the joined tables without UNION.
    The AUXL_CODE column is detail in the D table and master in M table the query is counting the detail records over and over when joined with table A where the function SUM is executed against columns in this table even with grouping sets
    Am I correct??
    I'm sure there is (must be) another way other than UNION and all the lengthy query but I just can't figure it out.
    samples
      1  SELECT X.AUXL_RPRSNT_TITLE,
      2         X.AUXL_CODE,
      3         D.ITEM_CODE,
      4         DECODE(GROUPING(X.AUXL_CODE), 1, SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R))) QTY,
      5         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT, SUM(NVL(A.AGAC_AMT, 0)) PAID,
      6         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
      7  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      8       ISTD_STOCK_MOUVEMENTS_D D,
      9       IACD_AUXILIARIES X,
    10       IACD_PAYM_AGING A
    11  WHERE M.TMVS_CODE = D.TMVS_CODE
    12    AND M.CPNY_CODE = D.CPNY_CODE
    13    AND M.BRCH_CODE = D.BRCH_CODE
    14    AND M.MVTS_YEAR = D.MVTS_YEAR
    15    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    16    AND X.AUXL_TYPE = M.AUXL_TYPE
    17    AND X.AUXL_CODE = M.AUXL_CODE
    18    AND X.AUXL_TYPE = A.AUXL_TYPE
    19    AND X.AUXL_CODE = A.AUXL_CODE
    20    AND A.AUXL_CODE = M.AUXL_CODE
    21    AND A.AUXL_TYPE = M.AUXL_TYPE
    22    AND X.AUXL_RPRSNT_TITLE = 1
    23    AND M.AUXL_TYPE = 1
    24* GROUP BY GROUPING SETS((X.AUXL_RPRSNT_TITLE), (X.AUXL_RPRSNT_TITLE, X.AUXL_CODE), (X.AUXL_RPRSNT_TITLE, X.AUXL_CODE, D.ITEM_CODE))
    TONY@RIM> /
    AUXL_RPRSNT_TITLE  AUXL_CODE ITEM_CODE                                         QTY        AMT       PAID        DUE
                    1      33405 4030010                                                32162.102    3453.58  28708.522
                    1      33405 4030020                                                  869.246      93.34    775.906
                    1      33405 4030030                                                  869.246      93.34    775.906
                    1      33405                                                        33900.594    3640.26  30260.334
                    1      33408 4030010                                                   373.34      133.4     239.94
                    1      33408 4030020                                                   37.334      13.34     23.994
                    1      33408 4030030                                                   37.334      13.34     23.994
                    1      33408                                                          448.008     160.08    287.928
                    1      33410 4030010                                               171351.747   24864.84 146486.907
                    1      33410 4030020                                                10879.476    1578.72   9300.756
                    1      33410 4030030                                                13599.345     1973.4  11625.945
    AUXL_RPRSNT_TITLE  AUXL_CODE ITEM_CODE                                         QTY        AMT       PAID        DUE
                    1      33410                                                       195830.568   28416.96 167413.608
                    1      33413 4030010                                               157668.977  21411.046 136257.931
                    1      33413 4030020                                                10799.245    1466.51   9332.735
                    1      33413 4030030                                                10799.245    1466.51   9332.735
                    1      33413 5010008                                                 2159.849    293.302   1866.547
                    1      33413 5010009                                                 2159.849    293.302   1866.547
                    1      33413 5010012                                                 2159.849    293.302   1866.547
                    1      33413                                                       185747.014  25223.972 160523.042
                    1                                                           141375 415926.184  57441.272 358484.912
    20 rows selected.
    TONY@RIM> SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QUANTITY,
      5         SUM(NVL(A.AGAC_REV_AMT, 0)) AMT,
      6         SUM(NVL(A.AGAC_AMT, 0)) PAID,
      7         SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)) DUE
      8  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      9       ISTD_STOCK_MOUVEMENTS_D D,
    10       IACD_AUXILIARIES X,
    11       IACD_PAYM_AGING A
    12  WHERE M.TMVS_CODE = D.TMVS_CODE
    13    AND M.CPNY_CODE = D.CPNY_CODE
    14    AND M.BRCH_CODE = D.BRCH_CODE
    15    AND M.MVTS_YEAR = D.MVTS_YEAR
    16    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    17    AND X.AUXL_TYPE = M.AUXL_TYPE
    18    AND X.AUXL_CODE = M.AUXL_CODE
    19    AND X.AUXL_TYPE = A.AUXL_TYPE
    20    AND X.AUXL_CODE = A.AUXL_CODE
    21    AND A.AUXL_CODE = M.AUXL_CODE
    22    AND A.AUXL_TYPE = M.AUXL_TYPE
    23    AND X.AUXL_RPRSNT_TITLE = 1
    24    AND M.AUXL_TYPE = 1
    25  GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE;
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33405 4030010                                         11118  32162.102    3453.58  28708.522
             1      33405 4030020                                           748    869.246      93.34    775.906
             1      33405 4030030                                           748    869.246      93.34    775.906
             1      33408 4030010                                           140     373.34      133.4     239.94
             1      33408 4030020                                            20     37.334      13.34     23.994
             1      33408 4030030                                            20     37.334      13.34     23.994
             1      33410 4030010                                         58812 171351.747   24864.84 146486.907
             1      33410 4030020                                          2436  10879.476    1578.72   9300.756
             1      33410 4030030                                          2436  13599.345     1973.4  11625.945
             1      33413 4030010                                         59130 157668.977  21411.046 136257.931
             1      33413 4030020                                          2774  10799.245    1466.51   9332.735
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33413 4030030                                          2774  10799.245    1466.51   9332.735
             1      33413 5010008                                            73   2159.849    293.302   1866.547
             1      33413 5010009                                            73   2159.849    293.302   1866.547
             1      33413 5010012                                            73   2159.849    293.302   1866.547
    15 rows selected.
    TONY@RIM>This is with UNION and these are the correct results
    TONY@RIM> ed
    Wrote file afiedt.buf
      1  SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
      2         M.AUXL_CODE,
      3         D.ITEM_CODE,
      4         SUM(DECODE(M.TMVS_OPERATION,6,D.MVTS_QUANTITY_R,11,-D.MVTS_QUANTITY_R)) QUANTITY,
      5         NULL AMT,
      6         NULL PAID,
      7         NULL DUE
      8  FROM ISTD_STOCK_MOUVEMENTS_M M ,
      9       ISTD_STOCK_MOUVEMENTS_D D,
    10       IACD_AUXILIARIES X
    11  WHERE M.TMVS_CODE = D.TMVS_CODE
    12    AND M.CPNY_CODE = D.CPNY_CODE
    13    AND M.BRCH_CODE = D.BRCH_CODE
    14    AND M.MVTS_YEAR = D.MVTS_YEAR
    15    AND M.MVTS_DOC_NUM = D.MVTS_DOC_NUM
    16    AND X.AUXL_TYPE = M.AUXL_TYPE
    17    AND X.AUXL_CODE = M.AUXL_CODE
    18    AND X.AUXL_RPRSNT_TITLE = 1
    19    AND M.AUXL_TYPE = 1
    20  GROUP BY X.AUXL_RPRSNT_TITLE, M.AUXL_CODE, D.ITEM_CODE
    21  UNION
    22  SELECT X.AUXL_RPRSNT_TITLE GRP_CODE,
    23         X.AUXL_CODE,
    24         NULL ITEM_CODE,
    25         NULL QUANTITY,
    26         ROUND(SUM(NVL(A.AGAC_REV_AMT, 0)), 2) AMT,
    27         ROUND(SUM(NVL(A.AGAC_AMT, 0)), 2) PAID,
    28         ROUND(SUM(NVL(A.AGAC_REV_AMT, 0) - NVL(A.AGAC_AMT, 0)), 2) DUE
    29  FROM IACD_PAYM_AGING A,
    30       IACD_AUXILIARIES X
    31  WHERE X.AUXL_TYPE = A.AUXL_TYPE
    32    AND X.AUXL_CODE = A.AUXL_CODE
    33    AND X.AUXL_RPRSNT_TITLE = 1
    34* GROUP BY X.AUXL_RPRSNT_TITLE, X.AUXL_CODE
    TONY@RIM> /
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33405 4030010                                           327
             1      33405 4030020                                            22
             1      33405 4030030                                            22
             1      33405                                                           869.25      93.34     775.91
             1      33408 4030010                                            14
             1      33408 4030020                                             2
             1      33408 4030030                                             2
             1      33408                                                            37.33      13.34      23.99
             1      33410 4030010                                          1014
             1      33410 4030020                                            42
             1      33410 4030030                                            42
      GRP_CODE  AUXL_CODE ITEM_CODE                                    QUANTITY        AMT       PAID     DUE
             1      33410                                                          2719.87     394.68    2325.19
             1      33413 4030010                                           810
             1      33413 4030020                                            38
             1      33413 4030030                                            38
             1      33413 5010008                                             1
             1      33413 5010009                                             1
             1      33413 5010012                                             1
             1      33413                                                          2159.85      293.3    1866.55
    19 rows selected.
    TONY@RIM>Thanks again,
    Tony
    Message was edited by:
    Tony Garabedian

  • Unicode issue for keyword SEARCH

    Hi All...
    In a report keyword SEARCH is used to find entry in internal table. basically this will find any value in internal table and will return sy-tabix as line number where the value exists.
    Syntax:     SEARCH itab FOR seek.
    where itab is internal table and seek is variable which can contain any value to be searched in itab.
    When i set 'Unicode check active' attribute in program attribute, while activating program i am getting error as: <b>Table "KEN3" must have a character line type (data type C, N, D, T, or STRING).</b>
    When i try to add additons In byte mode and in charecter mode, i am getting incompability errors.
    Is there any solution/alternative for this error. I am trying to make my program unicode compliant.     
    TIA,
    Agasti.

    Hi
    I think ur itab is having all the fields of the table
    Because of MANDT only it is generating the error declare ur itab below.
    I wrote the code like this and it is not generating any error
    Kindly have a look.
    data : begin of it_mara1,
           matnr like mara-matnr,
           meins like mara-meins,
           BLANZ like mara-BLANZ,
          end of it_mara1.
    search it_mara1 for 'new'." in character mode.
    Regards
    Shiva

  • XQuery - In search of alternatives for "ora:view"

    Instead of the following XQuery statement, what could be alternatives, regarding re-writing the statement, via options like:
    - xmltable
    - xsql
    - xpath
    - table(xmlsequence())
    - etc
    So I am looking for alternative statements and/or an alternative for ora:view
    Thanks for the effort
    Marco
    xquery
    let $auction := ora:view("XMLType_Table") return
    for $b in $auction/site/people/person[@id = "person0"] return $b/name/text()
    /Edited by: Marco Gralike on Oct 19, 2008 3:48 PM

    The file is to big to fit in VARCHAR2, so therefore it was loaded via the bfilename method.
    Content of file X.XML in directory C:\TEMP
    <?xml version="1.0" standalone="yes"?>
    <site>
    <regions>
    <africa>
    <item id="item0">
    <location>United States</location>
    <quantity>1</quantity>
    <name>duteous nine eighteen </name>
    <payment>Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    page rous lady idle authority capt professes stabs monster petition heave humbly removes rescue runs shady peace most piteous worser oak assembly holes patience but malice whoreson mirrors master tenants smocks yielded <keyword> officer embrace such fears distinction attires </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    shepherd noble supposed dotage humble servilius bitch theirs venus dismal wounds gum merely raise red breaks earth god folds closet captain dying reek
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Dominic Takano mailto:[email protected]</from>
    <to>Mechthild Renear mailto:[email protected]</to>
    <date>10/12/1999</date>
    <text>
    asses scruple learned crowns preventions half whisper logotype weapons doors factious already pestilent sacks dram atwain girdles deserts flood park lest graves discomfort sinful conceiv therewithal motion stained preventions greatly suit observe sinews enforcement <emph> armed </emph> gold gazing set almost catesby turned servilius cook doublet preventions shrunk
    </text>
    </mail>
    </mailbox>
    </item>
    </africa>
    <asia>
    <item id="item1">
    <location>United States</location>
    <quantity>1</quantity>
    <name>great </name>
    <payment>Money order, Cash</payment>
    <description>
    <text>
    print deceit arming ros apes unjustly oregon spring hamlet containing leaves italian turn <bold> spirit model favour disposition </bold> approach charg gold promotions despair flow assured terror assembly marry concluded author debase get bourn openly gonzago wisest bane continue cries
    </text>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Fumitaka Cenzer mailto:[email protected]</from>
    <to>Lanju Takano mailto:[email protected]</to>
    <date>02/24/2000</date>
    <text>
    entreaty hath fowl prescience bounds roof fiend intellect boughs caught add jests feelingly doubt trojans wisdom greatness tune worship doors fields reads canst france pay progeny wisdom stir mov impious promis clothes hangman trebonius choose men fits preparation <keyword> benefit since eclipse gates </keyword>
    </text>
    </mail>
    <mail>
    <from>Papa Godskesen mailto:[email protected]</from>
    <to>Ioana Blumberg mailto:[email protected]</to>
    <date>08/02/2001</date>
    <text>
    jealousy back greg folded gauntlets conduct hardness across sickness peter enough royal herb embrace piteous die servilius avoid <keyword> laying chance dungeons pleasant thyself fellow purse steward heaven ambassador terrible doubtfully </keyword> milk sky clouds unbraced put sacrifices seas childish longer flout heavy pitch rosalind orderly music delivery appease
    </text>
    </mail>
    </mailbox>
    </item>
    </asia>
    <australia>
    <item id="item2">
    <location>United States</location>
    <quantity>1</quantity>
    <name>scarce brook </name>
    <payment></payment>
    <description>
    <parlist>
    <listitem>
    <text>
    senses concave valiant star further instruments bankrupts countrymen horrid costard youth necessity tend curiously waken witness navy there honest interest perceive defendant chief traffic where nuptial descent travel prepare agreed voices swears remember peerless doing <keyword> preparation rejoice </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    swear canker barbarian parching coxcomb excess conspiring nobles sounded consider sayings fishified prime may spirit <emph> untruths misgives choughs mew here garments tenfold </emph> error discontent hung beatrice straight muse shame deep twice mann maecenas any conveyance fingers whereupon child case <keyword> season presently victory women beating </keyword> deprive almost wed dreams slew reveal
    </text>
    </listitem>
    <listitem>
    <text>
    spotted attend burden camillo field enlarge stead corporal ground tormenting <bold> naturally sanctuary riddle exile coming awake senseless chance famous albans </bold> service cricket limb from clouds amongst shore penker defend quantity dumb churlish uncover swung eros figur sulphur sky birth stare negligent unction shield instance ambition gate injury fort put infants find slavish hugh see afterwards slanders chides eyes minds alb loved endure combating voyage
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    maintained peril rivall suddenly finds studies weary truth indulgence anatomy assisted imminent may excepted yonder aches regal
    </text>
    </listitem>
    <listitem>
    <text>
    <bold> friar prophetess </bold> spirits delays turning cassio finding unpractis steel sweets promises credulity err nym complete star greatly mope sorry experience virtues been offending bed drives faction learnt hurl eleven huge
    </text>
    </listitem>
    <listitem>
    <text>
    piece hours cruelly april league winged <keyword> tract element sails course placed fouler four plac joint </keyword> words blessing fortified loving forfeit doctor valiant crying wife county planet charge haughty precious alexander longboat bells lewd kingdoms knife giver frantic raz commend sit sovereignty engaged perceive its art alliance forge bestow perforce complete roof fie confident raging possible cassio teen crave park reign lords sounded our requite fourth confidence high
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    sent fled bids oswald help answer artillery jealous hugh fingers gladly mows our craving <emph> preventions spurr edmund drunk how faction quickly bolingbroke painfully </emph> valorous line clasp cheek patchery encompassed honest after auspicious home engaged prompt mortimer bird dread jephthah prithee unfold deeds fifty goose either herald temperance coctus took sought fail each ado checking funeral thinks linger advantage bag ridiculous along accomplishment flower glittering school disguis portia beloved crown sheets garish rather forestall vaults doublet embassy ecstasy crimson rheum befall sin devout pedro little exquisite mote messenger lancaster hideous object arrows smites gently skins bora parting desdemona longing third throng character hat sov quit mounts true house field nearest lucrece tidings fought logotype eaten commanding treason censur ripe praises windsor temperate jealous made sleeve scorn throats fits uncape tended science preventions preventions high pipes reprieves <bold> sold </bold> marriage sampson safety distrust witch christianlike plague doubling visited with bleed offenders catching attendants <emph> cars livery stand </emph> denay <keyword> cimber paper admittance tread character </keyword> battlements seen dun irish throw redeem afflicts suspicion
    </text>
    </listitem>
    <listitem>
    <text>
    traduc barks twenty secure pursuit believing necessities longs mental lack further observancy uncleanly understanding vault athens lucius sleeps nor safety evidence repay whensoever senses proudest restraint love mouths slaves water athenian willingly hot grieves delphos pavilion sword indeed lepidus taking disguised proffer salt before educational streets things osw rey stern lap studies finger doomsday pots bounty famous manhood observe hopes unless languish <keyword> transformed nourish breeds north </keyword>
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Aspi L'Ecuyer mailto:L'[email protected]</from>
    <to>Lesley Jeris mailto:[email protected]</to>
    <date>10/09/1998</date>
    <text>
    necessities chains rosencrantz house heed course lawn diest unvirtuous supposed sees chough swor numbers game roman soundest wrestler sky lodovico beast shivers desolate norfolk forgot paulina wars george while beggar sheath thursday capable presently his protector father orchard enemies believe drains tokens prison charge cloud stab york mild scene true devotion confidence hundred those guiltless pricks sort himself mutiny officers directive wholesome edge acts dion ride draw brings custom chapless beside sex dowry casca goods priam blasphemy prick octavia brain curer thinkest idiot inward missing conspiracy tents scab inundation caesar officer dramatis
    </text>
    </mail>
    </mailbox>
    </item>
    </australia>
    <europe>
    <item id="item3">
    <location>Uzbekistan</location>
    <quantity>1</quantity>
    <name>abhorr execution beckon rue </name>
    <payment>Money order, Creditcard, Cash</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    <keyword> perjur kills insanie unfortunate conjuration deeper confounded belied first guard </keyword> pale profits height desir ashore france strength kept entrench poisons worth fought ignorance moody poniards speaks jack egg offspring victory food double emperor round jewel abbey apparel untainted lass protest start wings acquit lake lady battles further low thief try brook cake mounted officers dean shrunk lowness dew sandy prologue armies suspicion eighty advance thankfulness albany ended experience halt doubted wert kingdom fiend directed pair perhaps
    </text>
    </listitem>
    <listitem>
    <text>
    prayer odds rend condemn conrade swearing dispos losses boar little from thought different couch respected human robe dictynna later pays edward babe distemper bards damned mayst sustain while self alcibiades listen weak soil <keyword> view presume loggets feed </keyword> afoot yields erection balthasar fathers datchet thankless lear cause evil cheerfully instance tarried because cough ancient testimony tarquin cousin reported porter beastly jade bark sex slack lear devil devoured amiable mason moss shoulders labour meanest feign eggs encount forbid enobarbus halters nam emilia fiends bearing food inheritor wiser <emph> hedge </emph> functions there capital greasy dark crush your sequest between devout thou strikes demand dost reverent conference least told ado modena jealousy nunnery mistrust nightly worthy closes tall proudly fierce receive nearness safer jacks shut dire mates wind unfortunate monsieur parcels sauced extremities throat dog empty treasury etc detested stand taxations edges mourner sue knavery unlook perseus diadem heartily peer tut compounded art reconcile study thought cockatrice money pity intend thing claud edmund throws torments ropes contrive story slain advise lecher ardea relics keeping treads buckingham defences lag neighbour ourself marshal disordered moderate venus afeard article rot hazards craft crowns <emph> plainness patient </emph> lying knowledge diseases meritorious medicine instead lid happy without them bands answer
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </europe>
    <namerica>
    <item id="item4">
    <location>United States</location>
    <quantity>1</quantity>
    <name>unsur brutish </name>
    <payment>Money order, Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    prepar likelihood eagle body walk borachio month writing left speed patents coach through protectorship congruent confusion favours following populous garden henceforth shoots function fourscore mangled favorably slain secretly vice distinguish bardolph content hence boy worse bring usurers stew beard longed creep hid pursuivant beholders senators son mercutio woo bestow trumpet excess muffler pick ugly felt causes remove adding tear often rounds underbearing tree purer kibes endless women benefit throw <emph> claim firmness <keyword> arrived sees wrestled multitude repent preventions infamy reproof shalt hearted prais knave doubtless </keyword> deny </emph> merely grave voluble late loath digest horn slave hunger stronger amazed salt killing ross cry dry tongue kiss yields auspicious quietness perpetual ways
    </text>
    </listitem>
    <listitem>
    <text>
    court mean returning brook creatures appointed paunches henry sights west prunes flutes regiment seems bed musicians slumber post friendship prevention abreast wouldst words vexation builds unfelt holly walk inform moods deck bulk begin action school nobles antique people unkennel stomach into petitions jack assail yongrey ages betimes golden sink droop kernel hoppedance perfection weight <emph> whining safe english rod other featur </emph> betwixt orator across amiss mine guests guard yon willing remit longing goneril visitation honey
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country, Buyer pays fixed shipping charges, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Honari Castan mailto:[email protected]</from>
    <to>Maz Lucky mailto:[email protected]</to>
    <date>01/24/1998</date>
    <text>
    scene disposition substance prick counsel start temples
    </text>
    </mail>
    </mailbox>
    </item>
    </namerica>
    <samerica>
    <item id="item5">
    <location>United States</location>
    <quantity>1</quantity>
    <name>nakedness </name>
    <payment>Creditcard, Personal Check, Cash</payment>
    <description>
    <text>
    music sift kissing design airy office dismantled hope reconcil combat wert quite translate overcome unthrifty <emph> fell othello <bold> wolf entreat audaciously down sands sports pilgrimage duellist league holiday cheek that tables merrily knot selves ionia impure </bold> prophet draw throwing solemn yonder </emph> rightful foam worthless polack veronesa antony beget thereby carry untread hales
    </text>
    </description>
    <shipping>Will ship only within country, Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </samerica>
    </regions>
    <categories>
    <category id="category0">
    <name>dispatch reported dotard holofernes </name>
    <description>
    <parlist>
    <listitem>
    <text>
    shift carrion doubtful strangle sounding crowned troubled naked yesterday overthrow owe silent recount waters derive sans four
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    fragment pamper arthur thrive wound fouler streets preventions obey vow bawds myrtle said infinite montague fierce sense ride souls commended gainsay profession labour intents persuade alter
    </text>
    </listitem>
    <listitem>
    <text>
    ord villain wore thunder congeal pawned alack customary deny faithful top office spoken please neighbour office afternoon drum embowell touch sue lifeless leapt called weary congregation yield
    </text>
    </listitem>
    <listitem>
    <text>
    mental fatal hard ancient stands cor dishes therein gramercy discipline farewell dire tricks protest cut horatio brother speech sleeping adultress pitch cave liv nurse drink state plants combating desired requir rebellion afraid repented tree scald stopp wine advise undermine norfolk vilely whet scars companions hanging foolish scene musty fruitful unburthen teacher garments betimes sight now for oaths vouchsafe particulars globe laertes afflictions rouse once news humanity buck destroy military lucius lap <keyword> considered forc mourning verona </keyword> waters triumphing officer hastily <emph> resign subject figure hay thwart written signs gout bred distance period glove players change folly </emph> going wat lost song hautboys pick business crocodile leading cave twice frenzy sprightly dislike invite forbids morn devour ambassador seldom speak tickling rejoice triumphant ascanius forward
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    </category>
    </categories>
    <catgraph>
    <edge from="category0" to="category0"/>
    </catgraph>
    <people>
    <person id="person0">
    <name>Jaak Tempesti</name>
    <emailaddress>mailto:[email protected]</emailaddress>
    <phone>+0 (873) 14873867</phone>
    <homepage>http://www.labs.com/~Tempesti</homepage>
    <creditcard>5048 5813 2703 8253</creditcard>
    <watches>
    <watch open_auction="open_auction0"/>
    </watches>
    </person>
    </people>
    <open_auctions>
    <open_auction id="open_auction0">
    <initial>13.56</initial>
    <reserve>33.78</reserve>
    <bidder>
    <date>10/22/2001</date>
    <time>10:21:43</time>
    <personref person="person0"/>
    <increase>55.50</increase>
    </bidder>
    <bidder>
    <date>07/27/2001</date>
    <time>12:36:50</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>02/14/2000</date>
    <time>16:40:16</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>05/09/2001</date>
    <time>11:39:57</time>
    <personref person="person0"/>
    <increase>30.00</increase>
    </bidder>
    <bidder>
    <date>07/12/1999</date>
    <time>23:20:27</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>10/21/2001</date>
    <time>01:19:47</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>09/28/2001</date>
    <time>17:03:24</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>11/15/1999</date>
    <time>14:23:15</time>
    <personref person="person0"/>
    <increase>9.00</increase>
    </bidder>
    <bidder>
    <date>01/02/1998</date>
    <time>22:18:07</time>
    <personref person="person0"/>
    <increase>1.50</increase>
    </bidder>
    <bidder>
    <date>12/24/2001</date>
    <time>16:46:32</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>08/12/2000</date>
    <time>11:41:54</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>11/15/2000</date>
    <time>15:53:40</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>03/04/2000</date>
    <time>20:46:15</time>
    <personref person="person0"/>
    <increase>16.50</increase>
    </bidder>
    <bidder>
    <date>07/22/1998</date>
    <time>10:34:11</time>
    <personref person="person0"/>
    <increase>25.50</increase>
    </bidder>
    <bidder>
    <date>04/01/1998</date>
    <time>10:44:22</time>
    <personref person="person0"/>
    <increase>7.50</increase>
    </bidder>
    <current>243.06</current>
    <itemref item="item0"/>
    <seller person="person0"/>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    debauch corpse canons domain night forsake yea satisfy between fume were monsters ear players moreover ungentleness sorrows prouder tonight favours rome bastard unshown excellence journey loves swearing proceeds stone buck battle breathless kindness prophesy entomb urging rogues hector conquer provoke nothing raw wight places needy feasted romeo rivers worser occupation brook stoops brooch plucks level samp tent windsor rubs whereof beam signior built suff heavy dull husbands roman favour urge spear gone wolf cheeks execute resolv such horrid drives provide twice spoke trade friar taking pheasant sentenc scarf corrections brothers charge spur ass agamemnon truepenny saves roots practis impatient diest didest starv seeing beneath interpose gods home black forgot snuff dress dozen napkins <emph> countess northumberland headlong needless angry pleading </emph> better joy <emph> meagre </emph> reap enquire crab wales died violent rear past liberty <emph> braggart armour infer bankrupt winds teeth </emph> case wore pouch crows cognition <keyword> reports expedition free chief cressida hearsed </keyword> loath monuments silent congregation soon farm doct ross susan ready empty dedicate shilling whole soul foot beseech higher lifeless hay postmaster distress disposition <bold> inherits </bold> marcus betters pitch betray beam corse player quality ros conduct thersites greediness boast pilgrims startles contented belch hung thus captain early blood par brook jul gain needs above ensign grapes revelling glean thank
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    <quantity>1</quantity>
    <type>Regular</type>
    <interval>
    <start>06/16/1999</start>
    <end>05/12/2001</end>
    </interval>
    </open_auction>
    </open_auctions>
    <closed_auctions>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item1"/>
    <price>113.87</price>
    <date>06/06/2000</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <parlist>
    <listitem>
    <parlist>
    <listitem>
    <text>
    farewells religion fetch bells rage names valued exeunt soul albans ungently advised serving ratcliff braggarts knowest desp sheep died repeat toy corrupted michael help dunghill trembles pill reap office early secure desires hated garland carriage impatient deserts feel challenger evil <bold> editions depart laur hereford richer </bold>
    </text>
    </listitem>
    <listitem>
    <text>
    proudest lust approve rey should spectacles fiery perfect worshipp foul quod yes remorse young tyburn thrust attending spear shun doctor wild
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <text>
    throng grandam awak helpless ventidius tread defeat teem durst wonderful attaint chaste sees fulfill mortality arme expedient attendants themselves performed leading sing villain skill store mischief see consciences sail text speed sons spleen die oft girl atomies commodity honor fall stopp they
    </text>
    </listitem>
    <listitem>
    <text>
    rain pays spilling rancour reasons grieves camp bachelor crow can whom soldiers growth invite less for vaughan properties <keyword> record penury herself reasons merits villainous whereupon wrote penny mar </keyword> preventions followed best eternity bestow blots rocks barnardine torn cassio tailor fame forfeit triumphant conceived deem cowardly merciful topgallant flint purgation whosoever ventidius befits forever bankrupt choughs stains certain violated burgundy shadows possesseth men repent predominant burns revelry swore prodigious next tyrant oath noses apart balth trade feasting field importunity expect experience kingly stay babe hopes liege astonished suspicion unmannerd alexander crown soil committed god stately incensed trance oracle slowness fast princes damned corn grandsire change tender end fields slain palm softly samp shore notion herod messengers horseman <bold> riggish </bold> quirks shut thence beware jewels sland preventions has sells assails influences oppression pow maggot caught methought mechanical durst liker not seat <emph> assigns flesh made his third <keyword> seemeth </keyword> peril gain they stroke forsworn scape full determin professes commons </emph> lordship clear operation practice pyrrhus earnest broke devil posterity company text misbegotten oregon strike saw arthur earnestly brow popilius ugly serves presentation commandment metal comparing thereon true secretly gallows preventions horridly slack lieutenant hers stop clown rosalinde wed pretty wildly
    </text>
    </listitem>
    </parlist>
    </description>
    <happiness>9</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item2"/>
    <price>96.92</price>
    <date>12/05/2001</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    hitherto queen painted seat fords clay recall countryman divided delicate mocking active bills filth pledge surrender madness sufficiency moved converse goot claw show edmundsbury torment tough fish mediators tarquin pyrrhus <keyword> heathen </keyword>
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item3"/>
    <price>53.85</price>
    <date>05/11/1999</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    strives occasion question sticks shall ingenious sinews liquid ashy gentlewomen authority assay hole selves living near doting modest wiltshire mocker eton profess forgeries butt wade lawful maccabaeus wert forced succeeding becomes wayward got
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item4"/>
    <price>123.52</price>
    <date>02/11/1999</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    vowed keys imperial were swinstead forsake cat aliena spies crave requite forfeit doctor <emph> possess </emph> aught demand ceremonies obscure engross hero restraint bolingbroke neighbour crimes dominions common turns conduct wav therewithal abandon yet hunger
    </text>
    </description>
    <happiness>5</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item5"/>
    <price>96.06</price>
    <date>04/24/1999</date>
    <quantity>2</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    jove superiors prolong which conspirator crowns fellowship indisposition skins filthy divers fault apparell worthiness supposition parchment restitution rings rages remains lass dependent pelican contrive paradoxes unmask desdemona weak pleases shame wisely cheek poison avoid ulysses exeunt answer smoothing punishment much anointed bloody shook here armado supply four digestion unresisted consummate glou ding figure made unwrung worst repute envious meanest read nan stake shriek tower nights armed drinking instant scruple citizens rightful nonino shame hills dismal other fasting attends judge aspire hand putting repeal grounds bestrid commission crave mess tarries sport view freely lame done intend cast shun kills presented body landed question hem same burdens plenty esteem weak sigh sunday body preventions revenge horses cleomenes thrust what albeit foolishly mirror gently mock allow index evils should consider deeds suit damsons willoughby thousand number morn banish barricado unfolding perhaps gently stalk degree oblivion wars monsieur companies swords shifted clay strives frozen jour <emph> ajax states mark parcels advertised utterly virtue flatter sleeping ope </emph> lucilius tybalt glow killed account obdurate kindly <bold> heart light bosom garden cog yet daughters tott </bold> lifted offer
    </text>
    </description>
    <happiness>4</happiness>
    </annotation>
    </closed_auction>
    </closed_auctions>
    </site>

  • What is the alternative for DisplayMemberPath="Value" for Windows Store applications?

    I think there is a bug with Windows Store Applications when it comes to using DisplayMemberPath="Value".
    Here is my code
    <ComboBox Height="40" VerticalAlignment="Stretch" SelectedValuePath="Key" DisplayMemberPath="Value" x:Name="comboBox1" FontSize="25"/>
    var source = new Dictionary<string, double>();
    source.Add("Item1", 0.4);
    source.Add("Item2", 0.3);
    source.Add("Item3", 0.1);
    source.Add("Item4", 0.1);
    var formateDSource = new Dictionary<string, string>();
    foreach (var item in source)
    formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key);
    comboBox1.ItemsSource = source;
    If you use this code in WPF in works perfectly. However if you use this code in a Windows Store Application then the Combo Box is empty and an error is thrown. So is there an alternative way to do this in Windows Store Applications and have I unearthed a
    bug? Because I have researched the Web for days and found no solution to this.*please do not comment unless you have tried my code as a Windows Store App not a WPF in Visual Studios. Can Someone post an example based on my code that works in Windows Store
    Apps please because this is terrible.
    Thanks

    It looks like you got an answer on SO:
    http://stackoverflow.com/questions/29817124/what-is-the-alternative-for-displaymemberpath-value-for-windows-store-applicat
    This does look like a bug.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • What are the Flash alternatives for iphone and ipad?

    Hello,
    I would like to know what could be the Flash alternatives for iphone, ipod, and ipad. I would like to create iphone applications that have 3D animation I usually create with Flash.
    But since Apple does not support the use of flash, I need to know what applications or programming languages I must use to create movies or animations for iphone or ipad.

    I would like to create iphone applications
    Then you need to go here:
    http://developer.apple.com/programs/iphone/

  • PDF Portfolio Search for keywords

    Hello all,
    I am trying to find out how you can search a pdf portfolio for keywords that I have added into pdf documents.
    I have added the keywords through the document properties window.
    It seems odd to be able to add keywords if you can't search for them - any help greatly appreciated
    Thanks
    Matt

    Thanks, what a bummer . I was hoping for a fix or a freeware solution :P.
    Is there a way to notify Apple about this? Keywords seem poorly designed, or at least not thought through, compared to other programs.

  • Alternative for AT NEW --- ENDAT

    Hello experts,
    I am using field-symbol as internal table. I cant use AT NEW statement inside this loop.
    Can u pls provide alternative for above control break statement.
    Thanks in advance.
    Zak.

    Hi,
    to use control break statement, first you should sort the internal table and then you use it.
    Take one example:
    data: begin of it9 occurs 4,
               f1,
               f2,
             end of it9.
      it9 = '1A'. append it9. "Fill it9 with data
      it9 = '3A'. append it9.
      it9 = '1B'. append it9.
      it9 = '2B'. append it9.
    sort it9 by f1.
    loop at it9.
         at new f1.
             write: / 'start of:', it9-f1.
             endat.
         at end of f1.
             write: / 'end   of:', it9-f1.
             endat.
         endloop.
    free it9.
    Hope it is helpful.
    Regards,
    Chris Gu

  • How can I set up a smart album that looks for keywords?

    Hi everyone,
    I'm in the middle of a rethink on my image management and am wanting to setup smart albums that will search for and display images that have a certain keyword. When I create a new smart album to do this, I'm only given the ability to choose to search for rating and calendar criteria; the keywords and import session options are greyed out. My images have keywords assigned, so where do I go from here?
    Thanks,
    Andrew

    OK, a step forward. It seems that if I create a smart album it will only look for keywords in the project that it is contained in.
    Perhaps someone can help me then: I keep a collection of albums for each person that is featured in a photograph. These albums are stored outside of the projects that the images are stored in so I can have a collection of images that show person X from all the different shoots.
    What I want to do now is keyword each image with the person's name (as a keyword) and then have a Smart album that will pick out all of their photos from my entire library, not just a certain project. How can I do this?

  • How About Some Standard Standards For Keyword Hierarchy?

    After reading Wolf Eilers post in the "Respect Keyword Hierarchy when importing" thread, I tried his example and exported a RAW file with the "Outdoor>Landscape" example he gave and then re-imported the jpeg. It came back in with Landscape as the parent of Outdoor, that is backwards from what I intended. Go figure.
    If LR respects ">" as indicating a parent-child relationship between keywords it is fine with me. However, Microsoft decided to use "/" because there is apparently no XMP standard for keyword hierarchies. Wouldn't it be nice if Adobe, Microsoft, and Apple too got together and set a defacto standard for keyword hierarchies. As it is now, I can create a keyword "Outdoor/Landscape" in LR and have it appear in Vista Photo Gallery with Landscape as a child of Outdoor. However, if re-imported into LR it comes in as "Outdoor/Landscape". Can't we just all get along?

    Absolutely no. A completely pointless exercise. As there can be no standard for such a thing. As people have so many, very different ways of filing things. It like suggesting that we all use the same folder tree for filing on our computers. Our relationship to keywords and their meaning will change.
    Take Brad Pitt, would you put him under Actor, celebrity or relative. His mum would file him under Son/Family.
    What about places. I use UK, Europe, Asia, Africa...as top level domains. Now someone who lives in Japan would have Japan as home and the UK as Europe/UK. Some people may like to file musical acts by city of origin, others by genre, neither is wrong and both are correct for the right person. Being able to do both would be even better.
    You just design a heirachy that suits yourself. Adobe just has to find a way of respecting that and allowing you to transfer that heirarchy intact between apps.
    Someone else posted this example of heirachy. Which will work well for some, but not for others. Plus, in context of what you ask, remember everyone's family structure is different so how can you possibly have a 'standard' heirachy.
    http://www.flickr.com/photo_zoom.gne?id=98612897&size=o
    In your example above, I wouldn't use Outdoor and Landscape as Landscape. As for my filing I simply do not have an inside and outside category. I probably wouldn't even have a landscape category either, I would file them under location in a heirachical tree like UK/Wales/West Glamorgan/Gower/Rhosilli/Headland. I may add Landscape as a key word, but would not use it as a category as the heirachy tree above makes more sense to me as I can remember where things are.
    I also file everthing by date in my OS as I can remember when I took things reasonably well and that ensures I have a coherent filing system onto which I can apply a database.

  • HT4597 what will be the new alternatives for iWeb publishing,  Idisk & photo gallery ?

    what will be the new alternatives for iWeb publishing,  Idisk & photo gallery ?

    Thanks for the reply that there will be 3rd party support.
    One of the main reasons why I went from PC to Mac was because of all these cool features.
    Am dissapointed to see them leave.  ( Iweb, Photogallery, Idisk... )

  • Search text for keywords - innodb table

    I have a longtext column in a table that I need to search
    through for keywords. The table is in innodb format. I dont want to
    change it to myisam because I can't afford to have it lock at the
    table level... I prefer the row level of innodb.
    How can I build a search around this? It would be nice to
    have all words, any words, and exact phrase as an option, as seen
    in tom mucks extension (which i own)... however, this recordset has
    so many arrays, it's completely hand coded and they extension isn't
    suppose to work with anything but default recordsets.
    Any suggestions? How can I have a more comprehensive search
    using a innodb table?

    tom mucks extension lets you use keywords 3 ways... all
    words, any words, and exact phrase.
    http://www.tom-muck.com/extensions/help/DynamicSearchPHP/

  • I have ca. 30 pdf documents I need to search for keywords; how can I do on my MAC?

    I have ca. 30 pdf documents I need to search for keywords; when I open these documents in Adobe Reader on my MAC, it shows a Search tool; however, when I search for keywords I know are in the document, none are found.  How can I do a keyword search?

    Do you know if the text has been OCR recognised? Are the original documents "scans"?
    An easy way to find out, if you can select an individual word or letter? If you are selecting a whole block of text then the document will need to be put through Optical Character Recognition (OCR) software first to enable you to keyword search.

  • Alternative for FM 'NAMETAB_GET'

    Hi ,
      Can any one suggest an alternative for the FM 'NAMETAB_GET' in 4.7.
    Regards
    Arun

    Hi,
    You did noyt specify why you want this alternative for.
    Anyways, just check out RFC_GET_NAMETAB, which is also quite similar.
    Regards,
    Anand Mandalika.

Maybe you are looking for