<?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 How to write a dynamic pattern in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798480#M40673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when writing abap code there is the possibility of creating your own pattern for code blocks you need regularly e.g. for documentation or tracing code.&lt;/P&gt;&lt;P&gt;(when editing a program in SE80 -&amp;gt; Utilities -&amp;gt; More utilities -&amp;gt; Edit pattern -&amp;gt; Create pattern)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating a pattern there is a menu entry Pattern -&amp;gt; Dynamic pattern. I thought that this allows me to write patterns which use variables e.g. for the current user or date. When choosing the entry the statement *$&amp;amp;$EXIT is added in the pattern but there is no documentation what I have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experience in creating dynamic pattern who can help me or knows where I can find documentation on this topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Mar 2004 17:45:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-03-26T17:45:16Z</dc:date>
    <item>
      <title>How to write a dynamic pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798480#M40673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when writing abap code there is the possibility of creating your own pattern for code blocks you need regularly e.g. for documentation or tracing code.&lt;/P&gt;&lt;P&gt;(when editing a program in SE80 -&amp;gt; Utilities -&amp;gt; More utilities -&amp;gt; Edit pattern -&amp;gt; Create pattern)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating a pattern there is a menu entry Pattern -&amp;gt; Dynamic pattern. I thought that this allows me to write patterns which use variables e.g. for the current user or date. When choosing the entry the statement *$&amp;amp;$EXIT is added in the pattern but there is no documentation what I have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experience in creating dynamic pattern who can help me or knows where I can find documentation on this topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2004 17:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798480#M40673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-26T17:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a dynamic pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798481#M40674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have to admit that I never tried this myself, but I think you have to activate enhancement SEUED001 and implement customer exit EXIT_SAPLLOCAL_EDT1_00 (or EXIT_SAPLEDITOR_001 for releases &amp;lt; 4.5). Documentation is rather sparse, but I guess it's not too difficult.  &lt;/P&gt;&lt;P&gt;Kind regards, Manfred Oster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2004 07:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798481#M40674</guid>
      <dc:creator>manfred_oster</dc:creator>
      <dc:date>2004-03-29T07:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a dynamic pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798482#M40675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  We can create patterns by creating a function &amp;lt;patternname&amp;gt;_EDITOR_EXIT. The o/p of the function should be a table of type RSWSOURCET(Version 4.70). On the editor, when you choose other pattern, SAP triggers this function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this function, you can have whatever logic you want. I have created one, where we read a std text for the Modification Log and populate the User Name &amp;amp; Date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2004 18:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798482#M40675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-30T18:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a dynamic pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798483#M40676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  We can create patterns by creating a function &amp;lt;patternname&amp;gt;_EDITOR_EXIT. The o/p of the function should be a table of type RSWSOURCET(Version 4.70). On the editor, when you choose other pattern, SAP triggers this function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this function, you can have whatever logic you want. I have created one, where we read a std text for the Modification Log and populate the User Name &amp;amp; Date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2004 18:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798483#M40676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-30T18:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a dynamic pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798484#M40677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 4.6C we have the standard function module SUBMIT_EDITOR_EXIT. Here we can see the import and export parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one thing is requiered, to create a dynamic pattern that uses xxxx_EDITOR_EXIT FM the pattern must have only this line --&amp;gt;  &amp;lt;b&amp;gt;*$&amp;amp;$MUSTER&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;If you put &amp;lt;b&amp;gt;&lt;STRONG&gt;$&amp;amp;$EXIT&amp;lt;/b&amp;gt; you must implement a Customer Function, but with &amp;lt;b&amp;gt;&lt;/STRONG&gt;$&amp;amp;$MUSTER&amp;lt;/b&amp;gt; you only need to create the xxxx_EDITOR_EXIT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings from Spain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2004 12:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-a-dynamic-pattern/m-p/798484#M40677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-04-06T12:22:03Z</dc:date>
    </item>
  </channel>
</rss>

