Merging records - how to handle deleted records?
hi,
can anyone tell me what is the proper way to handle
deleted records during records update ?
let's say I have 2 customers and I merge them into one
so I need to send to transactional systems that the deleted one
should not longer be active - but how to achive that
(sending deletion info) in MDM ?
thank you for your help,
Regards,
michal
Hi Michal,
MDM does not delete any records when it merges them. whenever you merge any two records the local id is never lost, it is always present in the edit key mapping.
You can see this info by right clicking on record and select edit key mapping. You will find both the record entries there.
With proper mapping in syndicator, you can get this information for both the records. while mapping map the 'VALUE' field in the source items to the 'LOCAL ID' field in the destination item.
Please let me know if this not help completely and if you have more doubts.
- An
Similar Messages
-
DTP Indicator Only Get Delta Once: How to handle deleted records in source
Hi colleagues,
I have checked some messages and blogs, but could not find any solution for deleted records in source system.
My source system is not able to delivere delta for my table of interest. So I checked "Only Get Delta Once" in my DTP and made some tests.
It works very well for changes of existing records of the source table.
But, SAP help on this features wirtes:
...If this is not logically possible because, for example, data is deleted in the source without delivering reverse records, you can set this indicator and perform ...
I checked this feature by selecting less data from source at the second load from the same table. But recordmode does not get an deletion flag for the now missing records. So, the indicator "Only Get Delta Once" does not work like BI standard delta mechanism?
What is wrong?
Thanks and regards,
WolfgangHi,
If you select the option 'Only get delta once', then every request in the PSA will only be loaded into the Data target once. For example. If you load a full request into the PSA through an InfoPackage and then load it to the Cube. In a snapshot scenario, when the new full load comes to the PSA you will need to delete the previous request from the cube before loading the new request.
But if you delete the previous request from the cube, and not from the PSA - and if you haven't checked the 'Only get delta once' flag, when you execute the DTP, it will load both previous and the new requests from the PSA to the cube. In order to avoid this you have 2 options:
1. You can delete a request from the PSA after every successful load into the Cube OR
2. You can check the 'Only get delta once' flag in the DTP so that it won't load any request it has loaded into the cubes previously even if it was deleted from the cube.
Using the second option de-couples the PSA maintenance from your regular data loading and also saves you an additional step of deleting the PSA request in your process chain. -
How can i delete Record when i click on Delete Link in a report
hi,
i have to create report
select S_NO,BILL_NO,LED_NAME,PUR_LED,VAT,BILL_DATE,ST_GRP_UND,GODOWN_NAME,
ITEM_NAME,UNIT,QTY,RATE,PER,DIS,AMOUNT,'Delete' from DUMY_AC_LED_PURASEI want to delete corressponding record when i click on Delete Link.
Here S_NO is P.k.
How can i delete Record when i click on Delete Link.Manoj,
If something does not work then you should report back on the same thread so that there is continuity to the whole episode. Be as lucid as you can be so that people know whats the scenario. E.g. is not working is not enough. What happens? Does is show error , go blank, goes to another page... all that is important.
Its for posterity, down the line others will also visit the thread (may be).
Regards, -
How do you delete records from table with data in a select option
how do you delete records from table with relevant to data in a select option..how to write coding
Hi,
Try
if not s_select_option [ ] is initial.
delete * from table
where field in s_select_option.
endif.
commit work.
Be careful though. If select option is emty, you will delete the entire table.
Regards,
Arek -
How to see deleted records in delta extraction from view
Hi folks,
i am currently reflecting about delta extraction from a view:
The view contains a date field (change date) which is used to identify new or changed records.
So the delta extraction of new and changed records works without problems.
But what is happening with records that are deleted in the source system?
My current understanding is that deleted records will not be shown in the view. Therefore the deletion is not visible in the extraction.
- Is there a workaround for this problem?
- How is deletion of records normaly handled in generic extractors?
- Is it impossible to extract a deletion when using views?
any suggestions and help will be appretiated...
byeHello Florian,
Generally records will not be deleted (until if you physically delete it from table) but will have a status deleted.
So it doesn't matter whether you use view or tables the deleted records will be extracted through the view to update the BW data targets.
Thanks
Chandran -
How to handle equipment records relating to scrapped materials
When a specific material/serial number combination is scrapped off, at present we are marking the associated equipment records with inactive and deleted. This geta bit confusing with other records that may get marked as inactive for other reasons. How does anyone else handle it? At pressent we dont have a scrapped status.
Should storemen have tha ability to mark the records as deleted or should our master data team do that.
Advice appreciatedhi
you may think of using user status as scrapped ,which you can use for differentiating with other records with inactive indicator .
regards
thyagarajan -
How to Restore deleted records in other table in oracle database 10g...
Hi All,
i want to restore deleted records of a particular table in other table
suppose:
i perform a query
delete from emp
where deptno =30;
now i wont to restore deptno=30 records in other table, let say in emp1 table
can any one let me know how to do it?
Thanks..This is what flashback query is for:
orclz> conn scott/tiger
Connected.
orclz> select count(*) from emp;
COUNT(*)
14
orclz> delete from emp where deptno=30;
6 rows deleted.
orclz> commit;
Commit complete.
orclz> create table deleted30 as select * from emp as of timestamp(systimestamp - 5/1440) where deptno=30;
Table created.
orclz> select count(*) from deleted30;
COUNT(*)
6
orclz> -
How to handle multiple records in BPMN process
Hi All,
We are using Oracle BPM 11g.In my requirement,I am using the database adapter to get the data from table and I need to validate the each record and update the status of that record from the BPM Process.But I dont know how to handle if multiple records come at a time.Can anybody please helpout from this problem.
Thanks in advanced.
Narasimha Rao.Can you have a look at this post: http://redstack.wordpress.com/2010/09/30/iteratingtraversing-arrays-in-bpm/
It's solving a different problem, but the key is that it's using a multi-instance subprocess to iterate over an array of "things" that need to be acted in. In your case it's the set of results from the db query rather than the set of tests in the example. But the principle is the same. You'd take collection of rows from the DB and process them in a multi-instance subprocess. The text that begins with the following would be good place to start:
"Now let’s implement the body of our process. We will use the Subprocess object to handle the traversal of the array of tests. Drag a Subprocess from the component palette on the right into the process and drop it on the line between the Start and End nodes."
In the loop characteristics you'd define whether you want to execute serially or in parallel. -
How to Handle Huge record count in JDBC
Hi,
Can we process 20 lakhs records which would size near to 136 MB using JDBC sender channel in a single call and the same need to deliver to Target system which is JDBC too.
Kindly mention which way this can be achieved.
RegardsHi Venkata,
Kindly go through this below link to processing the huge amount of data from the sender JDBC.
http://scn.sap.com/people/peng.shen2/blog/2009/12/23/pi-how-to-handle-high-volume-data-per-jdbc-adapter
https://scn.sap.com/thread/2005124
http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/09/24/jdbc-receiver-scenarios-best-practices--how-to-handle-high-volume-load-stored-procedure-design-part6
Best Regards,
Monikandan. -
LSMW - How to handle delimited records?
Greetings everyone,
I want to change infotype records with LSMW. I've done this with the use of a batch input recording.
This works, but only when the record is not delimited. Otherwise, the first record is modified but an error is given for subsequent records saying no batch input could be found.
I don't know how to handle this problem. Can anyone please help me?The txt file is tab delimited but that is not the problem.
I'm talking about another kind of delimit
The problem lies with the database records that I want to change. This works, but the moment the infotype record is delimited (or split), the recording isn't valid anymore (because it doesn't expect another screen).
So then I get an error saying no batch input can be found, and it skips the record(s) and continues with the next pernr. -
How to check deleted record in a table
Hi to all,
any one can do need ful to me for how to check last deleted record in a table.Since you are on 8i,
AUDIT DELETE TABLE AUDIT
and Using LogMiner
are your best chance to find out last deleted records.
If you are on 9i and later, you can also use flashback query to join current table with table image few minutes back to find out the difference. -
How can I delete record PA0002 (pernr = 00000000 blank)?
Hi expert.
I implement program for hiring pernr via BDC method.
When I recording Transaction PA30 infotype 0000.It alway popup window
"Table P0002 contains an entry for personnel number 00000000".
How can I delete this record ?
Best regards
Sasitha K.Hi Experts,
I am also experiencing the same problem. The pernr is existing in table pa0000. I tried to delete using PA30 but it's only prompting me to enter a personnel number. I've also used RPUDELPN but there is a prompt saying "Selection is initial. All pernrs will be deleted...".
Are there other ways to delete a pernr?
Greatly appreciate your help. Thanks in advance -
Duplicate Data Records indicator / the handle duplicate records
Hi All,
I am getting double data in two request. How can I delete extra data using "Duplicate Data Records indicator ".
I am not able to see this option in PSA as well as DTP for "the handle duplicate records".
can u help me to find the option in PSA/DTP.
Regards
Amit SrivastavaWhat Arvind said is correct.
But if you can try this out in an End Routine, this may work, Not sure though.
Because then you will be dealing with the entire result_package.
Also, say if the target that you are talking about is a DSO, then you can Delete Adjacant Duplicates in Start Routine while updating it into your next target. That can be a cube, for ex. -
How to handle more records in jsp page
i have some 1000 records in an collection( arraylist or iterator or any collection object) , for examples query returns records to me with resultset.
i want to display 50 records each time per page
how to display them and how to control the flow.
plz give me any codes if possible...
thanks all
Message was edited by:
BURAK
Message was edited by:
BURAKsorry I can't understand you, can you please explain it or post here any codes about it?
-
How to handle the records that contain different number of columns
hi all,
I have a file (as source data)includes order information like:
H,P001,Smith,Sunnyvale
D,P001,PR97623,150,10.99,Ice cream
D,P001,PR33267,45,32.66,Popcorn
T,P001
H,P003,Williams,San Jose
X,P003,PR23563,19,25.54,Peanuts
T,P003
I want to transfer the file record to three target tables,
the record marked "H" to "Summary" table and sum money of the detail
the record marked "D" to "Detail" table
the record marked "X" to "Error" table
the expect result as below:
Summary table
Order_No Customer Address Total_Money
P001 Smith Sunnyvale 3118.2
(※3118.2=150*10.99+45*32.66)
Detail table
Order_No Prodcut_Id Prodcut_Name Quantity Price
P001 PR97623 Ice cream 150 10.99
P001 PR33267 Popcorn 45 32.66
Error table
Head Order_No Record_No
X P003 6
(※6 is the line no in the file)
How can I do this in ODI , could anyone give some hints?Hi AGUI,
You can do this by the following way,
1) create the File datastore for the file with 6 columns
while creation select the following option file format as Delimited
record seperator as MS-DOS and field sep as other specify "," in the text box.
-- check the file datastore maps correctly by view the data.
2) create the interface int1 for transfer the data from this file to temp table( the temp table should have one more column for getting the line number( it should be the sequence number).
3) create the another interface int2, in this interafce you need to transfer the data from the[b] temp table to Detail table (use filter for gatting D record.
4) create the interace int3 transfer the data from the temp table to Summary table. please keep the total_money field as null for this interace
and use Odi procedure for updating this field with reference of details table.
5) create interface int4 for transfer the error date by transferinf from temp table to error table.
Thanks,
Madha
Maybe you are looking for
-
Hi, Has anyone had any issues with performance when updating the planning buffer using the Exit FM? What are the things to prepare for about performance issues in production system? Please recommend. Thanks RT
-
Is there an E-SATA connect on my 2.16 Intel Core Duo MacBook Pro?
MacBook Pro 2.16 Intel Core Duo 15" I've suddenly got to work with an E-SATA setup. I'm using the USB port right now ... but have been told the E-SATA would run smoother, faster. ??? This is to edit a film on the fly. I've been given the data on a na
-
Hi,<br /><br />i get the following exception when i am calling one of the services of Lifecycle. i tired to replace the xbean.jar from the apache website but it didn't help.<br /><br /><May 19, 2008 3:35:24 PM PDT> <Info> <Server> <BEA-002605> <Addin
-
Hidden column in the ADF table
Is there any way to make a collumn as hidden? I would like use it to store recordId values and get selected record id programmatically.
-
how do we import business systems defined in the SLD to IB:configuration...