Adding column in CJIA report

Hi,
I have a requirement to add profit center column in CJIA report, can anybody tell me the user exit availible for this or how it's possible.
Thanks,
Message was edited by:
        Sal Khan
Message was edited by:
        Sal Khan

You have to add your key figure first in infocube / and planning level . After this you can insert it in the planning layout in the data column screen. Check that you have inserted also CALQUARTER in the data columns in the first screen of the layout

Similar Messages

  • Adding Columns in Standard Report RWBE

    hi ,
    could u please tell me what are the guidelines we have to follow while adding fields to the standard report RWBE. I am looking into Enhancement spot for it, or is there any method to do it.
    Regards
    Ali

    Hi Ali,
    In order to add fields to the report RWBE you can use this exit: COOPA003.
    Regards,
    Quddus.

  • Can't see new added columns in Report 6i

    Hi everyone,
    I have added new columns to my report, but when I print the report, those new columns are not printed in the paper.
    Can anyone please help me to solve this issue?

    How can I do that, so I can add more space on the right?
    Ok, now I'm on my Layout: Main Section and I have 2 options:
    1) Section:
    Width: 10
    Height: 11
    Horizontal Panels per page: 1
    Vertical Panels per Page: 1
    Orientation: Landscape
    2) Character Mode
    Report Width: 80
    Report Height: 66

  • REPORT-12KST1A or T-CODE 'CJE0'   Adding a column in predefined report

    hi guru's
    Please let me know how to insert a new column in the (PROJECT SYSTEMS )
    report 12KTST1A . for that reason i copied that report in customising but
    i cant able to edit that because it is generating automatically.
    The path to get to this report is:
    Accounting
    Capital investment management
    Investment projects
    Information system
    Report selection
    Costs
    Budget-related
    Budget/Actual/Commitmt/Rem.Plan/Assigned
    Then (after entering Cntl Area & DB prof), we narrow data using "Dynamic selection" icon & check Company code. Then enter valid company & save.
    Then enter project range, then execute.
    OR
    T-CODE "CJE0".
    is there any procedure to insert a column .
    I have not used Report Writer/Report Painter previously
    Thanks in advance for any and all help!
    regards,
    satheesh.
    Edited by: satheesh sath on Jan 15, 2008 5:40 AM

    I have solved it myself by adding few lines in stored procedure. Would like to share the solution, so that it will be helpful for others.
    Open the stored procedure which we are using for the default "List of Incidents" reports.
    Add the below under SELECT
    SupportGroup = ISNULL(TierQueuesDS.DisplayName, TierQueuesEnum.IncidentTierQueuesValue),
    TierQueuesEnum.IncidentTierQueuesId AS TierQueuesId,
    Classification = ISNULL(ClassificationDS.DisplayName, ClassificationEnum.IncidentClassificationValue),
    ClassificationEnum.IncidentClassificationId AS ClassificationId,
    Add the below under FROM
     LEFT OUTER JOIN
     dbo.IncidentTierQueuesvw AS TierQueuesEnum
     ON TierQueuesEnum.IncidentTierQueuesId = I.TierQueue_IncidentTierQueuesId 
     LEFT OUTER JOIN
     dbo.DisplayStringDimvw TierQueuesDS
     ON TierQueuesEnum.EnumTypeId=TierQueuesDS.BaseManagedEntityId
     AND TierQueuesDS.LanguageCode = @LanguageCode
     LEFT OUTER JOIN
     dbo.IncidentClassificationvw AS ClassificationEnum
     ON ClassificationEnum.IncidentClassificationId = I.Classification_IncidentClassificationId 
     LEFT OUTER JOIN
     dbo.DisplayStringDimvw ClassificationDS
     ON ClassificationEnum.EnumTypeId=ClassificationDS.BaseManagedEntityId
     AND ClassificationDS.LanguageCode = @LanguageCode
    Then open the report from Report Builder and add new column in the design. Add Support Group and Classification as a column in the report.
    Thanks & Regards, Dinesh

  • 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.

  • Adding profit center column in CJI3 report

    Hi Experts,
    How can I add profit center column in CJI3 report ?
    This field is not available in "change layout" option as one of the hidden columns.
    Please need help
    Thanks
    Ferdaws

    Default CJI3 report does not have the profit center field.
    One option could be (and this is what we using in our system for adding additional columns in CJI3 report):
    Enhancement on CJI3 report.
    Implement enhancement COOMEP01 (enhancment componment EXIT_SAPLKAEP_001).
    You need to extend your CO structure COEP (CI_COBL) or RKPOS (CI_RKPOS) to add profit center field in this structure. Then implement the above enhancement with a simple code to fill the profit center field with lookup from WBS master table.
    Hope this helps.
    Thanks.
    Rahul

  • 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

  • Adding a hidden column in the report

    i have to add a column to the existing form,the newly added column should not visible at the run time .whenever i am inserting the data into the form automaticallly the newly added column should update with the flag as 'N'.
    Note:i will not enter any data manually in the newly added column.it's automatically get the flag in backend

    i have 3 tables whenever i am updating the data into the first table automatically corresponding columns in to the other 2 tables should get updated.
    if i want put a condition like c1='y' c2='y' then it should update the data in all tables at a time.and
    if c1='y',c2='n',c3= some date at this time it should update according to the date.
    what should i do?
    can i use pre update or post update triggers if so how can i use them

  • Adding custom column to a report

    I'm a newbie using APEX 2.1 on Oracle XE.
    I've created a simple page with a report which displays the list of rows in a table. I'd like to add an extra column to this report with an "Edit" button for each row. (So I can obviously edit individual rows in a separate window) But I can't see any way to alter the report output to be able to add extra columns.
    Have I approached this the wrong way ? (NOTE: I don't want to edit the row in-situ in the table)
    Thanks.

    Try using the Form Wizard to create your pages. If you select the "Form on a Table with Report". It will for the most part do all the work for you. Then you just cleanup the UI to look the way you want it too.

  • OIM report / add column to working report

    Hi,
    I need some help with OIM reports.
    Cannot add a column to a working report. What I have done is that I have changed the Stored procedure and then changed the Report XML Metadata to include that column.
    The report just turns out to be blank after the changes made.
    A snippet of the change to the Stored Procedure(added line in bold):
    -- contruct the query
    strColumnList := ' tusracc.system as "SYSTEM", ' ||
    ' vifs.ifsemp_employee_id as "EMP_ID", ' ||
    ' vusr.usr_first_name || '' '' || vusr.usr_last_name as "EMP_NAME", ' ||
    *' vusr.usr_status as "USR_STATUS", ' ||*
    ' tusracc.attribute as "ATTRIBUTE", ' ||
    ' tusracc.attrvalue1 as "ATTRVALUE" ';
    strFromClause := ' v_users vusr, v_ifsusers vifs, tmp_user_access tusracc ';
    strWhereClause := ' tusracc.usr_key = vusr.usr_key ';
    strWhereClause := strWhereClause || ' and vusr.usr_key=vifs.usr_key(+)';
    IF strsortcolumn_in IS NULL THEN
    strOrderByClause := ' 2 ' ;
    ELSE
    strOrderByClause := strsortcolumn_in ;
    END IF;
    IF strsortorder_in = 'DESC' THEN
    intSortDirection_in := 0;
    ELSE
    intSortDirection_in := 1;
    END IF;
    -- run the report query
    XL_SPG_GetPagingSql(strColumnList,
    strFromClause,
    strWhereClause,
    strOrderByClause,
    intSortDirection_in,
    intStartRow_in,
    intPageSize_in,
    select_stmt
    OPEN csrresultset_inout FOR select_stmt;
    ELSIF intdocount_in = 2 THEN
    OPEN csrresultset_inout FOR select dummy from dual;
    END IF;
    In the report XML Metadata I have added a line for the USR_STATUS column(change in bold):
    <Report layout="Tabular">
    <StoredProcedure>
    <InputParameters>
    <InputParameter name="v_resource_name" parameterType="varchar2" order="1" fieldType="LookupField" fieldLabel="report.ResourceAccessList.label.resourceName" required="true">
         <ValidValues lookupCode="Lookup.Reports.Objects"/>
    </InputParameter>
    </InputParameters>
    </StoredProcedure>
    <ReturnColumns>
    <ReturnColumn name="SYSTEM" label="customer.report.system" display="true" position="SectionHeader" primarySort="true" filterColumn="false" />
    <ReturnColumn name="EMP_ID" label="customer.report.emp_id" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
    <ReturnColumn name="EMP_NAME" label="customer.report.emp_name" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
    *<ReturnColumn name="USR_STATUS" label="global.label.Status" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />*
    <ReturnColumn name="ATTRIBUTE" label="customer.report.attribute" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
    <ReturnColumn name="ATTRVALUE" label="customer.report.value" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
    </ReturnColumns>
    </Report>
    Anything that I have missed to do? We have restarted the app server, but it still doesn't work.
    Regards,
    Thomas

    Arghle.....
    I found the reason for the blank result page with this...
    apparently we are not allowed to name a resulting column in a stored procedure to USR_STATUS, silent fail :/
    When I renamed this to EMP_STATUS it all works as intended...
    Duh!
    I wonder in where it says not to do this...

  • The number of display columns in the report reached the limit" Interactive Report

    I get the error message of "The number of display columns in the report reached the limit" when trying to display less than 100 (100 is limit) columns when an aggregate has been created.   This does not happen when an aggregate has not been added to the IR report.  It seems to happen because I have a control break on as well.  When I turn off the control break it works but is not the result that we want.  Interesting enough, if I filter the results down to 500 rows it works just fine.  Does oracle treat aggregates as columns!?  This is a really odd issue that I really need to clear up.
    Oracle 11g
    apex 4.1.0.33
    Thanks in advance,
    Shawn.

    Hi,
    i have set up a small test case on apex.oracle.com and I receive the same error if I use download format.
    I have a table
    test_blob (id number, name varchar2(10), blobcont blob)
    If I create IR like
      select
        id,
        name,
        blobcont
      from test_bloband then I define download format I hit the error.
    If you want this to work you have to change your query to
      select
        id,
        name,
        dbms_lob.getlength(blobcont) blobcont
      from test_blobAnd then again define download format for blob on blobcont column.
    Regards,
    Aljaz

  • Adding column headings

    I am using RAS server to create dynamic columns in my report. But the column headings are not coming.
    Isnt there any way to set the heading for the newly added columns?   
    Any idea what i am missing?   
    Here is a code i am using
        Private Sub AddTableFromDataSet(ByVal ds As System.Data.DataSet, ByVal crTable As CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable)
            ' Add the dataset as a data source to the report
            m_boReportClientDocument.DatabaseController.AddTable(crTable, DBNull.Value)
            m_boReportClientDocument.DatabaseController.SetDataSource(DataSetConverter.Convert(ds), "TEST")
            Dim ifield As Integer
            ' Add a field to the report canvas
            Dim CrField As CrystalDecisions.ReportAppServer.DataDefModel.ISCRField
            For Each dtfield In m_boReportClientDocument.Database.Tables(0).DataFields
                ifield = m_boReportClientDocument.Database.Tables(0).DataFields.Find(dtfield.Name.ToString, CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault)
                CrField = DirectCast(m_boReportClientDocument.Database.Tables(0).DataFields(ifield), Field)
                CrField.HeadingText = CrField.Name
                CrField.Description = "TEST"
                m_boReportClientDocument.DataDefController.ResultFieldController.Add(-1, CrField)
            Next
        End Sub
    Thanks in advance

    You either have to add the heading yourself, or you can use
    reportClientDoc.ReportDefController.ReportObjectController.AddByName("{Orders.OrderID}", "OrderID")
    This doesn't let you set anything about the objects, so it would probably be better to add them separately.

  • 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

  • Columns Display in reports

    Hi all,
    I have made a detailed request with some new columns in original reports.
    But they r not getting displyed.
    What could be the reason behind this?
    can someone help me??

    Hi,
    Goto result tab.
    click on the Edit view button on the top right corner of the table view.
    In the layout section you can see the newly added columns in excluded section.
    Drag those columns and drop it on columns and measures section.
    Try this...
    If it is helpful mark it.

  • Hide or show column from a report region based on user logged in

    Hi,
    I have this criteria, where I need to display a column on a report page but depends on the users logged in ( APP_User).
    On the field(column page) there is the Conditional Display option
    Conditional Display
    Condition Type: I choose the option where "item value in Expression 1 = expression 1
    *Expression 1*
    App_USER
    *Expression 2*
    I need to add 4 user names here that they allowed to view that column
    My question is how to list the names in expression 2 field, it worked when I added one name, but when I listed 4 names separated by comma, it didn't work.
    I appreciate any help or any solutions from you.
    Thank you.
    Sofia

    If you use "Text in Expression 1 is contained in the Value of Expression 2" then you can provide a comma-separated list. The only thing to watch out for is if you have a user "Bob" and a user "Bob Smith" then you will get a match on "Bob Smith" for the user "Bob"

Maybe you are looking for