Error in Check in of Originals by BAPI In background

Hi Friends
We have requirement to check in the documents in DMS in background mode using  BAPI_DOCUMENT_CHECKIN_REPLACE2 . Original files are stored on
application server in folder G: drive . When I run this BAPI  in foreground mode it runs
fine. But in background mode it gives error u2018Program no longer
started via RFCu2019. No return possible.u2019 I debugged the BAPI and found that error occurs at
function module 'CV120_FTP_START_REG_SERVER in include LCV120F06.
Error occurs when it calls SYSTEM_START_REG_SERVER.
When this program runs in background it is unable to find SAPGUI.
That is why it fails while calling  function module RFC_PING inside function module
CV120_FTP_START_REG_SERVER at line 28.
I have referred note 505891 for DMS related issues.
But when this BAPI runs in background it fails to check in.
We have also requirement to check in files located at remote FTP location.
Whether this is possible or not.
With Regards
Mangesh Pande

Hi Mangesh,
I'm facing the same problem, could you please give us some further explanations?
->Files are on the same server
->Checkin always fails (RFC-Callback not allowed)
->online works always fine (sure: with gui-download instead of FTP->No probs)...
Does it mean, i need a special Storage category? the one i have has the vault-Indicator...
Thanks in advance for any information and greetings from France...
Guillaume Delorme
Edited by: Guillaume Delorme on May 5, 2010 10:15 AM

