<?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 Passing asterick with Table name in programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057447#M424858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a doubt in my mind. in a program of previous version , i saw a statement like as follws:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE: *MBEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is significance of putting * in front of the table? i m not able to get the use of this statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can nayone tell me the proper meaning of this statement. also, is this statement is still in use or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 12:36:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T12:36:42Z</dc:date>
    <item>
      <title>Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057447#M424858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a doubt in my mind. in a program of previous version , i saw a statement like as follws:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE: *MBEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is significance of putting * in front of the table? i m not able to get the use of this statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can nayone tell me the proper meaning of this statement. also, is this statement is still in use or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057447#M424858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057448#M424859</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;&amp;lt;u&amp;gt;This was used in earlier SAP version (4.5 B or less). This is not recommended by SAP in future versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of using *Table-name was to create a Hader structure of the table.&lt;/P&gt;&lt;P&gt;To use the header area of the table as the work-area (without specifying any internal table ).&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points, incase it suits your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057448#M424859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057449#M424860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TABLES: *MBEW.&lt;/P&gt;&lt;P&gt;It has the same effect as that os the statement TABLES: MBEW.&lt;/P&gt;&lt;P&gt;(which create a work area with the same structure as that of MBEW &lt;/P&gt;&lt;P&gt;table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: *MBEW.&lt;/P&gt;&lt;P&gt;it will create an aditional work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: *MBEW.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MBEW INTO *MBEW.&lt;/P&gt;&lt;P&gt;will retrieve a single record into the work area with the name *MBEW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 13:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057449#M424860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T13:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057450#M424861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*table name = means to create the workarea with the same name as table name.&lt;/P&gt;&lt;P&gt;you have only one choice to create the 2 table work areas with the same name as tablename. we will go to this option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 13:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057450#M424861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T13:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057451#M424862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vivek,&lt;/P&gt;&lt;P&gt;Work area * not allowed&lt;/P&gt;&lt;P&gt;In ABAP Objects it is not allowed to specify * work areas as names for database tables and work areas.&lt;/P&gt;&lt;P&gt;Error message in ABAP Objects if the following syntax is used:&lt;/P&gt;&lt;P&gt;SELECT ... FROM *dbtab INTO ...&lt;/P&gt;&lt;P&gt;INSERT *dbtab.&lt;/P&gt;&lt;P&gt;UPDATE *dbtab.&lt;/P&gt;&lt;P&gt;DELETE *dbtab.&lt;/P&gt;&lt;P&gt;MODIFY *dbtab.&lt;/P&gt;&lt;P&gt;Correct syntax:&lt;/P&gt;&lt;P&gt;DATA wa TYPE dbtab.&lt;/P&gt;&lt;P&gt;SELECT ... FROM dbtab INTO wa.&lt;/P&gt;&lt;P&gt;INSERT dbtab FROM wa.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;INSERT INTO dbtab VALUES wa.&lt;/P&gt;&lt;P&gt;UPDATE dbtab FROM wa.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;UPDATE dbtab SET ... .&lt;/P&gt;&lt;P&gt;DELETE dbtab FROM wa.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;DELETE FROM dbtab WHERE ...&lt;/P&gt;&lt;P&gt;MODIFY dbtab FROM wa.&lt;/P&gt;&lt;P&gt;Reason:&lt;/P&gt;&lt;P&gt;The declaration of work areas that are suitable for the respective types using the DATA statement replaces the declaration of * work areas. * work areas can only be declared using the TABLES statement, which is not allowed in ABAP Objects. * work areas can only be used in the forbidden short forms of the Open-SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 01:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057451#M424862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T01:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057452#M424863</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;&lt;/P&gt;&lt;P&gt;This is the information I got from SDN once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The * notation is used to contain the temporary values for a table work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This need not be limited to the Standard SAP Code. In your programs you would very often declare temporary work areas like - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables vbak...data lt_vbak like table of vbak.data ls_vbak like line  of vbak....data ls_temp_vbak like vbak..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be a good idea to have *vbak instead of ls_temp_vbak. That of course depends on the naming conventions you would want to follow for all your custom developments. It is just a convenient and more readable way of declaring the temporary structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 03:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057452#M424863</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-03-07T03:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passing asterick with Table name in programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057453#M424864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 10:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-asterick-with-table-name-in-programs/m-p/2057453#M424864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T10:47:55Z</dc:date>
    </item>
  </channel>
</rss>

