Archive Document Error

I am having a problem in archive, My process worked perfect in beginning and i dont know why it is not working now.I get the following error when i checked in adminui
ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy167.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:88)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.workflow.

Hello
i don't know the version of SAP ERP you're using but nevertherless you should bear in mind this detail:
CSADMIN: "digital signature" not checked means you are not using it.
OAC0:"No signature" SHOULD be checked if you are not using it (to be consistent with CSADMIN)
However i am not sure this is solely responsible of your errors; in case of SAP content server, if it works for one user, it will work for the others.
Please be more clearer in your last part  ???
Do you mean only the user having done the check-in of the file who can afterwards access the original (in display and change) ?
what do you mean by "For the other people, it doesn't find the original location" and also by "unless we create the same original location, or we change the original location".
In case of SAP Content Server, we don't care about "location", whether the file comes initially from a fileserver X or Y or Z, as far as the file has been correctly checked-in the content server, it should be accessible for anybody (as far as user rights allow it)
regards
/Sooriya

Similar Messages

  • FI Archiving - System error: Customer/vendor line item not on OI basis

    While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the root cause of these error message.
    Regards,
    Shailesh

    Hi Adisha,
    This error pertains to the accounting fundamentals and SAP does not have anything to do with this....you ask yourself that if you were not using SAP and simlar problem came your way what would you have done...this has no solution...
    Either you wait for the next invoice with big amount but which seems bit impractical..
    In this we really need to consult the Accounting Standards to see what it could allow.
    Regards,
    Chintan Joshi

  • Display Archived Document in Abap Webdynpro without opening new window.

    I would like to create a wd4a application that receives the parameters of Archive ID and Doc ID and displays the archived document.  The document is stored as a pdf on SAP's content server.  Currently the webdynpro will open a separte blank Window.  I have not defined any view elements to the embedded view because I do know which view element I should to display the archived documente.  I have a url to the document and it will get displayed by creating an new window by executing  the code below to launch the file in a separate window.   The Adobe Viewer creates a new window to view the document.  Does  anyone know what view Uielement I should use to view the document in the main window and main view?
    Thank you
    Tom
    data ld_url type dms_url.
    data ls_message type bapiret2.
      call function 'SCMS_AO_URL_READ'
        exporting
          MANDT               = SY-MANDT
          arc_id              = id_archive_id
          doc_id              = id_arc_doc_id
          COMP_ID             =
          DOCUMENT_TYPE       = ' '
          PDF_MODE            = 'A'
          HTTP_URL_ONLY       = ' '
          DP_URL_ONLY         = ' '
           loc_info            = 'F'
          LIFETIME            = 'T'
          NO_CACHE            = ' '
       importing
         url                 = ld_url
       exceptions
           error               = 1
           others              = 2
    assert sy-subrc = 0.
    added by YINS Mar.05 2007
      if sy-subrc <> 0.
        ls_message-type = 'E'.
        ls_message-id = sy-msgid.
        ls_message-number = sy-msgno.
        ls_message-message_v1 = sy-msgv1.
        ls_message-message_v2 = sy-msgv2.
        ls_message-message_v3 = sy-msgv3.
        ls_message-message_v4 = sy-msgv4.
        append ls_message to wd_this->mt_messages.
       wd_this->flush_messages( ).
        return.
      endif.
      data:
        lr_api_comp_controller  type ref to if_wd_component,
        lr_window_manager       type ref to if_wd_window_manager,
        lr_window               type ref to if_wd_window,
        ld_url_str              type string.
      lr_api_comp_controller = wd_this->wd_get_api( ).
      lr_window_manager = lr_api_comp_controller->get_window_manager( ).
      ld_url_str = ld_url.
      lr_window = lr_window_manager->create_external_window(
          url   = ld_url_str
      lr_window->open( ).

    I found a solution after much troubleshooting including uninstalling/reinstalling Office 2010 which didn't solve the issue. 
    Here it is:
    When Outlook or some other Office program is minimized in the taskbar and won't open, right click the taskbar to bring up task manager. 
    Right click the program in the task manager list that is giving trouble and click Maximize.  You should now see a full screen.
    This worked for me and solved the "open and stays minimized" delima.  Hope this helps you too.  Cheers :)
    Thanks a bunch this saved me a potential headache!

  • Problem in reading archiving documents

    Dear All,
    To see the archived documents, I am clicking on "Data Source" tab in the customer/ vendor/ GL line items execution screen (FBL#N, FBL1N, etc). And thereafter I am selecting Archive tab and pressing enter.
    But I am getting a message "Report RFITEMGL is not intended for archiving object FI_DOCUMNT" thereon.
    Please help, why I am getting this message.
    Regards
    B.Mohanty
    09231059960

    Hi,
    FI documents can be also accessed by transaction FB03. This is standard transaction which is archive enable.
    Check few things,
    1. Check you have activated and built the infostructure
    2. Check for Archive index built
    If any one of the above is carried out then FB03 transaction should work.
    Comming to Archive information system - "Report RFITEMER is not intended for archiving object FI_DOCUMENT".
    When you are using AIS to retrieve archive data then above error should not be appering since archive structure retrieves the data from custom program when the infostructure is activated.
    To overcome this please try with below process and post your output
    1. Delete the structure of FI_DOCUMNT -  Path > SARI > FI_DOCUMNT > Status > Delete Status per Infostructure
    2. Delete the Infostructure table and program - Path > SARI > Customizing > Enter archive infostructure > Click on utilities > Delete table and Delete Program.
    3. Deactivate Infostructure - Path > SARI > Customizing > Archive infostructure > Mention infostrucute > In menu bar click on Archive infostructute > Deactivate
    With the above steps you have completely deleted and deactivated Archive infostructure.
    1. Now Activate the Infostructure for FI_DOCUMNT - Path > SARI > Customizing > select Infostrucute > Activate it.
    2. Build the infostructure
    Now with above 2 steps you have reconstructed your infostructure
    Retrive archived FI documents from Archive explorer > by selecting activate and built infostructure for FI_DOCUMNT
    Doing above process you can see the archived FI documents.
    For the User, archive enable transaction FB03 can you help to retrieve the FI documents.
    -Thanks,
    Ajay

  • SAP Archiving & Document Access by Open Text installation problem

    Hi!
    Has anybody successfully installed the "SAP Archiving & Document Access by Open Text"?
    Currently I'm trying to Install the "Runtime and Core Services 10.1.0" - a part of "Open Text Enterprise Library Services 10.1.0".
    The install guides I follow: "Open Text Enterprise Library Services 10.1.0 Installation and Upgrade Guide.pdf" and "Open Text Runtime and Core Services - Installation and Upgrade Guide.pdf".
    All the prerequisites a fulfilled, but the process of installation fails with message "The installation of Runtime and Core Services 10.1.0 returned an error".  There is no any log or trace file created during the installation, so I cannot find out what causes the problems.
    System configuration:
    OS: Windows 2003 SP2 32-bit
    DB: MS SQL 2005
    AS: Tomcat 5.5
    JAVA: JDK 1_5_0_22
    Any idea?

    Hi!
    I had same problem with RCS 10.2.0. I've solved this with good JRE version, see KB : http://knowledge.opentext.com/knowledge/cs.dll/Open/21121763.

  • F.05 fx.val. and archived documents

    Hello,
    It is possible that with the fx. valuation with F.05 tr. (end month closing), also works with archived documents, (XARCH field)?
    I mean, I have Archiving in the company and there are differences betwen BSEG and BKPF archived documents and the FBL3N with BSIS , because these differences are in a G/L account (172630 "Inventory bought back").
    In FBL3N (select open items and Data Source = Database + Archive)--> I see items dated earlier than 01.01.2005 which are not considered by SAP for revaluation with F.05 tr.
    F.05 must consider this archived documents (XARCH field = "x")
    B. Regards
    Francisco

    Hi Khatri,
    This is what I think,
    but if F.05 (SAPF100) run with tables:
            tcurr, t001a,
            t044a, t044b,
            t001, t033, bsbw,
            rfdt,
            kna1,  knb1,
            lfa1,   lfb1,
            ska1,   skat, skb1,  ekko,
            skc1c,                         "used for RFSBEW00
           *skc1c,                                              "#EC NEEDED
            bkpf, bseg, bsid, *bsis,* bsik,bsed, bsec,
            x001, t030h, t003, t030b,  t009,t074,
          t030hb, t030u, (no called with FB
            bhdgd, fimsg,
            rfsdo, sscrfields,rfpdo3.
    and GLT0 is in the type -pools,
    and I check with developer that with my variant u20181171_STEP2_TESu2019 , (if you remember I have LC, LC2 and LC3 and 2 variants for valuation and revaluation), and it do read table GLT0. Basically it is called from two different points in SAPF100
    SAPDBSDF à form UPDATE_YSKC1C, line 2892.
    LF009FSC à form glt0_lesen, line 34.
    And the company (1171) change from TRN curr. to TRY curr. in 2004--> if I check GLT0 I will see in 2005 the difference, that I see when I run the STEP2 variant in F.05
    Table GLT0 (172630 account and Ledger GR "G/L trans.fig.Group valuation")--> as you can see the 459.476,66 (line 1) is that I see when I run the STEP2 in F.05
    Ledger/Vers/Co Code/ F.Year/ Account Num./ Currency/  D/C  /Period/ Transactn curr.       Local currency        Group currency
    GR     001     1171         2005        0000172630     TRL      S            016                    0,00                  0,00            459.476,66     GR     001     1171         2005        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2005        0000172630     TRY      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2005        0000172630     USD      H            016                    0,00                  0,00            459.476,66-
    GR     001     1171         2006        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2006        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2006        0000172630     TRY      S            016            5.554.152,98                  0,00         12.644.329,74
    GR     001     1171         2006        0000172630     USD      H            016            9.039.102,19-                 0,00          9.498.649,78-
    GR     001     1171         2006        0000172630     USD      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2007        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2007        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2007        0000172630     TRY      S            016              554.691,62                  0,00         16.676.674,75
    GR     001     1171         2007        0000172630     USD      H            016           16.299.203,18-                 0,00         16.775.880,94-
    GR     001     1171         2007        0000172630     USD      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2008        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2008        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2008        0000172630     TRY      S            016              423.526,32                  0,00         17.996.377,10
    GR     001     1171         2008        0000172630     USD      H            016           17.737.634,13-                 0,00         18.192.562,18-
    GR     001     1171         2008        0000172630     USD      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2009        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2009        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2009        0000172630     TRY      S            016              652.388,76                  0,00         20.855.532,30
    GR     001     1171         2009        0000172630     USD      H            016           20.398.257,39-                 0,00         20.843.898,09-
    GR     001     1171         2009        0000172630     USD      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2010        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2010        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    GR     001     1171         2010        0000172630     TRY      S            016              913.692,14                  0,00            147.345,51
    GR     001     1171         2010        0000172630     USD      H            016            3.633.807,68-                 0,00                  0,00
    GR     001     1171         2010        0000172630     USD      S            016                    0,00                  0,00                  0,00
    GR     001     1171         2011        0000172630     TRL      S            016                    0,00                  0,00            459.476,66
    GR     001     1171         2011        0000172630     TRY      H            016                    0,00                  0,00                  0,00
    Then I have two possibilities:
    1. When I run STEP2 (revaluation) in F.05 the system give me GLT0 balance (account 172630)--> 459.476,66
    2. When I run STEP2 (revaluation) in F.05 the system give me the total items archived until 2005 = 459.476,66
    This is because I was asking for the archiving documents in the F.05 execution.
    B.Regards
    Francisco

  • Cannot open document (Error: INF)

    We have migrated reports from version Business Objects 6.5.1 to Business Objects XI 3.1 SP2. We have been receiving sporadic 'Cannot open document (Error: INF)' now and again whenever you open Desktop Intelligence reports using Infoview. Have any other users come across this issue using BOXI 3.1 SP2. I do not believe that this issue occurred on SP1.
    This error is very frustrating.
    I have browsed various forums and implemented changes which have had no effect whatsoever including the SAP Marketplace.
    We are also receiving SetPrompts Failed errors. When a report is opened in Infoview and you refresh a report, a blank dialog appears with a red cross. if you refresh the report again then the SetPrompts Failed error appears. I have evene made changes according to article 1364437 based on this error and this has not resolved the issue.
    Regards
    Dipendra

    We're on BOXI3.1 SP2 aswell and we have had the same sporadic issue - Cannot open document for Deski reports. This is causing some serious concern amongst our users over system stability.
    You can recreate the situation by shutting down the InputFileRepository server and you get the same message. I've noticed that when this happens there is a mesage in the fcproc log file 'm_repFileMgr.Download failed'
    My theory is that there may be some congestion in linking between the desktopintelligence server and the inputfilerepository. In addition, we had some logging on the fileserver and at the time of the error there was no mention of the report that failed or any error. We contacted SAP about this but did not get a satisfactory response. There were some heavily utilised DESKi reports which we managed to convert to Webi to take the load off and we also dropped the timeout to 20 minutes (not brilliant but it did mean that if we got the message the users wouldn't have to wait too long before it was resolved in case they couldn't get hold of IT).
    I also upped the parameter for Maximum Retries for File Access in case it was having problems getting the file.
    The result of this was that the error appeared to go away... until yesterday!!!
    Any further insights welcome.

  • "...not a valid Photoshop document" error when opening Mac cc file on PC

    I get a "Could not complete your request because it is not a valid Photoshop document." error message whenever I try to open up a PSD file created on a Mac using Photoshop CC on my PC using CC. Other people have been able to open the file from the same location, so the files aren't corrupted. Anyone know how to fix this?

    I know this thread is a bit old, but I wanted to share my experience and solution in case anyone else runs into this.
    The other day, I spent many hours editing some photos for a client. I saved them all and closed Photoshop. When I tried to open the .PSDs, they all came up with this "Not a valid Photoshop document" error. I was freaking out. I could see the thunmbnails and previews with the MacOS Finder and could see the images just fine in Lightroom, but couldn't open them in Photoshop CC.
    Finally, I remembered that these were NOT supposed to be .psd files! They were supposed to be TIFFs. What happened was, when I edited them from within Lightroom into Photoshop, they opened as TIFFs. However, when I did "save as", I wanted to name them similarly to some other files I had. I clicked on one of the existing files to copy the file name in the Save As dialog to make it easier to name the new file I was saving, but I didn't realize it was changing the file extention from ".tif" to ".psd" as well. The older MacOS (version 9 and earlier) didn't rely on file extensions fo identifying file types, so it didn't hit me right away that this would be the problem. When I changed the incorrect .psd file extension to .tiff, the files opened in Photoshop just fine.
    SO... if you run into this "Not a valid Photoshop document" error, try figuring out if it's actually another file type (.jpg, .tif, .png, etc) by either getting the file info from another program or just experimenting with different file extensions. Chances are good that your file isn't actually corrupt, but just named improperly!

  • Load the document in Firefox (click gmail "Documents") error: The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    load document in Firefox (clicking gmail "Documents", error: "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • Cannot open document (Error: INF) / Session is closed (Error: INF )

    SAP BO XI3.1
    last time I face this one but suddenly disappear during testing, now we once again face this issue. As all users are member of group 'EveryOne' if we add any user membership to administrator group / master group this error resolved for this user.but that is not proper solutions, so far i m unable to find the rights which is lacking to all user for these report which are available in each user infoview and causing these errors while viewing.
    Open Document error message:
    While viewing Web Intelligence reports
    [Session is closed (Error: INF )|http://yfrog.com/0cwebirightsp|Session is closed (Error: INF )]
    While viewing Desktop Intelligence reports
    [Cannot open document (Error: INF )|http://yfrog.com/mjdeskirightsp|Cannot open document (Error: INF )]

    You might need to give read rights to the folder and category this report belongs to???
    If the problem is fixed when the user who is viweing is an administrator, this means there is insufficient privileges for the other users.

  • Change Status of archived document after approval process

    hi how can we change the status of an archived document in KM after it has gone thru the approval process.
    the reason once we archive we cannot resubmit the document for approval.
    thanks

    Hi Venu,
    have a look under System Administration - System Configuration -- Knowledge Management -- Configuration --Content Management -- User Interface -- Commands -- UI Command Groups -- StatemanagementGroup.
    See Java class: com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementGroupCommand. Take the class and decompile this and everything needed around to understand how this class works.
    Then you can choose to extend this CommandGroup to also have a command "Resubmit for Approval" or you can implement your own UI Command only for resubmitting (you will also have to activate your command (group) by settings within the configuration).
    On the other hand, if all this is completely new to you, I'm a bit sceptical if the task isn't a bit too big as a first task on KM implementation topics...?
    Hope it helps
    Detlev

  • FS10N - Not displaying line items for Archiving document

    Hi Experts,
    When we are double clicking on the FS10N accont display balance report to get line item reprot, it is not displaying archived document data. We have also deleted secondary indexes for those archived document.
    We are able to get same report while using FBL3N with Archive info structure loaded with data.
    Please suggest how to do FS10N archive enabled?
    Thanks,
    SamirV.

    Hi Samir,
    You should look at the following SAP notes and implement the corrections:
    792515
    776164
    and 831568 (if you use business areas)
    Regards,
    Eli

  • Problems viewing contents of archived document in archive link

    Good day guys,
    I used the function module ARCHIV_CONNECTION_INSERT to archive a pdf document and I can see that it has been archived in ArchiveLink via T-Code OAAD.
    However, I am unable to view the contents of the file when I click on the link. Can anyone help me on this issue?
    Thanks,
    Bryon

    DATA: l_file_arc     LIKE SAPB-SAPPFAD,
          l_arc_doc_id   LIKE SAPB-SAPADOKID,
          l_sap_obj_id   LIKE sapb-sapobjid,
          l_sap_obj_type LIKE toaom-sap_object,
          l_doc_type     LIKE TOADD-DOC_TYPE,
          l_arc_id       LIKE TOAAR-ARCHIV_ID.
    CHECK sy-mandt = '120'.
    BREAK TZZBLUOX.
    *l_file_arc = '/tmp/file.pdf'.   "Change the file path here
    l_file_arc = 'c:\file.pdf'.
    l_doc_type = 'PDF'.
    l_arc_id   = 'ZT'.
    store the uploaded file on the IXOS-archive:
    CALL FUNCTION 'ARCHIVOBJECT_CREATE_FILE'
      EXPORTING
        ARCHIV_ID                = l_arc_id
        DOCUMENT_TYPE            = l_doc_type
        PATH                     = l_file_arc
      IMPORTING
        ARCHIV_DOC_ID            = l_arc_doc_id
      EXCEPTIONS
        ERROR_ARCHIV             = 1
        ERROR_COMMUNICATIONTABLE = 2
        ERROR_UPLOAD             = 3
        ERROR_KERNEL             = 4
        OTHERS                   = 5.
    If sy-subrc = 0.
      BREAK TZZBLUOX.
      l_sap_obj_id   = '000000000013'.    "Contact log number
      l_sap_obj_type = 'BCONTACT'.
    link the archived document to the business object ‘BCONTACT':
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          ARCHIV_ID                   = l_arc_id
          ARC_DOC_ID                  = l_arc_doc_id
        AR_DATE                     = ' '
          AR_OBJECT                   = 'ZSTDLTR'
        DEL_DATE                    = ' '
        MANDANT                     = ' '
          OBJECT_ID                   = l_sap_obj_id
          SAP_OBJECT                  = l_sap_obj_type
          DOC_TYPE                    = l_doc_type
        BARCODE                     = ' '
        EXCEPTIONS
          ERROR_CONNECTIONTABLE       = 1
          OTHERS                      = 2.
      BREAK TZZBLUOX.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Else.
      BREAK TZZBLUOX.
    EndIf.

  • Archiving documents in SAP Records Management

    Hello experts,
    Does anybody know how to archive documents in SAP Records Management? By default, they are stored somewhere in SAP database. However, based on the SAP documentation, they can be stored also to archive by using ArchiveLink. Where is this configuration done and how? Or do we need some coding here?
    I'm interested in two different solutions:
    1) Document will be stored on an archive server right from the start. By doing this, I no longer need to move the document content myself.
    2) Moving existing Records Management documents to archive. I know there is a program SRM_KPRO_CONTENT_RELOCATION for this purpose, but it doesn't seem to be working without some archiving/RM configuration before somewhere else.
    We are using Records Management as part of Digital Personnel Files and the documents to be archived are completed Adobe forms.
    Best Regards,
    JV

    Hi JV,
    You need to define the repository in OAC0 transaction. As per my analysis now your document are stored in sap database.
    If you are using separate serever then confuigure as follows in OAC0:
    Document area : SAP Records Management
    Storgae type : RFC Archive
    define IP address and port. Then goto CSADMIN and activate the certificate for the same.
    or if using SAP Database then make the changes in above areas.
    Then these archived documents will get saved in content server instead of sap database.
    Hope this will help.
    Regards,
    Ravindra

  • Large XML Document Error

    We are using Oracle's XSQL servlet engine 9.0.2.0.0A to query an Oracle Database using xsql:include-owa. This xsql document uses a custom serializer to write the resulting XML to a file on the webserver. We have run into a problem with writing XML documents larger than approximatly 7MB. The file is written but just contains a Malformed XML Document error. We have tried tracking down the problem and it seems to be occuring before the custom serializer is given control of the document. Attached below is the xsql document and the Java source of our serializer if it would be of any help.
    -Eric Dalquist
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="simple_transform_xml.xsl" serializer="XMLWriter"?>
    <BASE_TAG connection="XXXXXXXX" xmlns:xsql="urn:oracle-xsql">
        <xsql:set-page-param name="save-file" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/applInfo.xml"/>
        <xsql:include-owa >
            STUDEV.STUADMSDSET.P_GET_RECRUIT_INFO('A','C');
        </xsql:include-owa>
    </BASE_TAG>-----------------------------------------
    * Author:        Eric Dalquist
    * E-Mail:        [email protected]
    * Date Created:  10-03-2001
    * Last Modified: 10-03-2001
    * Modified By:   Eric Dalquist
    * Description:   This class writes out the contents of the final document produced by the xsql servlet.
    package com.mtu.XSQLSerializers;
    import java.io.FileOutputStream;
    import oracle.xml.xsql.*;
    import oracle.xml.parser.v2.XMLDocument;
    import org.w3c.dom.Document;
    * <P>
    *    XMLWriter is an implementation of the abstract XSQLDocumentSerializer class. It is passed a refrence to a DOM Document
    *    and the servlet environment. The XMLWriter takes the document and writes it out to the servlet's output stream. There
    *    is also the option that the saveFile xsql page parameter can be set to a fully qualified path and file name to write the
    *    document to.
    * </P>
    * <P>
    *    Here is an example of setting the saveFile page paramter. This line would be the first tag inside the root xsql servlet tag.
    * </P>
    * <PRE>
    *    &#060;xsql:set-page-param name="save-file" value="/u01/oracle/ias10210/xdk/java/xsql/Repository/Course_List/XMLDocument.xml"/&#062;
    * </PRE>
    * @author  Eric B. Dalquist
    * @version 1.0 10/03/2001
    public class XMLWriter implements XSQLDocumentSerializer
        /** the header we send if we are returning XML */
        private static final String MIME_XML = "text/xml";
        /** the name of the page parameter we look for to get the path and name to save the XML document to */
        private static final String ATTR_FILE = "save-file";
         * The serialize is called by the servlet engine and is passed the DOM Docuement result
         * from the XSLT transformation if there was one and a refrence to the XSQL servlet environment
         * @param doc The document representation of the XML output of the xsql servlet.
         * @param env A refrence to the servlet's environment.
         * @throws Throwable Any unhandled error is handled by the servlet by default.
        public void serialize(Document doc, XSQLPageRequest env) throws Throwable
            System.out.print("start ... ");
            FileOutputStream fos = null;
            String reqType = env.getRequestType();
            String saveFile = env.getParameter(ATTR_FILE);
            if (!reqType.equals("Command Line"))
                env.setContentType(MIME_XML);
                ((XMLDocument)doc).print(env.getOutputStream());
                env.getOutputStream().close();
            if (saveFile != null && !saveFile.equals("") && saveFile.indexOf("..") == -1 && saveFile.indexOf("~") == -1)
                fos = new FileOutputStream(saveFile);
                ((XMLDocument)doc).print(fos);
                fos.close();
            System.gc();
            System.out.println("end");
    }

    Technically DBMS_XMLSAVE and it's alter ego DBMS_XMLQUERY are not considered part of XML DB. DBMS_XMLSAVE and DBMS_XMLQUERY are legacy Java implementations.
    In 9.2.x these routines were replaced by DBMS_XMLSTORE and DBMS_XMLGEN which are written in 'C' and should be much faster in most cases and address a number of limitations inherant in the older implementations. DBMS_XMLSTORE and DBMS_XMLGEN are part of XML DB and the minimum supported release for XML DB is 9.2.0.3.0.
    DBMS_XMLSAVE issues are addressed in the TECH/XML forum
    http://forums.oracle.com/forums/category.jspa?categoryID=51

Maybe you are looking for

  • How can I close one window without closing all open windows?

    If I open more than one window, I can't close just one. When I try to close just one, I'm warned that I'm about to close more than one (all of them) but I'm not told how to close just one.

  • Problem with sim-free

    dear Sir/Madam, I have recently bought iPhone 4s in the shop "Handy" in the Republic of Bulgary, in the city Burgas, in the "Burgs Plaza" complex. I have bought this phone for full sum, and it is modified by "M-Tel" company. This phone was bought wit

  • Flash Video Encoder - Sizing Video

    Hello I have an uncompressed video at 720x486. I need to encode it to Flash video at 640x480. When I import it into Flash Video Encoder, I use the custom settings to output a 640x480 movie at 30fps and 550kbps using the VP6 codec. Flash video outputs

  • JTable without JScrollPane behavior crippled

    I want column width of JTable t1 goes parallel with the width resizing on JTable t2. If tables are put in JScrollPanes, this has no problem. But if I put those tables in simpler container, which is JPanel in this case, t2 shows a funny behavior -- wi

  • Illustrator CS6 Display Performance

    I've downloaded Design Standard CS6 to trial and I've noticed that both Illustrator and InDesign render .psd and .tif files more coarsley than in CS4. 300dpi images in CS4 were near perfect. Has anyone else experienced this and does anyone have a sol