Application Development and Automation 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: 
Read only

Checkin PDF document from Appliction server onto DMS

Former Member
0 Likes
719

Hi All,

We have pdf documents on a file server which we need to attach/checkin to a document info record using CV02N transaction.The file server will be mounted onto SAP's application server. i'm using the bapi BAPI_DOCUMENT_CHECKIN2 to achive this functionality programatically. I'm getting the following error when I try to pick a file from application server. 'Error while checking in and storing: /tmp/test.pdf'. However, when I pick the file from desktop(through the program itself), the document is getting successfully attached.

I would greatly appreciate if someone could help me in correcting this issue.

regards,

Arun

Hi All,

We have pdf documents on a file server which we need to attach/checkin to a document info record using CV02N transaction.The file server will be mounted onto SAP's application server. i'm using the bapi BAPI_DOCUMENT_CHECKIN2 to achive this functionality programatically. I'm getting the following error when I try to pick a file from application server. 'Error while checking in and storing: /tmp/test.pdf'. However, when I pick the file from desktop(through the program itself), the document is getting successfully attached.

I would greatly appreciate if someone could help me in correcting this issue.

regards,

Arun

1 REPLY 1
Read only

Former Member
0 Likes
543

Hi,

I resolved the issue my self. I included an additional parameter PF_FTP_DEST = 'SAPFTPA' in the function module BAPI_DOCUMENT_CHECKIN2 which seems to have resolved the issue.

regards,

Arun