Adding columns in a query.

Hello,
I have 12 columns(jan,feb,mar,apr,......dec) in budget table.
Budget table:
year jan feb mar apr may jun jul aug sep oct nov dec
2009 1 2
2010 3 5
2009 3 5 6
I need to add the values of jan,feb,..... in a query and the sum of the same year.
Output of the query for the above table for 2009 should return 1+2+3+5+6=17 and for 2010 3+5=8
Please help me in writing the query to achieve the above result.
Thank u

Something like this?
with t as
    select '2009' Year, 1 Jan, 2 Feb, null Mar, null Apr, null May, null Jun, null Jul, null Aug, null Sep, null Oct, null Nov, null Dec from dual union all
    select '2010' Year, null Jan, null Feb, 3 Mar, null Apr, 5 May, null Jun, null Jul, null Aug, null Sep, null Oct, null Nov, null Dec from dual union all
    select '2009' Year, null Jan, null Feb, 3 Mar, null Apr, 5 May, 6 Jun, null Jul, null Aug, null Sep, null Oct, null Nov, null Dec from dual
select t.Year, sum(nvl(t.Jan,0)+nvl(t.Feb,0)+nvl(t.Mar,0)+nvl(t.Apr,0)+nvl(t.May,0)+nvl(t.Jun,0)+nvl(t.Jul,0)+nvl(t.Aug,0)+nvl(t.Sep,0)+nvl(t.Oct,0)+nvl(t.Nov,0)+nvl(t.Dec,0)) as Year_Sum
from t
group by t.Year
/

