Adding all dimensions while using merging
HI All,
I have 2 data providers.
D1: year, quarter, revenue
D2: year, country, sale revenue
now in webi after using merging i am not able to add all dimensions (year,quarter and country) in same table, please suggest any work around.
thanks
Mohit Gupta
Agree with Sathish ...
You should only use merged dimension + Details with cardinality of 1:1 and measures in the same table
Here is another discussion where the same topic was discussed earlier
Merge dimensions, Combined query, Sub Query
Similar Messages
-
Insert with Select while Using Merge
Actual Query
MERGE INTO schema1.employees D
USING (SELECT employee_id, salary, department_id FROM schema2.employees
WHERE department_id = 80) S
ON (D.employee_id = S.employee_id)
WHEN MATCHED THEN
UPDATE
SET D.bonus = D.bonus + S.salary*.01
WHERE (S.salary > 8000)
WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
VALUES (S.employee_id, S.salary*.01)
WHERE (S.salary <= 8000) Is there a possible way to write a select Query in Insert Statement while using Merge.
WHEN NOT MATCHED THEN
INSERT
SELECT * FROM schema2.employees
WHERE S.salary <= 8000;it works:
MERGE INTO fifapps.tes2
using dual
on (1=2)
when not matched then insert values(59,'yes');
commit;or
MERGE INTO fifapps.tes2
using dual
on (1=2)
when not matched then insert values ((select 99 from dual),(select'weii' from dual));
commit;Edited by: ʃʃp on Jun 13, 2012 2:03 AM
Edited by: ʃʃp on Jun 13, 2012 2:03 AM -
#SYNTAX error while using Merge Dimension in webi report
Hi All,
# Syntax error when using merge dimension in webi report
screen shot has been attached.
iam using BO 4.0 SP6
checked the datatypes in BW
they are same in BW in both the queries
i followed the given links but no result.
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
http://scn.sap.com/thread/3592588#15241008
Need Help!!!!!
Regards
SushmaHi Mark,
Thanks for the reply,
I did not use any formula,
I used merge dimension
Anyways i tried in other system,it s working fine.
Regards
sushma -
EMOD - Parse error while using merge fields
Hello Everyone,
We are using EMOD for email campaigns. We have renamed "Contact" object to "Rep Contact". When I insert merge fields on Rep Contact object, I get parse error message...
Parse error in file at line 40: Could not find matching '}' for reference to variable at line 39
Has anyone else come across this? Are there any restrictions in EMOD for using merge fields?
Thanks.Thanks VK. I checked the source code and it is still perplexing why this error is coming up. It works fine without merge fields. I am pasting the section of html code with merge fields...
<tr>
<td valign="top" width="25" bgcolor="#ffffff"> </td>
<td valign="top" bgcolor="#ffffff"><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">Hello</font> ${Rep Contact.First Name}
<p><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">What if there’s another flash crash? What if we enter a double dip? These are just a few fears weighing heavily on investors’ minds in today’s environment of uncertainty. <sup>1</sup> </font></p>
<font face="Arial, Helvetica, sans-serif" style="font-size: 12px">
<p>View or download: <a>3 ways to address risk-averse clients’ needs</a>.</p>
</font>
</td>
</tr> -
Getting ORA-00001 while using MERGE
hi there,
I am loading data from one Oracle table into another, using MERGE. My target table has a primary key constraint on TRANS_DATE, SEQ_NR and FILE_NAME. I have made sure that there are no duplicate rows in the the source table with regard to the target tables's primary key.
The problem is that I am getting ORA-00001: Primary Key Violated ...
my code is as follows:
declare
begin
merge into fact_prepaidcalls_tb TARG
using
select
nvl(fact_prepcustomers_tb.subscriberid,0) SUBSCRIBERID,
accnum ACCNUM,
sdrdate TRANS_DATE,
TO_NUMBER(to_char(sdrdate,'yyyymmdd')) DIMDATEID,
return_timeid(sdrdate) DIMTIMEID,
return_peaktimeid(to_char(PAY_SDR.SDRDATE,'hh24miss'),SDRDATE) DIMPEAKTIMEID,
nvl(dim_calltype.dimcalltypeid,0) DIMCALLTYPEID,
sdrduration CHARGEDURATION,
nvl(dim_tds_term.DIMTDStermid,9999) DIMTDSTERMID,
calling CALLING,
called CALLED,
cparty CPARTY,
freetimeused FREETIMEUSED,
creditused CREDITUSED,
creditrebate CREDITREBATE,
servicetax SERVICETAX,
surcharge SURCHARGE,
follow FOLLOW,
nvl(dim_call_location.dimcalllocationid,0) DIMCALLLOCATIONID,
startbalance STARTBALANCE,
priceoption PRICEOPTION,
nvl(dim_cos.dimcosid,0) DIMCOSID,
nvl(debitrate1,0) DEBITRATE1,
debitrate2,
prepaid.pay_sdr.region REGION,
substr(file_name, instr(file_name,'cdr')) FILE_NAME,
seq_nr SEQ_NR,
SYSDATE LOADDATE,
ORIGINNODE
from prepaid.pay_sdr, dim_call_location, dim_calltype, dim_cos, dim_tds_term, fact_prepcustomers_tb
where sdrdate >= to_date('10-Feb-2008 000000','dd-mon-rrrr hh24miss') and
sdrdate <= to_date('10-Feb-2008 235959','dd-mon-rrrr hh24miss') and
fact_prepcustomers_tb.msisdn = prepaid.pay_sdr.accnum and
dim_calltype.calltypeid = prepaid.pay_sdr.type and
dim_call_location.cellid = prepaid.pay_sdr.region and
dim_cos.cosid = prepaid.pay_sdr.cos and
dim_tds_term.termid = prepaid.pay_sdr.term
) SOUR
on
TARG.TRANS_DATE = SOUR.TRANS_DATE and
TARG.SEQ_NR = SOUR.SEQ_NR and
TARG.FILE_NAME = SOUR.FILE_NAME
when not matched then
--load fact data
insert
( SUBSCRIBERID,
ACCNUM,
TRANS_DATE,
DIMDATEID,
DIMTIMEID,
DIMPEAKTIMEID,
DIMCALLTYPEID,
CHARGEDURATION,
DIMTDSTERMID,
CALLING,
CALLED,
CPARTY,
FREETIMEUSED,
CREDITUSED,
CREDITREBATE,
SERVICETAX,
SURCHARGE,
FOLLOW,
DIMCALLLOCATIONID,
STARTBALANCE,
PRICEOPTION,
DIMCOSID,
DEBITRATE1,
DEBITRATE2,
REGION,
FILE_NAME,
SEQ_NR,
LOADDATE,
CALLCHARGE,
originnode)
values
( SOUR.subscriberid,
SOUR.ACCNUM,
SOUR.TRANS_DATE,
SOUR.DIMDATEID,
SOUR.DIMTIMEID,
SOUR.DIMPEAKTIMEID,
SOUR.DIMCALLTYPEID,
SOUR.CHARGEDURATION,
SOUR.DIMTDSTERMID,
SOUR.CALLING,
SOUR.CALLED,
SOUR.CPARTY,
SOUR.FREETIMEUSED,
SOUR.CREDITUSED,
SOUR.CREDITREBATE,
SOUR.SERVICETAX,
SOUR.SURCHARGE,
SOUR.FOLLOW,
SOUR.DIMCALLLOCATIONID,
SOUR.STARTBALANCE,
SOUR.PRICEOPTION,
SOUR.DIMCOSID,
SOUR.DEBITRATE1,
SOUR.DEBITRATE2,
SOUR.REGION,
SOUR.FILE_NAME,
SOUR.SEQ_NR,
SOUR.LOADDATE,
SOUR.DEBITRATE1,
SOUR.originnode);
commit;
end;Hi,
you're missing WHEN MATCHED THEN <update_clause>
{noformat}
MERGE <hint> INTO <table_name>
USING <table_view_or_query>
ON (<condition>)
WHEN MATCHED THEN <update_clause>
DELETE <where_clause>
WHEN NOT MATCHED THEN <insert_clause>
[LOG ERRORS <log_errors_clause> <reject limit <integer | unlimited>];
{noformat}
Edited by: bobbydj on Sep 18, 2008 4:53 PM
or you can try and add the primary key in the on condition -
Adding all day events using applescript to ical
Hey all. I am new to using applescript. Thanks to some top users i have been able to get excel events file transfered into ical.
I need help with the applescript for changing these events from time duration to all day.
tried
set the start time to 00:00 and end time to 24:00 and
set all-day to true
any help would be greatly appreciated!!
thanks.I have the exact same problem. I have entered birthdays for people I know starting with the year of their birth and never ending, an all-day event. They now don't show in 2007, but there is a detached event on January 1, 2000. When I delete that event and all subsequent versions of it, the initial event now ends in 2006 or 2007, and I have to set the repeat to end Never again. I fixed all the ones from February that showed up. Now I notice that a huge amount of the other birthdays (all day events) that I have entered are doing it now, and we are talking well over 40 of them. I don't understand why it keeps creating these detached events. I also publish my calendars, if that makes any difference.
-
Error while using Merge statement
Hi,
Can any one please look at the merge statement and help me understand the error.Thanks in advance.
MERGE /*+ APPEND */
INTO intf_lpa_master m
USING (SELECT std_district_student_id,
std_grade_code,
sub_test,
test_date,
performance_lvl_code,
test_lang_code,
v_student_id,
v_test_id,
v_lang_cd,
v_plc,
valid_test_date,
-- school_year,
-- school_id,
valid_src_stu_id,
test_code
FROM intf_lpa_master_vw
MINUS
SELECT std_district_student_id,
std_grade_code,
sub_test,
test_date,
performance_lvl_code,
test_lang_code,
v_student_id,
v_test_id,
v_lang_cd,
v_plc,
valid_test_date,
-- school_yr,
-- school_id,
valid_src_stu_id,
test_code
FROM intf_lpa_master
WHERE active_flag = 'Y') v
ON ( m.std_district_student_id = v.std_district_student_id
AND m.sub_test = v.sub_test
AND m.test_date = v.test_date)
WHEN MATCHED
THEN
UPDATE SET m.std_grade_code = v.std_grade_code,
m.performance_lvl_code = v.performance_lvl_code,
m.test_lang_code = v.test_lang_code,
m.active_flag = 'Y', -- if we are touching this record, it is to be active.
m.error_message = NULL, -- refresh these, to properly reconsider records.
m.create_date = SYSDATE,
m.record_id = intf_lpa_master_seq.NEXTVAL,
m.process_row = 'U',
m.last_update_date = SYSDATE,
m.last_update_user = 'PRE_PROCESS_LPA - UPDATE',
-- m.job_id = c_run_id ,
m.validation_step = NULL, -- refresh these, to properly reconsider records.
m.v_student_id = v.v_student_id,
m.v_test_id = v.v_test_id,
m.v_lang_cd = v.v_lang_cd,
m.v_plc = v.v_plc,
m.valid_test_date = v.valid_test_date,
-- m.school_year = v.schloo_year,
-- m.school_id = v.school_id,
m.valid_src_stu_id = v.valid_src_stu_id,
m.test_code = v.test_code
WHEN NOT MATCHED
THEN
INSERT (
m.std_district_student_id,
m.std_grade_code,
m.sub_test,
m.test_date,
m.performance_lvl_code,
m.test_lang_code,
m.active_flag,
m.error_message,
m.create_date,
m.record_id,
m.process_row,
m.last_update_date,
m.last_update_user,
-- m.job_id,
m.validation_step,
m.v_student_id,
m.v_test_id,
m.v_lang_cd,
m.v_plc,
m.valid_test_date,
-- m. school_year,
-- m. school_id,
m.valid_src_stu_id,
m.test_code)
VALUES (
v.std_district_student_id,
v.std_grade_code,
v.sub_test,
v.test_date,
v.performance_lvl_code,
v.test_lang_code,
'Y',
NULL,
SYSDATE,
intf_lpa_master_seq.NEXTVAL,
'I',
SYSDATE,
'PRE_PROCESS_LPA - INSERT',
-- c_run_id,
NULL,
v.v_student_id,
v.v_test_id,
v.v_lang_cd,
v.v_plc,
v.valid_test_date,
-- v. school_year,
-- v. school_id,
v.valid_src_stut_id,
v.test_code);
Error Message :
ORA-06553 : PLS-306:wrong number or types of arguments in call to 'V'There are a couple of thngs wrong here. In the when matched insert column list, you cannot qualify the field name with the table alias. It should be just:
insert (std_district_student_id, std_grade_code, sub_test ...)Are v_student_id, v_test_id, v_lang_cd, and v_plc really columns in the intf_lpa_master table? I am more used to seeing v_name as a variable naming convention than a column name, but I could be wrong.
John -
N5800XM + Lost all SMS while using PC Suite 7.1
Hello.
I've opened my phone by PCSuite, then when i was trying to open SMS they appeared only once, i closed the one, they all just disappeared. Now PC suite show me Inbox 0, Outbox 0. When i trying open them using my phone i see same. All SMS was stored at memory card. So how can i restore my messages?1. The sent items folder issue might be caused by the trial version limit.
2. You can issue a bug report for NokiGems. Usually fixed in 24 hours.
3. SMS's senders are phone number means the phone book has no name for that number.
What's the law of the jungle? -
How to replace all objects while using IMPDP
I have exported a schema using EXPDP, now I am trying to import (IMPDP) that into another database as different schema, which already contains some of the objects (like tables, procedures, sequence etc). I using the option of REPLACE for TABLE_EXISTS_ACTION, but that doesn't replace if any existing procedures, sequences etc. Please let me know what option I should to replace every objects.
And also I am getting this error
ORA-39083: Object type JOB failed to create with error:
ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
Failing sql is:
BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 6, LUSER=> 'WILLIAMS_DESIGN', PUSER=> 'WILLIAMS_DESIGN', CUSER=> 'WILLIAMS_DESIGN', NEXT_DATE=> TO_DATE('2010-05-17 14:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'trunc(sysdate+1/24,''HH'')', BROKEN=> FALSE, WHAT=> 'ol_update_query_result_stats();', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENC
Job "WILLIAMS_CLEAN"."SYS_IMPORT_FULL_01" completed with 10678 error(s) a
ThanksHi,
There is no way to do what you want using datapump. Datapump does not have an 'OBJECT_EXISTS_ACTION = REPLACE'. All it has is the TABLE_EXISTS_ACTION. Can you get around this by dropping the schema? If not, then the only way I can think of is by using the sqlfile parameter on impdp.
sqlfile allows you to write all of the ddl that is going to be executed during a datapump job to a .sql file. You can then edit that file and either attempt a drop before the create or change the 'create' to 'create or replace'. Then run the .sql file.
You would then have to run the datapump import job with content=data_only to load the tables with their data.
Dean -
HT4101 Lost all Photos while Using Camera Connection Kit to Nikon D70 -HELP!
After using with my Nikon D70, the photos are not on my camera - says now incompatible file format. And they cannot be seen on iPad. on iPad there is a gray box that says 'jpeg' in it. Where are my photos? Can I get them back?
You can't export any type of files using the camera connection kit.
There are some wireless external hard drives that can be used with the iPad.
The Kingston Wi-Drive, which costs $50 for the 16 Gigabyte, and then $30 more for every 16 gigs more. It works by you turning it on and then accessing the files on it from an app that you download on your iDevice. You can access music, movies, and other stuff. No connections or anything, it works like a WiFi connection, you connect to it from the setting on the iPad under wireless networks.
Then there is the Seagate GoFlex, which some would recommend over the Wi-Drive. But this one costs $199 and had 500 Gigabytes of storage. It works the sameway as the Kingston: no wires, runs over its wireless connection. You can actually fit up to 300 HD movies on it.
Another option:
Expand your iPad's storage capacity with HyperDrive
http://www.macworld.com/article/1153935/hyperdrive.html
On the road with a camera, an iPad, and a Hyperdrive
http://www.macworld.com/article/1160231/ipadhyperdrive.html
Cheers, Tom -
Adding text (editing) while using Adobe on an iPad
Can I make Adobe allow me to edit or add text while doing so on my iPad? I cannot figure it out yet, my laptop is easy to do this with.
Hi,
You can add or edit Text annotations in Adobe Reader for iOS.
Open a PDF document.
Tap the Comment icon in the top bar.
Tap the Text annotation icon in the bottom bar.
Tap where you want to add text.
Enter text in the popup window.
Tap Save.
A new Text annotation appears in the PDF document. You can tap it to display a context menu to
Edit the text
Change the font size
Change the text color
Delete the text
You can also move the text annotation by tapping it once and dragging it to where you want to move it to.
Hope this helps. -
#Error & #Syntax when we are using merged dimension in BO4.1 SP3
Dear All,
We are using BO4.1 SP3 and Bex query as datasource.
When we are trying to take merged dimensions in Report block its giving #Syntax Error.
When we are defining variable with merged dimension, its giving #Error message and the merged dimension is deleted from the definition.
Please guide how can I use merged dimension.
Kindly let us know if there are some update required in the current BO version.
Warm Regards,
SonalFirst things abt merge dimension is that merge is applicable only on dimension not on measures.
And other is dimension that are going to be merge should have same data type.
I think you should check these conditions then it will works.
Merge is nothing but full outer join between two data providers. It helps joining two result sets on webi level.
Kindly attach your screen shots so that it would be helpful. -
Dimensions not visible while using EVDRE
Hi,
For our legal application while using EVDRE, the dimensions do not come up to drag and drop. We tried using EVDRE for some other application within the same application set and it works fine. The problem persists only for this application. We have processed all the dimensions being used in this application and also optimized the application fully. Still it does'nt solve the problem.
Any help would be appreciated.
Regards,
AbhiAbhinav,
Under BPC Administration, look for the application parameters: YTD Input. This has to be Yes or NO and should not to be N/A. See if its NA and change it appropiately. This will solve the issue.
D -
Issue while using SUBPARTITION clause in the MERGE statement in PLSQL Code
Hello All,
I am using the below code to update specific sub-partition data using oracle merge statements.
I am getting the sub-partition name and passing this as a string to the sub-partition clause.
The Merge statement is failing stating that the specified sub-partition does not exist. But the sub-partition do exists for the table.
We are using Oracle 11gr2 database.
Below is the code which I am using to populate the data.
declare
ln_min_batchkey PLS_INTEGER;
ln_max_batchkey PLS_INTEGER;
lv_partition_name VARCHAR2 (32767);
lv_subpartition_name VARCHAR2 (32767);
begin
FOR m1 IN ( SELECT (year_val + 1) AS year_val, year_val AS orig_year_val
FROM ( SELECT DISTINCT
TO_CHAR (batch_create_dt, 'YYYY') year_val
FROM stores_comm_mob_sub_temp
ORDER BY 1)
ORDER BY year_val)
LOOP
lv_partition_name :=
scmsa_handset_mobility_data_build.fn_get_partition_name (
p_table_name => 'STORES_COMM_MOB_SUB_INFO',
p_search_string => m1.year_val);
FOR m2
IN (SELECT DISTINCT
'M' || TO_CHAR (batch_create_dt, 'MM') AS month_val
FROM stores_comm_mob_sub_temp
WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val)
LOOP
lv_subpartition_name :=
scmsa_handset_mobility_data_build.fn_get_subpartition_name (
p_table_name => 'STORES_COMM_MOB_SUB_INFO',
p_partition_name => lv_partition_name,
p_search_string => m2.month_val);
DBMS_OUTPUT.PUT_LINE('The lv_subpartition_name => '||lv_subpartition_name||' and lv_partition_name=> '||lv_partition_name);
IF lv_subpartition_name IS NULL
THEN
DBMS_OUTPUT.PUT_LINE('INSIDE IF => '||m2.month_val);
INSERT INTO STORES_COMM_MOB_SUB_INFO T1 (
t1.ntlogin,
t1.first_name,
t1.last_name,
t1.job_title,
t1.store_id,
t1.batch_create_dt)
SELECT t2.ntlogin,
t2.first_name,
t2.last_name,
t2.job_title,
t2.store_id,
t2.batch_create_dt
FROM stores_comm_mob_sub_temp t2
WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val
AND 'M' || TO_CHAR (batch_create_dt, 'MM') =
m2.month_val;
ELSIF lv_subpartition_name IS NOT NULL
THEN
DBMS_OUTPUT.PUT_LINE('INSIDE ELSIF => '||m2.month_val);
MERGE INTO (SELECT *
FROM stores_comm_mob_sub_info
SUBPARTITION (lv_subpartition_name)) T1 --> Issue Here
USING (SELECT *
FROM stores_comm_mob_sub_temp
WHERE TO_CHAR (batch_create_dt, 'YYYY') =
m1.orig_year_val
AND 'M' || TO_CHAR (batch_create_dt, 'MM') =
m2.month_val) T2
ON (T1.store_id = T2.store_id
AND T1.ntlogin = T2.ntlogin)
WHEN MATCHED
THEN
UPDATE SET
t1.postpaid_totalqty =
(NVL (t1.postpaid_totalqty, 0)
+ NVL (t2.postpaid_totalqty, 0)),
t1.sales_transaction_dt =
GREATEST (
NVL (t1.sales_transaction_dt,
t2.sales_transaction_dt),
NVL (t2.sales_transaction_dt,
t1.sales_transaction_dt)),
t1.batch_create_dt =
GREATEST (
NVL (t1.batch_create_dt, t2.batch_create_dt),
NVL (t2.batch_create_dt, t1.batch_create_dt))
WHEN NOT MATCHED
THEN
INSERT (t1.ntlogin,
t1.first_name,
t1.last_name,
t1.job_title,
t1.store_id,
t1.batch_create_dt)
VALUES (t2.ntlogin,
t2.first_name,
t2.last_name,
t2.job_title,
t2.store_id,
t2.batch_create_dt);
END IF;
END LOOP;
END LOOP;
COMMIT;
end;
Much appreciate your inputs here.
Thanks,
MK.
(SORRY TO POST THE SAME QUESTION TWICE).
Edited by: Maddy on May 23, 2013 10:20 PMDuplicate question
-
HI all, i'm using Mac Pro 15" Retina. My screen goes darker and after brighter after a while? How to fix it?
System Preferences > Displays.
De-select "Automatically adjust brightness"
Maybe you are looking for
-
How can I get my game back from another phone?
I played high school story on my old phone. (iPhone 5c) well the screen cracked so I went to try to get another screen but instead they gave me a whole other new phone.(anther iPhone 5c) I got high school story on the App Store and logged in throug
-
Moving Hard Disk From one Mac to Another
I am thinking of buying a new macbook. I have the C2D 2.16 Ghz right now. So if I would buy, lets say the new 2.4 Ghz model, could I just take the hard disk from the one I use now and put it into to the new Macbook? Would it boot up? Thanks!
-
Creation of Customer Accounting from Billing
Hi Gurus, I have a slightly complicated problem that I request your help with. In standard SAP functionality if we bill different services (e.g. S1, S2, S3) in one invoice (I1), in the customer account this invoice is reflected as I1 and the net valu
-
In the past few months our company has had to upgrade from Adobe Acrobat 9 Pro to XI, one machine at a time. I have 3 more machines to do and do not want to deal with a newer version. What are my options? (Why can't I upgrade?) We have been experi
-
Accessing BPEL Variables in XSLT
Hi All, In a BPEL PM process I need to be able to access a global BPEL process variable in the XSL transformation. When I use any functions in the "Transform" activity I do not see the BPEL variables in scope. Any idea on how can this can be done ? R