How do I implement Drill UP functionality in my Request
Currently when I Drill-down from parent ( Hierarchy1_id) , request shows up all its childrens ( Hierarchy2_id). How do I rollup to parent again ?
The best way to achieve this is by using report navigation. Create Report1 with the parent column and Report 2 with the parent column and child column. In the parent column of report 1 have the report navigation set to Report2. In the child column have the navigation on child column set to report1. This will achieve the drill up like functionality. Else, just use the return link if you have only one level of drill.
Thanks,
Venkat
http://oraclebizint.wordpress.com
Similar Messages
-
How can I implement an user function in a derived column of a report ?
Hello,
I've a report and added a derived column.
In this column should be displayed the result of a function.
GETANZGJMONATE ( to_date(#START_AFA#,'DD.MM.YYYY'), #ND#, :P302_GJ );
How can I implement this?
Thanks in advance
Regards UlrikeUlrike - I would do this in the SQL statement (there may be other ways).
Presumably START_AFA and ND are table columns?
Presumably you've also created the GETANZGJMONATE function?
So, something like this should work (this also assumes that START_AFA is of a DATE type - you'll need the TO_DATE call if not):
SELECT COL1
, COL2
, START_AFA
, ND
, GETANZGJMONATE (START_AFA, ND, :P302_GJ)
from TABLE
where ...
Can't remember if you have to grant any particular execute permissions on the function ('grant execute on GETANZGJMONATE to public', for example) when you call it from SQL on a page, but you could try that if the function call fails.
Depending on what's in :P302_GJ and what the function parameter data type is, you might need to use the '&P302_GJ.' syntax or TO_NUMBER etc.
Hope this helps.
Regards,
John. -
How can i implement 'Distribute Qty' function in BAPI_GOODSMVT_CREATE
Hi all,
Using MIGO For GR. if more than one Batch or Production Date or Vendor Batch for same Purchase Order Line Item and Deliv date, need to hit Distribute Qty button to split the entry line into multiple lines before enter Production Date and Vendor Batch.
So I want use bapi BAPI_GOODSMVT_CREATE implement MIGO function for a interface. Anyone have some suggestion how can i implement the 'Distribute Qty' function in the bapi.
My email address: [email protected]Hello,
1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
TRY.
get badi lo_mb_bapi_GOODSMVT_CREATE.
CATCH cx_badi_not_implemented. "#EC NO_HANDLER
ENDTRY.
TRY.
call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
EXPORTING
EXTENSION_IN = EXTENSIONIN[]
CHANGING
CS_IMKPF = S_IMKPF
CT_IMSEG = T_IMSEG[]
CT_RETURN = return.
CATCH cx_badi_initial_reference. "#EC NO_HANDLER
ENDTRY. -
Implementing drill down functionality for BI reports
Hi All,
We want to integrate some BI reports in EP. What we want to achieve is:
Display a graph (eg indicating sales revenue) or table in the iView
Upon user click, drill down the report to view by various criteria.
Using VC, we managed to implement drill down using a 'button', i.e. user selects the row or region in graph and clicks on a button to trigger the drill down.
We want to improvise on the interface for triggering drill down. Instead of having to select a row and clicking on the button, can we trigger drill down using context menu (using right click of mouse) or alternatively, clicking on a row or column in the graph? Would appreciate any inputs on this or alternative methods of implementing this. Thanks!
cheers
PrachiNo, no configurable context menu in VC available.
Only by using BI web reports embedded via HTML View. -
How XAI implements 'get more' function in CC&B pages
Hi all,
There is a 'get more' button in CC&B page if you list more than 50 records, just clicking the button when I wanna get last records , but how should i implement the same function by XAI, I have researched much time about this issue and gotten nothing. so had Anybody here encounterd the same issue? and have solved it?
any help would be appreciated.The get more function works in the browser becuase there is a seperate "list" servlet which retrievs the data. It relies on certain HTTP context data for correct operation. Unfortunately the "get more" function is not supported by the XAI Servlet (it does not about the HTTP context data). Your only option is to roll your own paging mechnaism for the data you require.
The pattern goes likes this...
1. Work out the SQL for what you want to paginate
2. Create a new "List Service" class that will act as the underlying service
3. Annotate the service with inputs which include the page size, and the page number you want to retrieve
4. Annotate the service with a list data that will be returned
5. Use the page size and page number to create and execute the query and build the return result
6. Register the service as an XAI Inbound Service
7. Deploy the code
8. Test using Dynamic Submission
eg. Here is an example of Get More for Lookup Values....
import com.splwg.base.api.BusinessEntity;
import com.splwg.base.api.SimpleEntityList;
import com.splwg.base.api.service.DataElement;
import com.splwg.base.api.service.ItemList;
import com.splwg.base.api.service.ListBody;
import com.splwg.base.domain.common.lookup.LookupField_Id;
import com.splwg.base.domain.common.lookup.LookupValue;
import com.splwg.base.domain.common.lookup.LookupValue_Id;
import com.splwg.base.support.service.metainfo.ListBodyField;
import com.splwg.shared.environ.ServiceListConstant;
import com.splwg.shared.logging.Logger;
import com.splwg.shared.logging.LoggerFactory;
* @author edhoi
@ListService (name = CmGetMoreListValues, size = 10000, program = CMLGETMRL, service = CMLGETMRL,
* body = @DataElement (contents = { @DataField (name = COUNTER)
* , @RowField (entity = lookupValue, name = lookupValue)}),
* headerFields = { @DataField (name = ELEM_SIZE)
* , @DataField (name = FIELD_NAME)
* , @DataField (name = FIELD_VALUE)})
public class CmGetMoreListMaintenance extends CmGetMoreListMaintenance_Gen {
private static final Logger LOG = LoggerFactory.getLogger(CmGetMoreListMaintenance.class);
@Override
protected ItemList<DataElement> readList() {
// Call CmGetMoreBusinessComponent
CmGetMoreBusinessComponent cmGetMoreBusinessComponent = CmGetMoreBusinessComponent.Factory
.newInstance();
LookupField_Id lookupField_Id = new LookupField_Id(getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_NAME));
LookupValue_Id lookupValueId = new LookupValue_Id(lookupField_Id,
getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_VALUE));
BigInteger pageSize = getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.ELEM_SIZE);
LookupValue lastValue = lookupValueId.getEntity();
List<LookupValue> values = cmGetMoreBusinessComponent
.getLookupValuePageData(lookupField_Id, lastValue, pageSize
.intValue());
long count = cmGetMoreBusinessComponent
.countLookupValues(lookupField_Id);
if (values.size() > 0) {
lastValue = values.get(values.size() - 1);
} else {
lastValue = null;
ItemList<DataElement> itemList = new ItemList<DataElement>(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.name);
ListBody listBody = itemList.newListBody();
listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.COUNTER, new BigInteger(
Long.toString(count)));
if(lastValue != null) {
listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.FIELD_VALUE, lastValue.getId().getFieldValue());
for (LookupValue value : values) {
DataElement listElement= itemList.newDataElement();
listElement.addRow(value.getDTO());
return itemList;
@Override
protected void afterPopulateList_CmGetMoreListValues(
ItemList<DataElement> targetList, SimpleEntityList sourceList,
BusinessEntity sourceListParent) {
// TODO Auto-generated method stub
super.afterPopulateList_CmGetMoreListValues(targetList, sourceList,
sourceListParent);
} -
Drill down functionality needed
Hi i copied the program RFWERE00 to a zprogram and made some modifications for selection screen.
and it is working fine but after getting ouput iam unable to navigate to the purchase order ,
or the document number.when i double click on it .i have n'tmade anychanges in the events please let me know how to achive this drill down functionality in the output,when i click pu number it shouls take to
purchase order.Hi,
go to SE41 and copy the LISTE status of RFWERE00 to your Z program. Also save the ALV layout similar to the standard program. This will create drill down.
Hope this helps you
Raj -
How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?
Hi,
I have created custom action for Share functionality in document library.
On Share action i'm showing Model pop up with Share form with addition functionality.
I am developing custom share functionality because there is some addition functionality related to this.
How to Implement custom share functionality in SharePoint 2013 document Lib pro-grammatically?
Regards,
- SiddhehswarHi Siddhehswar:
I would suggest that you use the
Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
We customize <Edit> Ribbon. As shown below.
When user click <Edit Item>, the system will
render customized pop up window.
Will -
Let me know how to Implement Drill throughs in the NW verdion
Hi,
I am doing BPC migration project from MS7 to NW7.5.
There are some Drill throughs are developed in the MS version,And there is no URL in the MS fro this.They stored the data in a table in the backend (SQL)
Let me know how to Implement Drill throughs in the NW verdion.
Thanks and Regards
KrishnaHi Krishna,
Please go through the below link on Drill through in 7.5 NW version.
http://www.sdn.sap.com/ae28bbe7-899e-4896-8237-f58cc79b34b2/finaldownload/downloadid-e804b270e3c40376a7951c8ed8930e16/ae28bbe7-899e-4896-8237-f58cc79b34b2/irj/scn/go/portal/prtroot/docs/library/uuid/10a56b21-04b9-2d10-a6b7-e0f8732b4142?quicklink=index&overridelayout=true
Hope it helps.
Regards,
Raghu -
How to implement a callback function using LabView's Call Library Function Node?
I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
me and I do not have the source code, just the .dll and .h files.
The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
this one out. I am using LabView 8.6.
The SDK.h deacribes the function as:
// Function: SdkSetPropertyEventHandler
SdkError SDKAPI SdkSetPropertyEventHandler(
SdkCameraRef inCameraRef,
SdkPropertyEvent inEvnet,
SdkPropertyEventHandler inPropertyEventHandler,
SdkVoid* inContext );
// Description:
// Registers a callback function for receiving status
// change notification events for property states on a camera.
// Parameters:
// In: inCameraRef - Designate the camera object.
// inEvent - Designate one or all events to be supplemented.
// inPropertyEventHandler - Designate the pointer to the callback
// function for receiving property-related camera events.
// inContext - Designate application information to be passed by
// means of the callback function. Any data needed for
// your application can be passed.
// Out: None
// Returns: Any of the sdk errors.
A separate header file called SDKTypes.h contains the following data:
typedef SdkUInt32 SdkPropertyEvent;
typedef SdkUInt32 SdkPropertyID;
typedef void SdkVoid;
typedef struct __SdkObject* SdkBaseRef;
typedef SdkBaseRef SdkCameraRef;
SdkPropertyEventHandler
typedef SdkError ( SDKCALLBACK *SdkPropertyEventHandler )(
SdkPropertyEvent inEvent,
SdkPropertyID inPropertyID,
SdkUInt32 inParam,
SdkVoid * inContext );
Thanks for your help.
Alejandro
Solved!
Go to Solution.alejandroandreatta wrote:
I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
me and I do not have the source code, just the .dll and .h files.
The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
this one out. I am using LabView 8.6.
Basically you do not do that. LabVIEW does not know pointers and certainly not function pointers. What you should do instead is writing a C DLL that implements the callback and also exports a function to be called by LabVIEW that translates between the callback and a LabVIEW user event. Look for PostLVUserEvent() here on the NI site to find examples how to do that.
Rolf Kalbermatter
Message Edited by rolfk on 02-11-2009 08:00 PM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
How to implement Excel like functionality using Table?
I have a requirement to implement excel like functionality in a table, i.e when I update the amount in the first row and tab out, the values in the rows below should get affected.
Could any one suggest idea how to get this done?Hi Timo,
Thanks for your Reply.
Can you please provide the code for capturing the key stroke in java script and queue it in the server and calling only the adf data table values from it.
Thanks And Regards,
Lovenish Garg
Edited by: lovenish on 21-Jan-2011 04:25 -
How to implement a back functionally like the back of the browser
Hi, I have a commandImageLink("go back") in a template jspx. How to implement the back functionally like the back of the browser with a managed bean method??. For know I m not using task flows.
I think you can use a javascript method to go back to the previous browser page.
http://javascript.about.com/library/blback.htm
http://www.pageresource.com/jscript/jhist.htm
http://www.w3schools.com/jsref/met_his_back.asp
Perhaps you find something useful and related to backing beans here:
http://adfdevelopers.blogspot.com/2009/04/some-handy-code-for-backing-beans-adf.html
NA
http://nickaiva.blogspot.com -
How to implement Shopping cart functionality in weblogic portal 10.3
Hi,
Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
Thanks,
UttamOne piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
Brad -
How the Drill down functionality works if the source is Bex Query
Dear All,
How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
Please let me know process.
Thanks
Regards,
SaiHi sai,
Drill down can be done by two ways.
1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
Filtering Through Combo Box
2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
Difference between "When value Becomes & When value Changes"
Revert any clarification required on this.
--SumanT -
How to implement copy paste functionality with IE
Hi Experts,
I am working on jdev 11.1.1.6.0, I have requirement to implement copy & paste functionality with IE Browser in ADF table. I have followed below link to implement the functionality.
http://one-size-doesnt-fit-all.blogspot.com/2011/04/aftable-restoring-basic-browser-copy.html
But copy&functionality is working fine, but when table loading I lost vertical/horizontal scroll bar. Can any one suggest me what is wrong here/what i am missing here.
My logic:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:sni="/SNIDeclarativeComponentLib">
<c:set var="tumuiBundle" value="#{adfBundle['sni.tum.view.TestUIBundle']}"/>
<af:resource type="javascript">
var globalLastVisitedField = null;
function captureTableFieldName()
return function (evt)
evt.cancel();
globalLastVisitedField = evt.getSource();
function copyMenu(evt)
if (globalLastVisitedField == null)
alert("copyMenu() Error: No field could be
identified to be in focus");
else if (navigator.appName != "Microsoft Internet
Explorer")
alert("Copy function is only
supported in Microsoft Internet Explorer");
else
var txt = globalLastVisitedField.getProperty("ItemValue");
window.clipboardData.setData('Text', "" + txt);
evt.cancel();
</af:resource>
<af:subform id="f1" defaultCommand="srchcb">
<af:panelStretchLayout id="psl1" topHeight="auto" bottomHeight="auto"
styleClass="AFStretchWidth">
<f:facet name="center">
<af:panelCollection id="tab" styleClass="AFStretchWidth">
<af:table value="#{bindings.TestVO.collectionModel}"
var="row"
rows="#{bindings.TestVO.rangeSize}"
emptyText="#{bindings.TestVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.TestVO.rangeSize}"
rowBandingInterval="1"
selectionListener="#{bindings.TestVO.collectionModel.makeCurrent}"
rowSelection="multiple"
id="Table" styleClass="AFStretchWidth"
contentDelivery="immediate">
<f:facet name="contextMenu">
<af:popup id="pMenu" contentDelivery="lazyUncached">
<af:menu id="mMenu">
<af:commandMenuItem text="Copy" id="cmiCopy">
<af:clientListener method="copyMenu" type="action"/>
</af:commandMenuItem>
</af:menu>
</af:popup>
</f:facet>
<af:column sortProperty="Name" sortable="true"
headerText="#{bindings.TestVO.hints.Name.label}"
id="c33">
<af:outputText value="#{row.Name}" id="Nam">
<af:clientListener method="captureTableFieldName()"
type="contextMenu"></af:clientListener>
<af:clientAttribute name="ItemValue"
value="#{row.Name}"></af:clientAttribute>
</af:outputText>
</af:column?
</af:Table>
-Thanks.Hi,
I can't tell. What I can tell is that the code in the sample you reference for sure doesn't cause this - but it doesn't help you I guess.
Btw.: Here is a solution that works on all browsers. The solution in the blog (Chris - please forgive me) is a bit awkward to be honest.
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/012-copy-table-cell-values-169137.pdf
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/tablecellcopypaste-168499.zip
Frank -
How to implement ACT AS function
Hi experts,
Can anyone of you help me in implementing ACT AS function in OBIEE 10g...
Thanks
manutry this
http://gerardnico.com/wiki/dat/obiee/actas
Maybe you are looking for
-
Ovi Maps deleted on 6303 classic
Hi, In the past I unfortunately deleted whole application Ovi Maps on the phone 6303 classic, I didnt find the way how to get this application back to the phone. Please help.
-
Hi all, has anyone had any sucess creating an after effects plugion which converts an after effects file (with 3d camera and other 3d elements) into filmbox (fbx) format? I love animating with the puppet tool in AE, but need it to go into Unity (and
-
IPod classic won't restore,/recover etc.
The other day my iPod having tried to restart it after it froze reverted back to factory settings and wiped everything off it, it also seemed to lose its charge but I am not sure of that. I connected it to the net and tried to restore it. It didn't.
-
Hello. I am trying to distribute a compiled labview program on Ubuntu linux machines. However, I can't seem to get the Labview Run Time Enviroment to install on Ubuntu in order to run the executable. Has anyone managed to do this? I have tried using
-
CS6 / Mountain Lion For some reason a message appears that this doc is not being color managed. I've been using Photoshop manges colors and selecting the correct profile with no issue-until now in Mountain Lion. I haven't attempted to print my art ye