Skip to Content
author's profile photo Former Member
Former Member

BAPI_DOCUMENT_CHANGE2 problem

HI,

Im trying to delete attached file in CV01N THROUGH BAPI_DOCUMENT_CHANGE2 by passing DELETEVALUE = 'X'

its not updating cv02n .kindly help me out regarding the parameters to be passed .

is there any other BAPI or solution to delete the attached file in CV01N for the particular document for new version.

thanx.

Sahadev

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 15, 2011 at 10:38 AM

    Hi ,

    Try with the below code.

    ls_draw-doknr = iv_doknr.
    
      APPEND ls_draw TO lt_draw.
    
    
      CALL FUNCTION 'DOCUMENTS_DELETE'
        TABLES
          documents = lt_draw.

    Regards,

    Madhu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.