on 09-03-2009 6:50 PM
Hi,
Can anyone help me in uploading Binary table to DMS.
Currently i am using BAPI 'BAPI_DOCUMENT_CRETE2' for creating DMS document but through this BAPI i can only upload documents from my presentation server.
I will be having a PDF in binary table in my program and i want to upload that PDF to DMS.
I am looking for a BAPI or Class method to upload the document to DMS from my binary table.
can anyone help me?
regards,
Amit
hello amit ..
you can use CVAPI_DOC_CHECKIN to check-in data from internat table to DIR.
Eg call as below :
CALL FUNCTION 'CVAPI_DOC_CHECKIN'
EXPORTING
PF_DOKAR = DOKAR
PF_DOKNR = DOKNR
PF_DOKVR = DOKVR
PF_DOKTL = DOKTL
PS_API_CONTROL = ls_api_control
PF_CONTENT_PROVIDE = _*'TBL'*_
IMPORTING
PSX_MESSAGE = L_MESSAGE
TABLES
PT_FILES_X = lt_files_tab
PT_CONTENT = LT_CONTENT.
LT_FILES_TAB-APPNR = 1
LT_FILES_TAB-DAPPL = TXT
LT_FILES_TAB-FILENAME = test
LT_FILES_TAB-STORAGE_CATEGORY = Y02L
_LT_CONTENT_
APPNR ZAEHL ORLN ORBKL ORBLK
1 0001 000000007650 2550 <HEX_values>
1 0002 000000007650 2550 <HEX_values>
1 0003 000000007650 2550 0ABCDEF123456789
Rgds,
Shivanand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the exact requirement, too.
Have somebody a solution for this?
Kind regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amit
I have the same requirement.
Have you found a solution?
The only thing I am doing now is saving the PDF in the spool than save it on the local machine using the GUI_Downlaod. function
And now I am trying to find how to create a new DMS to attached that PDF.
If I can attached the PDF without to save it first on the local machine that would be better.
Regards
dstj
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.