<?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 Method, parameters and attributes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672780#M617212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP friends!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody explain me how to find possible values of a parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL METHOD o_picture-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         display_mode = cl_gui_picture=&amp;gt;display_fit_center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter "display_mode" has 4 possible values. The parameter values could be found in Attributes Tab. &lt;/P&gt;&lt;P&gt;But how I can identify that these 4 values are related to "display_mode" parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want to use method "set_display_mode" of class "cl_gui_picture".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I go to SE84 and display the class. Then I find the method I want to use and click "parameters". Then I see the parameter "display_mode".&lt;/P&gt;&lt;P&gt;I know that possible values of the parameter could be found in Attributes Tab. But there so many of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I know which is which?  Clicking on "display_mode" doesn't give any information and there is no documentation available in English...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Tatyana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 12:56:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-17T12:56:36Z</dc:date>
    <item>
      <title>Method, parameters and attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672780#M617212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP friends!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody explain me how to find possible values of a parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL METHOD o_picture-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         display_mode = cl_gui_picture=&amp;gt;display_fit_center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter "display_mode" has 4 possible values. The parameter values could be found in Attributes Tab. &lt;/P&gt;&lt;P&gt;But how I can identify that these 4 values are related to "display_mode" parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want to use method "set_display_mode" of class "cl_gui_picture".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I go to SE84 and display the class. Then I find the method I want to use and click "parameters". Then I see the parameter "display_mode".&lt;/P&gt;&lt;P&gt;I know that possible values of the parameter could be found in Attributes Tab. But there so many of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I know which is which?  Clicking on "display_mode" doesn't give any information and there is no documentation available in English...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Tatyana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 12:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672780#M617212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Method, parameters and attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672781#M617213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tatyana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In many cases you will find the appropriate values defined as constant attribute of the class or its superclass. Class CL_GUI_PICTURE has the following constant attributes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DISPLAY_MODE_NORMAL	Constant	Public
DISPLAY_MODE_STRETCH	Constant	Public
DISPLAY_MODE_FIT	Constant	Public
DISPLAY_MODE_NORMAL_CENTER	Constant	Public
DISPLAY_MODE_FIT_CENTER	Constant	Public&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 13:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672781#M617213</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-08-17T13:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Method, parameters and attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672782#M617214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is a little bit tricky at times.  But the class, method, attributes are designed to be intuitive, meaning that the wording of the methods and and attributes are described in such a way that it is easy to recoginize what contansts can be used to pass to method calls.  Lets take the class CL_GUI_DOCKING_CONTAINER for example.  Lets look at the CONSTRUCTOR method  and its parameter  SIDE.  You will see that this parameter is of TYPE I and that it is actually using on of the constants as its default,  DOCK_AT_LEFT.  So if you go to the attributes tab and look for DOCK_AT_LEFT, you will find other contants that are available to pass to this parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for a hard list of values(or constants in attributes tabs) which can be passed to any given parameter of any given method,  I do not believe that this functionality exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 13:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672782#M617214</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-17T13:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Method, parameters and attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672783#M617215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got you.&lt;/P&gt;&lt;P&gt;1. Go SE84. Find class "cl_gui_picture". Click Method "set_alignment". Click Parameters. There is parameter "alignment". Go "Attributes" and search for alignment constants: Align_at_bottom, align_at_left, align_at_right, align_at_top&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Go SE84. Find class "cl_gui_picture". Click Method "set_metric". Click Parameters. There is parameter  "metric". Go "Attributes" and search for metric constants: metric_mm and metric_pixel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Uwe.&lt;/P&gt;&lt;P&gt;Tatyana.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 14:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-parameters-and-attributes/m-p/2672783#M617215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T14:01:27Z</dc:date>
    </item>
  </channel>
</rss>

