on 04-28-2011 3:38 PM
Hello,
i am sorry to mention this long discussed topic,
but i would very appreciate to clarify how can i checkin new originals for a new document using background processing.
we are trying to use BAPI_DOCUMENT_CREATE2 to create a document and checkin original from a network path +
server\file.pdf+ .
i have read that i should add the path in AL11 - did it, how should i use it?
i have read that i should use the SAPFTPA & SAPHTTPA parameters when calling the function - i have these in SM59 and the connection test is successful - but what should i do with them?
will be very thankful for your help.
here's an example from our code:
call function 'BAPI_DOCUMENT_CREATE2'
exporting
documentdata = ls_doc
pf_ftp_dest = 'SAPFTPA'
pf_http_dest = 'SAPHTTPA'
importing
documenttype = lf_doctype
documentnumber = lf_docnumber
documentpart = lf_docpart
documentversion = lf_docversion
return = ls_return
tables
documentdescriptions = lt_drat
objectlinks = lt_drad
documentfiles = lt_files.
Hi,
Populate the document original information according as per below guideline.
The tables 'DOCUMENTFILES' contain the entries about originals that you you want to allocate to the document. The meanings of the structure fields are:
'SOURCEDATACARRIER': Data carrier name (optional) of a server on which
an original is stored
'STORAGECATEGORY': Name of the data carrier that you want to check
original into. The function module determines the
storage type, SAP Database, vault, or archive
using the name of the data carrier.
'DOCFILE': File name of the original
'WSAPPLICATION': Name of the workstation application. This entry is
necessary when no workstation application has been
assigned to the document info record or the new
original is of another type.
Regards
Keerthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
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.