How to use a header column in a repeating group

I am trying to create a BIP report (11.1.1.6.2) with an XML file as source. The XML files start with a few header fields, followed by the actual data. For example:
<DATA>
<PARAMETERS>
<P_ORDER>Order</P_ORDER>
<P_CUSTOMER>Customer</P_CUSTOMER>
</PARAMETERS>
<LIST_DETAILS>
<DETAIL>
<V_ORDER>12345</V_ORDER>
<V_CUSTOMER>Oracle</V_CUSTOMER>
</DETAIL>
<DETAIL>
<V_ORDER>67890</V_ORDER>
<V_CUSTOMER>Microsoft</V_CUSTOMER>
</DETAIL>
</LIST_DETAILS>
</DATA>
The desired output should combine a field from the <PARAMETERS> group and a field from the <DETAIL> group in one line. So with this example data it should look like this:
Order: 12345
Customer: Oracle
Order: 67890
Customer: Microsoft
In my RTF template I created a repeating group <?for-each:DETAIL?> and put everything in that repeating group. Unfortunately BIP leaves the values for the fields in the <PARAMETERS> group empty.
I also tried to nest two repeating groups. First: <?for-each:PARAMETERS?>, within that: <?for-each:DETAIL?>. This does not solve the problem.
How can I achieve my desired output?
Paul

try
<?xdoxslt:set_variable($_XDOCTX,'LVarORDER',P_ORDER)?>
<?xdoxslt:set_variable($_XDOCTX,'LVarCUSTOMER',P_CUSTOMER)?>
<?for-each:DETAIL?>                                 |           <?V_ORDER?>
<?xdoxslt:get_variable($_XDOCTX,'LVarORDER')?>      |
----------------------------------------------------|-----------------------------------
<?xdoxslt:get_variable($_XDOCTX,'LVarCUSTOMER')?>   | <?V_CUSTOMER?><?end for-each?>

