CVAPI_DOC_CHECKOUTVIEW - how to check´out files to a SAP directory

Hello,
I have an issue with understanding and providing the FM CVAPI_DOC_CHECKOUTVIEW to check out files from KPRO to a SAP directory.
I use CV120_KPRO_CHECKOUT to checkout files to local PC and this runs fine, but not for checking out files to SAP directories. So I found the API.... FM.
But I am confused about the data required to run the FM CVAPI_DOC_CHECKOUTVIEW . I tried several times but it does not work either for check out to clnt nor to SAP server.
Parameters for DOKAR, DOKNR, DOKVR and DOKTL are clear to me. PF-CONTENT_PROVIDE is CLNT for PC check out and SRV for Server checkout. But what about the rest?
I am not sure how to provide the tables and the fields PF_FTP_DEST / PF_HTTP_DEST / PF_HOSTNAME and the PS_API_CONTROL.
Can anybody help me with the required import data.
Best regards
Dirk

Hi Dirk.
We are using bapi to get the document file (original)
Look our usage of pf_http_dest and pf_ftp_dest.
CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
  EXPORTING
    documenttype       = vl_dokar
    documentnumber     = vl_doknr
    documentpart       = vl_doktl
    documentversion    = vl_dokvr
    getactivefiles     = 'X'
    getdocdescriptions = 'X'
    getdocfiles        = 'X'
  TABLES
    documentfiles      = t_document.
READ TABLE t_document INTO wa_document INDEX 1.
CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
  EXPORTING
    documenttype    = vl_dokar
    documentnumber  = vl_doknr
    documentpart    = vl_doktl
    documentversion = vl_dokvr
    documentfile    = wa_document
    originalpath    = 'your SAP directory'
    pf_http_dest    = 'SAPHTTPA'
    pf_ftp_dest     = 'SAPFTPA'
IMPORTING
    return          = wa_return
TABLES
    documentfiles   = tl_files.
Darley

