Eliminating Duplicated Data in Node
Hi,
I would like to display data in Table Column and i bound it with node.
But the values which are coming in node are duplicated and i wanna remove the duplicated values.
can any one help me in this case?
hope to hear from you.
best Regards
Yasir Noman
change incremental to false
Similar Messages
-
Data Reconciliation Node on SAP Source System
Hi Gurus,
I'm working on Data Reconciliation between SAP BI and SAP R3 systems. I've read on the forum that the reconciliation DataSource technology is available as of PI-BASIS 2005.1 / SAP NetWeaver 2004s. I'm using
SW Comp Release Level Highest Support Desc
PI_BASIS 2005_1_640 0017 SAPKIPYJ6H Basis Plug-In (PI_BASIS) 2005_1_640
I wonder that I cannot see the Data Reconciliation Node in the transaction RSA6 in the SAP Source System. Please throw some light on this whether I need to activate them.
Thanks & Regards,
Ash.Hi Sunny,
Thanks for your response. Can you suggest me what should I do to get those DataSources? Are there any patches that SAP has released to overcome this problem for lower versions as the one which I'm using?
Thanks,
Ash. -
Application Data Publication node not appearing in Jdeveloper 11.1.1.4.0
Hello,
I am using Jdeveloper 11.1.1.4.0. In Jdeveloper Help->Check for Updates, I uploaded ADF Mobile Client Version 11.1.1.4.38.59.46 (adfmc_bundle.zip).
I am following this tutorial. http://www.oracle.com/technetwork/articles/bors-adfmobile-086867.html
Everything seems to work fine till Step 8 of the tutorial . But in Step 9 for ADF Mobile Client for Blackberry Deployment Profile Properties I am not getting the Application Data Publication node.Thus I am not being able to add the Database Connection for the Mobile Server and the Mobile Server Login Credentials for Synchronization.
Why is it that I am not getting the above mentioned node??Which JDK are you using?
See release notes - Web Service generation only supported with JDK6 (Bug 13252751)
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/11-124-rn-1942343.html#11.1.2.4.0ShermanUpdate4-ReleaseNotesREPOSITORY-WebServicesDevelopment -
How to find Info Source for Export Data source in Data Marts node
Hi
I need to load data from ODS to Info Cube. I created the Export Data source for the ODS. I can see the Export Data Source but in the Data Marts node of Info Source i cannot find the Info Source for the Export Data source i created. I replicated Data sources in the BW source system. I also tried to use Insert Lost Nodes from the Context Menu of the InfoSource node but nothing worked. Please let me know what i need to do to see the Info source in the Data Marts.
Thanks
PadmaIn the infosource tab in RSA1 - use settings --> display generated objects
you will be able to see the datamart infosources.. -
How to Transper data Model Node to Vallue Node
Hi Friends
I am getting problem in Create the Check box in Table
I am getting model node from ECC System(Zmmoa_Pending_Getlist_Input)
This is path for attributes avaliable
Zmmoa_Pending_Getlist_Input-Output-outtab
Under outtab all attributes available
My Requrement is display Check box. So I am doing like this I will care one more Vallue Node (OutTab_1) under this Vallue Node I put I have node attributes.here I careate one Check boxdatatype --Boolean(i.e Under outtab attributes)
Now I will get data from ModelNode and send that data to Vallue Node(by this node that data display in table formate.Eache Row Having Check box)
So I have to this Code But Data is Not getting in Vallunode table
in FirstView
in Submit Button
public void onActionGetData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionGetData(ServerEvent)
//$$begin ActionButton(1164287125)
//wdThis.wdGetExamp2CompController().checkSRA();
wdThis.wdGetExamp2CompController().checkBox();
wdThis.wdFirePlugToSV();
//$$end
//@@end
This is code writen in CC
public void checkBox( )
//@@begin checkBox()
//Date today = new Date(System.currentTimeMillis());
IWDMessageManager mes = wdComponentAPI.getMessageManager();
try
Zmmoa_Pending_Getlist_Input input1 = new Zmmoa_Pending_Getlist_Input();
wdContext.nodeZmmoa_Pending_Getlist_Input().bind(input1);
wdContext.currentZmmoa_Pending_Getlist_InputElement().modelObject().execute();
wdContext.nodeOuttab().invalidate();
// IPrivateExamp2Comp.IOutTab_1Element elem = wdContext.nodeOutTab_1().getOutTab_1ElementAt(i);
//mes.reportSuccess("Input:" +wdContext.nodeOuttab().size());
for (int i =0; i < wdContext.nodeOuttab().size(); i++)
//mes.reportSuccess("Input Of I:" +wdContext.nodeOutput().size());
//mes.reportSuccess("Input:" );
IPrivateExamp2Comp.IOuttabElement elem = wdContext.nodeOuttab().getOuttabElementAt(i);
//wdComponentAPI.getMessageManager().reportSuccess("elem:: "+elem);
IPrivateExamp2Comp.IOutTab_1Element result = wdContext.nodeOutTab_1().createOutTab_1Element();
//Zbapiresult result = new Zbapiresult();
result.setCheckBox(false);
result.setConf_Shp_Date(elem.getConf_Shp_Date());
wdComponentAPI.getMessageManager().reportSuccess("Conf_Shp_Date:: "+elem.getConf_Shp_Date());
result.setExpt_Shp_Date(elem.getExpt_Shp_Date());
result.setMaterial(elem.getMaterial());
result.setMatl_Desc(elem.getMatl_Desc());
result.setOa_Quantity(elem.getOa_Quantity());
result.setOpn_Quantity(elem.getOpn_Quantity());
result.setPo_Item(elem.getPo_Item());
result.setPo_Number(elem.getPo_Number());
result.setPo_Status(elem.getPo_Status());
result.setPur_Group(elem.getPur_Group());
result.setStat_Date(elem.getStat_Date());
result.setQuantity(elem.getQuantity());
wdContext.nodeOutTab_1().addElement(result);
catch(Exception e)
mes.reportException(e.getMessage(), false);
//@@end
can u help me
how to Transper data Model Node to Vallue Node. By using vallue node that data will display in table format with Check box.
I need data display in table format with Check box
Regards
Vijay KalluriHi Vijay,
TO copy values from Model Node to Value Node use the copyElements() method of the WDCopyService API. To acheive this, the name and type of the attibutes in the Value Node should be same as Model node attributes.
Example: -
Model Node <----
> Value node
---Name-String ---Name - String
---Number-Integer ---Number - Integer.
then use the following statement:
WDCopyService.copyElements(wdContext.node<ModelNode>(),wdContext.node<ValueNode>());
This will copy all the values.
Regards,
Poojith MV -
How eliminating duplicated values from selecItem's List...
Hi guys,
i've a problem.
I've a list of selectItem elements.
private List<SelectItem> names;
filled with some values.
In this values there are some duplicated values, so i need to eliminate them.
How can i do it?
Please help me,thanksthanks very much...
but i have a problem.
I need to use ArrayList.
What i want now is creating a Set and copying in it the arraylist....it should work???
I've tried in this manner
Once i've created the arrayList names
i've defined
private Set<SelectItem> names2;and i've done
names2=new HashSet();
names2.addAll(names);calling in my page names2.
The problem is that it shows me the same list, with changed order, but without eliminating duplicated values.
Can you help me? -
BPC 7.5 NW Master Data Text Node Load with Hierarchy Intervals - Duplicate
Hi,
Does anyone have ideas on how to get past this error (besides a BADI)?
I am loading master data text nodes from a BW hierarchy (say 0COSTCENTER) that has intervals defined for cost center nodes. The problem is that the text nodes fail since there are duplicate values in the hierarchy table.
Master data (dealt by table level) has errors
Detected duplicate member ID 'F100'
Detected duplicate member ID 'F100'
Detected duplicate member ID '1000'
Detected duplicate member ID '1000'
etc...
Thanks!Hi Virginie,
You should be able to see an example in many threads; look for an example to Restriction of bw infoobect(not mapped to dim)
You can also make a restriction under the InfoObject name when you run the DM package.
Hope this helps,
Gersh -
Error while binding data into Node which is Created Dynamically.
Hi All
We have a scenario , which is to create the Context and its attribute dynamically at runtime. When I create the context with structure. Using the method <b>create_nodeinfo_from_struct()</b>.here the attributes under the created node is automatically taken from the provided structure SPFLI.
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = rootnode_info
node_name = DYN
structure_name = SPFLI
is_multiple = abap_true ).
Using the above method it is working fine and I could bind the value into the node.
But our scenario is to create context and its attributes without giving any predefined structure. We need to add attributes manually giving one by one.
For that I have used the method rootnode_info->add_new_child_node &
dyn_node->add_attribute( exporting attribute_info = ls_attribute ).
But am getting short dumb showing <b>Line types of an internal table and a work area not compatible.</b>
Please give me a solution..
I used the following code .
data:
rootnode_info type ref to if_wd_context_node_info,
dyn_node type ref to if_wd_context_node,
data :ls_attribute type wdr_context_attribute_info.
rootnode_info = wd_context->get_node_info( ).
call method rootnode_info->add_new_child_node
exporting
SUPPLY_METHOD =
SUPPLY_OBJECT =
DISPOSE_METHODS =
DISPOSE_OBJECT =
STATIC_ELEMENT_TYPE =
name = 'DYN'
is_mandatory = abap_false
is_mandatory_selection = abap_false
is_multiple = abap_true
is_multiple_selection = abap_false
is_singleton = abap_true
is_initialize_lead_selection = abap_true
STATIC_ELEMENT_RTTI =
is_static = abap_false
ATTRIBUTES =
receiving
child_node_info = node_nsp
ls_attribute-name = 'CARRID'.
ls_attribute-type_name = 'S_CARR_ID'.
ls_attribute-value_help_mode = '0'.
node_nsp->add_attribute( exporting attribute_info = ls_attribute ).
ls_attribute-name = 'CONNID'.
ls_attribute-type_name = 'S_CONN_ID'.
ls_attribute-value_help_mode = '0'.
node_nsp->add_attribute( exporting attribute_info = ls_attribute ).
DATA : BEGIN OF str,
carrid TYPE s_carr_id,
connid TYPE s_conn_id,
END OF str.
DATA : it_str LIKE TABLE OF str.
select carrid connid from spfli into corresponding fields of table it_str
dyn_node = wd_context->get_child_node( name = 'DYN' ).
dyn_node->bind_table( it_str ).
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_alv_usage( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
l_ref_interfacecontroller = wd_this->wd_cpifc_alv_usage( ).
l_ref_interfacecontroller->set_data(
r_node_data = dyn_node " Ref to if_Wd_Context_Node
Thanks in advance..
Nojish
Message was edited by:
nojish pHi Nojish.
I gues the error happens when you try to read the static attributes of an element of
you dynamic node. This does not work using your defined type str, cause with
get_static_attribute you only receive the static and not the dynamic attributes.
Static attributes are attributes that are defined at design time. Thats why the
structure does not match.
But you can use the following code to get your dynamic attributes, for example
getting the lead selection element and the attribute carrid:
dyn_node = wd_context->get_child_node( name = 'DYN' ).
lr_elelement = dyn_node->get_element( ).
lr_el->get_attribute(
EXPORTING
name = 'CARRID'
IMPORTING
value = lv_carrid
Hope this helps.
PS: Or do you get the reerror in above code? Your code works here. If so pls provide short dump.
Cheers,
Sascha
Message was edited by:
Sascha Dingeldey -
[help] materialized view lost + duplicated data on remote - Fast Refresh
I created materialized view by "FAST REFRESH":
MASTER:
create SNAPSHOT log on XXX with rowid;
REMOTE:
create snapshot XXX
REFRESH fast START WITH SYSDATE NEXT SYSDATE + 1/86400 with rowid
as select * from XXX@DB_LINK;
-> I had many transactions insert/update/delete on MASTER.
Please help me any idea to protect data and fast replicate data.....=>
My Problem:
1. data duplicated on Remote server.
2. data lost on Remote server.I need to know anybody use materialized view log and found the problem like me.
I have changed script:
MASTER:
create SNAPSHOT log on XXX with primary key including new values;
REMOTE:
create snapshot XXX
REFRESH fast START WITH SYSDATE NEXT SYSDATE + 1/86400 with primary key
as select * from XXX@DB_LINK;
I'm sure new script to resolve duplicate, But not sure about data lose.
If you have some idea, Please inform me............... -
How to access data from node of other view into node of diff view?
Hi all,
My requirement is that I have account defined in 'CLEAR_HEAD' component , view is 'CLEAR_HEAD/ClearAccountsEF'
context node is 'TARGETVALUE' and attribute is 'ACCOUNT1'. I need to access this account information in the same component but in another view 'CLEAR_HEAD/ClearAddressEL' and the context node is 'DEPLIST' and attribute is 'RADIO1'. I have one custom controller 'CLEAR_HEAD/CuCoHead' already defined in this component. I checked the above 'TARGETVALUE' node but it is not bind to any Custom controller. And I also checked the above pre-defined custom controller 'CLEAR_HEAD/CuCoHead' and the context node in this Custom controller is different from those of the above context nodes and the only one context node defined in this custom controller 'CLEAR_HEAD/CuCoHead' is 'LISTNODE'.
My quesitons are
1. How to bind the above context node(TARGETVALUE) to the custom controller. Can I bind it to the above existing custom controller 'CLEAR_HEAD/CuCoHead' , if so then how can I do since the above custom controller doesn't contain this context node(TARGETVALUE) and it contains only the context node 'LISTNODE'. If I can use the above existing Custom Controller then can I directly do binding by right clicking the context node(TARGETVALUE) -> Create binding. Then what should be the value in Target Contex Node?
2. Do I need to create another custom controller If so then can I directly follow the steps defined in this link '/people/vikash.krishna/blog/2009/12/28/crm-70-how-to--5d-custom-controller-and-binding-of-context-nodes' ? If so then what should be the Model node and Bol Entity name?
I appreciate your help..
Thanks,
Chinnu.HI Chinnu, <br />
<br />
Approach 1: <br />
Bind the context node view1 TARGETVALUE with Component controller.<br />
and in View2 <br />
data lr_comp_controller type ref to X----component controller<br />
lr_entity TYPE REF TO cl_crm_bol_entity.<br />
lr_comp_controller ?= me->comp_controller.<br />
<br />
lr_entity ?= lr_comp_controller->typed_context->Y->collection_wrapper->get_current( ). Y---CONTExt node in view1.<br />
<br />
Approach 2: <br />
Declare a static attribute in the View controller of first view.<br />
Read the attribute D1 value from DO_PREPARE_OUTPUT of first View and pass it to the Static sttribute.<br />
In your 2nd view u can read this Static Atribute and use it.<br />
Static Attribute u need to call as follows . Z********IMPL(Implemantation Class)=>ATTR1<br />
<br />
Approach 3: <br />
Creae a custom controller with the same context node used in view 1. <br />
Bound the custom controller context node to view 1 context node.<br />
<br />
Now in view 2, get the custome controller and read data from it.<br />
<p />
<br />
View1 context node: BTADMINH<br />
<p />
Custom controller: BT115QH_SLSQ/AdminH context node: BTADMINH_CUCO<br />
<p />
In view 1 context class (CTXT class), go to CREATE_BTADMINH method and append the below code to bind both the context nodes,<br />
<pre class="jive-pre"><code class="jive-code jive-java">* bind to custom controller
owner->do_context_node_binding(
iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_CUSTOM
iv_name =
<font color="navy">'BT115QH_SLSQ/AdminH'</font> <font color="red">"#EC NOTEXT</font>
iv_target_node_name = <font color="navy">'BTADMINH_CUCO'</font>
iv_node_2_bind = BTADMINH ).
Now in view 2 get the custom controller using the below code,
Data: lr_cuco type ref to <custom controller class>.
lr_cuco ?= me->get_custom_controller( controller_id = <font color="navy">'BT115QH_SLSQ/AdminH'</font> ).
lr_entity = lr_cuco->typed_context->BTADMINHCUCO->collection_wrapper->get_current( ).
</code></pre> <br />
<p />
If you are just reading a attribute value from view1, then approach 2 shud b easy one. <br />
Approach 1 & 3, more or less the same, except we are using component controller vs custom controller. These approaches holds good when the data required to be accessed/updated from either views. <br />
<br />
Coming to your specific scenario, I think there is already a context node available in the compoenent controller TARGETBP, which can have the required data for you. Please look into that. <br />
<br />
Cheers, Satish<br />
Edited by: Satish Reddy Palyam on Aug 13, 2011 12:50 PM -
Duplicated data when run Crystal report
Afternoon all,
I'm trying to create a report which compares quantity of sold goods and qty of orderd goods.
I've started just with one table for sold quantity using parameter fileds for From Date, To date, Customer and Part Number. I've ran the report and everything is OK.
When I add another table (and link the fields) to get ordered quantities and run the report I receive duplicate data for ordered goods.
To be more precise, I think that the duplicate data are in the rows where I have sold quantity but no ordered goods.
As for example:
Invoice Date Inv. Qty Date of ordered g. Ordered Qty
7.6.2006 80 9.6.2006 160
9.6.2006 80 12.6.2006 160
11.6.2006 80 12.6.2006 160
The Sum formula then for Ordered qty gives 480 pcs, but it should be just 320.
I'm sorry, If you have already answered similar question. I was not able to find it.
Thank you in advance for your help.
BranislavHi Branislav,
I think this is just because of dates in your Invoice Qty table. Do the following to create the report.
--Create report with Invoice and Order tables and use inner join to join the tables.
--Insert a group on Part Number and place the following fields on detail section
Inv_Date,Inv_Qty,Ord_DAte,Ord_Qty
Now your report looks like :
Invoice Date Inv. Qty Date of ordered g. Ordered Qty
7.6.2006 80 9.6.2006 160
9.6.2006 80 12.6.2006 160
11.6.2006 80 12.6.2006 160
Now right click on Order_date,Ord_Qty and format fields--click on suppress duplicated
Now your report looks like
Invoice Date Inv. Qty Date of ordered g. Ordered Qty
7.6.2006 80 9.6.2006 160
9.6.2006 80 12.6.2006 160
11.6.2006 80
Now to get summary on order_Qty Create a running total like
Right click on running totals--new give the nameSelect the Ord_Qty field to get total, Type of Summary should be sum
Evaluate--Click On change of field and select Order_DAte
Reset--Click On change of group.
Now place this running total in group footer under Order_Qty. This will solve issue.
Thanks,
Sastry -
Labview class data read node problems
I've been noticing some odd things when i use read\write nodes on labview class objects.
It seems like at some point the link between the read node and what it's supposed to be doing gets broken - so that it reads out the 'default' value of the data than the actually written value. I have worked out how to fix it when it happens - by deselecting the correct node, and then reseleecting it - seems to refresh whatever is happening underneath - although it is a pretty annoying bug.
It seems to have started happening in the last few months when i updated to LV2011 SP1 in code that had been unchanged for at least a year. (so LV2010).
I can't quite pin down the exact circumstances because it seems a bit transitory. It seems to mostly happen after labview crashes - which seems to happen quite often in LV2011. I have a feeling it might be especially when you do class inheritance.
Anybody else noticed this behaviour? Have been wondering if I should avoid using these node read\writes, and go for the actual VIs.
JPHi JP,
Many thanks for your post. I have been using LabVIEW 2011 for a recent OOP project and not experience this behaviour so believe it could be an issue introduced in SP.1.
I have checked and this is not a known issue with LabVIEW 2011 SP.1. I have had a go at recreating the issue in SP.1 but have been unable. In order for me to report this as a known issue and ensure it gets rectified I need to be able to recreate the behaviour. If you are able to explain some steps to recreate the issue then this would be great. Alternatively, could you send me in a VI/project which has the issue?
If it seems to occur after a crash then I suspect the two are related and the key will be identifying what is causing LabVIEW to crash.
Best Regards.
Aaron. E
Applications Engineer Team Lead
National Instruments
ni.com/support -
Health App duplicating data entries
I use the Livestrong.com MyPlate app to track calories and nutrition info, and it has recently been update to read from and write to the Health app as of iOS 8.0.2. However, soon after setting up MyPlate to write to Heatlh, Health would start duplicating entries 3-5 or more times, such that I was getting absurd values such as "Dietary Calories today: 11,032 calories." The information in MyPlate remained correct. I tried to resolve the issue by erasing all the saved data, but then Health would not read back any data even though MyPlate remained a data source. Deleting the MyPlate app and reinstalling (which pulls the historical data back down from Livestrong.com) did not help. I am pretty sure this is an Apple problem, I did some searching on the web and MyFitnessPal users are having the same issue. Have any of you encountered this and if so, found an expedient work around?
I'm experiencing the same problem with my Garmin Connect -- I'm getting 5 entries for every hour, leading to it appearing I've taken about 20,000 steps. I'd be in a lot better shape if I actually did take 20,000 steps by mid-afternoon everyday, but that's just not the case.
I've been through all the settings on both apps, and I cannot find anything that would let me make any adjustments to how the syncing works. -
10g - disconnected analytics - duplicated data in client
hi, experts,
I configured the server and client.
now, the data can be synchronized to client.
BUt I found that during synchronization, there is no data differentiation process performed.
the data is duplicated after each synchronization.
when there are 2 times of synchronization done, the data is duplicated twice.
how to solve it?change incremental to false
-
Want to remove duplicated data from my iPod
When I moved from my old PC to my new Mac I attempted to transfer all my iTunes songs across. This didn't work the first time I tried, but did on second go. However, in the colour-coded bar in iTunes which tells you what's on your iPod, I see I have 7.96 GB of 'other' data - which is approximately the same as my music - so I can only imagine my first attempt at transfer semi-worked afterall and I've doubled up on the information somehow. I could leave it but I'm wasting space unnecessarily, and yet I can't seem to find out how to get 'into it' to remove it.
Have you checked to see what other stuff is on your ipod? Maybe contacts and calendars that could be taking up space? Photos?
You could try restoring it and then putting everything back on it.
Sharon
Maybe you are looking for
-
IPod Nano Won't update,says playlists no longer exist,
I am really getting frustrated with my iPod nano. First it started off by not updating songs. Then it started to erase songs when i connected it to itunes. So i erased everything hoping that would fix it. But now when I try to put them back on the co
-
Mac Pro 5,1 (mid 2010) constantly crashes / reboots
I'm running the Marverick on Mac Pro 5,1 and over the last 4 weeks it is rebooting itself every frew hours. On a few occasions it happened before I've managed to save my work - meaning all changes were lost. It's really irritating as you can imagine.
-
Linkage Error while setting up webApp
Hi, In my webApp I bumped into following Exception while running JSPs which queries database. Platform : Windows NT 4, webLogic 5.1 with SP 8. Action : WLSServer crashes with Dr. Watson application er
-
I have been importing all my photos through iPhoto automatically. But I just don't get a few things. - Where does the photo go? I always delete the originals off my computer after I've imported them. Is this the correct thing to do? - Does iPhoto
-
Help in merging the output rtf/documents reports
Hi, I am working with XML pub tool for a user requirement that 2 output reports(rtf documents) were genated using XML processor from 2 rtf templates, XML data files etc. No I need to merge the 2 output rtf/doc reports . Is there any function in XML p