Skip to Content
avatar image
Former Member

how status can be changed programatically?

Hi all,

Is there any function module which will change the status of document?If so please mention it.

or how can we change the status programmatically?

Quick Response will be appreciated..

Thanks,

Martina.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 05, 2009 at 06:57 AM

    Hi Martina,

    You can change the status programmatically, but for that you need some abap developement.

    You can change the doc status directly from the sap inbox also.

    Use following bapi to do this.

    CVBAPI BAPIs for document info records

    BAPI_DOCUMENT_GETSTATUS Read Document Status

    BAPI_DOCUMENT_GETSTATUSLIST Determine Status List for a Document Type

    BAPI_DOCUMENT_SETSTATUS Set Document Status

    Regards,

    Nitin

    Award Point if useful

    Add comment
    10|10000 characters needed characters exceeded