How to go for selective deletion if the request is rolled up???.. URGENT!!!
hi all,
we a have a data target which was compressed and rolled up...
please do suggest us how to go for selective deletion if the data target was rolled up???
on what basis we need to do the selective deletion ??
thanks for ur understanding...
suggestions would be highly rewarded
regards
Prince
Hi,
in the subsequent datatargets of your ODS:
if the requests are only rolled up, then you can delete those requests; now if your aggregates are collapsed then you'll have to dactivate them and reactivate them after. If not you can simply delete them.
then delete all the requests from your ODS up to the request right after the missing one. This will deactivate you ODS delta init. This is not a problem since when you'll have finished with the above your ODS and subsequent targets will have a consistent status in terms of data.
Reinit your ODS delta without datatransfer, reconstruct your missing request and the subsequent requests in your ODS.
Reactivate them (not all together as a single activation, but separately).
Then load the delta into your subsequent targets.
Now if the subsequent datatargets are collapsed then you'll have to either reinit with full load or selective delete them. the missing request in your ODS still must be reloaded before!
If you go for selective deletion you'll have to find the right selection criteria based on the data of your ODS. For instance if you can ensure that only a selected period is incorrect (all the ODS requests from the missing one to the last only contain data for JAN08) then you can selectively delete JAN08 from your subseq targets and perform a FULL load selecting JAN08 from your ODS.
Then perform an INIT without data transfer... you can then continue your deltas as usual....
hope this helps....
Olivier.
Similar Messages
-
How to do selective delete of the GL a/c, BA and Co Code from the BWrequest
Hi,
How to do selective delete of the GL a/c, BA and Co Code from the BW request ??
Regards,
VivekCube or DSO?
Cube - manage - notedown the req number - selective deletion - enter req number at REQ ID and give the selection parameters as you need(GL a/c, BA and Co Code ) and execute.
For DSo you can't do selective deletion on request id basis -
Selective Deletion of the Cube contents in Abap Program of the PChain
Dear Experts
I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
info cube> Manage>contents > system menu(in the Top)> Status
but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
I have tried the same way in the selective deletin navigation path also in the cube manage
Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
Thanks for all in advance
KSRHi KSR,
Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
Now write a ABAP program with the below code.
parameter: p_Job_Name type sysuuid_c.
CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
EXPORTING i_barepid = l_jobnam.
Execute the above program. Pass the job name which you got from SM37.
Create a variant with that job name.
Now schedule this newly created program. This should solve your issue.
Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
Cheer,
Balaji Venugopal -
For "select-form" in the same page, add a cancel button in editing status
Dear JHeadstart team
For "select-form" in the same page, I still have a trouble.
How can I customize the Tempalte File to make the editing page have cancel button to abandon the edit.
If I want to learn the the JHS's Template costomizing (.vm file) and where can I find more reference documents about JHS's Template costomizing (excepting "Oracle JHeadstart 10g for ADF Developer's Guide").
thanks!Can you be more precise on what you want:
- should the cancel button be displayed when creating new row AND editing existing row?
- when pressing the Cancel button, where do you want to go, to the select page?
Steven Davelaar,
JHeadstart Team. -
How do I highlight selected text in the Pages, Keynotes?
How do I highlight selected text in the Pages, Keynotes?
To answer your question foor your iOS Device using Pages or Keynote for iOS: You can't highlight as you might in many note taking apps for iPad, etc.
The best you can do at this point is to change the selected text's color by selecting the text > Style Menu (wrench) > Tap on the Font > Tap on the Color Box to reveal choices.
If you would like to join the chorus of folks wishing such a feature were in Pages and Keynote, you can leave feedback for the people at Apple:
http://www.apple.com/feedback/ -
How do I remove selected photos in the Photo Stream library.
How do I remove selected photos in the Photo Stream library in Aperture 3?
Just found this post in the iCloud Forum:
Re: Delete single photos in photostream
Apple is adding the ability to delete individual photos from the photostream in iOS 5.1 beta 2
http://www.appleinsider.com/articles/11/12/12/apple_adds_ability_to_delete_indiv idual_photo_stream_pics_in_ios_5_1_beta_2.html
Hope it's true ... -
How to have a selection screen in the smartform
Hi,
<i><b>How to have a selection screen in the smartform. <u>Could anybody share with the example of driver program and the smart forms</u> . Please send me ASAP</b></i>
Thanks
Shiva shekarHi,
Refer to this
http://www.****************/Tutorials/Smartforms/SFMain.htm
Thanks,
Anitha -
While creating an account from my iPad there is no option for selecting none in the payment options. It states I have to give my credit card details. What's the procedure to open a free account?
It's in the article. You must first sign-out your current account, then go to App store to purchase a Free App. It will ask you to either Sign in or create a new AppleID. That's when you start creating a new AppleaID and NONE will be available as a payment option.
-
Repeating successful uploads - procedure to delete all the requests/packets
Hi friends,
I have a sort of hypothetical question, so never mind if this makes sense in real life (actually, I can think of a few situations where it makes sense, but only as a last resort).
Let's say I want to repeat the upload that was successful (request is green in the cube). Or another point of view, let's say I want to delete all successful uploads except the initial one. The load is delta load and straight from R/3 into the cube (no DSOs or other objects in between).
What do I need to do/check? I obviously need to delete the requests in the cube, but where else can the data be stored? PSA is probably the first place to check, but it seems to be empty most of the times. How do I delete all the data from the PSA? The BI delta queue is always empty when I look at it from the Administration menu. Again, must I delete it and how? I guess I should delete the delta queue in R/3 as well (through SBIW)?
How do I do the same thing when there ARE other objects (like DSOs) before the cube?
Thanks in advance for your advice/help.
Kind regards,
K.Probably it does not )
Anyway, i was thinking of a hypothetical situation where an administrator accidentally repeats an upload at some point and thus doubles the figures. Then he does not notice it immediately and the system keeps loading requests for some time.
I actually wanted to predict a solution to this problem, since it would be difficult (if not impossible) to find the duplicate records, especially after "compress". I thought that simply deleting all the requests and reloading through normal delta would solve this hypothetical situation. But again, where and how to delete all (and be sure you deleted all) to ensure that the records will not be doubled.
K. -
Ajax:callback function not called for every readystatechange of the request
Author: khk Posts: 2 Registered: 2/17/06
Feb 17, 2006 11:04 PM
Hi
I am working with an ajax program.
In that i have defined a callback funtion
but that function is not being called for every readystatechange of the request object for the first request .
but it is working fine from the second request.
function find(start,number){
var nameField=document.getElementById("text1").value;
var starting=start;
var total=number;
if(form1.criteria[0].checked) {
http.open("GET", url + escape(nameField)+"¶m2="+escape("exact")+"¶m4="+escape(starting)+"¶m5="+escape(number));
else if(form1.criteria[2].checked) {
http.open("GET", url + escape(nameField)+"¶m2="+escape("prefix")+"¶m4="+escape(starting)+"¶m5="+escape(number));
http.onreadystatechange = callback2;
http.send(null);
function callback2(){
if (http.readyState == 4) {//request state
if(http.status==200){
var message=http.responseXML;
alert(http.responseText);
Parse2(message);
}else{
alert("response is not completed");
}else{
alert("request state is :-"+http.readyState);
}Triple post.
You have been answered here: http://forum.java.sun.com/thread.jspa?threadID=709676 -
Using my iMac, I'm trying to log onto another PC at a remote location whilst in VNC mode. Control-Alt-Delete is the request, but this doesn't work. Any clues??
Thanks, great work... I think that's where I was headed!
-
How to use multiple selection parameters in the data model
Hi, after have looked all the previous threads about how to use multiple selection parameters , I still have a problem;
I'm using Oracle BI Publisher 10.1.3.3.2 and I'm tried to define more than one multiple selection parameters inside the data template;
Inside a simple SQL queries they work perfectly....but inside the data template I have errors.
My data template is the following (it's very simple...I am just testing how the parameters work):
<dataTemplate name="Test" defaultPackage="bip_departments_2_parameters">
<parameters>
<parameter name="p_dep_2_param" include_in_output="false" datatype="character"/>
<parameter name="p_loc_1_param" include_in_output="false" datatype="character"/>
</parameters>
<dataTrigger name="beforeReport" source="bip_departments_2_parameters.beforeReportTrigger"/>
<dataQuery>
<sqlStatement name="Q2">
<![CDATA[
select deptno, dname,loc
from dept
&p_where_clause
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_DEPT" source="Q2">
<element name="deptno" value="deptno"/>
<element name="dname" value="dname"/>
<element name="loc" value="loc"/>
</group>
</dataStructure>
</dataTemplate>
The 2 parameters are based on these LOV:
1) select distinct dname from dept (p_dep_2_param)
2) select distinct loc from dept (p_loc_1_param)
and both of them have checked the "Multiple selection" and "Can select all" boxes
The package I created, in order to use the lexical refence is:
CREATE OR REPLACE package SCOTT.bip_departments_2_parameters
as
p_dep_2_param varchar2(14);
p_loc_1_param varchar2(20);
p_where_clause varchar2(100);
function beforereporttrigger
return boolean;
end bip_departments_2_parameters;
CREATE OR REPLACE package body SCOTT.bip_departments_2_parameters
as
function beforereporttrigger
return boolean
is
l_return boolean := true;
begin
if (p_dep_2_param is not null) --and (p_loc_1_param is not null)
then
p_where_clause := 'where (dname in (' || replace (p_dep_1_param, '''') || ') and loc in (' || replace (p_loc_1_param, '''') || '))';
else
p_where_clause := 'where 1=1';
end if;
return (l_return);
end beforereporttrigger;
end bip_departments_2_parameters;
As you see, I tried to have only one p_where_clause (with more than one parameter inside)....but it doesn't work...
Using only the first parameter (based on deptno (which is number), the p_where_clause is: p_where_clause := 'where (deptno in (' || replace (p_dep_2_param, '''') || '))';
it works perfectly....
Now I don't know if the problem is the datatype, but I noticed that with a single parameter (deptno is number), the lexical refence (inside the data template) works.....with a varchar parameter it doesn't work....
So my questions are these:
1) how can I define the p_where_clause (inside the package) with a single varchar parameter (for example, the department location name)
2) how can I define the p_where_clause using more than one parameter (for example, the department location name and the department name) not number.
Thanks in advance for any suggestion
AlexAlex,
the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
So change your package to (you need to expand your variables)
create or replace package bip_departments_2_parameters
as
p_dep_2_param varchar2(1000);
p_loc_1_param varchar2(1000);
p_where_clause varchar2(1000);
function beforereporttrigger
return boolean;
end bip_departments_2_parameters;
create or replace package body bip_departments_2_parameters
as
function beforereporttrigger
return boolean
is
l_return boolean := true;
begin
p_where_clause := ' ';
if p_dep_2_param is not null then
if instr(p_dep_2_param,',')>0 then
p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
else
p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
end if;
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
end if;
end if;
else
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
end if;
end if;
end if;
return (l_return);
end beforereporttrigger;
end bip_departments_2_parameters;
I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
Regards
Rainer -
How to display record selection settings in the result
Hi,
CR 2008 and 2013 are being used, but this is a rather general question.
We are generating different schedules using one source file. Depending on the filter setting on the data scope, say CURRRENTDATE or last month, daily or monthly reports are sent out.
The problem is, when there is no data included in the report, we would like to put a message in the report saying "There is no data found in the period xyz". But so far we haven't figured out how to retrieve the different filter settings in the schedules.
Is there a way to do this? I do hope we don't have to create different .rpt files just for different schedules.
Any suggestions and opinions are appreciated.While, the reports can be run manually by the user with a prompt asking the range or scheduled on the server and sent out automatically without interaction.
For the latter case, the prompt for date range was written as optional. And the record selection looks like this:
IF (HASVALUE({?dFrom}) AND HASVALUE({?dTo}))
THEN
{a_table.dDate}>={?dFrom}) AND {a_table.dDate}<={?dTo}
With the user input, everything is ok. But while scheduling a report on the server, we set the prompt to EMPTY and control the range by using a filter. For a daily report, the record selection changes to
{a_table.dDate}= CURRENTDATE-2
Here comes the problem. Without being able to read this value into the report, we don't know how to show period xyz in an empty report, because a daily report could also query CURRENTDATE or CURRENTDATE-10, depending on the schedule. The same applies to monthly reports. People can schedule a report to run once a month, but still query just CURRENTDATE by mistake.
So the most reliable information is to read out what is set in the filter... -
How to display lead selection ONLY in the ALV
HI All,
User would like display the selected records in ALV .
i suggested that add two button - "Display ALL" & "Display Selected" .
How can i only display the lead selection only in the ALV? or Hide un-selected records.
Please help.
Thank you so much
GordonHi,
Pelase have a look.. same requirement.
get_selected_elements method for ALV
Re: select rows in alv and show them in another alv in another view
Web dynpro ALV table copy selected row
cheers,
Kris. -
Value help for select options (pass the selected values to the select opt)
Hi everyone,
I created a custom value help for my select options.
It works fine, when the user clicks on the value help, my own view is displayed, and the user can select the required values:
lt_range_table =
wd_this->m_handler->create_range_table(
i_typename = 'ORGEH' ).
* add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'ORGEH'
i_value_help_id = 'MYSO'
i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_APPLDEV
it_result = lt_range_table
i_read_only = read_only ).
The problem is, how can I pass the values to the select option? When the user selects the values in my view, I have them in an internal table. But how can i pass these values to the select option? I suppose there is declared method for this... but which one?
Thanks
N.Sorry for the stupid question, but it seems I can't acces my attribute:
I create it in the component controller
NODE: 'APP_DATA'
Attribute: M_HANDLER TYPE IF_WD_SELECT_OPTIONS
Cardinality 1..1
Selection 1..1
Singleton = 'X'
I pass the values int he EDOINIT method of MAIN view:
* Get compnent controller API
lo_component = wd_comp_controller->wd_get_api( ).
lo_controller ?= lo_component.
* Get the controler context node
CALL METHOD LO_CONTROLLER->GET_CONTEXT
RECEIVING
CONTEXT = lo_context.
*Get the root node
lo_node = lo_context->root_node.
*Get the child node
lo_child = lo_node->get_child_node( 'APP_DATA' ).
ls_app_data-m_handler = wd_this->m_handler.
lo_child->bind_structure( ls_app_data ).
After this code I test it if the binding is correct:
DATA: ls_test TYPE wd_comp_controller->element_app_data.
CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
IMPORTING
STATIC_ATTRIBUTES = ls_test.
The lstest is correct_. It has the reference for the SelectOption
Now, in the SEL_TREE View:
* Get compnent controller API
lo_component = wd_comp_controller->wd_get_api( ).
lo_controller ?= lo_component.
* Get the controler context node
CALL METHOD LO_CONTROLLER->GET_CONTEXT
RECEIVING
CONTEXT = lo_context.
*Get the root node
lo_node = lo_context->root_node.
*Get the child node
lo_child = lo_node->get_child_node( 'APP_DATA' ).
*Get the data from the node
CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
IMPORTING
STATIC_ATTRIBUTES = ls_app_data.
wd_this->m_handler = ls_app_data-m_handler.
The ls_app_data-m_handler is INITIAL. There is no value in it.
What did I do wrongly?
Please help
Thanks
N.
Maybe you are looking for
-
Safari doesn't open his own .URL files
Hello I've adopted Safari for Windows at work due to the good experience I had with Safai on my Mac at home, but I almost immediately I found a serious bug: Safari for Windows creates ".URL" files perfectly like IE7, by dragging the icon on the left
-
Ipod Nano Syncing with itunes issue
I have 3 user accounts on one computer. 2 of users recently purchased songs and these have been shared with each other so they show and play on their individual itunes. Problem is the purchased songs of user1 will not sync with user2 ipod and vice v
-
Effects in Photoshop elements 8
How do you restore the effects when you delete them in error. Or, is there a place to update effects for this program?
-
IPhoto 6 crashed after rebuilding thumbnail cache
I, too, have had trouble with iPhoto 6, but only when I finally clicked "ok" after the endless suggestions to rebuild my thumbnail cache. The result? A loss of all my thumbnails on my eMac. My elaborate structure of albums was there, but each one was
-
DBUA - 10g Enterprise Edition to 11g Standard Edition
Does anyone know if its possible or have any experience in upgrading the database version from 10g (10.2.0.1) to 11g but effectively downgrading from EE to SE? Is it possible/supported/recommended?