Two Headers and Data to be populated dynamically

Hi Gurus,
I am trying to display the data dynamically in a table. please provide sample xml and rtf xml tags order
sec1 -> empno empname
sec2 -> add1, city,state.........
sec3 -> job, position.................
sec1 | sec2 | sec3 |
---------------------------|------------------------------------|-----------------------------------
empno empname | add1 city state | job position |
1 A | 567,first chennai TN S.E associate consul |
sec1 is fixed and sec2 , sec3 should be displayed based on parameter values. under sections sec2, sec3 columns are dynamic
based on number of dynamic columns the sec2 and sec3 should span and center aligned.
Thanks,
prasad.
Edited by: 936694 on Nov 19, 2012 3:14 AM
Edited by: 936694 on Nov 19, 2012 3:15 AM

>
addr1,city,state columns get increased
>
do you know count of columns before doing report? it's static or dynamic number?
i suggest change your xml and include attribute for tag for count of spanning columns and for width of spanning column (will be sum of width of spanning columns)
also i add Job and position in your xml
like
<?xml version="1.0" encoding="utf-8"?>
<report>
     <section>
          <section_name col = "2"  width = "10">Sec1</section_name>
     </section>
     <section>
          <section_name col = "2"  width = "10">Sec2</section_name>
     </section>
     <section>
          <section_name col = "3"  width = "39">Sec3</section_name>
     </section>
     <COLUMNHDR>
          <COLUMN1 width = "5">empno</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "5">empname</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "5">add1</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "5">city</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "13">state</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "13">Job</COLUMN1>
     </COLUMNHDR>
     <COLUMNHDR>
          <COLUMN1 width = "13">position</COLUMN1>
     </COLUMNHDR>
     <ROWSET>
          <ROW>
               <empno>1</empno>
               <empname>A</empname>
               <add1>567,first</add1>
               <city>chennai</city>
               <state>TN</state>
               <job>SE </job>
               <position> associate consultant</position>
          </ROW>
     </ROWSET>
</report>so based on this your template will be looks like (1 column and 3 row)
for 1 row
<?split-column-data: section?> <?split-column-width:@width?><?section_name?>FIELDwhere FIELD will be
<xsl:attribute xdofo:ctx="block" name="number-columns-spanned"><xsl:value-of select="section_name/@col"/></xsl:attribute>and this is field (developer tab in word -> controls -> field)
2 row
<?split-column-data:COLUMNHDR?> <?split-column-width:@width?> <?COLUMN1?>3 row
<?for-each:ROW?><?for-each@cell:current()/*?><?.?><?parent::*/text()?><?end for-each?>look at change -> split-column-header to split-column-data