Similar Messages

  • How to use one report column into the another report in obiee

    How to use one report column into the another report in obiee

    i dont want to use column as a filter for another report it should be report column for another report
    Thanks,
    Vivek

  • How to use the procedure column in reports

    Hi all
    How to call the procedure in reports as source.. If possible how to use columns of procedure in the layout column of report????

    Hi,
    Your query is not clear.
    1. In subject are you asking total column.
    A. Edit pivot view and go to Rows and click Total BY option here you can find option like (none,before,after) the you can select after it will display total all culms.
    2. I want use the columnC in columnD ? -- Am not understand.
    A. What my understand is you want to see the report only C and D values only.
    If it is correct we can apply filter in report level click column filed and apply not equal to A then it will show only C and D only.
    If it is wrong pleas post me correct one with example. Will try to help out this.
    I am not sure this is what your looking so far.
    Award points it is useful.
    Thanks,
    Satya

  • How to use a Formula Column in the main query?

    Hi All,
    I've tried to use a formula columns defined in some query in the condition of that query like this:
    where (:cf_ex - :cf_ex2) >= 5
    but when I run the report no data returned! Why? and how to use it the condition of the query?
    Note: I'm using Forms 6i

    where (:cf_ex - :cf_ex2) >= 5You cannot do that. Formula columns are not part of the select statement (which runs in the database), but are processed in the report.
    When you created this query, my guess is that you got the message "Note: the query Q1 has created the bind parameter(s) cf_ex, cf_ex2". Check these User Parameters in your data model. So, you are actually referencing user parameters in the query, not formula columns.
    I made a computations and things using PL/SQL that can't be done in the select statement in the data model!If it's pl/sql you can probably use that in your query. Create some database functions for cf_ex and cf_ex2 and use these in your query.

  • How to use a calculated column in the same query

    Hi All,
    I need some help with using a calculated column in the same query.
    For eq
    I am joining a couple of tables and some of the select columns are calculated based on the columns of the tables and i want a new column in the same query to use this calculated feild in some other calcualtion.
    something like this...
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    Thanks

    user548171 wrote:
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    ThanksWhat about just repeating the column values:
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( (12+3) / (12-3)  * 100  > 0 )  THEN 'Yes' ELSE 'No'  END FROM DUAL

  • Stumped as to how to freeze a header column

    In Numbers '09 I select the left-most column (in grey, so I presume that makes it a "header" column) but the header button offers only "repeat header columns on each page", not "freeze header columns". Similarly the Table menu offers the choice of "repeat" but not "freeze" headers. What am I doing wrong?
    Thanks

    Look in the toolbar
    OR
    In the table inspector

  • How can i select other column values('-' separated) in group by function

    CREATE TABLE EMP (
         EMPNO NUMBER(4) NOT NULL,
         ENAME VARCHAR2(10),
         JOB VARCHAR2(9),
         SAL NUMBER(7)
    INSERT INTO EMP(EMPNO, ENAME, JOB, SAL) VALUES (7369, 'SMITH', 'CLERK', 800);
    INSERT INTO EMP(EMPNO, ENAME, JOB, SAL) VALUES (7499, 'SMITH', 'SALESMAN', 1600);
    INSERT INTO EMP(EMPNO, ENAME, JOB, SAL) VALUES (7521, 'ALLEN', 'SALESMAN', 2400);
    In Output I want 3 columns : EMP,SUM(SAL),JOB(hyphenSeparated)
    Means i want my output like
    First row : SMITH,2400,CLERK-SALESMAN
    Second row : ALLEN,2400,SALESMAN
    I tried to write following sql : select ename,sum(sal) from emp group by ename
    But i want other colummn value in '-' separated. but group by is only allowing agreegated function.
    How can i select other column value using group by function.

    SQL>  select ename,sum(sal), listagg(job, '-') within group (order by job) as job  from emp group by ename;
    ENAME        SUM(SAL) JOB
    ALLEN            2400 SALESMAN
    SMITH            2400 CLERK-SALESMANnote: LISTAGG is a feature of 11.2

  • Using same tablix column for 2 row groups

    Hi.  We run 2012 enterprise.  My tablix is grouped (for the most part) by hidden primary (values are 5,10,15,20) , secondary and tertiary sort columns.  And a couple of visible label items that are aligned left.
    Every row's data columns are completely %, $ or numerically formatted depending on a hidden helper field i've snuck into the tablix row group data fields after the tertiary sort.
    The primary sort column does equate to a label that I dont show right now.  In biz terms that label is actually the highest from a grouping standpoint but isnt being used right now for anything.  I left it for last.
    As I put the finishing touches on this report, I'd like to display that label ahead of the 4 sections it represents using the same column being occupied by the 1st (leftmost) label that is currently visible.  I'd like to center it in that column on
    its own row and apply some shading to the cells to its right.   And show nothing in those shadded cells.   All without changing my dataset if possible.
    To complicate things, I'd like to follow each of the 4 sections with a completely shaded row.  No data at all but grid lines can show thru shading.   Again without changing my dataset.  Is there a feature in ssrs that deals with this
    kind of visual nuance?

    Hi Jeewan,
    Try this formula, If I understood your question correctly it will work for you.

  • How to use Request header in the OSB error handler

    Hi
    I have a scenario where OSB proxy service accptes the payload and routes to the target service
    and before routing, I'm generating UUId and inserting in to the request header and publishing the request payload along with UUID to another service.
    when the target service is thrown some business fault,i need to publish the fault along with the header(which has UUID).since my target service sends only fault body,header is getting emptied in the error hanlder section.
    How can I use the requestheader in the error handler section. Any help is highly appreciated.
    Thanks,
    N
    Edited by: user13154768 on Sep 23, 2010 3:25 AM
    Edited by: user13154768 on Sep 23, 2010 3:26 AM

    Just assign your request header ($header) to your variable (e.g. $myRequestHeader) and than use this variable in your error handler. Fault response will override your $header but can't override $myRequestHeader.

  • How to find Specifiq header column in JTable

    sir
    i use the following
    table.getTableHeader().setBackground(Color.red);
    but i want to change the color of specfiq column
    how can i do
    thanks

    I have not tried this but hopefully this helps
    JTable e;
    e.getColumnModel().getColumn(chooseAcolumn).setHeaderRenderer(YourRenderer);
    public class YourRenderer extends DefaultTableCellRenderer implements TableCellRenderer
    public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, Object obj, boolean isSelected, boolean hasFocus, int row, int column)
            //Do what you want....
            this.setText((obj==null)?"":obj.toString());
            this.setBackgroundColor(Color.red);
            return this;
    I haven't tested this hopefully this gives you a direction..

  • How to use the same column value in the casecadeing parameter in ssrs report?

    Hi frnz,
    I have a table site contains one filed SiteCode
    Now i have fields like below using the below quries 
    SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
    1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
    2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
    3.Using these two datsets and create a Casecadeing paramet in ssrs report.
    4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
    I have done the follw but ididnt get the o/p.
    I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
    down list.
    Note:Here i will use the Single Table to get the all the sitecodes 
    Can some one please help me out for this report.
    Thanks.

    Hi,
    Try below links for your reference:
    http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
    http://msdn.microsoft.com/en-us/library/dd255197.aspx
    http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How to disable table header column reordering

    Does anyone know how to disable reordering of some but not all columns in tableview ? For that matter how to disable reordering for all columns?
    Thanks in advance !

    The following code will disable sorting in all columns
    public static <S> void disableSort(TableView<S> table){
    Iterator<TableColumn<S,?>> columns = table.getColumns().iterator();
    while(columns.hasNext())
    columns.next().sortableProperty().set(false);
    }

  • How to use SIZE as column name

    I have a database that I am trying to move from MSAccess to ORACLE. There is a column in one of the tables called 'SIZE'. I have moved the table into ORACLE, but I cannot insert or update any rows of the SIZE column is involved. There is a lot of legacy here and I do not want to rename the column. In MS Access I was able to say [SIZE]='44' But that does not seem to work in ORACLE.
    Is there a similar syntax in ORACLE? I have tried (SIZE), 'SIZE', tablename.SIZE, "SIZE" nothing seems to work.
    Please help.
    Thanks in advance.

    As long as you surround the column name with double quotes and specify the case for the column name correctly, you should have no error.
    SQL> create table sizes ("SIZE" number, "Size" number, "size" number) ;
    Table cr&eacute;&eacute;e.
    SQL> insert into sizes ("SIZE", "Size", "size") values (1, 2, 3) ;
    1 ligne cr&eacute;&eacute;e.
    SQL> select * from sizes ;
         SIZE      Size      size
            1         2         3
    SQL> update sizes set "size" = 4 where "SIZE" = 1 ;
    1 ligne mise &agrave; jour.
    SQL> select * from sizes ;
         SIZE      Size      size
            1         2         4

  • Using LEVEL Pseudo column to format repeating frame

    I am trying to display a hierarchy in Reports. I use the 'Connect By' Clause in SQL and gather the hierarchical data, and want to display the results in a tree fashion. How can I do it?
    I only come up with one answer, to use the LEVEL PSEUDO-Column and indent the repeating frame based on the value for LEVEL. I want to know how I can set the X and Y co-ordinates of the repeating frame dynamically?
    Please help me with this if you have other ideas?
    Thanks.
    -Shan

    Unfortunately, you can't programmatically set the geometry (x,y, width, height) values of any objects in the reports output.
    The best you can do is have another object (or number of objects) that are turned on/off and then use collapsing anchors and format triggers to move the repeating frame to the left. If you only have one object, you can set it's horizontal expansion to variable and then fill it with a number of characters to get the desired "indent".

  • How to use FNDLOAD to add program to request group?

    Is there a way to use FNDLOAD to add a program to System administrators > security > responsilibity > request.
    I have try to use the following command to downlod this information to load it to other place but no record saved in ldt file:
    FNDLOAD apps/apps1234 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct PO_RESQUEST_GROUP_2.ldt REQUEST_GROUP REQUEST_GROUP_NAME="All Reports" APPLICATION_SHORT_NAME="XXPO"
    OR
    FNDLOAD apps/apps1234 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct PO_RESQUEST_GROUP_3.ldt REQUEST_GROUP APPLICATION_SHORT_NAME="Purchasing" REQUEST_GROUP_NAME="All Reports" UNIT_NAME="XXPO_PUR_REQ"
    if i delete APPLICATION_SHORT_NAME="Purchasing" , it downloaded many seemingly not relevant data as follow:
    Downloading REQUEST_GROUP to the data file PO_RESQUEST_GROUP_3.ldt
    Downloaded REQUEST_GROUP All Reports CUN
    Downloaded REQUEST_GROUP All Reports IGS
    Downloaded REQUEST_GROUP All Reports PSB
    Downloaded REQUEST_GROUP All Reports CSE
    Downloaded REQUEST_GROUP All Reports AHL
    Downloaded REQUEST_GROUP All Reports ENI
    Downloaded REQUEST_GROUP All Reports OFA
    Downloaded REQUEST_GROUP All Reports XTR
    Downloaded REQUEST_GROUP All Reports SQLAP
    Downloaded REQUEST_GROUP All Reports PO
    Downloaded REQUEST_GROUP All Reports CHV
    Downloaded REQUEST_GROUP All Reports QA
    Downloaded REQUEST_GROUP All Reports CE
    Downloaded REQUEST_GROUP All Reports POA
    Downloaded REQUEST_GROUP All Reports MFG
    Downloaded REQUEST_GROUP All Reports CRP
    Downloaded REQUEST_GROUP All Reports WIP
    How can I confine "Application"? which is under the field "Group" and how can I download all application named "custom puchasing" next to "Name"?

    When migrating to another instance and want to add a concurrent program to a request group, I do it in two steps. Within a shell script, I call
    1 - FNDLOAD to load ldt file (concurrent program definition)
    2 - SQLPLUS to run an sql file that call FND API that install concurrent program into proper request group.
    ex # 1 :
    FNDLOAD $apps_user/$apps_pswd@$dbsid 0 Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct $XX_TOP/XX_PGM.ldt - WARNING=YES CUSTOM_MODE=FORCE >> $LOG_FILE 2>&1
    ex # 2 :
    sqlplus -s $apps_user/$apps_pswd@$dbsid @$XX_TOP/XX_PGM_REQ_GROUP.sql >> $LOG_FILE 2>&1
    XX_PGM_REQ_GROUP.sql content.
    IF NOT fnd_program.program_in_group('XX_PGM','Business Online','GL Concurrent Program Group','General Ledger' ) THEN
    fnd_program.add_to_group(program_short_name => 'XX_PGM',
    program_application => 'Business Online',
    request_group => 'GL Concurrent Program Group',
    group_application => 'General Ledger');
    COMMIT;
    END IF;
    Hope this might help.

Maybe you are looking for

  • Loss of sound on exporting .MPG to .AVI

    I am trying to export an MPG to .AVI for use in a Power Point Presentation, but the conversion drops the sound on the finished .AVI file. Past posts say this is normal-- how can I prevent it?

  • Graphic display problem

    I just woke my MacBook Pro 17 HD screen and got this. The VM had just been down loaded. http://www.flickr.com/photos/payers/sets/72157614881393766/ Does this look like the symptom of the nvidia graphics card failing...8600nividia Put the compter back

  • HT1725 What might be causing incomplete downloads of an album or songs within an album being cut off?

    What might be causing incomplete downloads of albums or songs within an album being cut off in itunes?

  • Set default iCal alert sound?

    iCal allows the user to specify how long it will be between an event and a default alarm. Is it also possible to specify what the default sound will be for an alarm? I find myself having to change the sound on every alarm I set, which is pretty annoy

  • Spotlight indexing after each new search

    I'm using Spotlight to launch apps, that's the fastest way for me. However, Snow Leopard's version of Spotlight doesn't stop indexing after I selected needed item from the list and the search box is closed. Example: to launch World of Warcraft I open