<?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: Container name validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697273#M305852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;We create the Container in the Screen and we give the name to that container&lt;/P&gt;&lt;P&gt;Declare it as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;go_custom_container TYPE REF TO cl_gui_custom_container&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can write the code like ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;     IF go_custom_container IS INITIAL.
       CREATE OBJECT go_custom_container
         EXPORTING container_name = 'ALV_CONTAINER'.
       CREATE OBJECT go_grid
         EXPORTING
           i_parent = go_custom_container.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 11:50:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T11:50:56Z</dc:date>
    <item>
      <title>Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697270#M305849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to validate the CONTAINER_NAME when we create a custom container on a screen.Is there any table where this name is stored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 10:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697270#M305849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T10:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697271#M305850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;     What do you mean by container name... is it the one which we supply in the screen painter for a control area?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697271#M305850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697272#M305851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is that name only.I want to validate that name for correctness.is it possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697272#M305851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697273#M305852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;We create the Container in the Screen and we give the name to that container&lt;/P&gt;&lt;P&gt;Declare it as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;go_custom_container TYPE REF TO cl_gui_custom_container&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can write the code like ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;     IF go_custom_container IS INITIAL.
       CREATE OBJECT go_custom_container
         EXPORTING container_name = 'ALV_CONTAINER'.
       CREATE OBJECT go_grid
         EXPORTING
           i_parent = go_custom_container.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697273#M305852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697274#M305853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can I validate whether the name 'ALV_CONTAINER' is correct or not.is there any table that stores this name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 12:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697274#M305853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T12:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697275#M305854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;   You can get the screen fields for a screen using FM RS_SCREEN_IMPORT.&lt;/P&gt;&lt;P&gt;then you can validate the container name from the export parameter F_G.&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kinshuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697275#M305854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Container name validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697276#M305855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This container name should not be validated.  In general, the name of the screen element does not change. Therefore, it is usually hardcoded as shown in the example above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I believe this is the recommended practice. If you try to validate such screen elements, it will unnecessarily increase the runtime of your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for reasons of technical interest, Kinshuk's solution above will do the trick for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-name-validation/m-p/1697276#M305855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:06:04Z</dc:date>
    </item>
  </channel>
</rss>