Similar Messages

  • Adding columns to content query

    I have created a Content Query that retrieves all of my tasks from my site collection that meets my filter criteria.  However, The Item Views are incredibly limited
    (basically just the title).  I want to add ~5-7 additional columns to the query, such as due date.  I understand I may have to do this through SharePoint designer.  Please advise and if coding is required, please let me know what code to use.

    Hi,
    I understand that you want to add columns to content query web part.
    To include additional columns in the Web Part's query, we need to perform some minor customization in the .webpart file. We should programmatically instruct the Web Part to rename columns to names the default XSLT transformation expects, and then render
    the columns by using the default XSLT transformation styles. For more information:
    http://msdn.microsoft.com/en-us/library/ms497457(v=office.14).aspx
    But the default XSLT transformations can render the following four fields:
    Title, Description, LinkUrl, and ImageUrl, we can  add a column and display it as the
    Description field in the Web Part. If we want the other columns to appear in addition to the KB title and product, modify the XSLT transformation and add the rendering for the additional columns.
    More information:
    How to: Customize the SharePoint Content By Query Web Part by Using Custom Properties (ECM):
    http://msdn.microsoft.com/en-us/library/aa981241(v=office.14).aspx
    How to: Customize XSL for the SharePoint Content By Query Web Part (ECM):
    http://msdn.microsoft.com/en-us/library/bb447557(v=office.14).aspx
    How to: Customize the Rendering of a Field on a List View:
    http://msdn.microsoft.com/en-us/library/ff606773(v=office.14).aspx
    Customizing List Views with XSLT Transformations:
    http://msdn.microsoft.com/en-us/library/cc300164(v=office.12).aspx
    Best Regards,
    Linda Li

  • Query Schema error adding columns for a query at workbench channel

    Hello experts,
    For our customer, we have created a custom query and it has been included into the query group Master Agreement List to be also used on the Master Agreement List Channel. However, when use tries to add columns, following error is raised:
    Do you know if this issue can be fixed? Is there any system property controlling this property?
    Thanks in advance and best regards,
    Isaac

    Hello Isaac,
    Thank you for providing the additional details. Some of the saved changes to the advanced list page query is stored as XML data in the database, so as rightly pointed out by Bogdan it appears that you may have hit the limit especially when dealing with large number of columns. Since the limitation is
    at the DB level our options for a solution will be limited as well. I’m following up with development team to see if there is a way to optimize the xml to make little bit more room or may be come up with an alternate approach. Either way it would require product code change. It would be helpful if you could open a message and add the details so we can track it.
    Regards,
    Vikram

  • Adding column values in query designer

    Hi,
    I have requirement to add value in query designer the values should look like this
    Column A     Column B
    10                    10
    20                    30
    30                    60
    40                    100
    the first values of column B will be same as Column A 10. The second value of column B = column A 1st value +Column A second value similarly Third value of column B = 1st + 2nd + 3rd values of column a. So on and so forth
    Any help will be highly appriciated.
    Regards,
    ray

    Hi
    Just create the formula and go to the properties of that formula and go to the calculattion tab and in the "CALCULATE SINGLE VALUE AS "  select the option the additive ( not sure but once check that will perform additive operation plz once check it) and select the cumulative check box.
    I think u can get it , because in one of my project i did that calculation.
    Hope u got it,
    Thanx & Regards,
    RaviChandra

  • Adding columns in query causes renames of fields

    Hi All, I'm using Oracle Reports Builder 10g. I have a query which has connections to other queries. When I try to add two columns into that query and recompile the RDF it automatically renames other fields adding "1" at the right side. Any ideas why this is happening? I'm not adding columns with names already existed. Thanks in advance, A. Stoyanov

    Hi, The query is :
    SELECT 0 CUSTOMER_TRX_ID,
           rpad('a', 20, '-') TRX_NUMBER,
           0 TERM_SEQUENCE_NUMBER,
           rpad('a', 40, '-') TRX_TYPE,
           rpad('a', 80, '-') TRX_TYPE_NAME,
           'a' OPEN_RECEIVABLE_FLAG,
           SYSDATE TRX_DATE,
           0 SHIP_TO_CUSTOMER_ID,
           0 SHIP_TO_CONTACT_ID,
           0 REMIT_TO_ADDRESS_ID,
           0 PRIMARY_SALESREP_ID,
           rpad('a', 30, '-') CUSTOMER_NUMBER,
           rpad('a', 240, '-') INTERNAL_NOTES,
           0 BATCH_SOURCE_ID,
           rpad('a', 240, '-') TRX_COMMENTS,
           0 PREVIOUS_CUSTOMER_TRX_ID,
           0 SHIP_TO_SITE_USE_ID,
           0 PRINTING_COUNT,
           SYSDATE PRINTING_ORIGINAL_DATE,
           SYSDATE PRINTING_LAST_PRINTED,
           'a' PRINTING_PENDING,
           0 LAST_PRINTED_SEQUENCE_NUMBER,
           SYSDATE START_DATE_COMMITMENT,
           SYSDATE END_DATE_COMMITMENT,
           0 INITIAL_CUSTOMER_TRX_ID,
           rpad('a', 15, '-') INVOICE_CURRENCY_CODE,
           0 TERM_ID,
           SYSDATE SHIP_DATE_ACTUAL,
           rpad('a', 30, '-') SHIP_VIA,
           rpad('a', 50, '-') WAYBILL_NUMBER,
           rpad('a', 50, '-') PURCHASE_ORDER_NUMBER,
           rpad('a', 50, '-') PURCHASE_ORDER_REVISION,
           SYSDATE PURCHASE_ORDER_DATE,
           SYSDATE TERM_DUE_DATE_FROM_PS,
           0 TERM_RELATIVE_AMOUNT,
           rpad('a', 15, '-') TERM_NAME,
           0 BILL_TO_CUSTOMER_ID,
           0 BILL_TO_CONTACT_ID,
           0 BILL_TO_SITE_USE_ID,
           rpad('a', 40, '-') BILL_TO_LOCATION,
           rpad('a', 360, '-') BILL_CUST_NAME,
           rpad('a', 40, '-') BILL_ADDRESS1,
           rpad('a', 40, '-') BILL_ADDRESS2,
           rpad('a', 40, '-') BILL_ADDRESS3,
           rpad('a', 40, '-') BILL_ADDRESS4,
           rpad('a', 60, '-') BILL_CITY,
           rpad('a', 60, '-') BILL_STATE,
           rpad('a', 60, '-') BILL_POSTAL_CODE,
           rpad('a', 60, '-') BILL_COUNTRY,
           rpad('a', 50, '-') BILL_SITE_TAX_REFERENCE,
           rpad('a', 50, '-') BILL_CUST_TAX_REFERENCE,
           0 TRX_LINE_AMOUNT,
           0 TRX_TAX_AMOUNT,
           0 TRX_FREIGHT_AMOUNT,
           0 TRX_ALL_AMOUNT,
           rpad('a', 360, '-') ORDER_BY,
           rpad('a', 240, '-') BILL_TO_ADDRESS1,
           rpad('a', 240, '-') BILL_TO_ADDRESS2,
           rpad('a', 240, '-') BILL_TO_ADDRESS3,
           rpad('a', 240, '-') BILL_TO_ADDRESS4,
           rpad('a', 60, '-') BILL_TO_STATE,
           rpad('a', 60, '-') BILL_TO_PROVINCE,
           rpad(‘a’, 150, ‘ - ’) our_ref,,
           rpad(‘a’, 150, ‘ - ’) your_ref
      FROM dual
    WHERE 1 = 2
    UNION ALL &common_query
    The bind variable &common_query is accepting the following sql:
    'SELECT
    ' ||:P_SEL_TRX_ID ||'           
    CUSTOMER_TRX_ID
    ' || :P_SEL_TRX_NUMBER  ||'                 
    TRX_NUMBER
    NVL(TL.SEQUENCE_NUM,1)               
    TERM_SEQUENCE_NUMBER 
    ' || :P_SEL_TRX_TYPE ||' 
    TRX_TYPE
    ,       ' || :P_SEL_TRX_TYPE_NAME||' 
    TRX_TYPE_NAME
    ,       TYPES.ACCOUNTING_AFFECT_FLAG     
    OPEN_RECEIVABLE_FLAG
    ,       ' || :P_SEL_TRX_DATE  ||'       
    TRX_DATE
    ,       SHIP_TO_CUSTOMER_ID                   
    SHIP_TO_CUSTOMER_ID
    ,       SHIP_TO_CONTACT_ID                   
    SHIP_TO_CONTACT_ID
    ,       REMIT_TO_ADDRESS_ID                   
    REMIT_TO_ADDRESS_ID
    ,       A.PRIMARY_SALESREP_ID                 
    PRIMARY_SALESREP_ID
    ,       B.ACCOUNT_NUMBER                     
    CUSTOMER_NUMBER
    ,       A.INTERNAL_NOTES                     
    INTERNAL_NOTES
    A.BATCH_SOURCE_ID
    BATCH_SOURCE_ID
    A.COMMENTS
    TRX_COMMENTS
    ,       PREVIOUS_CUSTOMER_TRX_ID             
    PREVIOUS_CUSTOMER_TRX_ID
    ,       SHIP_TO_SITE_USE_ID                   
    SHIP_TO_SITE_USE_ID
    ,       NVL(PRINTING_COUNT,0)                 
    PRINTING_COUNT
    ,       PRINTING_ORIGINAL_DATE               
    PRINTING_ORIGINAL_DATE
    ,       PRINTING_LAST_PRINTED                 
    PRINTING_LAST_PRINTED
    ,       PRINTING_PENDING                         PRINTING_PENDING
    ,       LAST_PRINTED_SEQUENCE_NUM             LAST_PRINTED_SEQUENCE_NUMBER
    ,       START_DATE_COMMITMENT                    START_DATE_COMMITMENT
    ,       END_DATE_COMMITMENT                      END_DATE_COMMITMENT
    ,       INITIAL_CUSTOMER_TRX_ID                  INITIAL_CUSTOMER_TRX_ID
    ,       A.INVOICE_CURRENCY_CODE                  INVOICE_CURRENCY_CODE
    ,       A.TERM_ID      TERM_ID
    ,       A.SHIP_DATE_ACTUAL                       SHIP_DATE_ACTUAL
    ,       A.SHIP_VIA                                 SHIP_VIA
    ,       A.WAYBILL_NUMBER                        WAYBILL_NUMBER
    ,       A.PURCHASE_ORDER                         PURCHASE_ORDER_NUMBER
    ,       A.PURCHASE_ORDER_REVISION              PURCHASE_ORDER_REVISION
    ,       A.PURCHASE_ORDER_DATE                    PURCHASE_ORDER_DATE
    ,       P.DUE_DATE                                 TERM_DUE_DATE_FROM_PS
    ,       NVL(TL.RELATIVE_AMOUNT,100)* (100/NVL(T.BASE_AMOUNT,100))         TERM_RELATIVE_AMOUNT
    ,       T.NAME                    TERM_NAME
    ,       A.BILL_TO_CUSTOMER_ID                    BILL_TO_CUSTOMER_ID
    ,       A.BILL_TO_CONTACT_ID                     BILL_TO_CONTACT_ID
    ,       A.BILL_TO_SITE_USE_ID                    BILL_TO_SITE_USE_ID
    ,       U_BILL.LOCATION                              BILL_TO_LOCATION
    ,       NVL(A_BILL.TRANSLATED_CUSTOMER_NAME,PARTY.PARTY_NAME)     BILL_CUST_NAME
    ,       RTRIM(RPAD(LOC.ADDRESS1,40))      BILL_ADDRESS1
    ,       RTRIM(RPAD(LOC.ADDRESS2,40) )      BILL_ADDRESS2
    ,       RTRIM(RPAD(LOC.ADDRESS3,40) )     BILL_ADDRESS3
    ,       RTRIM(RPAD(LOC.ADDRESS4,40) )      BILL_ADDRESS4
    ,       LOC.CITY                                BILL_CITY
    ,       NVL(LOC.STATE , LOC.PROVINCE)   BILL_STATE
    ,       LOC.POSTAL_CODE                       BILL_POSTAL_CODE
    ,       LOC.COUNTRY                           BILL_COUNTRY
    ,       U_BILL.TAX_REFERENCE                     BILL_SITE_TAX_REFERENCE
    ,       PARTY.TAX_REFERENCE                          BILL_CUST_TAX_REFERENCE
    ,       ' ||:P_SEL_TRX_LINE_AMOUNT||'        TRX_LINE_AMOUNT
    ,       ' ||:P_SEL_TRX_TAX_AMOUNT ||'              TRX_TAX_AMOUNT
    ,       ' ||:P_SEL_TRX_FREIGHT_AMOUNT||'               TRX_FREIGHT_AMOUNT
    ,       ' ||:P_SEL_TRX_ALL_AMOUNT  ||'               TRX_ALL_AMOUNT
    ,       ' || L_ORDER_BY || '     ORDER_BY
    ,      LOC.ADDRESS1      BILL_TO_ADDRESS1
    ,     LOC.ADDRESS2      BILL_TO_ADDRESS2
    ,      LOC.ADDRESS3      BILL_TO_ADDRESS3
    ,      LOC.ADDRESS4      BILL_TO_ADDRESS4
    ,      LOC.STATE      BILL_TO_STATE
    ,      LOC.PROVINCE      BILL_TO_PROVINCE
    , a.attribute1 as our_ref
    , a.attribute2 as your_ref
    FROM    ' || :P_TABLE1 || '
    WHERE  ' || :P_WHERE1 || '
      ' || :P_USER_WHERE_CLAUSE1 || '
      ' || :P_USER_WHERE_CLAUSE2 || '
      ' || :P_USER_WHERE_CLAUSE3 || '
      ' || :P_MLS_CONDITION || '
      ' || :P_EC_WHERE_CLAUSE || '
            ' || :P_BR_WHERE_CLAUSE || '
            ' || :lp_trx_num_high || '
            ' || :lp_trx_num_low || '
            ' || :lp_trx_date_clause ||'
            ' || :lp_doc_seq_clause|| '
    UNION
    SELECT   ' || :P_SEL_TRX_ID || '
    ,  ' || :P_SEL_TRX_NUMBER || '
    ,  NVL(P.TERMS_SEQUENCE_NUMBER,1)
    ,   ' || :P_SEL_TRX_TYPE || '
    ,  ' || :P_SEL_TRX_TYPE_NAME || '
    ,  TYPES.ACCOUNTING_AFFECT_FLAG
    ,  ' || :P_SEL_TRX_DATE || '
    ,  A.SHIP_TO_CUSTOMER_ID
    ,  A.SHIP_TO_CONTACT_ID
    ,  A.REMIT_TO_ADDRESS_ID
    ,  A.PRIMARY_SALESREP_ID
    ,  B.ACCOUNT_NUMBER
    ,  A.INTERNAL_NOTES
    ,  A.BATCH_SOURCE_ID
    ,  A.COMMENTS
    ,  PREVIOUS_CUSTOMER_TRX_ID
    ,  SHIP_TO_SITE_USE_ID
    ,   NVL(PRINTING_COUNT,0)
    ,  PRINTING_ORIGINAL_DATE
    ,  PRINTING_LAST_PRINTED                
    ,  PRINTING_PENDING                      
    ,  LAST_PRINTED_SEQUENCE_NUM
    ,  START_DATE_COMMITMENT
    ,  END_DATE_COMMITMENT
    ,  INITIAL_CUSTOMER_TRX_ID
    ,  A.INVOICE_CURRENCY_CODE
    ,   A.TERM_ID
    ,   A.SHIP_DATE_ACTUAL
    ,  A.SHIP_VIA
    ,  A.WAYBILL_NUMBER
    ,  A.PURCHASE_ORDER
    ,  A.PURCHASE_ORDER_REVISION
    ,  A.PURCHASE_ORDER_DATE
    ,  P.DUE_DATE
    ,   NVL(TL.RELATIVE_AMOUNT,100)*
                     (100/NVL(T.BASE_AMOUNT,100))
    ,  T.NAME
    ,  A.BILL_TO_CUSTOMER_ID
    ,  A.BILL_TO_CONTACT_ID
    ,   A.BILL_TO_SITE_USE_ID
    ,  U_BILL.LOCATION                            BILL_TO_LOCATION
    ,  NVL(A_BILL.TRANSLATED_CUSTOMER_NAME,PARTY.PARTY_NAME)
                             BILL_CUST_NAME
    ,  RTRIM(RPAD(LOC.ADDRESS1, 40)) 
    ,  RTRIM(RPAD(LOC.ADDRESS2, 40) )                      
    ,   RTRIM(RPAD(LOC.ADDRESS3,  40) )                      
    ,  RTRIM(RPAD(LOC.ADDRESS4 ,  40) )                     
    ,   LOC.CITY                           
    ,  NVL(LOC.STATE , LOC.PROVINCE)                         
    ,   LOC.POSTAL_CODE                    
    ,  LOC.COUNTRY
    ,  U_BILL.TAX_REFERENCE
    ,  PARTY.TAX_REFERENCE
    ,   ' || :P_SEL_TRX_LINE_AMOUNT || '             
    ,  ' || :P_SEL_TRX_TAX_AMOUNT || '                
    ,  ' || :P_SEL_TRX_FREIGHT_AMOUNT  || '     
    ,  ' || :P_SEL_TRX_ALL_AMOUNT || '             
    ,   ' || L_ORDER_BY || '
    ,   LOC.ADDRESS1
    ,  LOC.ADDRESS2
    ,  LOC.ADDRESS3
    ,  LOC.ADDRESS4
    ,  LOC.STATE
    ,  LOC.PROVINCE
    , a.attribute1 as our_ref
    , a.attribute2 as your_ref
    FROM   ' || :P_TABLE2 || '
    WHERE  ' || :P_WHERE2 || '
      ' || :P_USER_WHERE_CLAUSE1 || '
      ' || :P_USER_WHERE_CLAUSE2 || '
      ' || :P_USER_WHERE_CLAUSE3 || '
      ' || :P_MLS_CONDITION || '
      ' || :P_EC_WHERE_CLAUSE || '
            ' || :P_BR_WHERE_CLAUSE || '
            ' || :lp_trx_num_low || '
            ' || :lp_trx_num_high ||'
            ' || :lp_trx_date_clause ||'
            ' || :lp_doc_seq_clause;
    The columns I added are OUR_REF and YOUR_REF which are at the end of the SELECT clause.
    Thanks,
    A.Stoyanov

  • HOW TO ADD NEW COLUMN IN EXISTING QUERY

    hi,
    i m working on oracle reorts 10g. i have a multiple query based report. now i want to add a new column in query 1 and order by on that new column .
    i added column in query but when i see that group i dont find that column in that group.wt do i need to do to visible that column in query1 group thats y the order by on that column is not working i think.
    tell how to solve it ?
    thanks

    Hi,
    The new column you have added might be in the least level group of that query.
    Drag it to the desired group level, first postion and set the break order for that item in the property pallette..
    (If still the item not coming, check whether you have put 'comma' in the select query after writing the column name)
    Simply giving the column in the order-by clause will not work in report.
    In Report, record display order is completely based on the break-order of the items given in query-groups
    If you change accordingly it will work
    Regards
    Dora

  • Newly added column not displayed in Interactive report

    Hello,
    I have a tableA with 3 columns.In the application i am displaying as Form with Report region as Interactive report(Oracle 10g Application Express 3.2).
    I added one column to tableA.Now when i am refreshing the report by adding that column in the select query,the new added column is not displayed in the application.
    How can i do this so that the added column can be displayed.I dont want to delete the whole thing and redo it again.
    Thanks
    Siya

    Hi Siya,
    The Interactive Report will not show you the newly added columns by default. You have to select those columns from the actions menu and when all the required fields are displayed then save it as the default report.
    Then you will be able to see all the columns.
    Hope this solves your problem.
    Thanks,
    Satish.

  • Displaying dynamic columns in the query output.

    Hello,
    Depending on current quarter output of the query would vary.
    If current quarter is 'Q1'
    O/p : InvQ1  Del  BackQ1  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q2'
    O/p : InvQ1  InvQ2  Del  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q3'
    O/p : InvQ1  InvQ2  InvQ3  Del  BackQ3  BackQ4
    If current quarter is 'Q4'
    O/p : InvQ1  InvQ2  InvQ3  InvQ4  Del  BackQ4
    So, out of 9 columns, 6 columns would display at any given time depending on the current quarter.
    Invoice of 4 quarters, Deliquency and Backlog of 4 quarters.
    I am not getting any way how to display dynamic columns or hide unwanted/blank columns.
    For the time being I have added all 9 columns in the query, and in the output unwanted columns shows blank.
    Can anybody please suggest me how to display only 6 columns in the output depending on current quarter.
    Thanks and Regards
    Shilpa

    Hello,
    This shouldn't be too difficult. Assuming you have a variable with the selected quarter, you may choose to display Inv (whatever that is) for quarters 1 through variable, Del, and Back for quarters variable through 4. You also need a drilldown on quarter in the columns (after the key figure structure). You would probably need to restrict 'Del' on the variable as well if you haven't already done it.
    Best regards,
    Christoffer

  • Multi Row Selector using Generic Column Names (parse query at runtime only)

    Hi,
    I created a tabular report which had a multi row select in it - got the deleting working fine.
    Am now creating a second tabular report, but because of the SQL:
    select
    "ID",
    "ID" ID_DISPLAY,
    "RESNUMBER",
    "RESDESCRIPTION",
    decode(RESTYPE,'R','Right Party','W','Wrong Party'),
    decode(DMCFLAG,'Y','Yes','N','No'),
    decode(SALEFLAG,'Y','Yes','N','No')
    from "CALL_RESULTS"
    I have to select the option Use Generic Column Names (parse query at runtime only) otherwise I cannot save the form.
    My problem is I am now unable to add a multi row selector to the tabular form. If I do and run the form I get the following error - failed to parse SQL query: ORA-00904: "COL11": invalid identifier. Also when I go back and edit the form the multi row selector has been removed.
    Can anyone tell me why I can't add a row selector like I previously could?
    Regards
    Simon

    Arie,
    I added aliases and to the decode columns, and I can now add a row selector to the form without any problems.
    Thank you very much for your help.
    Regards
    Simon

  • The condition you are adding has caused the query to be invalid.

    I select a column from the structure query: DATA_SET_ID [RDF_STATEMENT]
    I enter a condition: = :P_RSTA_RDSE_ID. (This refers to a hidden field on the page. I have confirmed that the correct value is passed.)
    I click on 'apply changes' and the page returns:
    1 error has occurred
    * The condition you are adding has caused the query to be invalid.
    Previewing the condition gives: (("RDF_STATEMENT"."DATA_SET_ID" = :P_RSTA_RDSE_ID)) which looks fine.
    I've tried a literal - (("RDF_STATEMENT"."DATA_SET_ID" = 1)) - and get the same error.
    I've tried converting to an unstructured query and get 'no data found' where the same query in SQL+ returns the desired rows.

    Mak,
    I will log this as a bug. You may have to recreate the report. Sorry about that.
    Scott

  • How to make added columns to be visible by default in interactive report?

    Hi,
    I've added two columns to an interactive report.
    When I run the page, the added columns are not visible.
    Then I made them visible through 'Select Columns' option.
    But next time when I log in those two columns are again invisible.
    How can I make the added columns to be visible by default in the interactive report?
    Thanks,
    Guy

    Hi Steve,
    I am ahving a similar issue.After I migrated my classic report to interative report, I have added few columns to the SQL query...I am not anle to see these in the report..I deint understand the solution u gave here..Can you please elaborate..
    Where can I include the "actions" option? and how do I use the Save Action.
    Can you please provide more details.
    Thanks in Advance

  • Stock Requirement List - MD04 - adding columns in this list

    Dear All,
    I am working on the Stock Requirement list ( transactioncode MD04) and the customer wants to add columns with the fields STPO-DATUV ,date of change of a drawing, and the drawing number with revision level STPO-YY_DZEINR.
    There is a badi MD_ADD_COL_EZPS which provides in adding columns, but according the structures MDPSX , MDEZX and MDSUX there are no fields in thoser structures, which directly match with the required fields; somebody has a clue to help me out and get it working.
    For instance: Vendor- and Customer data  can be added by using the pushbuttons and those fields are available from above mentioned structures.
    Thanks in advance and kindest regards,
    Rene.

    Hi Utpal Mishra
    You guessed correctly. I missed to inform our Strategy. We are using Strategy group  11  Make-to-stock prod./gross reqmts plnning.
    User is not able to do PGI or create delivery. He says I have enough stock in MMBE but why system is not allowing.
    Here there are some pending document like -
    1. Pending sales order
    2. Pending deliveries (picking not done)
    2. Delivery created & Picking Done but PGI not done. These things will have a commitment against the stock. But we are interested in getting these document numbers, so that we can take come action against them.
    MD04 simply shows the mrp element as order / delivery but the document number is not available. How to find these documents.
    Please help. Is there any table or a standard transaction ??
    Thanks

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • When adding columns, why do I get overrides on style?

    Hi all,
    When I'm adding columns in a certain document I end up with the new columns having overrides on them. How can I avoid this?
    The columns I added are seen in the middle.
    As you can see the they all get a "shift down" by -22 pt.
    I use this shift down on some other place in the document, but the table columns are clean from that kind of override, and just by selecting a column and adding 4 new columns "to the right" of that column, I would expect the new ones to get the exact same properties as the one selected.
    Can anyone try to explain what might be wrong with my document or way of working?
    Adding info: It seems there's something in the styles - many properties on them... This has noting to do with cells specifically. Just adding a textbox results renders the text this way as well, with the baseline shift (only no override symbol).
    Best regards,
    Andreas

    Ah... now I get it. The default styles of the document were set to a specific paragraph style and another character style.
    Setting the defaults to [Basic Paragraph] and None respectively seems to put everything in order.
    (You set a default by clicking outside the document so that nothing is selected, and then you select the styles [Basic paragraph] and None)
    Case closed.

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

Maybe you are looking for

  • Where can i download the driver for my ethernet controller on windows 7 (macbook pro 2011)

    where can i download the driver for my ethernet controller on windows 7 (macbook pro 2011). after the installation of windows 7 i cant use my wlan or audio.

  • Dynamic Concatenation

    Hi all How to have a dynamic concat where user can specify wad fields to concat? Below code are static and hardcoded where i specify the fields in my program. How to make the field dynamic in the sql statement? code---- Select <b>fname lname</b> into

  • Discoverer Viewer Graphing

    Hi I'm looking to have graphs created in the Windows version of Discoverer 4i viewable from Discoverer Viewer on the web. I can't see how this can be done! Can it be done? Regards, Scott Carpenter

  • ARD Agent not running on Snow Leopard

    Hi. One of my servers which usually I could connect to remotely by ARD has stopped responding to ARD or VNC. it just shows up as an IP Address in the ARD Admin. I looked at processes on the server and ARDAGENT is not running. Tried reinstalling ARD c

  • Throttling  of WLI events

    Hey Guys, I have a workflow which takes events in form of XML messages sent after a components polling a database. In span of few minutes I get thousands of records and and those many XML events to WLI server. Whats the best of way of throtling the i