<?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: Syntax help passing parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539609#M245902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: itab type some_type occurs 0,&lt;/P&gt;&lt;P&gt;wa_itab type some_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-table_id = 11.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naimesh Patel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2006 07:28:13 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2006-08-10T07:28:13Z</dc:date>
    <item>
      <title>Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539606#M245899</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;I am new to abap and I´m having some syntax problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call a function ABAP_FUNCTION that takes a tables parameter TABLE type SOME_TYPE with one field TABLE_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can you show me how to, inside my program, define a table of type SOME_TYPE and populate the field TABLE_ID with some value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Show me how to call the ABAP_FUNCTION with my created table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Baran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 06:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539606#M245899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T06:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539607#M245900</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;You can use pattern pushbutton inside your program to include a call function statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then double click on the function you want to call and copy the table type used there.&lt;/P&gt;&lt;P&gt;Come back to your program and declare an internal table with the same data declaration as in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;HR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539607#M245900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539608#M245901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that takes care of the call function part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please show me how to declare an internal table of type SOME_TYPE and populate the field TABLE_ID in the internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539608#M245901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T07:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539609#M245902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: itab type some_type occurs 0,&lt;/P&gt;&lt;P&gt;wa_itab type some_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-table_id = 11.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naimesh Patel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539609#M245902</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-08-10T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539610#M245903</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;to declare a table of some type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab type standard table of some_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM table&lt;/P&gt;&lt;P&gt;INTO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCITON 'Your_function'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;some_table = itab.&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;HRA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539610#M245903</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-08-10T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539611#M245904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Baran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just see this sample...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : user1 type user value 'xyz',&lt;/P&gt;&lt;P&gt;       udate type sydatum,&lt;/P&gt;&lt;P&gt;       udate1 type sydatum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab like ZTODE occurs 0 with header line.&lt;/P&gt;&lt;P&gt;select fileds into table itab from requiredtable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZABAP_USER'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;  USERNAME        = user1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UDATE           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UDATE1          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ITAB            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ITAB_TODE       = itab&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;          write:/ itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539611#M245904</guid>
      <dc:creator>sridharreddy_kondam</dc:creator>
      <dc:date>2006-08-10T07:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax help passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539612#M245905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your help, it works fine now!&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;/B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 07:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help-passing-parameter/m-p/1539612#M245905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T07:53:50Z</dc:date>
    </item>
  </channel>
</rss>

