Skip to Content
avatar image
Former Member

BAPI to get list of latest version documents

I am using BAPI_DOCUMENT_GETLIST2 to fetch a list of documents with certain criteria and it works great. But I need to get only latest revision documents and the BAPI seems to have two input fields for this as well namely "LATEST" and "LATEST RELEASED" but passing "X" to them does not making any difference. What are these two fields for and how can I get only Current/Latest revision document list?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 05, 2017 at 12:34 PM

    Hi Wasim,

    maybe the function module DOCUMENT_ACTUAL_VERSION could be useful for you.

    BR

    Christoph

    Add comment
    10|10000 characters needed characters exceeded