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

Filename incorrect using BAPI_DOCUMENT_CHECKOUTVIEW2

Former Member
0 Likes
1,101

Dear experts,

I'm using BAPI_DOCUMENT_CHECKOUTVIEW2 to download doc file from server to local PC, but the filename that I downloaded is not same as the orginal filename. The downloaded filename always as "_<USERNAME><NO>.TIF", it always save as my username+running number, I want the original filename instead of this, how to do it?

2 REPLIES 2
Read only

Former Member
0 Likes
735

Found the solution by using 2 function:

1. CV115_DOC_OPEN_DISPLAY

2. CV120_DOC_CHECKOUT_VIEW

Read only

735

A better answer may be to update the configuration of the workstation application. Facing this same issue, I found that I can avoid the renaming of the file by setting the flag NO_TMP_NAM.

Path in SPRO is Document Management>General Data>Define Workstation Application, then put an "X" in the column "NoRename"

--Peter