Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to do cascade deletion and updation through SE11

Posted on 2004-10-20
5
Medium Priority
?
702 Views
Last Modified: 2013-12-08
Hi!
i learning SAP
i created two tables one parent and the other child (relation ship defined). when i deleted some records from parent table the related values were still there in child table. My database is Oracle.
can anyone plz help me out.
THANKS
0
Comment
Question by:Locate_dhiraj
5 Comments
 

Accepted Solution

by:
bacherjo earned 500 total points
ID: 12367491
Hi, I have never heard that this is possible, at least not in SE11. I think you have to got write your own deletion routines who do the job. The reason that this function is not there might be, you could end up deleting half of your sap because all tables are related.
Let me know when you find a function like this in SE11 or somwhere else in SAP !
J
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 12419272
Hi,

For more detail info...look at here..
http://www.akadia.com/services/ora_mutating_table_problems.html

R.K
0
 

Assisted Solution

by:marbit
marbit earned 500 total points
ID: 12622546
SAP doesn't use database constraints for foreign key's. Relational integrity is maintained entirely by the application logic. So if you delete a row with open SQL, you will never see a cascade delete. It's the responsibility of your program to ensure relational integrity, i.e. you have to delete the dependent rows in the child table explicitly in the program code.
I don't comment wether this behaviour of SAP is good or bad - simply take it as a fact.
kind regards
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question