Mass uploading of Documents with ABAP

Hello,
i have to write an ABAP-Program, to automatically mass-upload documents to cFolders.
I have the FUBA CFX_API_DOC_CREATE where i can create document-hulls. Now i think i have to use CFX_API_DOC_DOCUMENT_WRITE to upload the content. The FUBA needs the filling of the TABLE_Parameter IT_CONTENT, which is the content of a file. My Question: How can i fill this Parameter?? Is there a FUBA, where i can simply fill this parameter???
Thanks
Best Regards
Helmut Wenzler

ok, found the solution...a simple "GUI_UPLOAD" works
Best Regards
Helmut Wenzler

Similar Messages

  • For mass upload of documents

    Hi Everybody
    Is there any tools available for mass upload of documents into server? please provide me the information.
    Thanks
    Prasad

    Hi Prasad,
    There are several options that you can explore for mass document upload and see which best fits your requirements and constraints:
    -You can upload documents by using LSMW(Legacy System Migration Workbench). Using this, you can safely upload 1000-1100 documents at one go.
    - Ask your ABAPer to develop a BDC for mass document upload.
    - Use 'DMS Loader' solution from SEALS systems. http://www.sealsystems.de/fileadmin/mediaFiles/Factsheets/DMS_Loader_en.pdf
    Regards,
    Pradeepkumar Haragoldavar
    Edited by: Pradeepkumar  Haragoldavar on Jun 17, 2010 11:09 AM

  • How to upload a document with values related to document properties in to document set at same time using Javascript object model

    Hi,
          Problem Description: Need to upload a document with values related to document properties using custom form in to document set using JavaScript Object Model.
        Kindly let me know any solutions.
    Thanks
    Razvi444

    The following code shows how to use REST/Ajax to upload a document to a document set.
    function uploadToDocumentSet(filename, content) {
    appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
    hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));
    var restSource = appweburl +
    "/_api/SP.AppContextSite(@target)/web/GetFolderByServerRelativeUrl('/restdocuments/testds')/files/add(url='" + filename + "',overwrite=true)?@target='" + hostweburl + "'";
    var dfd = $.Deferred();
    $.ajax(
    'url': restSource,
    'method': 'POST',
    'data': content,
    processData: false,
    timeout:1000000,
    'headers': {
    'accept': 'application/json;odata=verbose',
    'X-RequestDigest': $('#__REQUESTDIGEST').val(),
    "content-length": content.byteLength
    'success': function (data) {
    var d = data;
    dfd.resolve(d);
    'error': function (err,textStatus,errorThrown) {
    dfd.reject(err);
    return dfd;
    Then when this code returns you can use the following to update the metadata of the new document.
    function updateMetadataNoVersion(fileUrl) {
    appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
    hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));
    var restSource = appweburl +
    "/_api/SP.AppContextSite(@target)/web/GetFolderByServerRelativeUrl('/restdocuments/testds')/files/getbyurl(url='" + fileUrl + "')/listitemallfields/validateupdatelistitem?@target='" + hostweburl + "'";
    var dfd = $.Deferred();
    $.ajax(
    'url': restSource,
    'method': 'POST',
    'data': JSON.stringify({
    'formValues': [
    '__metadata': { 'type': 'SP.ListItemFormUpdateValue' },
    'FieldName': 'Title',
    'FieldValue': 'My Title2'
    'bNewDocumentUpdate': true,
    'checkInComment': ''
    'headers': {
    'accept': 'application/json;odata=verbose',
    'content-type': 'application/json;odata=verbose',
    'X-RequestDigest': $('#__REQUESTDIGEST').val()
    'success': function (data) {
    var d = data;
    dfd.resolve(d);
    'error': function (err) {
    dfd.reject(err);
    return dfd;
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Mass upload of Documents/Folders in SolMan?

    Hi,
    We have a situation here. All the project documents and other documents are stored on the company portal. For any given process, they have a set of documents associated with it.
    Example: for a change request, they have at least  10 - 12 documents which follow a chain and are dependent. All these 10-12 documents are stored in a folder "Change Request Documents".
    There are close to 200 such folders on the portal and each folder has between 20 to 50 documents. Is there any way that we can import all the folders with the same hierarchy structure in SAP Solution Manager?
    Do we need ABAP program? What is the best possible way other than manual upload?
    Appreciate suggestions.
    Thanks,
    Krish

    Hi Aditya
    If you start doing 1 by 1, you'll go mad , as you said, there are more than 2 lakh documents are there.
    You can upload documents by using LSMW. To be safer side, you can upload 1000 documents at one shot.
    Otherwise you can ask your ABAPer to write a BDC.
    Good luck.
    Amaresh Makal

  • Mass Upload of documents for a financial Document

    Dear Friends
    I have created Document Type ZFIINVOICE and assigned it to Object Type BKPF. I am able to link Document to individual FI Document via OAWD.
    I want to mass upload documents related to a person in  Financial Document .
    Is there any BAPI vailable for mass upload.
    Or can LSMW can be used.
    Please advice for the method of upload.
    With Regards
    Mangesh Pande

    Hi,
    You can use the following BAPI for this purpose:-
    BAPI_ACC_DOCUMENT_POST
    Regards,
    Gaurav

  • MASS UPLOAD OF DOCUMENTS USING LSMW

    Hello Experts,
    I am experienced in SAP DMS but not in LSMW.
    I would like to use LSMW for Mass Uplaod of Documents and would like to give the input in the below format.
    I was able to create LSMW for Doc Upload using Recording option but it will not give me the original path location.
    I know there is a BAPI too for Document create which is BAPI_DOCUMENT_CREATE but dont know how to use it in LSMW>
    Which option is best to be used in this case. Below find the input format of the file which am looking
    DIR
      Number
    Doc Type
    Doc Part
    Doc Ver
    Description
    Status
    Original File
      Path.
    Appriciate your answers.
    Regards,
    S.Kulkarni

    Dear Shrikanth,
    please note that batch input in Document Management System is not
    supported for Releases higher than 4.5. The batch input technology
    was designed for the transactions CV01 and not for CV01N/02N etc.
    To create
    or change a document info record in background I would recommend you to
    use the BAPIs BAPI_DOCUMENT_CREATE2 or BAPI_DOCUMENT_CHANGE2 to create
    or change a Document info record. Please see SAP note 766277,
    which contains the full documentation of all BAPIs in the DMS area.
    Normally you can use DMS BAPI or API function modules to checkin
    originals into the content server. I would recommend you to use the
    API modules as they are much more flexible then BAPIs. Please see the
    note 504692 which contains further information and some
    sample programs.
    With transaction SXDA you can also create document info records
    in the background but the filepath should not be shortened anymore.
    For further information please check SAP note 817743.
    I hope that this information could be useful for you to setup a
    working scenario to edit document info records successfully in
    background.
    Best regards,
    Christoph

  • Mass Upload of documents for a Person

    Dear Friends
    I want to mass upload various kinds of documents related to a person in HR.
    I have cretaed 5 document types ( Employee Photo, caste Certificate, Joining Biodata, Employee Signature, Gratuity Nominations).
    I want to upload Legacy data which in mass to all employees created in SAP HR.
    I have seen many threads related to Upload of employee photo. But I am not getting clear picture how to upload data related to various document types for an employee. I am using Assign and store scenario.(Manual Storing).
    Is there any BAPI  vailable for mass upload.
    Or can LSMW can be used.
    Please advice for the method of upload.
    With Regards
    Mangesh Pande

    Hi Mangesh Pande,
    Currently I have the same requirement like you.
    So can you please post it, how you solved the issue?
    It will be useful for others also in future.
    So please make it asap.
    Thanks in Advance!
    warm regards
    Senthil Kumar

  • Mass upload of documents over FlexUI

    Hi,
    is it possible to implement a mass upload of files to the portal km over the FlexUI?
    Best regards,
    Thomas Kuri

    Hi Thomas,
    with FlexUI, unfortunately, the possibilities that you have regarding your requirement are very limited.
    To implement an enhanced upload to KM it is advisable to either use GWT (Google Web Toolkit) or the preferred and recomended language WebDynpro Java.
    You can find here on SDN a tutorial on [Uploading and Downloading Files in Web Dynpro Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71].
    In a past project, we added the multiple file selection capabilities by using Flash Objects, and enabled the communication between Flash Objects and the WD Application via Java Script and EPCF event junction.
    Hope that helps,
    Robert

  • SharePoint 2013 : Uploading a document with embedded objects

    Hi all,
    I have a scenario, where my client ask how to upload a document which has embedded documents.
    Grateful if someone can help/guide me please.
    Many Thanks & Regards
    vinay

    Hi Vinay,
    from the GUI or through code?
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Mass upload of documents through SAP Archive Link

    Hi Experts,
    Our client is having a requirement, to upload legacy (old) data from third party tool to DMS Content server through Archive link. Tool is implemented and it works fine for attaching individual document along with SAP Object like, Purchase Order, material, etc.
    We dont have any idea as how to upload bulk of drawings for material, need your advice on this.
    Regards,

    Hi,
    I am trying to get more info on how to bulk upload employee documentation through SAP Archive Link' OpenText Enterprise Scan into the categories in OAWD. Once the documents are in Enterprise Scan the Administrator needs to link these to the categories in SAP. This is a manual process - is there a way to bulk upload these documentation to the right categories? Since these documents vary I am not sure that OCR will be a help.
    Pleae could you help in this regard.
    Thank you.
    Regards,
    -- Gustav de Bruyn

  • Mass upload of documents

    Hi,
      The requirement is to automatically upload hundreds of documents from a website to Solution Manager.
    What is the best way of doing this?
    Thanks,
    Kashyap

    Hii,
          i think you should use LSMW for the same.Morover if you want to make any changes to specific data  you can do it easily.
    Regards,
    Shweta

  • Issue while uploading the document with VA02 and VA03

    Hello Experts,
    Can any body please help me out from this issue, as while uploading the PDF's, docs from VA02, VA03 in ECC6 EHP7 system.
    Steps to reproduce the issue - TX. VA02 --> service object --> create an attachment then we are facing like below
    Thank you in advance,
    Bhaskar N.

    Hi Bhaskar,
    Please check Tcode: SKPR08 - Category for Document Class) contains the Content server repository settings
    change the category of SOFFPHIO class to R/3, then you will able to attach any documents
    I hope it will help.
    BR
    AKJ

  • Mass uploading with ArchiveLink?

    Dear Expert,
    We are uploading HR documents with Archivelink through Tr. code OAWD. for that we allready created different Object(Archive) links for diff. Infotypes and there is no problem in uploading documents one by one for diff. Infotypes of each employee.
    But currently as per requirement, we needed to upload around 20000 employees documents for 10 different Infotypes.
    I want  procedure/method/suggestions for mass uploading of documents with ArchiveLink as manual procedure is time consuming.
    Thanks in advance..

    Hi Sam,
    based on your request maybe the information in the SAP online documentation (http://help.sap.com) could be useful under:
    => Help => SAP Library => Human Resources => Personnel Management (PA) => Personnel Administration (PA-PA) => Storage Within Personnel Administration (PA-PA)
    For using SXDA to generate DMS document info records please see the SAP note 817743. But as you are looking for a solution on HR documents maybe another Report needs to be choosen.
    Best regards,
    Christoph

  • Mass upload in KM maintaining the up-to-date versions of documents

    Hello guys,
    I need to do the Mass Upload in Repository Manager (persistence mode DB) in KM.
    My documents are stored in a file system, where they have versioning control. I need to upload the documents in portal with the up-to-date version.
    I have activated the versioning in the folder that I intend to upload the documents, but when I have done the upload, the documents have stayed with versions number = 1.
    Could you tell me what I need to do for upload the documents with the up-to-date version number, for example, if a document in file system has the version number 5, when I do the upload in the portal, the document should stay with the same version, 5 instead 1.
    Regards,
    Mary

    Hello Julian,
    Thanks for your help.
    There is only one document. There arenu2019t any old versions of document, the version of the document is kept by the author in the document, but only as a reference, to indicate that the document already was modified x times.
    The situation is like that:
    You open the Microsoft Word application and you created a document.
    You have the necessity to modify the document.
    You open the document and modify it and save it.
    Now the document has 2 versions, but the document is the same, no document is created from this.
    Inside the document in the second page, the author kept the versions, for example, the author creates a table where he specify the document version, like that:
    Version     Date            Author     
    01      13-08-2008        Mary
    02             14-08-2008        Mary
    I want to know what I need to do for when I upload the document in the portal, itu2019s appears with versions = 2 instead 1.
    Any idea about it.
    Regards
    Mary

  • Need to create a mass upload program for appraisal document creation for multiple employee in abap hr

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi,
    I have done appraisal document creation for bulk using txt file.
    this fm used for single for creation in standard tcode (phap_prepare):  'WZ_HRHAP_0DOC_WZ01_START'.
    So create ztcode  usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
    While recording for single I have used manual option instead of automatic .

Maybe you are looking for

  • Oracle OLEDB Provider

    Good Afternoon: I am having trouble running sql thru VB with the Oracle OLEDB provider. The sql runs fine with the MSDAORA provider. My error is 'missing right parenthesis'. Here is the sql: SELECT b.DIVISION_ID KEY, b.PLAN_TYPE PLAN, 900000 FS_CODE,

  • Add attachment to Opportunity using Enterprise Services

    Hi All, Is there a way I can add attachments (doc,txt) to a opportunity through the services exposed by Enterprise Services in CRM 7.0. Because the stubs generated for "Create Opportunity" does not have option to add attachments. If I browse to the E

  • Regarding a script tracking system

    hi all, I have created one generalized system for script tracking on particulare user. Suppose we have a one application user(DB) scripts -- to create user, DDL and DML etc. and i future any patch script can also be there. and i want to keep track of

  • Tablspace used size in mb

    hii everybody, i have script to check tablespace usage and it is working fine but the problem is just used space is showing in '% ' i want used space in 'MB'.can anybody help me,how i get used space in MB? the script and its output is shown below,you

  • Windows Server 2008 vCenter [2 management vSphere)

    In fact we have a question a bit special we create an information technology infrastructure to create virtual machines. The problems we face now is to take the remote desktop server (vCenter) 10.1.1.120 can make the lan ping them and wan to connect,