Similar Messages

  • Column headers and data are mismatched in Data tab of views after move col.

    Hi,
    Currently, I am using Windows XP, SQL Developer Version 1.2.1 Build Main 32.13.
    Java platform 1.5.0_06
    Oracle IDE 1.2.1.3213
    I'm having trouble with display of data from views in the "Data" tab of SQL Developer. If I move a column left or right of its original place, the data no longer line up with the proper column heading. The data are in the correct order, but the column headers are out of whack. Also, in the Single Record View, the data and column headers are mismatched.
    Refreshing the view, closing the view, closing and reopening SQL Developer do not "reset" the view so that the data and proper column headers are lined up. Even dropping and recreating the view does not force SQL Developer to use the proper data-column header match.
    Just to be clear, the data within the view is fine. It is the display of the data-column headers in the "Data" tab of SQL Developer (and the single record view) that is wrong. The mismatch seems to occur after a column is moved in the view.
    Is this a bug? I like the ability to move columns around within the display of the view. However, much more important that the column headers and data line up correctly.
    Thanks,
    Morgan

    Thanks much. I found the correct file, deleted it, and the column headers and data match up again.
    I found the correct file by searching the directory for one of the column names that occurs in the view (though I had to find both instances of "COLUMN_NAME" and "COLUMN NAME" (without the underscore)). Not sure why there were files with both versions.
    Do you know if there is any way to prevent those XXXXXXXXXTableSettings.xml files from writing all together (oracle.javatools.controls.nicetable.NiceTablePersistentSettings)? I looked through the SQL Developer preferences but nothing jumped out as being the setting to switch off.
    Should I be doing anything in particular to bring more attention to this potential bug so it might get fixed in a future release?
    Thanks again,
    Morgan

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • HT201320 I'm getting my emails but only the headers and date but no content. I have several email accounts set up they are all the same but it was OK yesterday What have I done please?

    Hello, can someone help please. I'm getting my emails OK but only the headers and date but no content. I have set up three accounts and they were all OK yesterday. What have I done or what can I do please?

    Sorry I see someone has answerd this altready Please ignore me !

  • Two times and dates show on the first page with an old set under the correct set.

    I have a second tine and date showing on the first display page, like a shadow under the correct date and time.  This is happenong on my iphone5, but was also there on my 4.  Any ideas?

    I would go to settings-general- reset all settings, if that doesn't work I'd do a reboot, and finally if I couldn't get that to work I'd do a restore as a new phone.

  • Dynamic Table Two lines per data item

    Hi experts!!
    In my form i have a table with two lines per data item for example the table i want the table to be:
    boldheader rowbold
    bold1,1 1,2bold
    bold1,3 1,4bold
    I have also wrapped the table in a subform, and marked the checkbox "Repeat Row for each data item".
    Instead i get :
    1,1 1,2
    2,1 2,2
    1,3 1,4
    2,3 2,4
    How can i display two rows per item ???
    Thank you in advance!!!

    If there are two lines in a single row for a table (I.e if there are 14 columns, How to be adjusted).
    There are two possible ways of doing.
    1) a) Create a SubForm
        b) Create a Table (If you create a table there will be Header Row and Body Row)
        c) Delete the Body Row and instead of it create a SubForm with name Body Row
        d) Now you have one Header Row and SubForm as BodyRow.
        e) SubForm BodyRow again create two SubForms with names Row1, Row2.
        f) Now make the SubFormBodyRow as Flow layout and repeat the SubForm(Since if you make this then the child nodes (Row1 & Row2) will inherit the properties of the parent node (SubForm-BodyRow).
       g) Now you can have two rows in one lineitem.
    2) The second possible way is showing it in a Dynamic ToolTip.
        Lets say you have a table inside a table then you can show it in a Dynamic ToolTip when you place the cursor in a Student Id you will get Student Data.
    Hope it solves.

  • Problem in populating dynamic data in standard text

    Hi Guru's,
    I am finding difficulties in populating dynamic data of a standard text. I have created a standard text PM30_T010 (Type ST) as below.
    Objects Used:
    Equipment : &NOTIFICATION.EQUIPMENT&
    Floc           : &NOTIFICATION.LOCATION&
    I have added the container NOTIFICATION at the task level and call the standard text.
    INCLUDE PM30_T010 OBJECT TEXT ID ST LANGUAGE EN
    But the equipment number and location values are not getting populated. At the same time, if I place the same text (mentioned above) in the description section of Workflow task instead of calling the standard text, equipment number and location values gets populated as expected.
    Please let me know how to achive the same through standard text.
    Regards,
    Parthiban

    Hello !
         Check the binding and data types of the containers involved in binding.
        Also check in workflow log, whether the workflow containers are populated with required values.
    Regards,
    S.Suresh.

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • Create two or more data sources and mapping to DSO

    Hi,
    I´m using SAP Netweaver BI 7.0.
    If there are two or three data sources which have to be mapped to DSO which field from Data Sources has to be mapped to which field in DSO?
    Is it possible to have only one DSO or should it be three DSOs because of the three Data Sources?
    The thing is I have created one view out of three tables. For the view I have created one DSO. Everything worked fine. But now the requirements have changed because of currencies.
    The view I have created is now mixing currencies because in the view is only one currency field, which is filled from the three tables. Two tables have different currencies and one table has one currency.
    The one currency of the one table is important and should stay like it is.
    I´m thinking about something like three different currency key fields in DSO which are mapped from data source. Also for every field of data source mapping with corresponding field in DSO.
    Some hints? I have found articles in SDN about creating data sources and so on but they don´t help me in this matter.
    Thank you in advance!

    Thank you guys for explaining! I´m new to SAP BW and trying to better understand.
    I`ll try it also with the view. It sounds "easier".
    But if I´m doing it with the 3 data sources, that means that for each currency field of the data source I will need an corresponding currency field in the DSO for mapping.
    Is it possible to have 3 times the 0Currency field in the DSO and each data source currency field will be mapped to the DSO?
    If that would work the 0Currency has to be contained in the key figures.
    But if the 0Currency is contained in each key figure will the assignment of currency work correct?
    +For example:+
    Data Source1:
    Turnover in Euro.
    (All currency is in Euro)
    Data Source2:
    Profit in Dollar.
    Profit in Euro.
    Profit in Yen.
    Profit in different currencies available.
    Data Source3:
    Sales in Dollar.
    Sales in Euro.
    Sales in Yen.
    Sales in different currencies available.
    For mapping from DataSources to DSO if it is possible to have 3 times 0Currency in DSO:
    Data Source1 currency fiield ---> DSO 0Currency
    Data Source2 currency fiield ---> DSO 0Currency
    Data Source3 currency fiield ---> DSO 0Currency
    Does it make sense?

  • 9402 DAQmx C: Write Clock and Data on two diferrent lines.

    I am working with NI 9402 (4 I/O lines) and coding with DAQmx c (I AM NOT USING LABVIEW).
    I am trying to output the the data signal by port0/line1. Period required of each bit: 1us.(1 MHz)
    At the same time I am trying to output the clock signal by port0/line0. Period of each bit: 0,5us (2 MHz).
    For that purpose I have tried to write the data on port0/line1 with DAQmxWriteDigitalLines() and use the function DAQmxCfgBurstHandshakingTimingExportClock() to export the clock to port0/line0. 
    DAQmxWriteDigitalLines(taskData,DATA_SIZE,1,30.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
    DAQmxCfgBurstHandshakingTimingExportClock(taskData,DAQmx_Val_ContSamps,2000000,1000.0,"cDAQ1Mod1/port0/line0",DAQmx_Val_ActiveHigh,DAQmx_Val_Low,DAQmx_Val_ActiveHigh));
    When exectuing I get this error message:
    DAQmx Error: Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.
    Property: DAQmx_SampTimingType
    Requested Value: DAQmx_Val_BurstHandshake
    You Can Select: DAQmx_Val_SampClk, DAQmx_Val_OnDemand
    Task Name: taskData
    Status Code: ­200077
    I guess that this mean that function DAQmxCfgBurstHandshakingTimingExportClock  is not supported on NI 9402..
    As I have not been able to solve this problemI decided to use DAQmxCfgSampClkTiming() instead of DAQmxCfgBurstHandshakingTimingExportClock().
    Since I will be using a SampClkTiming function I have created 2 separate tasks, with different clock rates for each one, and try to write separately the clock and the
    data arrays in line0 and line1.
    I am having troubles when I try to write both lines at the same time, this is the important part of the code I am using:
    TaskHandle  taskData=0,taskClock=0;
                  // DAQmx Configure Code
                  DAQmxErrChk (DAQmxCreateTask("taskData",&taskData));
                  DAQmxErrChk (DAQmxCreateTask("taskClock",&taskClock));
                  DAQmxErrChk (DAQmxCreateDOChan(taskClock,"cDAQ1Mod1/port0/line0","clkOut",DAQmx_Val_ChanPerLine));
                  DAQmxErrChk (DAQmxCreateDOChan(taskData,"cDAQ1Mod1/port0/line1","",DAQmx_Val_ChanPerLine));
                  DAQmxErrChk (DAQmxCfgSampClkTiming(taskData,NULL,1000000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,DAQmx_Val_ContSamps)); //to define the 1 micro secnd Time of bit.
                  DAQmxErrChk (DAQmxCfgSampClkTiming(taskClock,NULL,2000000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,DAQmx_Val_ContSamps));
    //2000000 because I want the clock array to be sent twice faster than the data array
                  // Set data & clock Arrays
    Define the clock array:             
                  for(i=0;i<1000;i++)              {clockD[i]=i%2;} /'1' and '0'
    Define data array:             
                  for(i=0;i<1000;i++)              {data[i]=1;} // or whatever random values..
                  // Write digital lines
    while(1)              {
                                DAQmxErrChk (DAQmxWriteDigitalLines(taskData,1000,1,30.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
                                DAQmxErrChk (DAQmxWriteDigitalLines(taskClock,1000,1,30.0,DAQmx_Val_GroupByChannel,clockD,NULL,NULL));
    After executing this code I get the error:
    DAQmx Error: NI Platform Services:  The specified resource is reserved. The operation could not be completed as specified.
    Task Name: taskClock
    Status Code: ­50103
    Nevertheless, If I just  use one of the DAQmxWriteDigitalLines function, the program works fine, and it send out the information ).
    By the way I noticed that if I Write a digital line in a for loop instead of while(1), if the number of iterations of the for loop is low (i.e. 10), I get the same error even if I just write call the DAQmxWriteDigitalLines() function once.
    Could these two errors be related ?
    To sum up:
    Could anyone give me a clue how two output a data signal and a clock signal  to 2 different ports with different clock rates for each signal ?
    Thank you very much

    One quick question about how you setup your timing:
    Spoiler (Highlight to read)
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskData,NULL,1000000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,DAQmx_Val_ContSamps));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskData,NULL,1000000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,DAQmx_Val_ContSamps));
    If you are only going to write 1000 finite samples, then why are you specifying the number of samples to write here as "DAQmx_Val_ContSamps" and not 1000? See: Sample Clock Timing Reference
    Also, I gather what you are trying to do is output the DO task's sample clock on line0, at the same time that the DO task is running. If that's true, you should be able to export your sample clock using the export signal function. See: Export Signal Reference
    Hope this helps.

  • On holidays we took pictures with two cameras and an iPad. I put everithing on my PC. Rearranged them by date, time and or subject putting a number in front of the picture name. I synchronised with my iPad and my pictures show in misselaneous order. Help

    We took pictures during oue holidays with two cameras and an iPad. I put all the pictures on my PC and reorganized them by date, time and/or subject, By putting a number in front of the picture name. Then I synced with my iPad. All the pictures show in a misselaneous order. What went or did I wrong?

    You did nothing wrong, but the photo app puts stuff in chronological order.
    You can look for another app. Afraid I don't have one to suggest, but I do understand that other apps will sort photos differently.

  • SSRS Expression to compare two values and get data from another dataset

    Hi,
    I have a requirement where in i need to compare a value of a dataset (not the one which table is poiting to)
    with the value of a text box, and return the count if it matches else 0, the expression is as below. Here 
    industryName and recCount are from the dataset ds_MedimOrLowImpactEntities.  whats wrong in this expression
    =Sum(IIF(Fields!industryName.Value = reportItems!hpapra_name.Value, Fields!RecCount.Value, 0), "ds_MediumOrLowImpactEntities")
    This is the error that i am getting:
    Any help on this is appreciated
    Kruthi Hegde

    Hi Kruthi,
    After testing the issue in my local environment, I can reproduce it. Just the error message said, “Aggregate function can be used only on report items contained in page headers and footers”. So the sum function that contains report items should be stayed
    at page headers or footers. Besides, you said the hpapra_name textbox contain a field from another dataset, not the ds_MedimOrLowImpactEntities dataset. While in Reporting Services, Report item expressions can only refer to other report items within the same
    grouping scope or a containing grouping scope. So consider the two issues, we should use some other expression to instead the “reportItems!hpapra_name.Value” expression.
    Take a look at the "Looking up values from another dataset" topic here:
    http://msdn.microsoft.com/en-us/library/ms159673.aspx#LookupFunctions
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to show two different plots with current system time and date on waveform chart

    I am using  one waveform chart to display the more than one value continiously. The data  are comming properly but i am not getting my system (pc) time and date on x axis. It is showing default date and time (i.e.01/01/1904 5:30:45). Please  give me suggestions to display the real time and date on x axis of waveform chart. 

    How does your data look like? Do you graph waveform data types, dynamic data, or plain arrays/clustes? In the case of plain arrays, you need to set x0 to the absolute start time of your data, e.g. with a property node.
    I you would attach your code (or an image) we could offer more specific advice. There are too many possibilities.
    LabVIEW Champion . Do more with less code and in less time .

  • Why is the signal at my home so much weaker than when I moved here in February 2013?  I only get one or two bars and very poor data service if any at all.

    Why is the signal at my home so much weaker than it was when I moved here in February 2013?  I get only one or two bars and very poor data service if any at all.  Calling to ask the question results in a vortex of questions that have little to do with the problem and no  resolution or answer.

    I have a Droid Ultra phone.  The signal reduction seems to only be in the general area of my home.  If I go downtown, the signal improves to what it once was at home.  Everything at my home is as it was when the signal was good, including cable TV service.  There has been no new construction in the area that I know of.
    Thanks for trying to resolve the issue.  Just this morning while trying to view web pages, I found that I could not load any.
    Ron

  • Dynamic loading tree and data grid

    Hi All,
    I new to java as well as JSF. I am very impressed with the jsf and Sun Java Creator IDE. I made a sample project.
    Now I want to load tree and data grid with dynamic values how can I achieve this.
    Please help to find out some examples.
    Also I need to know who I can use SOAP call using JSF.
    Thanks
    CSCS

    To dynamically load a Basic Table (ui:table) from a database, see http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html
    To dynamically load a Basic Table from other sources of data that are loaded into an array or such, see http://blogs.sun.com/roller/page/divas?entry=table_component_sample_project
    To dynamically CREATE a Basic Table, see http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/createTableDynamically.html and http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/add_component_to_table.html
    To dynamically create an HTML table on the fly, see section 7.5 in Chapter 7 of the Field Guide at http://developers.sun.com/prodtech/javatools/jscreator/learning/bookshelf/index.html
    To dynamically create a tree, see Dynamic Tree example at http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp.
    A tutorial for dynamically creating a tree from a database is work in progress.
    Hope this helps,
    Chris

Maybe you are looking for