Toplink 9.0.4.5  gradually generate extra columns in SQL

We encounter a very interesting Toplink feature or bugs after we upgrade to 9.0.4.5
The general pattern is that when we have SQL generated that involves joining more than 1 tables, after toplink run for a while, the join SQL statement get bigger and bigger with repeat of columns from some of the join table.
Eventually, the SQL statements become so big with repeated groups of columns that oracle fails.
The following are some example SQL from our log from the same run,
ServerSession(1409420520)--Connection(840879336)-
Notice the progression of more and more repeated column groups.
ServerSession(1409420520)--Connection(840879336)--TopLink, version: OracleAS TopLink - 10g (9.0.4.5) (Build 040930)
ServerSession(1409420520)--Connection(840879336)--connecting session: Not named
ServerSession(1409420520)--Connection(840879336)--connecting(DatabaseLogin(
platform=>Oracle9Platform
user name=> "COMMON"
datasource URL=> "jdbc:oracle:thin:@DEVT5DB1:1521:BASET7"
ServerSession(1409420520)--Connection(840879336)--Connected: jdbc:oracle:thin:@DEVT5DB1:1521:BASET7
User: COMMON
Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
Driver: Oracle JDBC driver Version: 9.2.0.4.0
ServerSession(1409420520)--Connection(103599336)--TopLink, version: OracleAS TopLink - 10g (9.0.4.5) (Build 040930)
ServerSession(1409420520)--Connection(103599336)--connecting session: Not named
ServerSession(1409420520)--Connection(103599336)--connecting(DatabaseLogin(
platform=>Oracle9Platform
user name=> "COMMON"
datasource URL=> "jdbc:oracle:thin:@DEVT5DB1:1521:BASET7"
ServerSession(1409420520)--Connection(103599336)--Connected: jdbc:oracle:thin:@DEVT5DB1:1521:BASET7
User: COMMON
Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
Driver: Oracle JDBC driver Version: 9.2.0.4.0
ServerSession(1409420520)--Connection(389549288)--TopLink, version: OracleAS TopLink - 10g (9.0.4.5) (Build 040930)
ServerSession(1409420520)--Connection(389549288)--connecting session: Not named
ServerSession(1409420520)--Connection(389549288)--connecting(DatabaseLogin(
platform=>Oracle9Platform
user name=> "COMMON"
datasource URL=> "jdbc:oracle:thin:@DEVT5DB1:1521:BASET7"
ServerSession(1409420520)--Connection(389549288)--Connected: jdbc:oracle:thin:@DEVT5DB1:1521:BASET7
User: COMMON
Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
Driver: Oracle JDBC driver Version: 9.2.0.4.0
ServerSession(1409420520)--Connection(840879336)-
SELECT
t1.MODIFY_DT, t1.VER_ID, t1.CREATE_DT, t1.AUTHOR_ID, t1.ROLE_ID, t1.MEMBER_ID, t1.PERMISSION_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID
FROM
COMMON.MEMBER_ROLE_ASSIGNMENT t0,
COMMON.PERMISSION t2,
COMMON.MEMBER_ROLE_PERMISSION t1
WHERE
(((t1.MEMBER_ID = 'ctestqaa@adp') AND
(t1.ROLE_ID = 'QAA')) AND
((t2.PERMISSION_ID = t1.PERMISSION_ID) AND
((t0.ROLE_ID = t1.ROLE_ID) AND
(t0.MEMBER_ID = t1.MEMBER_ID))))
ORDER BY t1.CREATE_DT ASC
ServerSession(1409420520)--Connection(840879336)-
SELECT
t1.MODIFY_DT, t1.VER_ID, t1.CREATE_DT, t1.AUTHOR_ID, t1.ROLE_ID, t1.MEMBER_ID, t1.PERMISSION_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID
FROM
COMMON.MEMBER_ROLE_ASSIGNMENT t0,
COMMON.PERMISSION t2,
COMMON.MEMBER_ROLE_PERMISSION t1
WHERE
(((t1.MEMBER_ID = 'qaa09@adp') AND
(t1.ROLE_ID = 'QAA')) AND
((t2.PERMISSION_ID = t1.PERMISSION_ID) AND
((t0.ROLE_ID = t1.ROLE_ID) AND
(t0.MEMBER_ID = t1.MEMBER_ID))))
ORDER BY t1.CREATE_DT ASC
ServerSession(1409420520)--Connection(840879336)-
SELECT
t1.CREATE_DT, t1.MODIFY_DT, t1.BASE_CLIENT_ID, t1.VER_ID, t1.AUTHOR_ID, t1.ROLE_ID, t1.MEMBER_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID
FROM COMMON.MEMBER_ROLE_ASSIGNMENT t0,
COMMON.MEMBER_ROLE_CLIENT_ASSIGNMENT t1
WHERE
(((t1.MEMBER_ID = 'rliubsa@adp') AND
(t1.ROLE_ID = 'QAA')) AND
((t0.ROLE_ID = t1.ROLE_ID) AND
(t0.MEMBER_ID = t1.MEMBER_ID)))
ServerSession(1409420520)--Connection(840879336)-
SELECT
t1.MODIFY_DT, t1.VER_ID, t1.CREATE_DT, t1.AUTHOR_ID, t1.ROLE_ID, t1.MEMBER_ID, t1.PERMISSION_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID,
t0.VER_ID, t0.MODIFY_DT, t0.CREATE_DT, t0.AUTHOR_ID, t0.MEMBER_ID, t0.ROLE_ID,
t2.PERMISSION_ID, t2.VER_ID, t2.CREATE_DT, t2.AUTHOR_ID, t2.MODIFY_DT, t2.ACTION_ID, t2.ENV_ID, t2.RESOURCE_ID
FROM
COMMON.MEMBER_ROLE_ASSIGNMENT t0,
COMMON.PERMISSION t2,
COMMON.MEMBER_ROLE_PERMISSION t1
WHERE
(((t1.MEMBER_ID = 'rliubsa@adp') AND
(t1.ROLE_ID = 'QAA')) AND
((t2.PERMISSION_ID = t1.PERMISSION_ID) AND
((t0.ROLE_ID = t1.ROLE_ID) AND (t0.MEMBER_ID = t1.MEMBER_ID))))
ORDER BY t1.CREATE_DT ASC

The latest patch, TopLink 9.0.4.7 is available at metalink.oracle.com. It can be found by searching for patch 4309484.
Note: TopLink patches are cumulative and contain fixes from all previous patches.
The following is the bug description:
"Introduced OracleAS TopLink 10g (9.0.4.5), OracleAS TopLink no longer appends duplicate fields to SQL when executing a query that includes mapping-level-joining."

Similar Messages

  • How to Generate Dynamic Columns from SQL

    Hi Friends,
    I want to create a data fromat like This
    Showroom / date    01-01-09        02-01-09     03-01-09     04-01-09      05-01-09     06-01-09     07-01-09   
    S1                           20                      10              09            90             90                  10            100
    S2                           10                       1                1              2               6                    2             10
    S3                            5                        7                 9             1               2                    3             12This Data is Just like Matriz Reports....................................
    Here i Want to Generate Date column value Dynamically.....................is it possible through SQL
    the values are Sales value for each showroom for diffrent date value
    all sale,showroom and Date Column are in one Table......................
    It should Generate date Dynamically depending on User VAlues./..............
    Thanks in Advance

    something to play with (not tested as I don't have database access)
    declare
    /* assuming table showroom_sales has columns a_showroom,a_date,a_sale */
      the_sql varchar2(32000) := 'select a_showroom';
      day_from date := to_date('20090101','yyyymmdd');
      day_till date := to_date('20090107','yyyymmdd');
    begin
      for d in (select a_date from showroom_sales where a_date between day_from and day_till)
      loop
        the_sql := the_sql ||
                   ',max(decode(a_date,to_date('''||to_char(d.a_date,'yyyymmdd')||''',''yyyymmdd''),a_sale,null)) "'||to_char(d.a_date,'dd-mm-rr')||'"'
      end loop;
      the_sql := the_sql || ' from showroom_sales group by a_showroom order by a_showroom ';
      dbms_output.put_line(the_sql);  /* to verify if query is correct or not */
    end;the code above should generate something like (provided all those dates appear in your showroom_sales table)
    select a_showroom,
           max(decode(a_date,to_date('20090101','yyyymmdd'),a_sale,null)) "01-01-09",
           max(decode(a_date,to_date('20090102','yyyymmdd'),a_sale,null)) "02-01-09",
           max(decode(a_date,to_date('20090103','yyyymmdd'),a_sale,null)) "03-01-09",
           max(decode(a_date,to_date('20090104','yyyymmdd'),a_sale,null)) "04-01-09",
           max(decode(a_date,to_date('20090105','yyyymmdd'),a_sale,null)) "05-01-09",
           max(decode(a_date,to_date('20090106','yyyymmdd'),a_sale,null)) "06-01-09",
           max(decode(a_date,to_date('20090107','yyyymmdd'),a_sale,null)) "07-01-09"
      from showroom_sales
    group by a_showroom
    order by a_showroom to be executed to get the result as required
    Regards
    Etbin

  • R12 Payment Process Request Status Report adding extra columns to XML data.

    In 11i, we had modified the Preliminary Payment Report to include extra columns ( invoice distributions). In r12 , that report is obsolete and Oracle introduced a new report "Payment Process Request Status Report". This request uses BI Publisher to generate the final report output. I am unable to modify the template since the XML output of the report does not
    contain the invoice distribution account data. We need to know how can we modify the XML data to include the extra columns.
    For Funds Disbursement Process ( Payment Instruction File) , Oracle provides IBY_FD_EXTRACT_EXT_PUB extensibility package to construct custom XML element structure that can be added to the payment XML extract generated by Oracle Payments. Do we have something similar for this report ? Are there any other options available ?
    Thanks

    Hi
    The same package "IBY_FD_EXTRACT_EXT_PUB" works for payment process request status report also. Please add the logic to get the distribution data in this package and you will see the new XML tags in this report also.
    Hope this helps.
    Vinit

  • Extra column in CS12

    Hi!
    I would like to show a new column from material master in the list generated in transaction CS12.
    I have checked these links but I cannot solve my problem:
    user exit for CS11, CS12, CS13 (BOM ALV browser)
    Add Extra Columns into Multi-Level Explode BOM (List Report)  - CS12
    Regards,
    Imanol Dehesa

    The problem started when I added my cycle count to the data file. I'm getting a cycle count but it seems like it's in the form of x,y. The data looks like this.  ,1,1.2,1.2,1.2,1.2
                                                          ,1,1.2,1.2,1.2,1.2
    This represents the first cycle. The numbers looks good, other than that leading "comma", like there's a phantom value there.
    Attachments:
    snip1.png ‏30 KB

  • Add Extra Columns into Multi-Level Explode BOM (List Report)  - CS12

    Hi Experts,
    I wish to add extra columns into the list report generated from program RCS12001 (calling from t-code: CS12). The current layout will be AS-IS and the only way i wish is to add-in few new columns in the report.

    Hi
    declare select-options instead of parameters
    for converting a report to ALV
    create a field catalog.
    for this two option declare a itab with       
    fcat    TYPE slis_t_fieldcat_alv
    and pass the field name,descr etc to fcat and append the same.
    or create structur same as your itab and pass the same with FM
    'REUSE_ALV_FIELDCATALOG_MERGE'
    use either <b>reuse_alv_grid_display or reuse_alv_list_display</b> .
    and pass the itab.
    thanks
    Shiva

  • Af:table. How to add extra column.

    Hi,
    On my page I have a table that is generated from a view object. The attributes from the VO are coming from a entity object.
    table looks fine on my page. But now I need to add a extra column on the table and the value for that is coming from a other table then of the entity object.
    How can I make tis?
    Is it possible to have a entity object for more then 1 table?
    Should I make a VO that is filled with a query instead of a entity object?
    The VO is used on many pages, so can't change to much on that.
    Hope you have some good suggestions.
    thanks in advance.

    Hi:
    You can have VO with more one entity.
    I recomended to add attribute from entities and use which need.

  • Extra column in Crosstab report

    Hi Experts,
    We are designing a cross tab report (using CR 2008) and got stuck at one point. If we want to add an extra column in cross tab, what is the way to insert the same?
    Currently our cross tab is designed using 3 elements: Country, Month and Sales. We would like to add an extra column u201Clast year salesu201D before Month data. This element is present in database.
    Any help / suggestions would be appreciated.
    Regards,
    Chinmay

    Right click Cross tab - -> Cross tab expert
    Drag field into columns and the position with up/down arrows
    Ian

  • Extra columns in ALV report

    Hi there,
    I added a column to an existing alv report which uses method 'set_table_for_first_display' to display the output.
    The method is called via:
    grid1              TYPE REF TO cl_gui_alv_grid,
        CALL METHOD grid1->set_table_for_first_display
              EXPORTING
                        i_structure_name     = 'MAT_DATA'
                        is_layout            = lt_layout
                        is_variant           = lt_variant
                        i_default            = lt_default
                        i_save               = 'A'
                        it_toolbar_excluding = lt_exclude[]
               CHANGING it_outtab            = mat_data[]
                        it_fieldcatalog      = w_fieldcat[]
             EXCEPTIONS
                        program_error        = 1.
    The extra columns are in the field catalog and mat_data.
    The lt_variant-report field has the report name in it.
    When I run the report the new column does NOT appear.
    I cleared out the lt_variant-report value and now the new column DOES appear.
    Any idea why this is happening?
    Is there some way I can leave the report name in there and see the new columns?
    Thanks.

    thanks.
    no_out is initial.
    But, in this case, I am not passing any variant.
    It works if I don't pass the report name in the
    is_variant-report
    field.The columns will not display if I pass the report name.

  • Deleting an extra column in the resultset of genericsearch page

    Hello E-Commerce Experts,
    we have a requirement where we need to delete a column in the resultset of the quicksearch trasactions in the genericsearch page.
    In order to hide this column we placed a condition in the action class from where we are getting the contents in the column.
    Now, we are unable to see the contents in the column but we are getting an empty column.
    As the genericsearch page gets genereted dynamically,we are unable to place any condition on that extra column.
    Can anyone suggest how to prevent this column from appearing on the screen. Do we need to set any parameters or anything.
    Thanks and regards,
    venkatesh Saini.

    Hi Venkatesh,
    You do not need to modify Action class for just hiding Trash column.
    Put below lines of code as I have suggested in *genericsearch.jsp* file you will able to hide *Trash* column without modifying Action class.
    You need to do 2 things to achieve your goal.
    First remove Header cell for Trash column and then remove trash icon cell from each row.
    First Search *<%-- // +++++++++++++++ RESULT LIST START +++++++++++++ --%>* comment.
    1) First Hide cell from Header Row.
    <% if ( ! "hidden".equals(listheader.getType())) { %>
         <% if ( listheader.getWriteUnderProperty() == null  ||  listheader.getWriteUnderProperty().length() <= 0  || baseui.isAccessible) { %>
              <% if ( ! firstPty) { %>
                 </th>
              <% }
                  firstPty = false;
              %>
         <%  //Custom Line
              if (!(ui.writeResultListHeader(listheader) == "" || ui.writeResultListHeader(listheader) == null)){  //Custom line
         %>  //custom Line
          <th scope="col" <%=ui.getTabIndex(true)%>>
                   <%=ui.writeResultListHeader(listheader)%>
         <% }%>     //Custom Line
    <% } else { %>
         <br /><%=ui.writeResultListHeader(listheader)%>
    <% } %>
    <% } %>
    2) Now Remove Trash cell from row. Below code with close <TD> tag properly
    <% if ( (! isWriteUnderProperty)) { %>
       <% if((iconPath == null) || (iconPath == "")){%> // Custom line
         <td <%=ui.writeResultTitlePerTD(rowfields)%> <%=ui.getTabIndex(true)%> <%=(iconPath !=null && iconPath.length() > 0 ? "style=\"text-align: center\"": "")%>>
      <% } else {%> // Custom Line
          </td>
      <%}%> //Custom Line
    <% } else { %>
          <br />
    <% } %>
    3) Now hide Cell with Trash icon.
    <% if (iconPath != null && iconPath.length() > 0) { %>
      <% if((iconPath == null) || (iconPath == "")){%> //Custom Line 
    < imge src="<%=iconPath%>"  alt="<%=outField.getString("ICONTITLE")%>"  border="<%=outField.getString("ICONBORDER")%>" width="<%=outField.getString("ICONWIDTH")%>" height="<%=outField.getString("ICONHIGHT")%>" />
      <% } %> //Custom Line
    <% } else { %>
         <%=ui.writeResultlistValue(rowfields , fieldValue)%>
    <% } %>
    I have written //Custom Line where I have added it in standard code.
    I have tested on my local and working fine.
    Let me know if you face any problem.
    eCommerce Developer

  • Generating reports from PL/SQL

    I'm new to the world of BI Publisher - so far I'm impressed with what I've seen. I've managed to create a report and an RTF template and generate some nice looking PDF's :)
    What I need to do now is to have a nightly job that produces PDF shipment reports using my template for all new shipments generated during the day and I'm having a little difficulty putting it all together.
    I've looked at the BI Publisher API's that allow me to generate an XSL from my RTF template and the using the FO engine merge the XSL and XML data to produce the PDF. Then using the delivery manager API's I can send these reports out via email.
    I'm a little unsure of how to get the XML source - I've played around with the DataEngine API to generate XML from a SQL query so I think that's where I should be heading.
    Does this all sounds right ? Ideally, I want to be able to do all of this from within a scheduled PL/SQL job every night but all the interaction with the BI server seems to be via Java.
    Is there an easy(ish) way to run all of this from within PL/SQL ?
    And should I be going about this by:
    1/ generate XML data using dataengine API
    2/ create an RTF template using word and the xml data generated above
    3/ use the RTF processor to generate an XSL-FO from my RTF template
    (1-3 will only need to be done once)
    4/ Then my nightly job will use the dataengine to generate new shipment XML data
    5/ use FO processor to generate PDF's from each
    6/ use delivery manager API's to email out
    All sounds very cumbersome and intense -is there no easier way ?! :) Also, I'm thinking i should be using the bursting engine to split one query containing all the new shipment data and generate/mail a PDF for each shipment ? Is that necessary if all going to the same email address ?
    Help/guidance/suggestions greatly appreciated !
    Many thanks,
    Brent

    repost .... Has anyone successfully called BIP web services from within the database using Java stored procedures ?
    Still struggling to work out how to generate my reports from PL/SQL ! :((

  • How to Load data for extra columns exist in the dest schema....

    Hi Experts,
    Please help me.
    I need to replicate data from SchemaA to SchemaB.
    SchemaB has 3 extra columns. Two are varchar2 type and other is Integer type.
    I need to replicate the data from SchemaA to SchemaB in the same database.
    When ever i inserted the data in SchemaA, The extra columns should be populated with some default data.
    And if we did any update on SchemaA then the extra columns on SchemaB should be populated with other Data.
    I wrote some DML_HANDLER but it always populating same data.
    I dont know ow to handle this type of situation.
    my Handler is:
    CREATE OR REPLACE PROCEDURE dml_handler(in_any in sys.anydata)
    IS
    lcr SYS.LCR$_ROW_RECORD;
    rc PLS_INTEGER;
    object_owner VARCHAR2(30);
    BEGIN
    rc := in_any.GETOBJECT(lcr);
    object_owner := lcr.GET_OBJECT_OWNER();
    IF lcr.get_object_owner() = 'SchemaB' THEN
    lcr.add_column('new','SHIP_DATE',sys.anydata.convertvarcahr2('N'));
    lcr.add_column('new','SHIP_ZONE',sys.anydata.convertvarchar2('N'));
    lcr.add_column('new','SHIP_REACH_BY_DATE',sys.anydata.convertnumber(1));
    lcr.EXECUTE(TRUE);
    END IF;
    END;
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER
    (object_name => 'SchemaB.TAB_TEST',
    object_type => 'TABLE',
    operation_name => 'INSERT',
    error_handler => FALSE,
    user_procedure => 'STRMADMIN.DML_HANDLER');
    END;
    On extra columns in SChemaB
    if its a first insert then the default values are (N,N,1).
    If we did any update the values should be (Y,Y,2)
    Post any script or give me some idea.
    Thanks,
    Ray
    Edited by: user7423698 on Mar 3, 2009 6:12 PM

    CREATE OR REPLACE PROCEDURE dml_handler (
    in_any IN SYS.ANYDATA
    IS
    lcr sys.lcr$_row_record;
    rc PLS_INTEGER;
    cmd_type VARCHAR2 (30);
    BEGIN
    rc := in_any.getobject (lcr);
    cmd_type := lcr.get_command_type;
    IF cmd_type = 'INSERT'
    THEN
    lcr.set_values ('new', lcr.get_values ('new', 'N'));
    lcr.add_column ('new', 'type', sys.anydata.convertchar ('I'));
    lcr.set_values ('old', NULL);
    lcr.add_column ('new', 'time', sys.anydata.converttimestamp (systimestamp));
    lcr.execute (TRUE);
    END IF;
    END;
    Set the DML handler for INSERT and write a similar one for UPDATE.

  • Generating dynamic column in planning layout

    Hi Guys,
    I am new to BPS.. My task is user inputs calendar year thru variable, based on the year it has generate dynamic columns as month of the year entered by the user.
    Dnt know i am right or wrong based on the sdn threads. i think i have to create user input variable, and create a FM to read the user input value. Upto to this i can understand, after reading the user input how to calculate the months and generate 12 columns dynamically for each month...
    Kindly help me in this scenario..
    Edited by: kevin peterson on Jun 6, 2008 5:23 AM

    Hi,
    I hope you are using calendar year/month and calendar year characteristics. Create an user input variable for calendar year,
    create one exit variable for calendar year month.
    Inside this exit, read the value of the user input variable, append the year with all 12 months, so u get 12values for this exit variable.
    Now keep calendar year in header, restricted by user input variable, create one data column dynamic for calendar year month restricted by this exit variable. This will generate 12columns dynamically.
    Bindu

  • KSB1 user exit & extra column.

    Hi
    How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
    Thanks
    Rendani

    Hi,
    Pls find the user exits available for the tcode :KSB1 below:
    COCCA001  Customer enhancement to cost center authorization checks
    COCCA002  Customer Functions for Organizational Authorization Checks
    COOMEP01  CO-OM: Information system -> line item reports
    COOMKA01  Customer Fields for Cost Element Master Data
    COOMKS01  Customer Fields for Cost Center Master Data
    COOMKS02  Cost Center: Checks When Saving
    COOMKS03  Cost Center: BAPI Enhancements
    COOMLA01  Customer Fields for Activity Type Master Data.
    Pls reward if helpfull.
    Regards,
    Sharath

  • KSB1  extra column or user exit to add extra fiel on report.

    Hi
    How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
    Thanks
    Rendani

    Hi,
    Please search for OSS note in market place.
    I have worked on it, but I donot remember the OSS note number.
    Thanks,
    Sriram Ponna.

  • Using SAP Tokens & showing extra columns to choose

    I have a Crystal Report where I have a SAP token parameter to select a budget scenario to run the report based on.
    My token is selecting the 3 columns I need to display inorder to select the correct scenario - AbsID, Name & FinancYear.
    Budget@Select AbsID, Name,FinancYear  from OBGS order by 3
    When I preview in SAP my drop down box only gives me AbsID and name - which is of course a list diplaying "Main Budget" repeated for the number of financial year I have in the database.
    As these Main Budgets can (and have) been created in any order, it is impossible toexpect the users to select the correct budget from the displayed data.
    As there is no direct join from OBGS to OFPR on financial year, I can't work out how to either display the additional column in the choose from list, or filter my selection statement so it will only give scenarios that relate to the financial year for the period I have selected
    Any sensible suggestions welomed!

    Hi Julie,
    Remember that combo box controls in SAP can only display two values, a code and description, or in the case of report tokens the first two columns you specify in the token query. Seeing as you need the third column to distinguish between the first two sets of values a combo box is no use to you on it's own.
    The following is off the top of my head and untested but what about either replacing the combo box with a CFL that shows as many columns as you need (and by nice coincidence the first column in that table is the value you want selected, AbsID), OR, created two report parameters the first displays the Financial Year and the second displays the AbsID and Name values for the selected FinYr?
    Remember I'm writing this free hand so you'll need to test to make sure it's ok.
    Replace Cbo with CFL
    Budget@Select * From OBGS order by 3
    This should display a CFL where you can add any extra columns needed from the form settings.
    Two Cbo Parameters
    FinYr@ SELECT F_RefDate FROM OFPR
    Budget@Select AbsID, Name from OBGS WHERE FinancYear = ('FinYr@') order by 3
    So you can reference one parameter name inside another to limit the results displayed by the second parameter.
    One of the above or some variation should get you what you need.
    Regards,
    Andrew.

Maybe you are looking for

  • How to read a message from com port

    i have a gsm modem connect to my pc though a serial port how can i read the output from modem and use them in my java program many thanks....

  • Reader 9.3.1 locks PDF-Document

    Hi, we have some PDF-Reports which are created locally on a Crystal Reports Server and afterwards copied by a copy job to a network folder where users can access the reports. This works generally fine, but there's one problem: when a user opens a PDF

  • [Oracle VM 3.1.1] Fresh install, update python bindings on server failed

    Hello, I've installed the Server and Manager components. I'm trying to discover the VM server from the manager's web interface. I'm getting the following error message: OVMAPI_4010E Attempt to send command: get_api_version to server: <Internal_IP_Of_

  • New version of 10.7.3 combo update

    As reported by OSXDaily a new version of the 10.7.3 combo update has been provided.  This is different to the version that earlier was available.  They are definitely different and that can be confirmed through determining the SHA1 of the two version

  • Looking for Coldfusion Classes in-person

    I am looking for Coldfusion classes in Springfield, Massachusetts.  Any help?