Parent-Child-Grandchild report
Hi,
I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
Ungrouped
Parent record 1
----Child Record 1
------------Grandchild record 1
----Child Record 2
------------Grandchild record 2
Grouped
Parent record 1
----Child Record 1 - Grouped by Status
------------Grandchild record 1
------------Grandchild record 2
Desired Output
Parent record 1
- Grouped by Status
----Child Record 1
------------Grandchild record 1
----Child Record 2
------------Grandchild record 2
If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
Thanks!
Hi,
I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
Ungrouped
Parent record 1
----Child Record 1
------------Grandchild record 1
----Child Record 2
------------Grandchild record 2
Grouped
Parent record 1
----Child Record 1 - Grouped by Status
------------Grandchild record 1
------------Grandchild record 2
Desired Output
Parent record 1
- Grouped by Status
----Child Record 1
------------Grandchild record 1
----Child Record 2
------------Grandchild record 2
If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
Thanks!
Similar Messages
-
What is parent child alv report
what is parent child ALV report?
Hi,
I thing u r asking about Hierarchial sequential list display report.
Kindly go through the below report it may helps to u the concept of parent child report.
REPORT YMS_HIERSEQLISTDISPLAY .
Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY *
Author : Michel PIOUD *
Email : [email protected] HomePage : http://www.geocities.com/mpioud *
TYPE-POOLS: slis. " ALV Global types
CONSTANTS :
c_x VALUE 'X',
c_gt_vbap TYPE SLIS_TABNAME VALUE 'GT_VBAP',
c_gt_vbak TYPE SLIS_TABNAME VALUE 'GT_VBAK'.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
SELECTION-SCREEN END OF LINE.
TYPES :
1st Table
BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln, " Sales document
kunnr TYPE vbak-kunnr, " Sold-to party
netwr TYPE vbak-netwr, " Net Value of the Sales Order
erdat TYPE vbak-erdat, " Creation date
waerk TYPE vbak-waerk, " SD document currency
expand TYPE xfeld,
END OF ty_vbak,
2nd Table
BEGIN OF ty_vbap,
vbeln TYPE vbap-vbeln, " Sales document
posnr TYPE vbap-posnr, " Sales document
matnr TYPE vbap-matnr, " Material number
netwr TYPE vbap-netwr, " Net Value of the Sales Order
waerk TYPE vbap-waerk, " SD document currency
END OF ty_vbap.
DATA :
1st Table
gt_vbak TYPE TABLE OF ty_vbak,
2nd Table
gt_vbap TYPE TABLE OF ty_vbap.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
v_2 = 'With ''EXPAND'' field'.
START-OF-SELECTION.
Read Sales Document: Header Data
SELECT vbeln kunnr netwr waerk erdat
FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
IF NOT gt_vbak[] IS INITIAL.
Read Sales Document: Item Data
SELECT vbeln posnr matnr netwr waerk
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE gt_vbap
FOR ALL ENTRIES IN gt_vbak
WHERE vbeln = gt_vbak-vbeln.
ENDIF.
PERFORM f_display.
Form F_DISPLAY
FORM f_display.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-tabname = &1.
ls_fieldcat-fieldname = &2.
ls_fieldcat-ref_tabname = &3.
ls_fieldcat-cfieldname = &4. " Field with currency unit
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-tabname = &1.
ls_sort-fieldname = &2.
ls_sort-up = c_x.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_layout TYPE slis_layout_alv,
ls_keyinfo TYPE slis_keyinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv," Sort table
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
ls_layout-group_change_edit = c_x.
ls_layout-colwidth_optimize = c_x.
ls_layout-zebra = c_x.
ls_layout-detail_popup = c_x.
ls_layout-get_selinfos = c_x.
IF p_expand = c_x.
ls_layout-expand_fieldname = 'EXPAND'.
ENDIF.
Build field catalog and sort table
m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
m_sort c_gt_vbak 'KUNNR'.
m_sort c_gt_vbap 'NETWR'.
ls_keyinfo-header01 = 'VBELN'.
ls_keyinfo-item01 = 'VBELN'.
ls_keyinfo-item02 = 'POSNR'.
Dipslay Hierarchical list
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
i_tabname_header = c_gt_vbak
i_tabname_item = c_gt_vbap
is_keyinfo = ls_keyinfo
TABLES
t_outtab_header = gt_vbak
t_outtab_item = gt_vbap
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_LIST_DISPLAY
Form USER_COMMAND *
FORM user_command USING i_ucomm TYPE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
DATA ls_vbak TYPE ty_vbak.
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN c_gt_vbap.
WHEN c_gt_vbak.
READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
END OF PROGRAM Z_ALV_HIERSEQ_LIST ******************
Thanks,
Sankar M -
How do i create a parent-child-grandchild form?
the application module wizard seems intent on creating 2 separate parent child relationships. what am i missing?
Data Control Palette displays exactly the same structure as view objects in your application module have. Return back to model and edit application module content.
Is your structure similar? :
Left side:
- parent
- - - child
- child
- - - grandchild <-- click this
Right side:
- parent
- - - child <-- the click this and press arrow
- child1
- - - grandchild
Rado -
Horizontal display of parent/child/grandchild on the template troubles
Hello,
I am trying to display horizontally the Child/Grandchild records on my template. I can see the Child/Grandchild records but not the Parent. I'm sure it's an easy fix but it eludes me.
I can send the .rtf template and .xml file to anyone who would like to enlighten me.
Thanks.Ok. I got the fix back. Thank you.
Looks like the change was that I had the ForEach based on the lines, at the line level, but it should have been on the header level.
Thanks again.
Kkerig -
Parent/Child/Grandchild ViewLink
Hello,
I have a viewobject which is constructed as follows:
1. ParentViewObject
2. ChildViewObject via ParentChildViewLink
3. GrandChildViewObject via ChildGrandChildViewLink
When going from the parent to the child, the viewobject works as expected.
When going from the child to the grandchild, no rows are found.
My belief is I am having a syntax error. If I run the test on the appmodule, the viewobjects work as expected.
Question: Where can I find information on how to correctly access the child/grandchild view.
Tks
Booker Northington IIThe uix file is being called as follows:
<ctrl:go name="PageName" redirect="true">
<ctrl:property name="key" >
<ctrl:selection name="viewTable" key="key" />
</ctrl:property>
</ctrl:go>
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:epicTemplate="http://net.btcg.epic/templates">
<templates xmlns="http://xmlns.oracle.com/uix/ui">
<templateImport source="/template/templateLibrary.uit"/>
</templates>
<bc4j:registryDef>
<bc4j:rootAppModuleDef name="EpicAppModule"
definition="epic_bc4j_package.Epic_bc4j_packageModule"
releaseMode="stateful">
<bc4j:viewObjectDef name="ClinFunding_View1" rangeSize="3"/>
</bc4j:rootAppModuleDef>
</bc4j:registryDef>
<content>
<try xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<catch>
<displayException/>
</catch>
<contents>
<document>
<metaContainer>
<head title="Clin Funding">
<contents>
<epicTemplate:epicScrollBarTemplate/>
<include ctrl:node="/includes/epicScrollBarInclude"/>
</contents>
</head>
</metaContainer>
<pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
title="ClinToClinFundingLink1 View">
<corporateBranding xmlns="http://xmlns.oracle.com/uix/ui">
<epicTemplate:epicCorporateBrandingTemplate/>
</corporateBranding>
<globalButtons xmlns="http://xmlns.oracle.com/uix/ui">
<epicTemplate:epicButtonBarTemplate/>
</globalButtons>
<pageHeader xmlns="http://xmlns.oracle.com/uix/ui">
<epicTemplate:epicClinMenuBarTemplate selectedTab="1"/>
</pageHeader>
<start xmlns="http://xmlns.oracle.com/uix/ui">
<epicTemplate:epicSideNavTemplate/>
</start>
<tabs xmlns="http://xmlns.oracle.com/uix/ui">
<epicTemplate:epicTabBarTemplate selectedTab="2"/>
</tabs>
<contents>
<messageBox automatic="true"/>
<bc4j:rootAppModuleScope name="EpicAppModule">
<contents>
<header text="Search">
<contents>
<form name="search" method="POST">
<contents>
<inlineMessage prompt="Search" vAlign="middle">
<contents>
<bc4j:viewObjectScope name="ClinFunding_View1">
<contents>
<flowLayout>
<contents>
<choice name="attrName"
data:selectedValue="attrName@ctrl:page"
shortDesc="Search Column">
<contents>
<bc4j:region automatic="true">
<bc4j:attrStamp>
<option>
<boundAttribute name="text">
<bc4j:attrDefProperty name="name"/>
</boundAttribute>
<boundAttribute name="value">
<bc4j:attrDefProperty name="name"/>
</boundAttribute>
</option>
</bc4j:attrStamp>
</bc4j:region>
</contents>
</choice>
<textInput name="attrValue" columns="20"
data:text="attrValue@ctrl:page"
shortDesc="Search"/>
</contents>
</flowLayout>
</contents>
</bc4j:viewObjectScope>
</contents>
<end>
<submitButton text="Go" ctrl:event="search"/>
</end>
</inlineMessage>
</contents>
</form>
</contents>
</header>
<header text="Results">
<contents>
<form name="viewForm" method="POST">
<contents>
<bc4j:viewObjectScope name="ClinFunding_View1">
<contents>
<bc4j:table name="viewTable" automatic="true"
width="80%"
alternateText="No rows found">
<tableSelection>
<singleSelection selectedIndex="0"
shortDesc="Select Row">
<contents>
<submitButton text="Update"
ctrl:event="update"/>
<submitButton text="Delete"
ctrl:event="delete"/>
</contents>
</singleSelection>
</tableSelection>
<bc4j:keyStamp>
<bc4j:rowKey name="key"/>
</bc4j:keyStamp>
<bc4j:columnStamp>
<bc4j:column>
<columnHeader>
<bc4j:sortableHeader/>
</columnHeader>
<contents>
<bc4j:input readOnly="true"/>
</contents>
</bc4j:column>
</bc4j:columnStamp>
</bc4j:table>
</contents>
</bc4j:viewObjectScope>
</contents>
</form>
</contents>
</header>
</contents>
</bc4j:rootAppModuleScope>
</contents>
<contentFooter>
<button text="Create" ctrl:event="create"/>
</contentFooter>
</pageLayout>
</document>
</contents>
</try>
</content>
<handlers>
<event name="search">
<bc4j:findRootAppModule name="EpicAppModule">
<bc4j:findViewObject name="ClinFunding_View1">
<bc4j:findByExample>
<bc4j:exampleRow ignoreCase="true">
<bc4j:exampleAttribute>
<bc4j:nameBinding>
<bc4j:parameter name="attrName"/>
</bc4j:nameBinding>
<bc4j:valueBinding>
<bc4j:parameter name="attrValue"/>
</bc4j:valueBinding>
</bc4j:exampleAttribute>
</bc4j:exampleRow>
</bc4j:findByExample>
<bc4j:executeQuery/>
<bc4j:setPageProperty name="attrName">
<bc4j:parameter name="attrName"/>
</bc4j:setPageProperty>
<bc4j:setPageProperty name="attrValue">
<bc4j:parameter name="attrValue"/>
</bc4j:setPageProperty>
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
<event name="sort" source="viewTable">
<bc4j:findRootAppModule name="EpicAppModule">
<bc4j:findViewObject name="ClinFunding_View1">
<bc4j:sort/>
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
<event name="goto" source="viewTable">
<bc4j:findRootAppModule name="EpicAppModule">
<bc4j:findViewObject name="ClinFunding_View1">
<bc4j:goto/>
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
<event name="create">
<ctrl:go name="PrClinLink1_ClinToClinFundingLink1_Create" redirect="true"/>
</event>
<event name="update">
<ctrl:go name="PrClinLink1_ClinToClinFundingLink1_Update" redirect="true">
<ctrl:property name="key">
<ctrl:selection name="viewTable" key="key"/>
</ctrl:property>
</ctrl:go>
</event>
<event name="delete">
<bc4j:findRootAppModule name="EpicAppModule">
<bc4j:findViewObject name="ClinFunding_View1">
<bc4j:findRowByKey>
<bc4j:keyBinding>
<bc4j:selectionKey name="viewTable" key="key"/>
</bc4j:keyBinding>
<bc4j:handlers>
<bc4j:removeRow/>
<bc4j:executeQuery/>
</bc4j:handlers>
</bc4j:findRowByKey>
</bc4j:findViewObject>
<bc4j:commit/>
</bc4j:findRootAppModule>
</event>
</handlers>
</page> -
Parent/Child/Grandchild ViewObject/ViewLink
I have a viewobject which is constructed as follows:
1. ParentViewObject
2. ChildViewObject via ParentChildViewLink
3. GrandChildViewObject via ChildGrandChildViewLink
When going from the parent to the child, the viewobject works as expected.
When going from the child to the grandchild, no rows are found.
My belief is I am having a syntax error. If I run the test on the appmodule, the viewobjects work as expected.
Question: Where can I find information on how to correctly access the child/grandchild view.
Tks
Booker Northington IIWe are expecting the same challenge, did you ever receive any feedback or work around to resolving this?
-
Using the sample located @:
Spry
1.5 NestedXMLDataSet Sample
I've been having trouble getting the second level (grandchild
level) of nested xml to respond to events on the first nested
dataset (child level). Below are the 2 sample files which I cant
get working. Do I need to switch to a different approach? Maybe
master detail with <child> as master and <grandchild>
as detail. I'm stumped...
~~~~~~ Begin XML ~~~~~~~
<?xml version="1.0" encoding="UTF-8"?>
<parents>
<parent id="1">
<name>John Doe</name>
<children>
<child id="1">
<name>Ricky Dean</name>
<grandchildren>
<grandchild id="1">
<name>Evaline</name>
</grandchild>
</grandchildren>
</child>
<child id="2">
<name>Bill Bob</name>
<grandchildren>
<grandchild id="2">
<name>Billy Bob Jr</name>
</grandchild>
<grandchild id="3">
<name>Sally Sue</name>
</grandchild>
</grandchildren>
</child>
</children>
</parent>
<parent id="2">
<name>Jane Doe</name>
<children>
<child id="3">
<name>Fuzzy</name>
<grandchildren>
<grandchild id="1">
<name>Mary Dean</name>
</grandchild>
</grandchildren>
</child>
<child id="4">
<name>Buster</name>
<grandchildren>
<grandchild id="2">
<name>Buster Jr</name>
</grandchild>
<grandchild id="3">
<name>Mary May</name>
</grandchild>
</grandchildren>
</child>
</children>
</parent>
</parents>
~~~~~~ End XML ~~~~~~~~
~~~~~~ Begin HTML ~~~~~~~
<html xmlns:spry="
http://ns.adobe.com/spry">
<head>
<title>XML</title>
<script src="SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryData.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryNestedXMLDataSet.js"
type="text/javascript"></script>
<script type="text/javascript">
<!--
var dsParent = new Spry.Data.XMLDataSet("family.xml",
"parents/parent");
var dsChild = new Spry.Data.NestedXMLDataSet(dsParent,
"children/child");
var dsGrandChild = new Spry.Data.NestedXMLDataSet(dsChild,
"grandchildren/grandchild");
//-->
</script>
</head>
<body>
<div spry:region="dsParent dsChild dsGrandChild">
<table>
<tr>
<th>Parent</th>
<th>Child</th>
<th>Grandchild</th>
</tr>
<tr>
<td>
<ul spry:repeatchildren="dsParent" spry:choose="">
<li spry:when="{ds_CurrentRowNumber} == {ds_RowNumber}"
spry:setrow="dsParent" spry:select="select" spry:hover="hover"
spry:selected="">{dsParent::name}</li>
<li spry:default="" spry:setrow="dsParent"
spry:select="select"
spry:hover="hover">{dsParent::name}</li>
</ul>
</td>
<td >
<ul spry:repeatchildren="dsChild">
<li spry:when="{ds_CurrentRowNumber} == {ds_RowNumber}"
spry:setrow="dsChild" spry:select="select" spry:hover="hover"
spry:selected="">{dsChild::name}</li>
<li spry:default="" spry:setrow="dsChild"
spry:select="select"
spry:hover="hover">{dsChild::name}</li>
</ul>
</td>
<td>
<ul spry:repeatchildren="dsGrandChild">
<li>{dsGrandChild::name}</li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>
~~~~~~ End HTML ~~~~~~~~Hi Asa B,
You need to add spry:choose="" to <ul
spry:repeatchildren="dsChild"> so it looks like
<ul spry:repeatchildren="dsChild" spry:choose="">
Cheers,
nomadcanuck -
How to create a parent-child-grandchild portal form: Help Urgently!
Hi All,
I have a master table and a detail table. I also have a detail table based on the first detail table. How do I create a master-detail-detail_detail portal form ? Is this possible? if not, is there any other way to do it ?
Thanks.HI,
This is not possible with Portal Forms. You can try using jsp to do this.
Thanks,
Sharmila -
I have a parent/child data report but am not seeing the data for the child portion. I have a repeating frame which is printing the parent portion. Within that frame I have another repeating frame which should be displaying the child portion of the data but it is not. I have a data link between the two based on an id number. I think the problem is that the child portion is not being passed the id number from the parent. I have some field names which are showing up, but not the data itself associated with these field names. So I think my frames in my layout are good. Why is the parent not passing the id number to the child? I'm thinking there must be something wrong with my data model. Any suggestions on creating this type of report?
Thanks for your suggestion. In looking at this some more I see now that the queries are finding my data, but the data is not printing. Simply put, my parent query has student name & number, my child query has attendance dates for that student. The parent portion is working fine with the student name & number appearing on the report, but my child attendance dates are not showing on the report. The repeating frame in which they reside is also not showing. I know the queries are pulling the right data though, because the number of pages I am getting for each student corresponds to that student's attendance data. But the entire frame and data within it are not showing on my report. I have checked to see that the Visible value is set to Yes. Does anyone know what I am overlooking?
-
How to output the outline parent-child relationship using a report script?
I'd like to extract the outline's dimension members with it's parent-child relationship using a report script. Anybody can provide a sample script? Thanks.
Example:
DimensionX
-----MemberX
----------ChildX
Output:
Dimension X MemberX
MemberX ChildX
Edited by: obelisk on Jan 11, 2010 5:16 PMSorry a report script won't do it. You have two options
1. Use at Essbase Outline API to walk the outline and get it for you
2. Use the Outline extractor available from Applied Olap (it is a free download). It can be run interactively of as a bat file.
Frankly, I would rather use 2 since I don't have to code it myself -
User defined Parent child report
I trying to create parent child (dril down report).
I able to refer parent column as bind variable in child report but unable to refer child column as bind variable in subsequent child report.
select a,b from parent.
select x,y,z from child1
where x = :a
select e,f,g from child2
where e = :x ==> this does not work
Did anyone tried this, if yes please me know did it worked for you and how
thanks
-KI agree whole heartedly :)
If you want to make things even more interesting, create some 3rd generation child reports and carry the bind variables throughout the multiple levels - here's an example
http://www.thatjeffsmith.com/archive/2012/09/grandparent-parent-child-reports-in-sql-developer/ -
Creating a new page and new layout in a Parent/Child report.
Hi,
Currently I have a Parent/Child Report in Oracle Reports 6i. The report shows Contracts as the parent and the detail of the contracts are the Ads. Sometimes there are many ads which extend the contract to another page. Just a normal Parent/Child report. This report can display many contracts at once. My problem is that at the end of each contract I need a new page with a different layout, for a disclaimer page. I've tried many different scenarios using Anchors and page breaks. Is this even possible with Oracle Reports 6i, to have a new page with a different layout in a contract level repeating frame? Any suggestions would help.
Thanks.You have 2 repeating frames: R_contracts and R_ads. Create a frame M_disclaimer after R_ads, within R_contracts to hold the disclaimer page. This page will print after all the ad records have been printed, and before the new contract starts.
You can set Page Break Before on M_disclaimer to print this frame on a new page. -
Siebel BI Publisher Reports - Parent Child Combine
Hi,
As per my clients requirement, I need to develop reports in BI Publsiher which are similar to Combined Datastream Reports in Actuate. Its like I need to combine the Parent and Child records into a single record set and show the output. The siebel bookshelf 8.1 has not given any information about this. Is there anyway I can achieve this kind of reports ?
Thanks in advance,
JagdishSo your XML has the parent-child right?
<ListOf_ssServiceRequest>
<ssServiceRequest>
<ssAccount>Geltzer Contract Furniture</ssAccount>
<ssClosedDate/>
<ssCustomerRefNumber>wdxwdxws</ssCustomerRefNumber>
<ssDescription/>
<ssOwner>BMASON</ssOwner>
<ssPriority>Low</ssPriority>
<ssSrNumber>1-2Z0T</ssSrNumber>
<ssSeverity>Low</ssSeverity>
<ssStatus>Open</ssStatus>
<ssId>1-2Z0T</ssId>
<ssCreated>08/06/1999 07:25:56</ssCreated>
<ssUpdated>05/28/2004 05:02:58</ssUpdated>
<ssCreatedBy>0-1</ssCreatedBy>
<ssUpdatedBy>1-1ZW</ssUpdatedBy>
<ListOf_ssAction>
<ssAction>
<ssComment/>
<ssContactFirstName>David</ssContactFirstName>
<ssContactLastName>Geltzer</ssContactLastName>
<ssCreatedByName>HTADMIN</ssCreatedByName>
<ssDescription>Call customer for post-service satisfaction and confirmation of sucessful resolution</ssDescription>
<ssDone/>
<ssOwnedBy>DCOLLINS</ssOwnedBy>
<ssPrivate>N</ssPrivate>
<ssStarted/>
<ssStatus>Not Started</ssStatus>
<ssType>Call - Outbound</ssType>
<ssId>3SIA-2RNIE</ssId>
<ssCreated>03/15/2005 09:08:55</ssCreated>
<ssUpdated>03/15/2005 09:08:55</ssUpdated>
<ssCreatedBy>3SIA-2LX2K</ssCreatedBy>
<ssUpdatedBy>3SIA-2LX2K</ssUpdatedBy>
</ssAction>
<ssAction>
<ssComment/>
<ssContactFirstName>David</ssContactFirstName>
<ssContactLastName>Geltzer</ssContactLastName>
<ssCreatedByName>HTADMIN</ssCreatedByName>
<ssDescription>Repair the equipment with the new parts</ssDescription>
<ssDone/>
<ssOwnedBy>HTADMIN</ssOwnedBy>
<ssPrivate>N</ssPrivate>
<ssStarted/>
<ssStatus>Unscheduled</ssStatus>
<ssType>Field Repair</ssType>
<ssId>3SIA-2RNI9</ssId>
<ssCreated>03/15/2005 09:08:55</ssCreated>
<ssUpdated>04/26/2005 09:49:20</ssUpdated>
<ssCreatedBy>3SIA-2LX2K</ssCreatedBy>
<ssUpdatedBy>3SIA-2LX2K</ssUpdatedBy>
</ssAction>
</ListOf_ssAction>
</ssServiceRequest>
</ListOf_ssServiceRequest>
So you can create a template to follow the tree
<?for-each:ssServiceRequest?>
Account: <?ssAccount?>
<?for-each:ssAction?>
Name: <?ssContactFirstName?> <?ssContactLastName?>
<?end for-each?>
<?end for-each?>
Hope this helps
regards
Tim -
We need to pass the customer id from Parent BO report to Child BO report.
Hello Experts
We are using SAP BI BO 4.1 for Business Objects and SAP BW 7.3 as BW Backend.
Requirement: We need to pass the customer id from Parent BO report to Child BO report.
Issue: Customer (0CUST_SALES__CUSTOMER) Characterisitic is used where in the display characteristic is set to Key i.e 'Display As "Key" ' But the In BO the Dimension appreas as Text .
I have tried out by changing the display characteristic as KEY/ TEXT/ KEY & TEXT but still at the BO end the it is displayed as TEXT.
Workaround Tried: I have used the detailed object for the Dimension 0CUST_SALES__CUSTOMER- key in SAP BO i.e the key value where in we are able to view the customer ID. But we are unable to pass the value from parent report to child report as the query level Filter cannot be applied onto a detaield object.
Is this a BI- BO Integration issue?? Kindly help me out with the same.
Regards
Akshay.Hello Victor,
I have gone through the doc sent. It was helpful.
Info Object (BW)/ Dimension (BO): 0CUST_SALES__CUSTOMER.
In SAP BO the dimension has detailed object under it 0CUST_SALES__CUSTOMER- KEY and 0CUST_SALES__CUSTOMER- TEXT.
Now I can pass "0CUST_SALES__CUSTOMER- KEY" from the parent report. But in the child report we cannot apply Query level Prompt / Filter on the detailed object which will hold the parameter passed from the Parent report.
Q1: Can we apply prompts on a detailed objects?? Is there any configuration changes required.
Q2: Is there any other method the achive the same??
Regards
Akshay. -
Defining Report LayOut for a parent child report
I have a parent child report. I want to print this report in PDF using BI Publisher. Now I wanted to define a layout for that report using BI template builder. My stratagey for defining Report layuout is
1. Write a query containing all fields that I need
2. Convert that query data to XML, one way or the other
3. Load that XML into template builder.
4. Define the layout.
Now the problem is that I need some fields for parent and some from child. If I do not use group buy clause in the query I will not be able to use the tabular format in template builder (taht I wanted to use).
IF I use a group By caluse then I am unable to select the child fields as they are not the part of group by clause.
Plz helpYou have 2 repeating frames: R_contracts and R_ads. Create a frame M_disclaimer after R_ads, within R_contracts to hold the disclaimer page. This page will print after all the ad records have been printed, and before the new contract starts.
You can set Page Break Before on M_disclaimer to print this frame on a new page.
Maybe you are looking for
-
How can I see my book in Istore?
How can I see my book in aplle store?
-
SAPscript: Header Window : Title Prinitng Issue
Hi all I am modifying SAPscripting(Z-version). On the Header Window, we are printing our Company Name with address. Snapshot of the code in this window which I feel not working(was working before) was : Z5 <b>Invoice</> Z5 Z7
-
I have a folder with a bunch of hidden files in it, they were transfered from an EXfat jump drive onto my desktop. I know how to view the hidden files, but how can I remove the hidden file tag from all of the files?
-
My Zen neeon 5G now only play music with some noise, I tested some songs with other mp3 player and found that problem only occur on my neeon. This problem occurred in mp3 wav wma and all bitrate. Does it means my neeon is broken or has any solution t
-
FailoverCluster powershell cmdlets not running through Orchestartor
Hello I have a simple powershell script : import-module failoverclusters get-cluster "clusterName" The above script runs perfectly fine when I run it on powershell cmd. But when I add the same script to an activity in Orcehstrator, it fails giving th