<?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 Internal table from RFC TABLES parameter returns incomplete/incorrect data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102780#M103879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone ever have any experiece getting incomplete and incorrect data in the table being returned by Tables parameter? Data is complete and correct when the RFC-enabled FM is ran in SE37. However, when I display the data in VB, some of the fields show incorrect values while others don't have any value anymore.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;Here's the code snippet which calls the RFC from VB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub RFC_DISP_ZSINQ_PER_JO(mJobOrderNo As String, _&lt;/P&gt;&lt;P&gt;                         mPlateNo As String, _&lt;/P&gt;&lt;P&gt;                         Optional mJobOrderData As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mStatus As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWFP As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWorkNotes As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWorkRec As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mBilldocs As Object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bResult = cSap.oFunction.RFC_DISP_ZSINQ_PER_JO(vException, _&lt;/P&gt;&lt;P&gt;V_AUFNR:=mJobOrderNo,_&lt;/P&gt;&lt;P&gt;V_EQUNR:=mPlateNo,_&lt;/P&gt;&lt;P&gt;IT_DATA:=mJobOrderData, _&lt;/P&gt;&lt;P&gt;IT_JCDS:=mStatus, _&lt;/P&gt;&lt;P&gt;IT_WFP:=mWFP, _&lt;/P&gt;&lt;P&gt;IT_WNOTES:=mWorkNotes, _&lt;/P&gt;&lt;P&gt;IT_WREC:=mWorkRec, _&lt;/P&gt;&lt;P&gt;IT_BILLDOCS:=mBilldocs)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;bResult returns True.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;Code which reads contents of internal tables&lt;/P&gt;&lt;P&gt;cSap.RFC_DISP_ZSINQ_PER_JO sJobOrderNoTemp,_&lt;/P&gt;&lt;P&gt;sPlateNo, _&lt;/P&gt;&lt;P&gt;oJobOrderData, _&lt;/P&gt;&lt;P&gt;oStatus, _&lt;/P&gt;&lt;P&gt;oWFP, _&lt;/P&gt;&lt;P&gt;oWorkNotes, _&lt;/P&gt;&lt;P&gt;oWorkRec, _&lt;/P&gt;&lt;P&gt;oBilldocs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set oRowJobOrderData = oJobOrderData.Rows&lt;/P&gt;&lt;P&gt;For Each oRowJobOrderData In oJobOrderData.Rows&lt;/P&gt;&lt;P&gt;        Label2(1).Caption = oRowJobOrderData("CLASS")&lt;/P&gt;&lt;P&gt;       Label2(2).Caption = oRowJobOrderData("SPNAME")&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Next oRowJobOrderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Above code is where I'm getting incorrect data. Also, no errors were obtained whatsoever. vException is also empty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;Any help is greatly appreciated in advance. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2005 09:59:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-21T09:59:54Z</dc:date>
    <item>
      <title>Internal table from RFC TABLES parameter returns incomplete/incorrect data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102780#M103879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone ever have any experiece getting incomplete and incorrect data in the table being returned by Tables parameter? Data is complete and correct when the RFC-enabled FM is ran in SE37. However, when I display the data in VB, some of the fields show incorrect values while others don't have any value anymore.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;Here's the code snippet which calls the RFC from VB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub RFC_DISP_ZSINQ_PER_JO(mJobOrderNo As String, _&lt;/P&gt;&lt;P&gt;                         mPlateNo As String, _&lt;/P&gt;&lt;P&gt;                         Optional mJobOrderData As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mStatus As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWFP As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWorkNotes As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mWorkRec As Object, _&lt;/P&gt;&lt;P&gt;                         Optional mBilldocs As Object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bResult = cSap.oFunction.RFC_DISP_ZSINQ_PER_JO(vException, _&lt;/P&gt;&lt;P&gt;V_AUFNR:=mJobOrderNo,_&lt;/P&gt;&lt;P&gt;V_EQUNR:=mPlateNo,_&lt;/P&gt;&lt;P&gt;IT_DATA:=mJobOrderData, _&lt;/P&gt;&lt;P&gt;IT_JCDS:=mStatus, _&lt;/P&gt;&lt;P&gt;IT_WFP:=mWFP, _&lt;/P&gt;&lt;P&gt;IT_WNOTES:=mWorkNotes, _&lt;/P&gt;&lt;P&gt;IT_WREC:=mWorkRec, _&lt;/P&gt;&lt;P&gt;IT_BILLDOCS:=mBilldocs)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;bResult returns True.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;Code which reads contents of internal tables&lt;/P&gt;&lt;P&gt;cSap.RFC_DISP_ZSINQ_PER_JO sJobOrderNoTemp,_&lt;/P&gt;&lt;P&gt;sPlateNo, _&lt;/P&gt;&lt;P&gt;oJobOrderData, _&lt;/P&gt;&lt;P&gt;oStatus, _&lt;/P&gt;&lt;P&gt;oWFP, _&lt;/P&gt;&lt;P&gt;oWorkNotes, _&lt;/P&gt;&lt;P&gt;oWorkRec, _&lt;/P&gt;&lt;P&gt;oBilldocs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set oRowJobOrderData = oJobOrderData.Rows&lt;/P&gt;&lt;P&gt;For Each oRowJobOrderData In oJobOrderData.Rows&lt;/P&gt;&lt;P&gt;        Label2(1).Caption = oRowJobOrderData("CLASS")&lt;/P&gt;&lt;P&gt;       Label2(2).Caption = oRowJobOrderData("SPNAME")&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Next oRowJobOrderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Above code is where I'm getting incorrect data. Also, no errors were obtained whatsoever. vException is also empty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;Any help is greatly appreciated in advance. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 09:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102780#M103879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table from RFC TABLES parameter returns incomplete/incorrect data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102781#M103880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this. Check if all the data from the RFC is of character type or not. Mostly we experience these problems when calling RFC when the data is not in character format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data that you are trying to get is not in character format convert the data into character format and then call the RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points of this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 11:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102781#M103880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T11:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table from RFC TABLES parameter returns incomplete/incorrect data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102782#M103881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the structure I created for this table, I have 2 DATS, 2 TIMS, 1 CURR and 13 CHAR fields. What's weird is that I actually have another RFC table with varied data types which produced the right results the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone have anymore ideas please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 04:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-from-rfc-tables-parameter-returns-incomplete-incorrect-data/m-p/1102782#M103881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T04:41:16Z</dc:date>
    </item>
  </channel>
</rss>