Similar Messages

  • Java call rfc check in original:error while checking in and storing.

    hi,experts.
    java call rfc check in original:error while checking in and storing. BAPI in the RFC is "BAPI_DOCUMENT_CJANGE2",
    the RFC was fine in SE37 and calling by Visual Basic. and in java,when mConnection.setAbapDebug(true), and  runing by step and step, was fine too.
    if mConnection.setAbapDebug(false) in JAVA, up error in title was displayed.
    what cause this error?
    Best Regards.

    Hi Priya
    Please use Su53 after getting the error and find any authorization is missing for the user..
    S_GUI Full Authorization is required..
    Since by giving BASIS Authorization its rectificed, then it shud be mostly due to Auth issues only
    Regards
    Aby

  • Error While "Check in" of a orignal in DIR

    Hi All,
    I am trying to attach the orignals to DIR's in SAP. These orignals are PDF files and they are located on a external shared network drive. I need to run this process in background as i  need to upload around 60000 orignals. I am able to upload the orignal successfully with FM "BAPI_DOCUMENT_LOAD" in background mode. But now when i try to checkin the uploaded orignals with FM "CVAPI_DOC_CHECKIN", it gives me an error saying "Error While checking in and storing XXXX". Any clues in this would be very helpful.
    Regards
    Charitha

    Dear Charitha,
    You have placed the file on the application server and trying to access via front end.The presence of file on the application server could be seen via AL11 however you cannot access the file directly from windows. This is the reason you get an error.
    For checking in originals in background, API functions are much more flexible. Therefore please see also SAP note 504692, which includes several sample programs which could be helpful by checking in original files in background.
    The document BAPIs always require a SAPGUI or an open RFC connection, because this channel is required to start the program SAPHTTP (or SAPFTP) on the client for the check-in. When the BAPI is used in background, the system doesn't know where to get the original files from.
    Please note that the functionality you would like to realize is a very special one for which no standard solution exists. However, API-s are more flexible in some cases, i.e. CVAPI_DOC_CHECKIN with RFC destinations defined as SAPHTTPA/SAPFTPA could fulfill your requirements.
    Further please see also the SAP note 796709 which contain also necessary information for this action too. In note 766277 you will find also a complete documentation of all available DMS BAPIs in the attachment. Unfortunately there is not standard solution for such scenarios like explained by you. Because a lot of environment variables could influence the BAPI behavior.
    As additional information source kindly go through the note 729800. This will be of use for the current issue. If one uses BAPI's in via RFC-Lib, the ABAP-System makes a callback and starts the saphttp, sapftp via the open RFC channel. Therefore the RFC-Client has to allow this by calling RfcAllowStartProgram("sapftp;saphttp"). SAP note 144256 clearly describes the process.
    Best regards,
    Christoph

  • 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

  • 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

  • DMS "Error while checking in and storing"

    Guys,
    I am facing a problem like this.
    I am doing UNIT testing in client 220 and as i am in consultant id i can able to check in the original and while saving there is no issue with DIR SAVING.
    But when the core team wanna save any originals in DIR ,check in and while saving they receive a message like "Error while checking in and storing:C:\Documents and Settings\u\Desktop\New Microsoft
    I feel its an authorization problem which should be given to CORE team.
    Help me out how to solve this issue.
    Regards,
    Murali.S
    Points will be rewarded for sure.

    hi
    What are you actually trying to do?
    im not able to get it correctly
    are you using CAD Integration or just normal cv01n
    If core team needs to checkin the docu they should have autho for cv01n and in PFCG u can go to authorization and ask basis to add check in function and assign the role to Core team.
    your Basis team ll help u out
    Reply
    Niranjan

  • BAPI_DOCUMENT_CREATE2 253 Error while checking in and storing

    Hello,
    I am having a problem when I want to execute a BAPI_DOCUMENT_CREATE2 from SAP MII.
    Then i get the following error:
    <TYPE>E</TYPE>
      <ID>26</ID>
      <NUMBER>253</NUMBER>
      <MESSAGE>Error while checking in and storing: C:\Temp\test.pdf</MESSAGE>
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1>C:\Temp\test.pdf</MESSAGE_V1>
    The strange thing is when I execute the BAPI in SE37 (SAP) with the same settings it works great
    Already looked at some SAP Notes and topics here on SDN, but can't find the solution.
    Kind regards,
    Nick

    Hi,
    I am getting the same error.
    Can you plz help.
    Regards
    Shruti

  • 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.

  • QM UD Error Message: Check table XEKBN: entry 45039875220001003 does not exist.

    Hello QM expert,
    I encounter a error when I make a UD. (Please refer to below screenshot. )
    Case 1: I did quantity post to unrestricted use, to scrap, to blocked stock, to new material, to reserves, return delivery. When I save this UD, there is a error message 'Check table XEKBN: entry 4503987522000100310100 does not exist.'  (PS. 4503987522 is PO number, but I don't know what it is about 10031010.)
    Case 2: I fill the same field like Case 1, but exclude to new material. It can be passed, no error message.
    Case 3: I only fill one field [to new material. It can be passed, no error message.
    Could you please give me some guidance? Thank you so much.
    Best Regards,
    Fanchao Bu

    Hi Fanchao,
    Form the inspection lot number range, I believe you are using GR form Purchase Order, right? Please confirm the below points -
    1. Is this a normal PO or Sub-contractor's PO?  Please confirm if this issue is happening for every stock posting like Unrestricted, Scrap, Blocked...? or just for one? Can you try one by one for example, move stock form QI => Unrestricted stock only (and do not combine all types together like the attached screenshot) and suggest if that is working.
    2. If this is a non-valuated material you have used (NLAG) for testing? Are you trying to post materials for previous period? Storage Location SM10 is valid?
    If still this issue exist, then potentially, there is some issue with valuation variant linked to valuation area, which is normally maintained in Configuration OPK9. Paralelly, you can request your ABAP team to check FM MB_UPDATE_VALUE_ENQUEUE_TABLE, Include LMBGBU04, as suggested by the below link -
    SAP ABAP Function Module MB_UPDATE_VALUE_ENQUEUE_TABLE - SAP Datasheet - The Best Run SAP Run SAPDatasheet
    You can also check SAP notes below, based on the business needs:
    1. 403671  - Error M7001: 'Please check table &...'
        401462  - Error M7001: 'Please check table &...'
        201833  - M7001: 'Please check table XEKPO: Entry & &...' 
        2072019  - Error M7001 raised during posting goods receipt
        407265  - Transfer parameter with BAPI BAPI_GOODSMVT_CANCEL (this may be linked to your return Delivery of 1 PC...)
        439945  - GR w/ freight costs for stock transport ordr w/ML currencies
        521090  - FAQ: Stock transfer to stock transport order
        867878  - Inconsistencies in the EKBE table because of conversions
        214814  - M7001/M7361: Table T156M, entry MAA7 2
        1584493  - Overdelivery check for GR blocked stock with GR-based IV
        102863  - GI f.delivery f.a stock transfer w.delivery costs
    2. 409529  - Price differences during goods receipt for purchase order
    3. 1528009  - MAA: incorrect distribution of goods receipt quantities
    4. 1569831  - MAA2: Composite SAP Note after Support Package SAPKH60504
    5. 406973  - M7001: Please check table XEBEFU: Entry does not exist
    6. 70577  - QA11: Error M7001 when posting qty in usage decision (OLD NOTE, May not be applicable)
    7. 824322  - QAC1: Incorrect batch in material document (Old Note, may no be applicable)
    Else, you can speak to MM team and/or FI team to help you better in this case, as I feel there is no much QM issues involved.
    Thanks,
    Arijit

  • 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

  • Problem in Check-in of originals through CDESK

    Hi,
    I am facing problem in checking-in originals through CAD Desktop.
    Problem statement: Once the DIR's are created for CAD documents in CAD Desktop, On Performing Checkin operation, i am getting following error "An error during Check-in may have caused inconsistencies; see note 1674446"
    Expected Result: CAD files should get checked in through CDESK
    Software Environment:
    CAD Application: PTC CREO2.0
    SAP PLM 7.02
    NWBC3.5 Patch level 10
    JAVA 1.7.0_51.
    Internet Explorer:IE8
    Using CV02n, I am able to checkin individual files. Problem is during Checkin through CDESK only.
    Can anyone provide solution for this.
    Regards
    OmPrakash

    Hi
         Have you solved your problem finally? I'm facing the same issue as you mentioned above. Would you mind share me with your solutions? Thanks.
    Best
    Yemi

  • 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

  • Unable to capture error message while creating an SO using bapi

    Hi,
    Can anybody suggest how to capture the error message while creating a SO using BAPI.
    I have developed a customeized BAPI and using the BDC format to create the SO.
    Note: i am using a call transaction method for the BDC.
    I am sending the message into message1.
    but i am unable to send the same into an internal table
    shyam.

    Hi Shyam
    If my understanding is correct, you are performing BDC process within the customized BAPI...
    And you want to collect the messages from BDC to an internal table and pass to the output.
    Proceed as below:
    1. While calling BDC, use CALL TRANSACTION .... with addition: <b>MESSAGES INTO itab</b>. The structure of itab should be like <b>BDCMSGCOLL</b>.
    2. Now the messages will be collected in ita.
    3. Prepare the messages using FM: <b>FORMAT_MESSAGE</b>
    4. Collect to the returning table.
    Hope this helps...
    Though i could not understand the reason of creating a BDC within BAPI, you can opt for loading orders via BAPI's like: BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
    Kind Regards
    Eswar

  • On iTunes while downloading a movie it say error please check that the connection to the network is active and try again what does this mean i have an internet connection !!!

    Help
    I dont understand when i download a movie or tv series on my mac book air i get this error message after buying it! its iTunes while downloading a movie it say error please check that the connection to the network is active and try again what does this mean i have an internet connection !!!

    Hello.
    Certain types of software can affect the way a computer sends and receives information from the Internet. This article may help you resolve the issue:
    Information about error -50 and downloading videos
    http://support.apple.com/kb/TS1583
    If it did not work, contact iTunes Store via (http://www.apple.com/support/itunes/store/) and/or Apple Tech Support via 1-800-275-2273.

  • Error while checking in a document: Unable to execute service

    Hi,
    I am using oracle UCM 11g. When i am checking in a document, i am getting error as "Unable to execute service CHECKIN_NEW_SUB and function validateCheckinData."
    In stacktrace found this is caused by:
    "Unable to find query or idc data source with 'DdeletedRows'. "
    How to resolve this?
    Thanks in advance

    Please refer to this thread ...may be u get ur answer out of it...........................
    Error while checking in and storing: C:\ ..... (Message no. 26253)
    regards,
    Tushar Dave

Maybe you are looking for

  • Export statement in ABAP Objects

    Hi All, I am using A Statment like this a BADI. EXPORT XXXXX TO MEMORY ID 'YYY'. But this statement is not supported in ABAP Objects can any one please let me know how i can use export statment is abap objects? Thanks in advance.

  • IPod touch won't sync all songs in playlist

    My son bought a brand-new iPod touch yesterday. He has been trying to compile his playlist and sync it to the new iPod. He has 41 songs on his playlist and only 22 of them will sync. They are all in the iTunes library and the iPod library, but not on

  • Photoshop CS4 crashes with Filemaker Pro 8.5 open

    Normally, continuous crashes in a new Adobe application results in a fairly quick fix in the form of an update. I let the application report the error codes via the automated submission process. However, I have had this problem for months now without

  • TS1363 iphone 4 has frozen and reboots itself every five minutes

    I uploaded the ios6 3 days ago and since then my iphone has frozen and now keeps turning its self off and starts rebooting.its shows that the battery needs charging and then the apple signs appears and stays for about 5 mins then its flashs,turns off

  • Edit Tab Order Bug??

    I've upgraded from CVI 8.1 to CVI 2010 a short while back, and while working on a project recently, I noticed that the Edit Tab Order functionality no longer seems to work properly.  I still have 8.1 installed on the same PC.  If I open an old projec