File not uploaded in DMS

Hi , I am Trying to upload file into DMS Through my module pool application Using BAPI_DOCUMENT_CREATE2 i am getting no Error message and the document number is also getting genrated but my files are not being uploded in DMS.
I am writing code below that i m using to upload file.
LOOP AT IT_FILES INTO WA_FILES.
DATA : P_FILE TYPE FILEP,
           P_FILEEXT TYPE DAPPL.
DATA IT_DOCUMENT TYPE BAPI_DOC_DRAW.
DATA  MESG TYPE STRING.
DATA  WA_DOCUMENTDATA TYPE BAPI_DOC_DRAW2.
DATA  WA_RETURN TYPE BAPIRET2.
DATA  IT_DOC_FILES TYPE STANDARD TABLE OF BAPI_DOC_FILES2.
DATA  WA_DOC_FILES TYPE BAPI_DOC_FILES2.
    P_FILE = WA_FILES-TAB_FILE.
    CALL FUNCTION 'CV120_DOC_GET_APPL'
      EXPORTING
*     PF_DIALOG        =
*     PF_DISPLAY       =
        PF_FILE          = P_FILE
*     PF_TYPDT         =
     IMPORTING
       PFX_DAPPL        = P_FILEEXT
*   TABLES
*     PTX_TDWP         =
    WA_DOC_FILES-WSAPPLICATION = P_FILEEXT.
    WA_DOC_FILES-DOCFILE = WA_FILES-TAB_FILE.
    APPEND WA_DOC_FILES TO IT_DOC_FILES.
    CLEAR  WA_DOC_FILES.
  ENDLOOP.
  WA_DOCUMENTDATA-DOCUMENTTYPE = 'OHD'.
  WA_DOCUMENTDATA-DOCUMENTVERSION = '00'.
  WA_DOCUMENTDATA-DOCUMENTPART = '000'.
  WA_DOCUMENTDATA-STATUSEXTERN = 'RL'.
  CONCATENATE TEXT-001 WA_ZAPPNOTE-APP_NOTE_NO INTO WA_DOCUMENTDATA-DESCRIPTION.
  CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
    EXPORTING
      DOCUMENTDATA               = WA_DOCUMENTDATA
*   HOSTNAME                   =
*   DOCBOMCHANGENUMBER         =
*   DOCBOMVALIDFROM            =
*   DOCBOMREVISIONLEVEL        =
*   CAD_MODE                   = ' '
*   PF_FTP_DEST                = ' '
*   PF_HTTP_DEST               = ' '
*   DEFAULTCLASS               = 'X'
   IMPORTING
*   DOCUMENTTYPE               =
     DOCUMENTNUMBER             = WA_ZAPPNOTE-ATTACHMENT
*   DOCUMENTPART               =
*   DOCUMENTVERSION            =
     RETURN                     = WA_RETURN
   TABLES
*   CHARACTERISTICVALUES       =
*   CLASSALLOCATIONS           =
*   DOCUMENTDESCRIPTIONS       =
*   OBJECTLINKS                =
*   DOCUMENTSTRUCTURE          =
     DOCUMENTFILES              = IT_DOC_FILES
*   LONGTEXTS                  =
*   COMPONENTS                 =
  MODIFY ZAPPNOTE FROM WA_ZAPPNOTE.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
   EXPORTING
     WAIT          = 'X'
* IMPORTING
*   RETURN        =

It was some configuration problem.

