Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting entries from EBAN table

Former Member
0 Kudos

Hi Experts,

I am asked to find a way(preferably function module) to delete entries from EBAN table based on some selection critaria. I found this BAPI, BAPI_REQUISITION_DELETE, but this will only mark the entry for deletion. I want something which will erase the entries from EBAN table. Please let me if there is a way to achieve this.

Thanks in advance!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Manjunatha,

I would not suggest you to delete entries from table-EBAN because it may cause inconsistency.

You can use given FM to mark as deletion and also use commit BAPI at the end.

Regards,

Sudeesh Soni

14 REPLIES 14

Former Member
0 Kudos

Hi Manjunatha,

I would not suggest you to delete entries from table-EBAN because it may cause inconsistency.

You can use given FM to mark as deletion and also use commit BAPI at the end.

Regards,

Sudeesh Soni

Former Member
0 Kudos

Hello

Try using methods of class : CB_MEREQ_PER_EBAN_TECH

1) Method DELETE_PERSISTENT             public ( with key )

2) Method PM_DELETE_PERSISTENT     instance method

Regards                         

matt
Active Contributor
0 Kudos

No. Really. Don't do this.

0 Kudos

Hi Hicham,

Could you please explain how to use this method and what are the parameters to be passed inorder to delete the entry from EBAN.

Thanks

0 Kudos

Hi Matthew,

The entries I am going to delete are the ones which are flagged for deletion and left out in table since they could not go through the cycle of PO creation because of some error in them. These entries are of absolutely no use but killing the performance of other objects.

Thanks

raymond_giuseppi
Active Contributor
0 Kudos

First call FM BAPI_REQUISITION_DELETE, then call transaction SARA to actually delete reports. (Look for documentation on Archiving at help.sap.com)

Regards,

Raymond

0 Kudos

Raymond,

Thanks for your reply!

Requirement is to delete entries from EBAN, not to archive. We don't want those entries anymore. Let me know if you have any suggession.

Thanks!

0 Kudos

The correct procedure is to archive, then delete the archive.

0 Kudos

This message was moderated.

0 Kudos

Manju

Please search for archiving and deletion you will see so many doc

Nabheet

0 Kudos

This message was moderated.

0 Kudos

Hello Nabheet,

Please give unique answer. Already answer was given by Matthew.

0 Kudos

Nabheet was replying to a rejected post, asking for documents. His reply is correct.

Former Member
0 Kudos

Thanks all for your replys. I got the documents.