05-10-2011 11:33 AM
Hi friends,
I try to upload a pdf file to the DMS using BAPI_DOCUMENT_CHECKIN2 but it always gave an error " Error while checking in and storing" ,
It is working fine the XML and XLS file.
Can anyone help me
05-10-2011 11:38 AM
Hi,
Can you give the error message it is giving ?
I guess doc type PDF is not configured.
Regards
Bikas
05-10-2011 11:57 AM
Hi Please look above for the error mesage. I already mention it.
ls_doc_files-originaltype = k_1.
ls_doc_files-storagecategory = k_z_g340.
ls_doc_files-wsapplication = k_pdf.
ls_doc_files-docfile = ps_file_table.
ls_doc_files-language = k_e.
ls_doc_files-description = text-210.
ls_doc_files-active_version = k_x.
ls_doc_files-checkedin = k_x.
APPEND ls_doc_files TO li_doc_files.
following values i m send ing.