Skip to Content
0
Former Member
May 15, 2009 at 03:21 PM

Assigning status while creating document -Cfolders

22 Views

Hi,

I am creating a document using following FM .But my status is BLANK.

I want to be one of the status : Requested/Responded...etc..How do we take care of this.

CALL FUNCTION 'CFX_API_DOC_DOCUMENT_WRITE'
    DESTINATION rfcdest
    EXPORTING
      i_doc_id                       = key_document
*     I_VERSION_NAME                 =
*     I_VERSION_DESCRIPTION          =
*     I_CHANGE_CURRENT_VERSION       = CFXA0_SC_FALSE
*     I_BACKEND_SYSTEM               =
      i_file_path                    = fname
      i_file_size                    = fsize
*     I_MIME_TYPE                    =
*     I_CONTENT_URL                  =
*     I_CONTENT_PROXY                =
*     I_CONTENT_PROXYPORT            =
   IMPORTING
*     ES_FAULT                       =
      e_faultstring                  = fault
      e_doc_version_id               = key_version
      e_version_name                 = vname
*     E_CONTENT_RELATIVE_URL         =
    TABLES
      it_content                     = p_image[].

Rgds

Vara