cancel
Showing results for 
Search instead for 
Did you mean: 

EXECUTING A BAPI_DOCUMENT_CREATE2

Former Member
0 Kudos

Hi,

While executing a bapi_Document_Create2 i am passing thr document path in DOCFILE1,DIR is being created but the document is not being stored in the content server.

Please help.

Regards,

veeramani

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

   To store in the content server you need to fill the table DOCUMENTFILES of the BAPI (with at least fields : STORAGECATEGORY, WSAPPLICATION and DOCFILE).

Regards

Nathalie 

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Veeramani,

Once you have executed BAPI_DOCUMENT_CREATE2, the data is not yet present in the database.

After calling the BAPI, you need to always call BAPI_TRANSACTION_COMMIT.

Hope this helps!

Best Regards,

Simran