<?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: Constants as a method parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282292#M1916278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ags,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate ur help. Let me put my question in other way.&lt;/P&gt;&lt;P&gt;example,&lt;/P&gt;&lt;P&gt;In FI module, there is a field called SHKZG for debit and credit.&lt;/P&gt;&lt;P&gt;whenever we use this domain , we can only enter 'S' or 'H' which is defined at domain level.&lt;/P&gt;&lt;P&gt;whenever we use this filed, we can enter only 'H' or 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i come to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;sap_style is of data type - SDYDO_ATTRIBUTE and can only accept values of that type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;But where can i find the values for &lt;SPAN style="color: #333333; font-size: 12px;"&gt;sap_style attribute. Type is ok, it can accept value of type &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SDYDO_ATTRIBUTE .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I hope now my question is clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks a lot once again for help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Jaspal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2015 09:50:39 GMT</pubDate>
    <dc:creator>former_member355168</dc:creator>
    <dc:date>2015-09-08T09:50:39Z</dc:date>
    <item>
      <title>Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282286#M1916272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know how do we find out the constants that we pass as a parameter to a method.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;while implementing TOP_OF_PAGE event, I have to use ADD_TEXT method.&lt;/P&gt;&lt;P&gt;In this method we passing following parameters along with other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fix_lines&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sap_style&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;cl_dd_area&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;heading&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sap_color&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;cl_dd_area&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;list_heading_int&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sap_fontsize&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;cl_dd_area&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;large&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I find out what can be pass to above exporting parameters like I have passed following&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;cl_dd_area&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 13.3333px;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;heading or &lt;SPAN style="font-size: 13.3333px;"&gt;cl_dd_area&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 13.3333px;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;list_heading_int or &lt;SPAN style="font-size: 13.3333px;"&gt;cl_dd_area&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 13.3333px;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;large.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaspal Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 07:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282286#M1916272</guid>
      <dc:creator>former_member355168</dc:creator>
      <dc:date>2015-09-08T07:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282287#M1916273</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 suppose&amp;nbsp; you need to see Interface CL_DD_DOCUMENT. From SE24 you'll see your method ADD_TEXT and its parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TEXT&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_TEXT_ELEMENT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TEXT_TABLE&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_TEXT_TABLE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FIX_LINES&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_FLAG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SAP_STYLE&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SAP_COLOR&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SAP_FONTSIZE&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SAP_FONTSTYLE&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SAP_EMPHASIS&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;STYLE_CLASS&lt;/TD&gt;&lt;TD&gt;Importing&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;SDYDO_ATTRIBUTE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DOCUMENT&lt;/TD&gt;&lt;TD&gt;Changing&lt;/TD&gt;&lt;TD&gt;Type Ref To&lt;/TD&gt;&lt;TD&gt;CL_DD_DOCUMENT&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 07:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282287#M1916273</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2015-09-08T07:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282288#M1916274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Class - CL_DD_AREA, you will find that &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SAP_STYLE is a Parameter of the METHOD Add_text. This parameter of type - SDYDO_ATTRIBUTE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to the "Attribute tab" of this class. Any attribute which is of type SDYDO_ATTRIBUTE can be assigned here. But since it is attribute of the class CL_DD_AREA, hence it is assigned using CL_DD_AREA=&amp;gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;heading , etc...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 08:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282288#M1916274</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2015-09-08T08:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282289#M1916275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ags thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right. I can &lt;SPAN style="color: #333333; font-size: 12px;"&gt;go to the &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I as asking &lt;SPAN style="font-size: 10pt;"&gt;how would I know the possible values for these parameters as I have passed &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;sap_style&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #f8f8f8;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;cl_dd_area&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333; background: #f8f8f8;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;heading.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how would i know that the attribute &lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;sap_style&amp;nbsp; will have &lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;cl_dd_area&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333; background: #f8f8f8;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;heading value.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaspal Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 08:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282289#M1916275</guid>
      <dc:creator>former_member355168</dc:creator>
      <dc:date>2015-09-08T08:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282290#M1916276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;These constants are meant to simplify your task. Because they use symbolic names rather then internal value, you should be able to deduce from their name, wich one to use.&lt;/P&gt;&lt;P&gt;Admittedly, in this case names and values are identical - but you get the Intention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, you used cl_dd_area=&amp;gt;heading, for Parameter sap_style, meaning that you want your text to appear formatted as header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an idea (and usually you will), what your text is supposed to look like, by browsing the available constant-attributes of class cl_dd_area, you should be able to decide, which ones to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards - Jörg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 08:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282290#M1916276</guid>
      <dc:creator>jrg_wulf</dc:creator>
      <dc:date>2015-09-08T08:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282291#M1916277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because &lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;This attribute sap_style is of data type - SDYDO_ATTRIBUTE and can only accept values of that type. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope i got your question correctly? Or else let me know. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282291#M1916277</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2015-09-08T09:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282292#M1916278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ags,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate ur help. Let me put my question in other way.&lt;/P&gt;&lt;P&gt;example,&lt;/P&gt;&lt;P&gt;In FI module, there is a field called SHKZG for debit and credit.&lt;/P&gt;&lt;P&gt;whenever we use this domain , we can only enter 'S' or 'H' which is defined at domain level.&lt;/P&gt;&lt;P&gt;whenever we use this filed, we can enter only 'H' or 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i come to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;sap_style is of data type - SDYDO_ATTRIBUTE and can only accept values of that type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;But where can i find the values for &lt;SPAN style="color: #333333; font-size: 12px;"&gt;sap_style attribute. Type is ok, it can accept value of type &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SDYDO_ATTRIBUTE .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I hope now my question is clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks a lot once again for help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Jaspal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282292#M1916278</guid>
      <dc:creator>former_member355168</dc:creator>
      <dc:date>2015-09-08T09:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282293#M1916279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, because for SHKZG values are maintained at DOMAIN level, but for &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SDYDO_ATTRIBUTE is part of the global Type-pool. If you double click it will show.&lt;/SPAN&gt; Its not maintained at Database level, but a global variable only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to figure out the permitted values, you can go to the class - CL_DD_AREA and check its ATTRIBUTE tab. you will see the constants with values "EMPHASIS", "HEADING" etc. You can use these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way is to get inside method ADD_TEXT and check the code. 1 time effort, but it will give you better clarification how SAP handles it.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;* handle styles&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;handle_styles &lt;SPAN class="L0S52"&gt;EXPORTING &lt;/SPAN&gt;sap_style&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sap_style&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just note that this class,typepool,constant etc belong to the same package - SDYNAMICDOCUMENTS. &lt;/P&gt;&lt;P&gt;So the concept is that SAP must be creating all the permitted values in same package. You can search any values of this kind in future using this concept, if you feel lost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 10:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282293#M1916279</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2015-09-08T10:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282294#M1916280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ags,&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now we are very close. like you said&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #333333; font-size: 12px;"&gt;So to figure out the permitted values, you can go to the class - CL_DD_AREA and check its ATTRIBUTE tab. you will see the constants with values "EMPHASIS", "HEADING" etc. You can use these."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now My question was, &lt;STRONG&gt;where it is mentioned that the for permitted values, I have to refer CL_DD_AREA class. Or Values from CL_DD_AREA class can be used in the method ADD_TEXT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaspal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 10:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282294#M1916280</guid>
      <dc:creator>former_member355168</dc:creator>
      <dc:date>2015-09-08T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282295#M1916281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I told you, if a method belongs to a class and uses CONSTANTS as its parameters, the CLASS is ought to have ATTRUBUTEs defined for the constants, or else we can never find out the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values will always be there in the same class attribute or the superclass attrbutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 11:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282295#M1916281</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2015-09-08T11:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Constants as a method parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282296#M1916282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ags,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I check method parameters, for example only ADD_TEXT, One parameter is SAP STYLE and it is of TYPE SDYDO_ATTRIBUTE and in description, " Recommended Styles'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This &lt;SPAN style="font-size: 13.3333px;"&gt;SDYDO_ATTRIBUTE does not give any recommended value list nor it is mentioning that for recommended styles, I should refer the base class CL_DD_AREA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I just wanted to know how and where to find these recommended values from?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but your line&amp;nbsp; " &lt;SPAN style="color: #333333; font-size: 12px;"&gt;The values will always be there in the same class attribute or the &lt;STRONG&gt;superclass attributes&lt;/STRONG&gt;." is very helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaspal &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 11:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/constants-as-a-method-parameters/m-p/11282296#M1916282</guid>
      <dc:creator>former_member355168</dc:creator>
      <dc:date>2015-09-08T11:29:07Z</dc:date>
    </item>
  </channel>
</rss>

