on 07-23-2009 11:17 AM
Hi
Can anybody tell me the function module to add document to http content repository which is configured in OAC0.
I have found SCMS_HTTP_CREATE_FILES.
There is one more : BAPI_DOCUMENT_CREATE2, but I am not sure whether this can be used to add documents to http content repository.
If yes what all parameters do I need to pass to this BAPI?
Kindly help
Thanks
Ruhi Hira
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
just try like this, i given ex,
Allcoate document data
ls_doc-documenttype = 'DRW'.
ls_doc-documentnumber = '4711'.
ls_doc-documentversion = '00'.
ls_doc-documentpart = '000'.
ls_doc-statusextern = 'AF'.
ls_doc-laboratory = '001'.
Check in original 1 simultaneously in the R/3 Database
REFRESH lt_files.
CLEAR lt_files.
lt_files-storagecategory = 'SAP-SYSTEM'. [here u enter storage categori what u created for HTTP CS in OACT]
lt_files-docfile = 'c:\temp\drawing.txt'.
lt_wsapplication = 'TXT'.
APPEND lt_files.
lt_files-storagecategory = 'VAULT'.
lt_files-docfile = 'c:\temp\drawing.dwg'.
Note: if this not works CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
pass value as mentioned above.
Benakaraj
??P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.