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: 

need FM/ BAPI to delete links from DRAD (SAP standard table )

Former Member
0 Kudos

Hi,

I need to delete certain records/ links from the DRAD table basing on the objky , dokar, doknr, dokob ..(these are mara document links).

I am trying to find a bapi or fm that can help me do this. any suggestions?

Thanks,

Preeta

4 REPLIES 4

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please check these FM.

CO_DM_DOC_LINK_DELETE

CV140_LINKS_DELETE

Regards,

Ferry Lianto

Former Member
0 Kudos

BAPI_Document_change used with deletion indicator

0 Kudos

Hi...

You need to use BAPI_DOCUMENT_CHANGE2 to delete the file..

Since DRAD is for object links.. you need to use tables parameter OBJECTLINKS in the above FM to delete the links from the table.. Please check

- Krishnan

Former Member
0 Kudos

Hi,

bapi_document_change will serve your purpose.

Thanks,

Kamesh