Skip to Content
author's profile photo
Former Member

delete document-objectlinks

hello

i am looking for a way to delete documents-objectlinks

from material.

is there any bapi or fm for that?

thanks

yifat

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

7 Answers

  • Sep 13, 2005 at 08:41 AM

    do you mean the documents attached to material. (using general object services)

    Regards

    Raja

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 13, 2005 at 08:47 AM

    Hi,

    You can try CLFM_DELETE_CLASSIFICATION

    Cheers.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 13, 2005 at 08:50 AM

    Hi,

    Also Check report RC1MCDOKDEL . You can use the part of DRAD to delet document object links.

    Cheers.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 13, 2005 at 08:58 AM

    hi!

    thanks for your answer.

    i need to delete the document from the material.

    i think that the fm you offered cant do it.

    i know that i can select from drad by objkey and delete the records from drad, but i wanted something like bapi or fm.

    thanks

    yifat

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 13, 2005 at 09:15 AM

    Hi,

    Material document link are stored in DRAD only.

    If you select from DRAD all data for a material and call the function it will do the trick .

    The Object = 'MARA' and objky = 'MATNR".

    I am not sure if you want to delet all object links for a material or selective ones.

    Cheers.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 13, 2005 at 10:37 AM

    Hi Raja!

    i just run the fm you mentioned with object 'MARA' and

    objky = material number.

    it came out with subrc = 0.

    but when i looked in drad nothing happened .

    do i have to run something else afterwards?

    regards

    yifat

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 07:19 PM

    I tried both ways and got a message saying that it does not exist.

    Add comment
    10|10000 characters needed characters exceeded