on 06-29-2011 8:46 PM
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.