cancel
Showing results for 
Search instead for 
Did you mean: 

Table to find current version of a document

shubham_kiyawat
Participant
0 Kudos

Dear Friends,

We are developing a report in which we are displaying the documents attached to BOM components.

I am able to select all the document originals attached to a material component from the table DRAD.

But I want to extract only current version for a particular material component not all versions.

(Like we can see current version of DIR attached to material in MM03).

Thanks

Shubham

View Entire Topic
0 Kudos

Hello Shubham,

  You can simply get the documents linked to an object using BAPI_DOCUMENT_GETOBJECTDOCS , and by setting the import parameter CURRENTVERSIONSONLY, you will get only current version.

Regards

Nathalie