<?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: Function RFC_GET_TABLE_ENTRIES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337286#M799940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have another alternative?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 14:49:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T14:49:35Z</dc:date>
    <item>
      <title>Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337279#M799933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone could help me use this function? &lt;/P&gt;&lt;P&gt;How do you get "WHERE"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'RFC_GET_TABLE_ENTRIES'&lt;/P&gt;&lt;P&gt;   destination rfc&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;      BYPASS_BUFFER = ?&lt;/P&gt;&lt;P&gt;      FROM_KEY           = ?&lt;/P&gt;&lt;P&gt;      gen_key                 = ?&lt;/P&gt;&lt;P&gt;      MAX_ENTRIES       = 10&lt;/P&gt;&lt;P&gt;      table_name             = 'QALS'&lt;/P&gt;&lt;P&gt;      TO_KEY                 = ?&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      NUMBER_OF_ENTRIES = ?&lt;/P&gt;&lt;P&gt;   tables&lt;/P&gt;&lt;P&gt;      entries              = T_RETURN&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;      internal_error     = 1&lt;/P&gt;&lt;P&gt;      table_empty      = 2&lt;/P&gt;&lt;P&gt;      table_not_found = 3&lt;/P&gt;&lt;P&gt;      others               = 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337279#M799933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337280#M799934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are probably looking for another function module: &lt;STRONG&gt;TABLE_ENTRIES_GET_VIA_RFC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can define the WHERE condition using the TABLES parameter SEL_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      CONCATENATE 'MATNR = ''' IV_MAT_NUMBER '''' INTO LT_SEL_TAB.
      APPEND LT_SEL_TAB TO LT_SEL_TAB.

      CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC'
        DESTINATION
          IV_RFC_DEST
        EXPORTING
          LANGU                     = SY-LANGU
          TABNAME                   = 'MARA'
        TABLES
          SEL_TAB                   = LT_SEL_TAB
          NAMETAB                   = LT_NAMETAB
          TABENTRY                  = LT_TABENTRY
        EXCEPTIONS
          COMMUNICATION_FAILURE     = 1 MESSAGE LV_MSG_TEXT
          SYSTEM_FAILURE            = 2 MESSAGE LV_MSG_TEXT
          INTERNAL_ERROR            = 3
          TABLE_HAS_NO_FIELDS       = 4
          TABLE_NOT_ACTIV           = 5
          NOT_AUTHORIZED            = 6
          OTHERS                    = 7.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 19:59:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337280#M799934</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-24T19:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337281#M799935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generating this dump. Tell when the structure of the table executed normally, but if I do not tell returns an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am ranch's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your attention!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 11:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337281#M799935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T11:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337282#M799936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the structure of the table is informed executed normally, but if I do not, generates a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where this the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your attention!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 11:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337282#M799936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T11:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337283#M799937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run the function module locally with TABNAME = ' ' you will raise an exception (either due to missing authorizations or that the table was not found).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling the fm via RFC results in a dump if you do not handle the exceptions.&lt;/P&gt;&lt;P&gt;However, even though TABNAME has a default value (= ' ') it is a mandatory parameter for this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 11:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337283#M799937</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-25T11:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337284#M799938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running on SE37, the parameters are: LANGU = "PT", ONLY = '', TABNAME = 'PROJ'.&lt;/P&gt;&lt;P&gt;And shows the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"UNICODE_TYPES_NOT_CONVERTIBLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The types of operands "dbtab" and "itab" cannot be converted into one another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLBDCH" had to be terminated because it has &lt;/P&gt;&lt;P&gt;come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a Unicode system, the type of the operand "dbtab" must be convertible&lt;/P&gt;&lt;P&gt;into that of the operand "itab" for the statement "SELECT * FROM dbtab INTO&lt;/P&gt;&lt;P&gt;TABLE itab". Regardless of the&lt;/P&gt;&lt;P&gt;length of a Unicode character, both operands must have the same structure layout.&lt;/P&gt;&lt;P&gt;In this case, this condition has not been met."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 13:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337284#M799938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337285#M799939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently your remote system is a Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, you cannot use fm TABLE_ENTRIES_GET_VIA_RFC to read table entries on the UC-system because the TABLES parameter TABENTRY has line structure BDI_ENTRY (unstructured Char2048) which is - on a Unicode system - not convertible into the DB table structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details please refer to: [ABAP and Unicode|http://help.sap.com/saphelp_nw04/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 13:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337285#M799939</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-25T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337286#M799940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have another alternative?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 14:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337286#M799940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T14:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337287#M799941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check note 886640.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 15:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337287#M799941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337288#M799942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Carlos &lt;/P&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_tab =&amp;lt;TableName&amp;gt;. &lt;/P&gt;&lt;P&gt;   CONCATENATE 'NUM_RESERVA' '=' '''' INTO wa_i_opt-text SEPARATED BY ' '.   &lt;/P&gt;&lt;P&gt;   CONCATENATE wa_i_opt-text guid_string ''''   &lt;/P&gt;&lt;P&gt;   INTO wa_i_opt-text.   &lt;/P&gt;&lt;P&gt;   APPEND wa_i_opt TO i_opt.   &lt;/P&gt;&lt;P&gt;   CLEAR wa_i_opt.   &lt;/P&gt;&lt;P&gt;   wa_i_fld-fieldname = 'TIPO_DOC'.   &lt;/P&gt;&lt;P&gt;   wa_i_fld-offset = '000000'.   &lt;/P&gt;&lt;P&gt;   wa_i_fld-length = '000006'.   &lt;/P&gt;&lt;P&gt;   APPEND wa_i_fld TO i_fld.   &lt;/P&gt;&lt;P&gt;   CLEAR wa_i_fld.   &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'RFC_READ_TABLE' DESTINATION lc_rfc_dest_crm   &lt;/P&gt;&lt;P&gt;   EXPORTING   &lt;/P&gt;&lt;P&gt;   query_table = l_tab   &lt;/P&gt;&lt;P&gt;   TABLES   &lt;/P&gt;&lt;P&gt;   OPTIONS = i_opt   &lt;/P&gt;&lt;P&gt;   fields = i_fld   &lt;/P&gt;&lt;P&gt;   data = i_data   &lt;/P&gt;&lt;P&gt;   EXCEPTIONS   &lt;/P&gt;&lt;P&gt;   table_not_available = 1   &lt;/P&gt;&lt;P&gt;   table_without_data = 2   &lt;/P&gt;&lt;P&gt;   option_not_valid = 3   &lt;/P&gt;&lt;P&gt;   field_not_valid = 4   &lt;/P&gt;&lt;P&gt;   not_authorized = 5   &lt;/P&gt;&lt;P&gt;   data_buffer_exceeded = 6   &lt;/P&gt;&lt;P&gt;   OTHERS = 7.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But be careful that the function is not oficial release &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help's &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 15:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337288#M799942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337289#M799943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running on SE37 the function RFC_READ_TABLE, with the parameters: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUERY_TABLE = 'QALS'&lt;/P&gt;&lt;P&gt;DELIMITER = '|'&lt;/P&gt;&lt;P&gt;NO_DATA = ' '&lt;/P&gt;&lt;P&gt;ROWSKIPS = '0'&lt;/P&gt;&lt;P&gt;ROWCOUNT = '0'&lt;/P&gt;&lt;P&gt;OPTIONS = PRUEFLOS = '010000000054'&lt;/P&gt;&lt;P&gt;FIELDS = 'OBJNR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And shows the following message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ASSIGN_BASE_WRONG_ALIGNMENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLSDTX" had to be terminated because it has&lt;/P&gt;&lt;P&gt;come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the current program "SAPLSDTX", an error occurred when setting the&lt;/P&gt;&lt;P&gt;field symbol "&amp;lt;WA&amp;gt;" with ASSIGN or ASSIGNING (maybe in the combination with&lt;/P&gt;&lt;P&gt; the CASTING addition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When converting the base entry of the field symbol "&amp;lt;WA&amp;gt;" (number in base&lt;/P&gt;&lt;P&gt;table: 34136), it was found that the target type requests a memory&lt;/P&gt;&lt;P&gt;alignment of 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the source data object has an invalid memory alignment, that is&lt;/P&gt;&lt;P&gt;an alignment not divisible by 8."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 16:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337289#M799943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T16:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337290#M799944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you look at the note I suggested?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 16:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337290#M799944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T16:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function RFC_GET_TABLE_ENTRIES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337291#M799945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The notes were all applied ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 17:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-rfc-get-table-entries/m-p/3337291#M799945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T17:06:11Z</dc:date>
    </item>
  </channel>
</rss>

