Error in Checking in & storing files

Hi All,
I have created an RFC that creates DMS document using BAPI_DOCUMENT_CREATE2.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
  EXPORTING
    DOCUMENTDATA               =  BAPI_DOC_DRAW2
   PF_FTP_DEST                = 'SAPFTPA'
   PF_HTTP_DEST               = 'SAPHTTPA'
IMPORTING
   DOCUMENTNUMBER             = G_DOCNUMBER
   RETURN                     = BAPIRET2
TABLES
   DOCUMENTFILES              = GIT_BAPIDOC_FILES2.
This RFC is called on Portal through Java Web Dynpro Component which takes filename from the WD java screen and passes it to RFC.
When i execute this RFC in SE37, i am able to create document but when i execute it through portal, i am getting the error :
Error in Checking in & storing files :<Filename>
Please guide through.
Regards
Shruti

Hi Shruti,
please note that DMS BAPIs require always a SAPGUI channel or open RFC    
connection to start the SAPHTTP/SAPFTP program that is used to up- or     
download files to the client. If the BAPI ist executed in background      
mode, the system doesn't know from where to get the original file.                                                                               
Please do not use BAPIs in background mode, use APIs instead. They are    
more flexible regarding RFC calls (background processing). I hope the
SAP note 504692, which contains sample programs for special          
checkin/checkout cases could be useful for you. Please read this note and use the sample          
programs as a basis for your own coding. Further please see also note     
796709 which also might contain useful information for such cases.        
Best regards,
Christoph

