Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DMS PDF

himanshu_gupta2
Participant
0 Kudos

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

2 REPLIES 2

former_member182485
Active Contributor
0 Kudos

Hi,

Can you give the error message it is giving ?

I guess doc type PDF is not configured.

Regards

Bikas

0 Kudos

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.