Similar Messages

  • Periodic Message: You have some checked-out files in the working directory

    Hi,
    we are recieving a periodic message (appearing every 5 minutes) saying:
    "You have some checked-out files in the working directory. We recommend that you check in the files after editing. Click here to checkin the files.
    After clicking on the message easyDMS is opened and Private- & Public-Folder are shown.
    There are no checked out files on the client.
    What happened?
    Thanks a lot!
    Edited by: B Lobascio on Feb 8, 2011 5:13 PM

    After changing the Working directory in easyDMS preferences the message did not apear anymore.
    That means that there have been some some damaged documents in origin working directory.
    Edited by: B Lobascio on Feb 16, 2011 10:35 AM

  • How to check out files from DTR

    Dear all,
    I've check in files and activated it to the DTR. but somehow the transportation to production server was not complete coz it said that the DC built failed...how should i resovled this problem?  What is the steps to check out files from DTR..and what is the steps to delete a DC from DTR? thank you

    Hi
    see the following link ,it will be helpful for u.
    [Working with the Design Time Repository |http://help.sap.com/saphelp_nwce10/helpdata/en/83/74c4ce0ed93b4abc6144aafaa1130f/content.htm]
    Thanks
    Hazrath

  • How to get XML file located in SAP directory for SAP XI

    In my system, there is a function to create IDOC and store as a xml file in directory of SAP for example u201C/inf/ERQ/XML/u2019 .I want to use this XML file as a input for SAP XI to map and generate output as an IDOC. However, I donu2019t know how to setup integration directory for this scenario. Iu2019m not sure how to access directory in SAP using SAP XI. Any help would be grateful. Thank you.
    Thank you expert,
    @tom

    Hi
    Check this PDF
    http://www.sap-press.com/downloads/h982_sample_chapter.pdf
    search with "Mapping program in SAP XI" in the above link
    http://www.sap-press.de/download/dateien/1191/sappress_exchange_infrastructure.pdf
    Regards
    Pavan

  • How to handle check-out files of users that are no longer with the company?

    We have cases that files were checked out and modified, but the engineers left before they check-in the files. What's the right way to handle such cases? Does the project admin have right to check-in for the engineers? How can we make another person to
    check the files in?

    Hi Peter, 
    Thanks for your post.
    Do you want check-in that files within the changes which that left engineer created to TFS Server? If yes, you need logon that engineer’s client using his account, then get modified files on this client and perform check-in.
    If you don’t need that changes which modified by that left engineer, just the check-out files on this client caused other users cannot work on that files, you can ask the team project admin user to perform
    tf undo command on that files to resolve this checked-out issue. 
    For example, the files be checked-out under workspace1, so execute this command “tf undo $/xx/xx(file path) 
    /collection:collectionURL /workspace:workspace1 /recursive” to undo it
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • User has deleted checked out files

    A user has deleted the local roboholp project folder with checked out files. (Robohelp HTML Version 9.0)
    The files are published as a webpage so the content is in HTML files - is there a  way to get the content back in Robohelp?
    And how can I check-in her files (there is not option in Source Control (Version 3.1.), although I have administrative rights)
    Thanks for any help.

    Hi there
    Not sure about RoboSource Control, but typically a source control application allows one to "Get latest version". The files should still be in the source control database, albeit with a status of "checked out". So you should be able to recover the project by simply getting the latest version. Not sure about how to go about forcing a check in from the user account that is no longer there.
    Cheers... Rick

  • Select Checked Out Files

    In the Files panel, if I use the option "Select Checked Out
    Files", Dreamweaver will always crash (I just tried out and am
    waiting for DW to fall apart).
    Does anyone know how to overcome this (yes, without ditching
    DW)?

    I am having the same trouble with DW CS3. Any ideas?

  • Cannot Check Out files in DreamWeaver 5.5

    I have several websites hosted by the same company. Now when I use DreamWeaver 5.5 to visit these sites, I can see the files on the server and I can see my local files. But when viewing local files, I need to be able to Check Out files, edit them, save them and then check them back in so they get uploaded to the server.
    In my current state, the Check Out File(s) icon is grayed out.
    Thanks!

    Go to Site > Manage Sites and choose the one you want to add Check In/Out to.
    Go under the Basic tab and hit Next until you get to "Do you want to enable checking in and checking out..." switch the radio button to Yes.
    Note: this is how you would turn it on in DWCS4, I'm assuming 5 isn't much different.

  • Editing XMP metadata in Bridge for checked-out files?

    Our custom connector does not implement the WRITE_XMP_METADATA Capability because we do not want to change the XMP of a file in our DAM system without checking in a new file version.
    However, when a file is checked out through Adobe Drive, we would expect to be able to edit its XMP metadata in Bridge just like we can for local files.
    It looks like this is still not possible with Adobe Drive 3, i.e. if your connector does not implement the WRITE_XMP_METADATA Capability you cannot edit XMP for checked out files either.
    It seems weird that you can edit XMP metadata for checked out files with regular CS applications but not with Bridge. Is this something that is expected to be fixed in a future version?
    Thanks

    In our design, editing XMP data in Bridge and in regular CS applications is different, the former one will be routed to SetXMPHandler in you connector, in the latter case, CS applications take the normal file writting ways to embed XMP data in the file content.
    The purpose of this design is to offer similar user experience for normal users when they edit XMP data for AD assets and local file assets, they don't need to check-out files first.
    To address your issue, I think you can add some codes in SetXMPHandler to auto check-out files before real XMP operation, and check-in them before exiting the handler
    We will consider to make some enhancements for this part, that's, to allow editng XMP data for the checked-out files in Br, in the next release, thanks for this advice.

  • How to Check a file in the directory..

    Dear,
    Pl. do suggest me how to check a file (e.g. abc.txt) is in the directory (say d:\Print).
    Do tell me how to check whether this file is exist in the directory or not???
    Thanx in Advance.
    Bhavesh

    Hi
    You can use Win_Api_Utility.Copy_File cmd. IF the file does not exist r the file was not copied to the destination properly, it will raise no_data_found error. See Forms help - Find option for syntax & more details.
    I've used it & works well.
    Regards
    APK

  • How to Check out  standard business content in BI Machine???

    Hi Guyz
    Please let me know
    How to Check out  standard business content in BI Machine???
    Regards
    Jawed

    Hi Jawed,
    Hope this helps - http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/ea683cc5e8ca68e10000000a114084/frameset.htm
    Can you please tell us what do you mean by Checking?
    Bye...
    Message was edited by:
            Naga Timmaraju
    Message was edited by:
            Naga Timmaraju

  • Question about deletion of checked out file using CMIS connector

    When testing file deletion with Adobe Drive connected to an implementation of CMIS server, I ran into some mildly unexpected behavior for when the file is checked out.
    I successfully checked out a file through Adobe Drive then deleted the file. Our server has a constraint that checked out files are protected against deletions, renaming, and moves. So, I was expecting the operation to fail. Instead, the result was that the file had its check out canceled.
    In the AtomPub binding, a cancel check out is specified by deleting the pwc version of the the checked out file. So, this behavior did not strike me as too far off my expectations and I confirmed that the objectid in the deletion request sent by Adobe Drive was the id for pwc version of the file.
    Is this behavior intentional? Or is this an artifact of the way Adobe Drive caches the objectid of files? Check out requests do return an objectid and that objectid is that of the new pwc version of the file. So, the later behavior would not surprise me.
    Thanks

    Hi,
         Yes, this behavior is intentional.
         To bypass the possible constraint during deleting a checked-out file, Adobe Drive intentionally try to cancel check out this file by deleting the pwc version of the checked-out file.
    Regards,
    Gang

  • Select Checked Out Files Within Folder

    So if I right-click on a folder and choose Select->Checked
    Out Files it looks on the whole site for files that are checked
    out. The same is true if I have it look for files modified in the
    last x days. Is it possible to select only the files checked out
    from a particular folder?
    My site is quite large and I often work on a folder at a
    time. Other editors may be changing other files, so I don't want to
    check in the whole folder in case I haven't downloaded their
    edits.

    I am having the same trouble with DW CS3. Any ideas?

  • Out of memory errors when reporting on checked out files

    My Dreamweaver CC version is up to date. I haven't been able to complete a report to find checked out files. I can see it running at a speed of about 2 files per second. We have a few thousand files on the web server, but I didn't have a problem with CS5.5. I can't understand why it takes so long to simply search for .LCK files. I can search for them using Agent Ransack in a matter of seconds. I've seen some other out of memory issues posted here too, so hopefully Adobe can get this fixed and release the next update soon.
    (I haven't seen any improvement in performance with the 64-bit re-engineering.)

    Hi AdobeJobie,
    We would like to investigate your case. If you have a purchased version of DW, send me your Adobe ID, location, and contact details (email, phone number) over a private message. Click my picture and use the message option.
    Thanks,
    Preran

  • What's the function of "Manage checked out files" in library settings?

    hi there,
    can anyone tell the function of "Manage checked out files " in library settings? it seems the place to manage all the checked out files in that library. but i can't see any one there. thanks in advance.
    allan

    Hi,
    The checked out files page will only show files which have no checked in version. It is a way for a library administrator to clean up a document library. Imagine you created a new document that was only checked out to you and had no checked in version. It wouldn't show up in list views for anyone else. You have to go to that page to delete this document.
    If you want to see all the checked out files in your library, you can create a new view and filter the view by “check out to” column (“check out to” column “is greater than or equal to” give a value like character A)
    Hope it can help you.
    Xue-Mei Chang

Maybe you are looking for

  • How to open a closed conversation in iMessage?

    Hopefully a very dumb question with an easy answer, but how do I open a closed conversation in iMessage? MBA iOS 10.9.5 I was searching for a term in a specific conversation and when I found it, I shut it down using the "x" button, however, I acciden

  • Supported Tools version when upgrading from PeopleSoft HCM 9.1 to 9.2

    Hello, Our customer is on HCM 9.1 FP2 with 8.52.03 tools. Now, they would like to upgrade to HCM 9.2 and PeopleTools 8.53 I have found the following upgrade path on Oracle Support. PeopleSoft Human Capital Management 9.1 to 9.2 Upgrade Home Page (Doc

  • WMI filter query of the last GPO in an OU fails

    Hi, I've noticed an interesting issue: Server 2012 R2, Windows 7. GPO's. WMI Filters. I've linked some GPOs to a specific OU (which exclusively contains users). For example, there are three objects which configure Word, Excel and PowerPoint 2010. I'v

  • Let me get this straight -- when I drag a file into a iCloud folder, it ERASES it off my computer?

    Why on earth would it do that instead of make a COPY on icloud -- am I missing something? So if I take all my files into icloud, they are all GONE from my laptop? And what am I supposed to do then I need to use them and I don't have internet access?

  • Forgot password and email is no longer valid

    Hi I'm in a vicious cycle here.  Just got a new phone and I can't activate skype on it (I use it all the time on my PC) because I can't remember my password and the email address on my account is no longer valid (old work email and I don't work there