Similar Messages

  • Error While Checking In & Storing

    Hi Guru's
    There are some documents which  are stored in our legacy system.We are trying to transfer documents from legacy to ECC6.0 through java connector.
    In java program we have done the coding by calling the function module BAPI_DOCUMENT_CREATE2.When we run the java program we are getting the error as Error while checking in and storing although we have defined the storage category
    While if we run the same java program by defining the storage category as SAP-System, documents are getting uploaded in 4.6 system and we are unable to find out  the Storage category SAP-SYSTEM in 4.6 system
    Kindly let me know how to resolve this issue or is there any way to transfer documents from legacy to ECC 6.0
    Regards
    Bhanu

    Hi Bhanu
    Is it error No 26253 correct me if I am wrong.
    If this is the error the check with basis administrator. Log space must be full or content server must be down due to some reasons.
    With Warm reagards
    Mangesh Pande

  • Error in checking a primary file

    Hi ,
    I am trying to use the CHECKIN_UNIVERSAL idcservice froma standalone java class. I have appeneded the following xml string in my request and trying to use a primary file from my local m/c.
    <code>
    requestString = "<?xml version='1.0' ?><SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Body><idc:service xmlns:idc=\"http://www.stellent.com/IdcService/\" IdcService=\"CHECKIN_UNIVERSAL\"><idc:document dDocName="+param1+" dDocAuthor=\"sysadmin\" dDocTitle="+param2+" dDocType="+param3+" dSecurityGroup="+param4+" dDocAccount=''>
    <idc:file name=\"primaryFile\" href =`D:/soapfile.txt`></idc:file></idc:document></idc:service></SOAP-ENV:Body></SOAP-ENV:Envelope>";
    </code>
    But when I am trying to invoke the service from a jsp, I am getting the follwoing error in the response:
    <idc:field name="StatusMessage">Content item &#39;test&#39; was not successfully checked in. The content item must have a primary file.</idc:field>
    I need to fix this urgently. Please help!!.

    I've tried to not use CHECKIN_UNIVERSAL. I've written java class (extends ServiceHandler) that changes some binder parameters.
    Written Service on top of this:
    <tr>
         <td>TEST_CHECKIN_BYNAME</td>
         <td>DocService
              34
              null
              null
              null<br>
              null</td>
         <td>3:determineID::2:null
    3:doSubService:TEST_CHECKIN_SUB:0:null</td>
    </tr>
    <tr>
         <td>TEST_CHECKIN_SUB</td>
         <td>DocService
              34
              null
              SubService
              null<br>
              null</td>
         <td>3:TEST_prepareMetaData::0:null
    3:prepareCheckinSecurity::0:null
              3:checkSecurity::0:null
              3:doSubService:CHECKIN_NEW_SUB:0:null</td>
    </tr>
    So:
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in my method TEST_prepareMetaData Checkin succeeds.
    2. If I do not put m_binder.addTempFile(tmpFileName); //tmpFileName is the link to file being uploaded
    The same error is thrown: "The content item must have a primary file"
    First question: Why?
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in method TEST_prepareMetaData Checkin succeeds - status message "<idc:field name="StatusMessage">Successfully checked in content item 'TTT_0000001'.</idc:field>";
    BUT there is no content item in the ContentServer!!
    Seqond question: Why?

  • Get error when checking out jsp file from cvs when Jdev is running in linux

    I have JDev 9.0.3 andd CVS running in linux with same build version.
    When I check out a project one jsp does not show up in the IDE but shows in the file folder correcly when I edit it thru vi.
    I get this error when I try to edit in Jdev.
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.html.HtmlSourceNode.reopen(HtmlSourceNode.java:159)
         at oracle.ide.model.TextNode.open(TextNode.java:150)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:375)
         at oracle.jdevimpl.webapp.html.HtmlSourceNode.getInputStream(HtmlSourceNode.java:239)
         at oracle.jdevimpl.webapp.editor.jsp.JspPreviewer.updateDocument(JspPreviewer.java:344)
         at oracle.jdevimpl.webapp.editor.jsp.JspPreviewer.open(JspPreviewer.java:161)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditorInFrame(EditorManagerImpl.java:648)
         at oracle.ide.editor.EditorUtil.openExplicitEditorInFrame(EditorUtil.java:33)
         at oracle.ide.cmd.OpenEditorCommand.doit(OpenEditorCommand.java:45)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:363)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:115)
         at oracle.ideimpl.editor.EditorManagerImpl.handleEvent(EditorManagerImpl.java:1902)
         at oracle.ide.IdeAction$1.run(IdeAction.java:579)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

    Hi,
    When you are starting service in OS, you are actually starting the maxdb instance service .
    You can set it in auto mode so that you will not get this error.  The OS service only establishes the connection to SAP.
    As a part of CS install, from CSADMIN part it is just required to send the certificate successfully to OAC0.
    Normally no activity is required to be done to under SICF from CS install point of view.
    Anirudh,

  • DMS Error in checking and storing

    Dear Sir
    While attaching document and retriving it to open we receive above error.
    regards
    kunal

    Hi,
    Please check,
    data carrier has to be configured, in SPRO[Tc-DC20]
    make it PC front end as Default.
    this should, work.
    Benakaraja
    ??P
    Edited by: benaka rajes on Sep 10, 2009 2:04 PM

  • Error while checking in file in DMS_C1_ST

    Hi All,
    i am getting error while checking in word file in DMS_C1_ST.
    I have two users, for one user there is no error while for the second there is an error.both these users belong to the same client.
    please let me know whether any authorization object is missed out in second user.
    the error is "error while checking in and storage,
    c:\documents and settings\administrator\...."
    error message : 26253
    Thank You,
    Manoj

    HI
    Check customization in DC20 for users.
    else maintain defualt entry.
    Also if u feel the problem is because of authorizations.
    after system issues error, give /nsu53 to check auth object
    Niranjan
    Let me know if it helps !!!

  • E26 253 Error while checking in and storing: \\sapserver\file.tif

    Hi Experts,
    I have now been fighting with this problem for a couple of weeks, and not been able to solve the issue.
    My problem is to upload/check-in documents from the application serve in background.
    I have a program to create DIF and attach files using BAPI_DOCUMENT_CREATE2.
    When I'm running the program in foreground there is no problem.
    When I run it in background I get the error message E26 254 Error while checking in and storing:
    sapserver\file.tif
    I have checked that the background process can see the document on the server and that is OK, so the problem must be within the actual storing of the document in DMS in the BAPI.
    Any input to how I can solve this issue is appreciated.
    Thanks in advance,
    Thomas

    Hi All,
    We have now done some testing.
    We got it to work on one of our systems but not on the other
    I ran report RSCMST on both systems with the same backend directory. (A directory on the application server of the one that fails).
    Running this report I get this result on the system that does not work.
    HTTP interface test using function group SCMS_HTTP
    21.06.2010 14:39:01
    serverInfo:
    contRep                   ZEBAN
    contRepDescription        PR Attachments
    serverStatus              running
    serverVendor              Copyright SAP AG, All rights reserved 1998, 2001
    serverVersion             6300
    serverBuild               193
    serverTime                123902
    serverDate                21.06.2010
    serverStatusDescription
    pVersion                  0046
    contRepStatus             data(89%) log(1%)
    contRepStatusDescription
                                                      ok           58.848
    create(1): new doc (frontend)                     ok          445.211
    create(2): new doc (back end)
    check_subrc: subrc     2  instead          0
    check_subrc: HTTP error: 400 Bad Request
    create(2): new doc (back end)                    error
    docGet/create(1): copy document                   ok          105.684
    info(1): existing doc                             ok           26.881
    update(1): new comp                               ok           47.050
    info(2): after update                             ok           30.458
    delete(1): unknown doc                            ok           33.061
    delete(2): unknown comp                           ok           31.669
    delete(3): existing doc                           ok           53.330
    delete(4): deleted doc                            ok           34.781
    delete(5): existing doc                           ok           31.088
    putCert:                                          ok           35.785
             1  errors
    Any ideas to what could be wrong?
    Thanks in advance.

  • Error while checking in and storing

    Dear All
    I am trying to attaching a file using CV01n, when i am doing for check in - i am getting following error message
    Error while checking in and storing
    Message no. 26253
    What may be the issues, even my my repositories working fine ( configured contentserver, status is active)
    Regards
    chandra

    Dear Chandra,
    please check in transaction OACT if the storage category is assigned to the correct content repository. Further please read also through notes 707568 and 833576.
    Best regards,
    Christoph

  • Error while checking in and storing: C:\Documents and setting*

    hI,
    I hace install the content server and i made content repository also.
    everything I made on development server, and the original application file is getting check in also.
    now when I tried to check in it in test sever, it giving me error like  Error while checking in and storing: C:\Documents and setting
    I transported all request like content repository and all to  test server from development server.
    regards,
    nitin

    Hi, Nithin,
    Check this also in development
    In your local machine Goto
    C:\windows\system32\drivers\etc
    There will be file called "hosts"
    in that file plz specify the IP of the content server.
    Eg;
    <IP address> <Content server name>
    102.210.23.186 My Content server
    Save the file.
    Restart the machine and then try check-in the file in content server.
    Regards,
    Ben

  • Error while checking in and storing: C:\Documents and Settings\Administr

    Dear
    Whille saving then document in dms , i am getting this error.....
    Error message is : "Error while checking in and storing: C:\Documents and Settings\Administrator\My Documen...."
    Message Number is 26253
    R Karthikeyan

    Hi all,
    Similar kind of issue occurred in one of our webdynpro applications of SAP NetWeaver Portal-
    The error message "Error while checking in and storing" was returned by the BAPI while trying to replace documents in the DMS Server via portal.
    But the documents were getting stored in the back end by the use of standard T-Codes.
    Later it was found that ABAP tables COMPONENTS & COMPONENT_DATA are inconsistent by looking into the HTTP trace file.
    The HTTP patch "http.c#21" was being used in our server.
    SAP suggested the below mentioned steps-
    -->Download the most recent SAPHTTP version & install it.
    -->Then delete the RFC connections SAPHTTP & SAPHTTPA through T-Code SM59
    -->Regenerate them again with report RSHTTP05
    They were carried out in our ECC server & the issue was resolved.
    Please try them out if applicable in your case & let us know.
    Thanks & Regards,
    Shreyashri Kar

  • Error while checking in and storing: C:\Documents and Settings\user\Desktop

    Hi all,
    I'm getting  the following Error while checking in original to Content Server
    "Error while checking in and storing: C:\Documents and Settings\user\Desktop" Message 26253
    OAC0, OACT, CSADMIN settings seems to be Ok .
    Settings in DMS SPRO - in dc10, dc20(data carrier used PC)- everything fine
    -Authorization issues are not there
    Earlier checking in was possible with same settings, but now we are getting this error.
    From my end i had test the RFC Connection (SAPFTP, SAPFTPA, SAPHTTP, SAPHTTPA) through SM59 and its test run was successful. So the possibilty of RFC Failure was ruled out.
    I knew this problem was arised as there is some issue in Content Repository, but not able to trace it out.
    If any one knew what to do in this case, then let me know.
    Secondly, what are the things need to be checked to identify the content repository Checking in Issue.
    Regards,
    S Anand

    Error Resolved.
    I had only executed the below command
    ./dbmcli on SDB>db_execute SET LOG AUTO OVERWRITE ON
    OK
    seems like Log file was full. but now its working.
    Thanks for your suggestion.
    Regards
    S Anand

  • "Error while checking in and storing C:\.........." in ACADM CAD View

    Dear All,
    I am working in an environment :
    SAP ECC 6.0
    Content server Version 6.4
    PLM Integration AutoCAD 4.0
    In AutoCAD Mechanical while Check in Drawing using KPro through CAD View I am encountering an error : "Error while checking in and storing C:\.........."
    ACADM  Log:
    Command: _qsave Using configuration "SaveAsDialog" for document creation for
    Drawing2.dwg.
    Starting SAPGUI ...
    Assigning file "C:\SapWorkDir\AcadM\SUKAN-TEST-7_DRW_000.dwg" to document
    SUKAN-TEST-7/DRW/000/00.
    Reading titleblock data for SUKAN-TEST-7/DRW/000/00...
    Updating document info record SUKAN-TEST-7/DRW/000/00 ...
    Command:
    Command: _SAPCADDESKTOP2
    Command: Working without change number.
    Updating document info record SUKAN-TEST-7/DRW/000/00 ...
    Reading titleblock data for SUKAN-TEST-7/DRW/000/00...
    Updating document info record SUKAN-TEST-7/DRW/000/00 ...
    The same ACAD Drawing I am able to check in through SAP Transaction CV02N.
    Plz share your views to sort out my Issue.
    Thanks & Rgds,
    Sukan
    [email protected]

    Sukan
    Is the issue resolved.
    Check in content repositories, just check if the repository which u tryin to Check In the document(CAD file) is giving u response..
    i guess there must be some problem from server side.
    just ask basis @ the same.
    dont change config okk...
    Niranjan

  • Error while checking in and storing:Message no. 26253 - CV02N

    Hi Friends
    I have received the following error  Error while checking in and storing:Message no. 26253 while check in of file in Content Server.
    I have done all seeting such as Creation of content repository, Storage category.
    Content server is also installed properly as per installation guide.
    Is note SAP Note 1327343 applicable for me.
    With Regards
    Mangesh Pande

    Christoph Hopf
    First thanks for the tip, my problem is that the Basis configured the server content in DMS because, will be used two servers.
    I configured Data Carrier Sets / Sets date carrier type "server, front end".
    Type (data carr.type) / Description / Path               /  CAD system / Online
    80                 /                  DMS Jundiai  /  Z_EMP_JD / 80                  /  X
    I view an attached file in DMS normally, however when I make the check in Orig. the error occurs.
    HTTP error: 500 (Internal Server Error) " ;ODBC State 00000; Error Code 26729080"
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    500 (Internal Server Error)
    " ;ODBC State 00000; Error Code 26729080"
    An error occurred when calling module SCMS_DOC_CREATE_FILES
    Message no. 1R579
    Diagnosis
    Exception number 6 occurred when function module SCMS_DOC_CREATE_FILES was called with document 00155D0216091ED1BE84D6471C796DB4.
    Since ja thanks for the help
    Márcio

  • CAD Desktop - error while checking in and storing...

    Hello SAP gurus',
    We have one problem regarding the CAD Desktop functionality, and we believe that you could help us!
    We are doing some tests with CAD-SAP Integration, and when we try to check in document in CAD Desktop, we receive the following error: "Error while checking in and storing c:\...".
    Funny thing is that we can check in originals "manually" in SAP GUI when we open DIR, but when we try to check it in via CAD Desktop it is not possible.
    In some previous posts I have seen that "hosts" file should be maintained properly, but what bothers me is that we are not using real content server yet (we are still in a test phase and we are checking in documents directly to SAP database).
    Does anybody have some idea what could cause this problem?
    Thanks for help guys!
    Regards,
    Karlo

    Hi,
    For viewing the CAD files Content sever will support. The exact technical stuff I don't know.But as per the previous experience I am sure that if you install k-pro your purpose will get fulfilled. The content server feathures you can get and may know the reason.
    But once you install a separate content server instead of the current storage system, your problem will get resolved.
    Regards,
    Ravindra

  • ALE/ IDoc: Error while checking in and storing

    HI Gurus,
    i need to send Documents from one system to an other System. I use BDA5
    Both system are using different File Systems and the DMS Archive is also different.
    I can send the DOCMAS without errors. When i Try to process the Documents i can not process IDocs which have a file (Segment E1DRAWFILES) included. i get the Error messages Error while checking in and storing
    I also sent some IDocs which have no files (no segment E1DRAWFILES) and these can be processed. Has anybody an idea whats wrong? If i use normal transaction CV0xN i can upload and checkin documents.
    How can i convince SAP to successfully process the IDocs with files from the source system?
    Thanks in Advance
    Udo

    HI,
    Udo,
    1.  Are you taking about business document?
    or
    2. SAP dms Document?
    If DMS doc then send details regarding document type, and business object used in definine document type for object linking.
    In DC10 U check flag in define object linking, Object chek from ALE[Set flag]
    for business document i think differen procdure while defining your document type. i guess.
    Benakaraja

Maybe you are looking for

  • Changing a number in a biljart ball

    Hi, I want to go from ball 13 to ball 1. Changing the color is no problem. But changing the numbers is. Any advice is appreciated.

  • Asset master business area change

    I upload legacy assets using one business area now my user want to change the business area. I checked in asset master  it is in display mode only. what i can do? with out creating any new asset and transfer the values.is there any way to update the

  • Caching Long Objects

    Hi, I would like to know why is Long objects are not cached internally and pooled in Java. Since Long objects are immutable there shouldn't be any problem in doing this right? Let me know am I missing anything here...Currently for one of my applicati

  • Snow leapord 10.6.3 on PC with instalation disk?

    ok so i was just wondering if i had a snow leapord 10.6.3 instalation disk could i just pop it into my windows xp computer could i install it and run it on my pc? and still have windows xp and snowleapord on one computer? stupid questions but im just

  • T450s booting problems

    I've just received a new Thinkpad T450s [intel Core i5, 4GB ram, 240GB SSD] and it booted alright the first time, but since then every time I try to start it up it instantly gets stuck on the LENOVO screen. No loading symbol, no "to interrupt normal