<?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 Re: problem ARCHIVOBJECT_GET_TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082831#M1357230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: par_bin_filesize     TYPE i,&lt;/P&gt;&lt;P&gt;        par_header           TYPE xstring,&lt;/P&gt;&lt;P&gt;        par_bytes_transfered TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF hex_record,&lt;/P&gt;&lt;P&gt;            myhex(255) TYPE x,&lt;/P&gt;&lt;P&gt;          END OF hex_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_hex_tab LIKE hex_record OCCURS 1 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_curr_dest_offset   TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_record_length  TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_data_rest      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_data_rest     TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_record_length TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_header_length      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_bin_filesize       TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_new_bytes_transfered TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;f_src&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD pdf LENGTH prc_src_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD prc_hex_tab  LENGTH prc_dest_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_bin_filesize = par_bin_filesize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If length is not given, copy whole table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF prc_bin_filesize = 0.&lt;/P&gt;&lt;P&gt;    DATA: prc_lines    TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;          prc_line_len TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD-SYMBOLS: &amp;lt;f&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESCRIBE TABLE pdf LINES prc_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT pdf ASSIGNING &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;      DESCRIBE FIELD &amp;lt;f&amp;gt; LENGTH prc_line_len IN BYTE MODE.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize = prc_lines * prc_line_len.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_dest_data_rest = prc_dest_record_length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR   prc_hex_tab.&lt;/P&gt;&lt;P&gt;  REFRESH prc_hex_tab.&lt;/P&gt;&lt;P&gt;  par_bytes_transfered = 0.&lt;/P&gt;&lt;P&gt;  prc_header_length = XSTRLEN( par_header ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF prc_header_length &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE par_header TO prc_hex_tab-myhex.&lt;/P&gt;&lt;P&gt;    prc_curr_dest_offset = prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_dest_data_rest   = prc_dest_data_rest - prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize     = prc_bin_filesize + prc_header_length.&lt;/P&gt;&lt;P&gt;    par_bytes_transfered = prc_header_length.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 09:34:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-09T09:34:43Z</dc:date>
    <item>
      <title>problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082827#M1357226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once I run the function returns the table BINARCHIVOBJECT now I have to attack the contents to an email as I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the table to email is li_objhex TYPE TABLE OF solix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other in the same function SO_NEW_DOCUMENT_ATT_SEND_API1 I've already filled the only problem is the file you load the Archivo link it to me by corrupt when I try to open the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082827#M1357226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T09:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082828#M1357227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please let us know the code where you are populating and converting the binary data and passing it to the function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082828#M1357227</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-09-09T09:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082829#M1357228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'ARCHIVOBJECT_GET_TABLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ARCHIV_ID                      = 'ZI'&lt;/P&gt;&lt;P&gt;      DOCUMENT_TYPE                  = 'ZFIPREGFAT'&lt;/P&gt;&lt;P&gt;      ARCHIV_DOC_ID                  = '324890'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     ARCHIVOBJECT                   = i_docs&lt;/P&gt;&lt;P&gt;     BINARCHIVOBJECT                = pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: francesco aiello on Sep 9, 2009 11:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082829#M1357228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082830#M1357229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: par_bin_filesize     TYPE i,&lt;/P&gt;&lt;P&gt;        par_header           TYPE xstring,&lt;/P&gt;&lt;P&gt;        par_bytes_transfered TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF hex_record,&lt;/P&gt;&lt;P&gt;            myhex(255) TYPE x,&lt;/P&gt;&lt;P&gt;          END OF hex_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_hex_tab LIKE hex_record OCCURS 1 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_curr_dest_offset   TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_record_length  TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_data_rest      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_data_rest     TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_record_length TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_header_length      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_bin_filesize       TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_new_bytes_transfered TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;f_src&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD pdf LENGTH prc_src_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD prc_hex_tab  LENGTH prc_dest_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_bin_filesize = par_bin_filesize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If length is not given, copy whole table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF prc_bin_filesize = 0.&lt;/P&gt;&lt;P&gt;    DATA: prc_lines    TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;          prc_line_len TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD-SYMBOLS: &amp;lt;f&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESCRIBE TABLE pdf LINES prc_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT pdf ASSIGNING &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;      DESCRIBE FIELD &amp;lt;f&amp;gt; LENGTH prc_line_len IN BYTE MODE.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize = prc_lines * prc_line_len.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_dest_data_rest = prc_dest_record_length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR   prc_hex_tab.&lt;/P&gt;&lt;P&gt;  REFRESH prc_hex_tab.&lt;/P&gt;&lt;P&gt;  par_bytes_transfered = 0.&lt;/P&gt;&lt;P&gt;  prc_header_length = XSTRLEN( par_header ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF prc_header_length &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE par_header TO prc_hex_tab-myhex.&lt;/P&gt;&lt;P&gt;    prc_curr_dest_offset = prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_dest_data_rest   = prc_dest_data_rest - prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize     = prc_bin_filesize + prc_header_length.&lt;/P&gt;&lt;P&gt;    par_bytes_transfered = prc_header_length.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082830#M1357229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082831#M1357230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: par_bin_filesize     TYPE i,&lt;/P&gt;&lt;P&gt;        par_header           TYPE xstring,&lt;/P&gt;&lt;P&gt;        par_bytes_transfered TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF hex_record,&lt;/P&gt;&lt;P&gt;            myhex(255) TYPE x,&lt;/P&gt;&lt;P&gt;          END OF hex_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_hex_tab LIKE hex_record OCCURS 1 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: prc_curr_dest_offset   TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_record_length  TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_src_data_rest      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_data_rest     TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_dest_record_length TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_header_length      TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_bin_filesize       TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;        prc_new_bytes_transfered TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;f_src&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD pdf LENGTH prc_src_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD prc_hex_tab  LENGTH prc_dest_record_length&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_bin_filesize = par_bin_filesize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If length is not given, copy whole table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF prc_bin_filesize = 0.&lt;/P&gt;&lt;P&gt;    DATA: prc_lines    TYPE i VALUE 0,&lt;/P&gt;&lt;P&gt;          prc_line_len TYPE i VALUE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD-SYMBOLS: &amp;lt;f&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESCRIBE TABLE pdf LINES prc_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT pdf ASSIGNING &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;      DESCRIBE FIELD &amp;lt;f&amp;gt; LENGTH prc_line_len IN BYTE MODE.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize = prc_lines * prc_line_len.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  prc_dest_data_rest = prc_dest_record_length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR   prc_hex_tab.&lt;/P&gt;&lt;P&gt;  REFRESH prc_hex_tab.&lt;/P&gt;&lt;P&gt;  par_bytes_transfered = 0.&lt;/P&gt;&lt;P&gt;  prc_header_length = XSTRLEN( par_header ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF prc_header_length &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE par_header TO prc_hex_tab-myhex.&lt;/P&gt;&lt;P&gt;    prc_curr_dest_offset = prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_dest_data_rest   = prc_dest_data_rest - prc_header_length.&lt;/P&gt;&lt;P&gt;    prc_bin_filesize     = prc_bin_filesize + prc_header_length.&lt;/P&gt;&lt;P&gt;    par_bytes_transfered = prc_header_length.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082831#M1357230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem ARCHIVOBJECT_GET_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082832#M1357231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT pdf.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check if this line should be transmitted&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF par_bytes_transfered &amp;gt;= prc_bin_filesize.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ASSIGN pdf TO &amp;lt;f_src&amp;gt; TYPE 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check if only part this line should be sent&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    prc_new_bytes_transfered =&lt;/P&gt;&lt;P&gt;        par_bytes_transfered + prc_src_record_length.&lt;/P&gt;&lt;P&gt;    IF prc_new_bytes_transfered &amp;gt; prc_bin_filesize.&lt;/P&gt;&lt;P&gt;      prc_src_data_rest = prc_bin_filesize - par_bytes_transfered.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      prc_src_data_rest = prc_src_record_length.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    DO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Check if data from source line fit into current destination line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF prc_src_data_rest &amp;lt; prc_dest_data_rest.&lt;/P&gt;&lt;P&gt;        MOVE &amp;lt;f_src&amp;gt;(prc_src_data_rest)&lt;/P&gt;&lt;P&gt;            TO prc_hex_tab-myhex+prc_curr_dest_offset.&lt;/P&gt;&lt;P&gt;        par_bytes_transfered =&lt;/P&gt;&lt;P&gt;        par_bytes_transfered + prc_src_data_rest.&lt;/P&gt;&lt;P&gt;        prc_curr_dest_offset =&lt;/P&gt;&lt;P&gt;        prc_curr_dest_offset + prc_src_data_rest.&lt;/P&gt;&lt;P&gt;        prc_dest_data_rest   =&lt;/P&gt;&lt;P&gt;        prc_dest_data_rest   - prc_src_data_rest.&lt;/P&gt;&lt;P&gt;        prc_src_data_rest    = 0.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Move all data from source to dest that fit in current dest line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        MOVE &amp;lt;f_src&amp;gt;(prc_dest_data_rest)&lt;/P&gt;&lt;P&gt;            TO prc_hex_tab-myhex+prc_curr_dest_offset.&lt;/P&gt;&lt;P&gt;        par_bytes_transfered =&lt;/P&gt;&lt;P&gt;            par_bytes_transfered + prc_dest_data_rest.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Get next dest line for the rest of the src data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        APPEND prc_hex_tab.&lt;/P&gt;&lt;P&gt;        prc_curr_dest_offset = 0.&lt;/P&gt;&lt;P&gt;        prc_src_data_rest    =&lt;/P&gt;&lt;P&gt;        prc_src_data_rest - prc_dest_data_rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Check if not all source line data have been written, e.g.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      we had prc_src_data_rest &amp;gt; prc_dest_data_rest&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IF prc_src_data_rest &amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        Continue writing rest of source line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ASSIGN &amp;lt;f_src&amp;gt;+prc_dest_data_rest(prc_src_data_rest)&lt;/P&gt;&lt;P&gt;              TO &amp;lt;f_src&amp;gt; TYPE 'X'.&lt;/P&gt;&lt;P&gt;          prc_dest_data_rest = prc_dest_record_length.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        Get next source line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          prc_dest_data_rest = prc_dest_record_length.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDDO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Handled one source line, get next&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handled pdf.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write last dest line to table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF prc_curr_dest_offset &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    APPEND prc_hex_tab.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  MOVE prc_hex_tab[] TO objhex[].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-archivobject-get-table/m-p/6082832#M1357231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T09:34:58Z</dc:date>
    </item>
  </channel>
</rss>

