cancel
Showing results for 
Search instead for 
Did you mean: 

item level deletion of record in doe

Former Member
0 Kudos

Dear Experts,

one instance of data object consist of 10 line items. is it possible to delete the one item from them. if yes would you please explain the procedure.

Thanks & Regards,

-


Ashok Reddy Jalapu

Edited by: ashok reddy jalapu on Jan 11, 2011 11:46 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your reply.

Former Member
0 Kudos

Hi,

Yes, this is possible .

If the line items are deleted in BE, your getdetail bapi wrapper will not fetch them and hence will be deleted from DOE after a delta load.

Incase it is a soft delete in BE, thenthe getdetail bapiwrapper should not return those line item records and it will be deleted from DOE after a delta load from backend( Tcode : SDOE_LOAD).

Regards,

Liji

Former Member
0 Kudos

Thanks for your reply.

can we delete a record in cds without deleting a record in BE?

Thanks & Regards

-


Ashok Reddy Jalapu

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Yes. As liji mentioned in previous memo, Get Detail should take care of this logic. Get Detail should not return the line item which needs to be deleted from CDS. In that case, line item will be treated as deletion and will be deleted from CDS.

Regards,

Siva.

Former Member
0 Kudos

Thanks for your reply.

as you mentioned above total record will be deleted or particular line item will be deleted.

Thanks & Regards

-


Ashok Reddy Jalapu

sivasatyaprasad_yerra
Active Contributor
0 Kudos

If the Get Detail returns header record and doesn't return line item, then only line item will be deleted.

If the Get Detail doesn't return header record then entire record will be deleted.

This is how DOE decides which record should be marked as delete for CDS.

Regards,

Siva.

Former Member
0 Kudos

Hi Ashok

Particular line item will be deleted, not total record.

Regards

Former Member
0 Kudos

Hi Ashok,

Basically if you delete only line item record in Backend and keep the header record as it is, then it will delete only line item record provided your getDetail returns the existing header record eventhough lineitem is deleted for that header record..

But if your getdetail is not returning the header record also on deletion of lineitem from backend, then total record will be deleted from CDS.

Hope it helps.

Thanks & Regards

Shweta Soni

Former Member
0 Kudos

Thanks for your reply.

can we delete a record directly in cds without deleting in a backend?

Thanks & Regards

-


Ashok Reddy Jalapu

Edited by: ashok reddy jalapu on Jan 11, 2011 12:43 PM

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Not Possible. If you are asking any solution other than above mentioned ones.