Grouping of chracateristics by using dynamic data columns

Hi all,
I want to create a BPS Layout (BW3.5) with the material in the lead column and a KeyFigures, the year and the salesgroup in the data column. The salesgroup is the dynamic characteristic.
Example:
I want to have:
SG1 2007/   SG1 2008/   SG2 2007/   SG2 2008...
What the system is doing is:
SG1 2007/   SG2 2007/   SG1 2008/   SG2 2008
My question is: how can I change the grouping of the columns from year to salesorg?
Can anybody help me?
Best regards,
Rainer

Hi Rainer,
Thanks for your appreciation.
I thought there is not material in your lead column, okay if your case like that i suggest you like this.
I suggest to .
To choose Layout Category:
1. Key Figures in Data Column
Define data column dynamically for : Sales Group
And make the fiscal year, and material as lead column.
In the data column tab, define the key-figures there and mark Dynamic checkbox.
Or if you want to group based on the fiscal year, you can make the fiscal year as you dynamic data column.
Hopefully it can help you a lot.
Best regards,
Niel.
thanks for the points you choose to assign.

Similar Messages

  • XML Publisher - Dynamic Data Columns Issue

    Hi,
    I am creating a amortization report where I need to show the amortization schedule for unearned revenue. Customers have signed different years of contract and I need to show the amount as per their remaining contract months. So if there are 2 month remaining in the contract then I should show the data for 2 months only and if there are 10 months then I should display 10 months. If we run the report for both customers then it should display two lines in report. For first customer the data should be only for 2 months and for second row(customer) there should be data for next 10 months. These months should be columns in the report(like excel columns, not rows). I need to display all months in columns instead of rows.
    I have acheived that using Dynamic Data Columns as mentioned in the user guide. Everything is working fine except following issues -
    1. How to create page level total?_
    I have created page total in my template using <?add-page-total:TOTUREV;'UREV'?> and displaying using <?show-page-total:TOTUREV?> but when I run the report in excel format these page total do not display. These columns are static columns not dynamic.
    If I run the report in pdf format then the static column total is displayed correctly.
    2. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic column are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
    3. How do I get the total for the dynamic columns?_
    I need to display the page level total for the dynamic columns also, how do I do that?
    4. When I run the report in excel format the 2 decimal places of the numbers are gone(it works fine in pdf output), like 12.50 becomes 12.5 and 14.00 becomes 14. I need to maintain those 2 decimal places. I have tried using <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?format-number:CVALUE;'999999D99'?></fo:bidi-override> but this does not solve my problem completely. It shows the values correctly in excel but then I am not able to do any calculation on those columns, looks like it converts them to text values.
    Any help is really appreicated. Please let me know if you need the xml template and data file.
    Regards
    Hitesh

    Hi Hitesh,
    Can you please upload your RTF and XML template file? I will try to spend sometime on this issue.
    Cheers
    Sachin

  • SUB Totals within a Dynamic Data Column

    Has anyone ever calculated SUB Totals in a Layout with a Dynamic Data Column?
        The TOTAL for all data is expressed on the Data Column tab of the Layout as C(1):C(1) - 0FISCPER / Posting Period is the Dynamic Characteristic.  When the system actually displays the 12 columns of data for the Year, the formula for TOTAL is also adjusted - no problem here.  But the user also wants SUB Totals, by Quarter, within the Year.
        Any insight or suggections are appreciated !
    Thanks,
    Lyle

    Hello,
    use variables Q1, ..., Q4 for the quarters and create
    data colums as follows
    1 Q1 dynamic = X
    2 Total C(1)
    3 Q2 dynamic = X
    4 Total C(3)
    5 Q3 dynamic = X
    6 Total C(5)
    7 Q4 dynamic = X
    8 Total C(7)
    9 Year Total C(2)C(4)C(6)+C(8)
    Regards,
    Gregor

  • Header description of dynamic data columns dynamically

    Hi all,
    How is it possible to get Header description of dynamic data columns dynamically??
    Thanks and regards,
    Harry

    Harry,
    Don't have the system right now so going by memory.
    There are 2 parts - you need to see how you specified the text replacement of the variable.  Say on 0fiscper if you specify characteristic value it would show I think 001.2007, 002.2007, etc.  If you use one of the text types, it would be based on the description.
    I always have to think if I need to put the infoobject name or the variable name in the layout definition in the description part.  Off the top of my mind, it would be the infoobject name i.e. 0fiscper for example

  • Dynamic data column; pdf vs excel output

    I have created a amortization report using BIP dynamic data columns. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic columns are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
    Any idea what could be wrong here. Why does it work fine in excel and not in pdf output.
    Please let me know if you would like to see the rtf template and xml data file.
    Regards
    Hitesh

    Can you send me the sample xml and RTF ?

  • Using Dynamic Data in "Send E-Mail To Recipients From Recordset"

    Hi,
    How can I use Dynamic Data embedded in recordset field ?

    I try another way to do it, using a html link
    > function Trigger_EmailRecordset_E6(&$tNG) {
    $rsemailObj = new tNG_EmailRecordset($tNG);
    $rsemailObj->setRecordset("rsTasks");
    $rsemailObj->setFrom("{KT_defaultSender}");
    $rsemailObj->setTo("email_to");
    $rsemailObj->setSubject("{rsTasks.lib_task}");
    //WriteContent method
    $rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
    <a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
    $rsemailObj->setEncoding("UTF-8");
    $rsemailObj->setFormat("HTML/Text");
    $rsemailObj->setImportance("High");
    return $rsemailObj->Execute();
    I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
    Thanks. JM.

  • Error in DW when using Dynamic Data

    Hello all,
    I'm not sure if my problem is common or rare, so I'll give you two versions.
    Short Version:
    Everytime I load a page with Dynamic date (I'm using PHP MySQL), the problem tells me an error was encountered and it boots me after I select to send or not to send the Error message.
    Long Version:
    I have a database in MySQL set up to use. I have 23 or 24 fields in the main DB, and 6 other DBs involved. Currently I'm only using Dreamweaver for Data Entry into my inventory. I created a Add Product page to update the MySQL DB, and I succesfully entered about 80 products. I then decided I wanted a new category, added it to MySQL, and proceeded again. This time I encountered an error.... something to the tune of my SQL Script being bad at the " on line 1. I'm not very familar with MySQL, and after a couple of hours trying to figure this out, I went to bed. Next morning, I try to recreate a new database, and a new DW site, to start from scratch (since everything was working fine before the errors).
    Now my errors are listed in the Short Version. Everytime I open a page with dynamic data, the program ecounters an error and I get booted.
    Anyone experience anything similar, or anyone know any solutions?
    Thanks much for any input.
    -Derek

    Hey Gunter,
    Thanks much, that did work.
    The other error I spoke of was fixed with the new database, so apparently the two errors I spoke of weren't related.
    You seem to be a good help to this forum, thank you for that.... fixing my problem relieved me from much stress.
    Cheers,
    Derek Miller
    Dreamweaver Enthusiast

  • Dynamic Data columns

    Hi...
    Here's my scenario. My layout is keyfigures in lead columns.
    I want Calendar Year in the Header. I want the Calendar Year/Month (0CALMONTH) in data columns.
    But, the data columns should be dynamically set to the 12 months of the Year I choose as part of the header combination. Example, I choose 2008 as header:
    Layout should alow me to enter sales for all months of 2008. So, data columns should become:
              Jan 2008   Feb 2008   Mar2008   Apr2008  .....
    Sales
    I'm open to ideas for other types of layouts also as long as the the months (0CALMONTH) are derived based on Calendar Year.
    Thanks...

    KJ, thanks for your response.
    Dont mean to question your suggestion at all. But is that only way?
    I mean to me deriving a calendar year month seems to be a normal practice.
    But if thats the only way, could you please provide more insight and possibly an algorithm for the exit? never worked exits before in the cotext of BPS.
    Thanks...

  • Issue with group by expression when using non-regular columns

    Hi all,
    Please help me out to find a solution for this issue. In case i need to group the values where one of the columns is not a regular column.
    How can i fix the issue? I tried the possibility of using the alias name, from clause query but still could not crack this.
    SELECT   td.xml_file.EXTRACT
                ('//ns1:RequestHeader/ns1:GeneralAttributes/ns1:Attribute[ns1:AttrName=''SUBMITTER_ID'']/ns1:AttrValue/text()',
                 'xmlns:ns1="http://emdeon.com/ac/ACSchema"'
                ).getstringval (),
             COUNT (1)
        FROM trx_data td
       WHERE td.trx_agn = 'TR8D4148656848660' AND td.call_type_id = 3
    GROUP BY td.xml_file.EXTRACT
                ('//ns1:RequestHeader/ns1:GeneralAttributes/ns1:Attribute[ns1:AttrName=''SUBMITTER_ID'']/ns1:AttrValue/text()',
                 'xmlns:ns1="http://emdeon.com/ac/ACSchema"'
                ).getstringval ();
    Regards    
    Swaminathan

    May be something like this
    SQL> create table test
      2  (
      3    xml_data xmltype
      4  );
    Table created.
    SQL> insert into test (xml_data)
      2  values
      3  (
      4  '<submitter>
      5  <row>
      6  <submitter_id>1</submitter_id>
      7  <submitter_name>karthick</submitter_name>
      8  </row>
      9  <row>
    10  <submitter_id>2</submitter_id>
    11  <submitter_name>vimal</submitter_name>
    12  </row>
    13  </submitter>');
    1 row created.
    SQL> insert into test (xml_data)
      2  values
      3  (
      4  '<submitter>
      5  <row>
      6  <submitter_id>1</submitter_id>
      7  <submitter_name>karthick</submitter_name>
      8  </row>
      9  <row>
    10  <submitter_id>2</submitter_id>
    11  <submitter_name>vimal</submitter_name>
    12  </row>
    13  </submitter>');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select t1.submitter_id
      2       , t1.submitter_name
      3       , count(*)
      4    from test t
      5       , xmltable
      6         (
      7           '/submitter/row' passing t.xml_data
      8           columns
      9              submitter_id   integer       path 'submitter_id'  ,
    10              submitter_name varchar2(20) path 'submitter_name'
    11         ) t1
    12   group
    13      by t1.submitter_id
    14       , t1.submitter_name;
    SUBMITTER_ID SUBMITTER_NAME         COUNT(*)
               1 karthick                      2
               2 vimal                         2
    SQL>

  • How to use Dynamic date calculation in some transactions.

    Hello everyone.
    I have to create some dynamic variants using the dynamic date calculation. The problem is that in some transactions it´s not possible to use some variables that can round a value. For example: in transaction /SAPAPO/MC90, I need to fix 3 months in the horizon like this: From date: 01.01.2009  To date 31.03.2009. The current month is 01.01.2009. Next month the current month will be february, so the horizon would be 01.02.2009 to 30.04.2009.
    In 5.1 version, it´s impossible to fix the months, because the options that appear in the match code are:
    Current Date
    Current date +/- ??? days
    current date +/- ??? work days
    First day of current month
    nth working day of current month
    First day of next month
    First day of previous month
    Last day of previous month
    Last Day of the Current Month
    Does anybody knows how to do this? This is happening in other transactions to.
    Thanks a lot
    Regards
    Angela

    I am not sure where you are looking for..but here is what I can do it in MC90 Tcode:
    1. when you try to save the variant, in the variant screen check the two boxes under "Current date" field for Selection Variables attributes "L"
    2. Then click on Selection variables option and click on the "D" variable so that it turns to green
    3. Drop down in the first current date field, select "Current +/- ??? days. here if you want to start from today's date maintain 0 days
    4. In the second Current date field maintain 90 days in "Current +/- ??? days.
    5. save it
    please let me know if I misunderstod the issue

  • Odbc Driver error when using specific date column

    I am receiving the this error:
    Odbc driver returned an error (SQLExecDirectW).
    Error DetailsError Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition len <= desc->objectLength_, file ..\Oci8\Src\SQXDGOci8.cpp, line 614. (HY000)
    It happens when I try to to set criteria on a specific date column or I do not set criteria at all. If I set date column 1 to greater than 4 or so months back the report returns, along with all the dates from date column 2. But if I then try to set date column 2 as the criteria, no matter if I just ask for data from a week until today, I receive this error. I tried changing the Server Stack size to 512, but that did not help. Anyone have an idea on this???

    You seem to be using an ODBC connection with an Oracle database, is that correct? If so you should install the Oracle client and use the OCI driver instead and it is much faster and stable than ODBC.

  • Which type of index is useful for date columns with time stamp

    Hi all,
    I am using date column in the where clause of an SQL Query. The values stored in the date column are includes timestamp. The query is very slow and there is no index on the date column.
    Can any body suggest which index is better on date columns
    Thanks

    I am using date column in the where clause of an SQL Query.Dates a re hard queries to tune. This ...
    WHERE start_date BETWEEN to_date('01-SEP-05') AND to_date('02-SEP-05')...probably requires a very different execution plan to this...
    WHERE start_date BETWEEN to_date('01-JAN-01') AND to_date('02-SEP-05')Just bunging an index on the date column may speed up your specific query but break something else. So be careful.
    Cheers, APC

  • List of values failure error when trying to use dynamic data values

    Hi there,
    I have a user who is experiencing problems when trying to use dynamic values in a report.  Whenever he tries to insert dynamic parameters he gets the following error message:
    Prompting failed with the following message: 'List of Values failure: Failed to get values.  [Cause of error: Access is denied.]  Error Source: prompt.dll  Error Code: 0x8004380D
    He even opened the sample report - prompting.rpt - that is included with CR and gets the same error.
    We are using Crystal Reports XI Release 2 ver. 11.5.11.1470.
    Any help would be appreciated.

    Please excuse my ignorance of the product.  I've had this problem dropped in my lap and I know practically nothing about Crystal Reports.  In doing some digging it appears to me as if the BusinessObjects Enterprise software may not be installed properly, if at all.  In the programs menu under the BusinessObjects XI Release 2 folder I see a BusinessObjects Enterprise folder, but the only icon listed in that folder is Software Inventory Tool.
    Is the BusinessObjects Enterprise software a separate install from Crystal Reports or is it bundled together?  I talked with the tech that did the install and he said that all he had was the Crystal Reports install media.

  • SQL Calendar using multiple date columns

    Is there any way to have a Calendar look at more than one date column? I know that it is possible to have the calendar based on a range/interval, but I need to display multiple date columns e.g. Marketing Start Date and Sales Start Date. In the Calendar component it seems possible to only choose one 'Date Column'. Has anyone come across this or know of any workaround?

    Is there any way to have a Calendar look at more than one date column? I know that it is possible to have the calendar based on a range/interval, but I need to display multiple date columns e.g. Marketing Start Date and Sales Start Date. In the Calendar component it seems possible to only choose one 'Date Column'. Has anyone come across this or know of any workaround?

  • Rdl file Tablix sorting. dynamical data columns.

    Hi ,
    we are having Tablix with 5 columns of data. in that first 3 column data is a static and remaining two columns data will be calculated and populated dynamically on the 4,5 column. it is working fine but when i sort the any of the first 3 columns it is showing
    the wrong data in the 4,5 th columns.
    can any one help how to over come this.
    Advance thanks.
    Vijay

    Hi Vijay,
    If I understand correctly, the values in the fourth and fifth column change dynamically based on the static values in the first three columns in your report. And then you set the sort expression for the data region or for each group, including the details group
    in a tablix data region.
    I tested the issue in my test environment in the basis of my understanding. I have set the expression in the fourth and fifth column and set the sorting of tablix based on the fifth static column. When running the report, there is no issue.
    To resolve your matter, please post the report design and the expression in sorting option’s screenshot to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

Maybe you are looking for