cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_DOCUMENT_CHANGE2 problem

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Madhu2004
Active Contributor
0 Kudos

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

Answers (0)