<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArchiveLink RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245569#M143481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need simple code sample (or tips) which describes &lt;/P&gt;&lt;P&gt;a request via an archiveLink connection to&lt;/P&gt;&lt;P&gt;receive a document. The retrieved data stream&lt;/P&gt;&lt;P&gt;should be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2006 14:35:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-31T14:35:48Z</dc:date>
    <item>
      <title>ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245569#M143481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need simple code sample (or tips) which describes &lt;/P&gt;&lt;P&gt;a request via an archiveLink connection to&lt;/P&gt;&lt;P&gt;receive a document. The retrieved data stream&lt;/P&gt;&lt;P&gt;should be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 14:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245569#M143481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T14:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245570#M143482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with HTTP Content-Server use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   
   DATA: binobject      LIKE TBL1024 OCCURS 200,
         length_bin     TYPE I.

   REFRESH: binobject.

   CALL FUNCTION 'SCMS_AO_TABLE_GET'
     EXPORTING
         ARC_ID          = archiv_id
         DOC_ID          = arc_doc_id
         COMP_ID         = 'data'
     IMPORTING
         LENGTH          = length_bin
     TABLES
         DATA            = binobject
     EXCEPTIONS
         error_http      = 1
         error_archiv    = 2
         error_kernel    = 3
         error_config    = 4
         others          = 5
             .
   IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
              RAISING ERROR_RETRIEVAL.
   ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with an RFC archive use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the function module by heart but it's like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARCHIVOBJECT_GET_TABLE  and it imports archiveID and archiveDocID and gives you the document back in the internal table docs[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;   Florin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 15:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245570#M143482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245571#M143483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah Florin. I remember using it too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 15:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245571#M143483</guid>
      <dc:creator>asarat</dc:creator>
      <dc:date>2006-03-31T15:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245572#M143484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many many thanks for your help&lt;/P&gt;&lt;P&gt;i´ll try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245572#M143484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245573#M143485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the Function ARCHIVOBJECT_GET_TABLE i get the Exception 'Für 4G is keine RFC-Destination für Archiv-DLL vorhanden'. There is no entry in table 'SDOKPROF'. Have you any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Andi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 09:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245573#M143485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArchiveLink RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245574#M143486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hm. This error could only come up when you're using frontend communication (e.g. scanning, display etc.) and with and  RFC-Archive 3.1, but now with the function ARCHIVEOBJECT_GET_TABLE, because it uses backend communication.&lt;/P&gt;&lt;P&gt;With releases prior to 4.5 you were able to customize the backend communication in the ArchiveLink protocol (transaction oaa3) but this has been disregarded by the SAP by now. Maybe this archiv was installed before an upgrade?&lt;/P&gt;&lt;P&gt;To localize the problem I would suggest to check the following steps:&lt;/P&gt;&lt;P&gt;- OAC0 Archive definition of 4G:&lt;/P&gt;&lt;P&gt;-- Which types is it (HTTPcontent server or RFC-Archive)&lt;/P&gt;&lt;P&gt;- OAC3 ArchiveLink protocol&lt;/P&gt;&lt;P&gt;-- create an empty archivelink protocol, let's say: "ARCHIVTEST". Don't do any special about it.&lt;/P&gt;&lt;P&gt;-- Enter the protocol ARCHIVTEST in the contRep-Customizing OAC0 for the archiv 4G.&lt;/P&gt;&lt;P&gt;Then try again.&lt;/P&gt;&lt;P&gt;To have an Archive installed doesn't neccessarily mean that the RFC communication is set up correctly. To check this, look at the entry "RFC-Destination" in the contRep-customizing. Then switch to SM59 and perform an RFC-Test (ping).&lt;/P&gt;&lt;P&gt;Let's see what you get!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Florin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 17:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivelink-rfc/m-p/1245574#M143486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T17:28:17Z</dc:date>
    </item>
  </channel>
</rss>

