cancel
Showing results for 
Search instead for 
Did you mean: 

'BAPI_DOCUMENT_CREATE2' in background

Former Member
0 Kudos

I am trying to call 'BAPI_DOCUMENT_CREATE2' in background mode. I need to check in documents from application server, but I am getting "File cannot be opened" error.

I am populating the following fields

bapi_doc_files2-FILE_ID

bapi_doc_files2-wsapplication

bapi_doc_files2-storagecategory

bapi_doc_files2-checkedin

bapi_doc_files2-active_version

bapi_doc_files2-description

CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'

EXPORTING

documentdata = pa_doc_data

pf_ftp_dest = 'SAPFTPA'

pf_http_dest = 'SAPHTTPA'

IMPORTING

documenttype = l_documenttype

documentnumber = l_documentnumber

documentpart = l_documentpart

documentversion = l_documentversion

return = la_return

TABLES

characteristicvalues = pt_characteristicvalues

documentfiles = pt_documentfiles.

.

What should I consider if I wanted to call this bapi in background?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai..

These are the some some links

hope this may help you.

KHS