<?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: Read optional table explicitly from an RFC-Call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481272#M1418979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Dec 30, 2009 11:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2009 17:39:31 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-12-30T17:39:31Z</dc:date>
    <item>
      <title>Read optional table explicitly from an RFC-Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481268#M1418975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a Problem with RFC-Function-Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my function module I read an optional table called myops_table like this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table myops_table&lt;/P&gt;&lt;P&gt;IF myops_table IS NOT INITIAL&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DO something&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I removed the instruction "Read table myops_table" and after calling the function module with an external program using RFC, the table is INITIAL and the program is not working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if I do this in SAP, the program works fine without having the read-instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has this to do that the optional table is not buffered and that man need to read it first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kais&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 13:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481268#M1418975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read optional table explicitly from an RFC-Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481269#M1418976</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;You might have to try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF myops_table[] IS NOT INITIAL.
* DO something
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF myops_table  IS NOT INITIAL. "it refers only the header and not the actual data.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 13:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481269#M1418976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T13:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Read optional table explicitly from an RFC-Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481270#M1418977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vikranth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I'm aware about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But could you explain me why it works fine in SAP and not well by an RFC-Call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this has to do of the fact that the table optional. So, the header is not set by an RFC-Call when this table is optional. By it's set on a direct call.&lt;/P&gt;&lt;P&gt;Should I do this by all the tables whether they are optional or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kais&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 13:41:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481270#M1418977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T13:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read optional table explicitly from an RFC-Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481271#M1418978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not really sure why its not working in a RFC call. Could be that the headers are getting intitialized automatically during a RFC and not when running within SAP. But i dont think this has anything to do with tables parameter being a optional or mandatory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct method to check if a table is initial or not is only by specifying []. You will have to do this to all tables to avoid any inconsistencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 14:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481271#M1418978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read optional table explicitly from an RFC-Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481272#M1418979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Dec 30, 2009 11:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 17:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-optional-table-explicitly-from-an-rfc-call/m-p/6481272#M1418979</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-30T17:39:31Z</dc:date>
    </item>
  </channel>
</rss>