Similar Messages

  • Dependant files not Uploading to Server CS5

    When I click "Yes" to upload dependant files to the server, DW doesn't upload them. For example, I added a downloadable PDF file to a page, saved it, clicked PUT to upload it to the server, and then when I went to the web and clicked on the link, I got the White Page File Not Found.
    I have checked in my Site preferences, and my Site Manager and everything looks right, I'm not sure what I'm missing?
    Thank you!

    Sure, here is the page I worked on today. I added the very first link you see on the page, "Event Flyer"
    http://www.slaalosangeles.org/events
    Then I saved the page, and PUT the events.html, and the page uploaded correctly but is missing the PDF for the flyer. I intentionally didn't select it and upload it on its own because I wanted to test the dependent files feature.
    Thanks for the help.

  • Png files not uploading

    I'm using a couple of png files on a page. If I upload the page and choose to upload the dependent files - which would include the png files - the png files never upload to the server. Jpg and gif files get uploaded fine, but not png. When I view the files in local view, the png files have red slash through them. What the...? CS5.5 is what I'm using. Any clues?

    When I view the files in local view, the png files have red slash through them.
    The red slash means that your png files are "cloaked" (to use DW lingo).
    Cloaking is a feature in DW which enables you to mark file types or folders to be excluded from site operations such as Get and Put. e.g. you might upload a huge file just once then exclude it from future Puts to speed up your workflow. Sounds like your pngs have been cloaked inadvertently.
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7ef0a .html
    Cload and uncloak specific file types
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7e9ca .html

  • Video file not uploaded

    I made some links to video files. I had done this before with audio files, published the site via .mac and it worked fine.
    Now with videos I make a link to a video file and it works sometimes, and sometimes the file is not not loaded to the web. Strange - why?

    I tried another FLV file with the same result.
    I uploaded to two separate servers - on the secure server I did the old "drag and drop".
    On our non-secure server, I was able to export the SWF directly to that web folder system.
    Either way, I received the same result.
    Neither video will open in Adobe Media Encoder (another program I have but know nothing about) - I received the a File Import Error stating "The source compresssion type is not supported."
    They both open and function fine in Adobe Media Player (and if exported as SWF to my desktop).

  • Files not uploading properly.

    I'm having some problems uploading and accessing files that I am uploading on the web. after I finish with iweb i click publish, once the files have been uploaded I visit the site and I cannot see any of the pictures I have uploaded and I cannot even navigate between the pages that are on the site. I have been in the idisk and deleted some files in the folder that has the files for the sites and I think i have made matters worse by doing so. Is there anyway I can revert to a working situation. I know I have been a bit daft going in there and deleting index files and what have you. anyway hope there is a solution for this as I need to have these pics up and running for work. Thank you again for support.
    David

    Countless people have done what you want to do without problems, so something must not be quite right in the uploading. Please provide your url plus the name of your site inside the iWeb app, plus the name of your topmost page inside the iWeb app.
    Here are some general tips you might check:
    http://homepage.mac.com/thgewecke/iwebserver.html
    If you like, you can email me your login info for Godaddy and I can check your space and see if anything looks out of place (tom at bluesky dot org).

  • ICloud files not uploading

    After logging in to iCloud I don't seem to be uploading any files. Can anyone help please?

    How are you checking?  Via some iDevice(s)?
    Logging in to icloud.com via web browser?
    Also be aware that the only documents and data that
    will be uploaded will be from Apple applications such
    as Preview, Pages, Numbers, etc.  With these apps,
    I believe you have to set the documents to be stored
    in iCloud.  They are not just automagically moved from
    folders on your Mac.

  • Some Files not uploading to host server..help!

    Hi, I am doing my first website on CC, and when i upload the files to the server, it is not putting all (3) of the files over. It says they may not exist(they do),or check permissions.  I must tell you, that i clicked cancel the first time when uploading.  Maybe this has corrupted these files?
    Any help would be greatly appreciated.

    You're not giving us much to go on.
    Are you working within a defined Local Site Folder?
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.

  • Files not uploaded to iCloud

    It looks as if the files on my iPad & iPhone were uploaded, but they don't appear @ https://www.icloud.com, nor are they synchronized.
    Any hints what I could do?
    Thank you!

    On the iPad and iPhone tap Settings > iCloud
    Swtich Documents & Data off then back on then reset the devices.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.

  • Dw cs4 ftp - not uploading modified dependant files?

    Hi, Ive made some changes to my css and worked on a few images, just over-writing them so they still have the same name.
    I then uploaded the modified files but it still displays the old images and doesnt show the changes in the ccs?
    Ive even uploaded the entire site again with no result :<
    ps: Im working from a template, and all my pages are child pages from the template, all sharing the same css. Ivé cloaked the template but the css file doesnt have a red line through it.. dont know if this would affect anything.
    reagards
    Edit: Ive even tried to delete the style sheets and images by pressing delete in local and remote split view, and then re-upload them to no avail.
    Does the host server refresh only so often or something?
    bleh.. please help

    Ive even deleted all the files I uploaded on the server and re-uploaded them and still, it doesnt load using the modified ccs, calling up the old images and not applying the changes I made to a menu.
    The only thing I can think of is that its uploading them to a new folder if it is able to call up images ive deleted but I havent changed and ftp settings so why would this be.
    I also inserted a image, not related to the css and that gets called up... so im really lost?

  • ADD FILES FOR UPLOAD - IMAGE PATHS DO NOT WORK IN WIDGETS

    Hi There
    I'm trying to add my own images to a widget I bought from Qooqee - the Wrapper_v2 image slider. But when I try to add my own images with the image path it doesn't work. I've tried adding the image with 'Add Files for Upload' - and then using the full path which I get from right clicking on it in the assets panel - but it still doesn't work.
    Most of the widgets require you to either specify the image path, or an external URL. I do not want to use a third party image hosting site to get URL's for every image I want to use on the site - so I just need to know what I'm doing wrong with the Add files for Upload - why do my file paths not work in the widgets?

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???
    Also, you need to ask for help from the widget maker

  • Long file name document is not uploading in SharePoint Document library?

    Hi,
    My pdf file name length is more than "90" character. I could not upload this file by using "Open with explorer" option.
    Could any one tell me the way to upload kind of files?
    Thanks & Regards
    Poomani Sankaran

    There is a limitation set by Microsoft on the URL path length of 256 characters, refer - https://technet.microsoft.com/en-in/library/ff919564(v=office.14).aspx
    This restriction is with IE browser and you will not see this in other browsers.

  • Some chinese character file name not uploading in SharePoint Document Library?

    Hi
    Some Chinese character pdf file name not uploading in SharePoint Document Library. I am getting following error.
    1. File not found error if i would upload using file browse option in Doc Lib.
    2. Can't read from the source file or disk. if i would tried to copy and paste using "Open with explorer" options.
    File name is "LA(未签署).pdf"
    Note: This file has been converted from "TIFF" to "PDF".
    Thanks & Regards
    Poomani Sankaran

    Hi Poomani,
    For troubleshooting your issue, please let's verify the followings:
    Whether other pdf file which are not converted from "TIFF" and contain Chinese char could be uploaded into the SharePoint Document library.
    Whether other pdf file which are converted from "TIFF" and don't contain Chinese char could be uploaded into the SharePoint Document library.
    Please upload these pdf files into other libraries, compare the result.
    Please check the log file to find more information about this issue. The path of the log file is:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Powershell, design manager, uploading html file not creating associated master page file

    I am uploading a xyz.html file through powershell for 2 site collections, when .html file is uploaded and published it automatically creates xyz.master file. It is working fine for not publishing sites collection only, for publishing site collection .html file
    is uploaded successfully but it is not creating associated .master file. If I close powershell console and run again it works successfully.
    another interesting thing I noticed that if I specify "spadmin" account which I used to install sharepoint as  site collection primary administrator, all works well, currently I am using "spsiteCollection" account for primary site collection
    administrator and I am having above mentioned issue.
    powershell script is also running with spadmin account.
    I have ensured .html is checked in and publish properly, If I manually unpublish and publish .html file it creates .mater file. What could be the issue?

    Hi,
    According to your post, my understanding is that you have an issue about upload html file to master page gallery.
    I have used the PowerShell contains in the codeplex to upload the files to master page gallery, it works without any issue.
    https://uploadmasterpages.codeplex.com/
    You can check your PowerShell with this article, or use this bat file to upload directly to check whether it works.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • I can't get gold of adobe - which is annoying me. I have a file that has been uploaded to my creative cloud that i did not upload or have i ever seen before. SO it seems adobe cannot guarantee security and are uncontactable - i think i may leave

    I can't get gold of adobe - which is annoying me. I have a file that has been uploaded to my creative cloud that i did not upload or have i ever seen before. SO it seems adobe cannot guarantee security and are uncontactable - i think i may leave

    Since this is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Photo will not upload my pictures from the same camera that always worked in IPhoto.  Says "could not be imported (may be unrecognized file type or files may not contain valid data).  So how do I do it?

    Photo will not upload new photos from same camera that always worked in IPhoto.  Says "could not be uploaded )may be unrecognized file type or files may not contain valid data).  Help!

    Try image capture or a card reader - after the photos are safely on your Mac then use the camera's format command to reformat the memory card
    LN

Maybe you are looking for

  • Iphone 3G MMS not sending

    Hello. Just the other day I finally updated my iphone 3G so I could send MMS/ Picture messages but it doesnt seem to be working. Whenever I try to send an mms it starts to send (the sending bar comes up) but it can never fully send the message and th

  • Document numbering issue

    Dear all,        I want to display the document number as follows,    for Sale order SO-RC1-08-09-0001 In Document Number Setup if am giving    SO-RC1-08-09in Name field it shows error because of lenth so am giving  SO-RC1-08-09 these information in

  • Cannot find file, would you like to locate it?

    I know others have seen this message and they have found where the song or songs were located, but I cannot find where they are located. It has not happened to all of the songs but about 25% of them. How do I locate them so I can play them again? How

  • System time in Business Connector

    Hi, Where does Business Connector retrieve its System Time from? Currently I have an issue where it is one hour ahead of current local time. The time on the server on which it resides on is correct. In BC Developer I have a service which forces BC to

  • Create Parent Node programmatically

    Just wondering if it is possible to add Child ScopeNode on clicking Custom right click action on custom Node. ScopeNode object, appeared after I handled action in my test assembly has scopeNode.Children.Add() method. But, I'm not sure how can I creat