<?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: ABAP code which will use function module during field mapping in LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-which-will-use-function-module-during-field-mapping-in-lsmw/m-p/1716839#M313323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write in FORM ROUTINE and LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you know how to write ABAP code at field level.&lt;/P&gt;&lt;P&gt;If not ... &lt;/P&gt;&lt;P&gt;Come to change mode-&amp;gt;select the field-&amp;gt;Rule-&amp;gt;ABAP Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a perform statement in ABAP code at field level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM test&amp;lt;/b&amp;gt; using val&lt;/P&gt;&lt;P&gt;             changing valu.&lt;/P&gt;&lt;P&gt;Go to Utilities(at menu)-&amp;gt;switch layout-&amp;gt; extras -&amp;gt;select Layout-&amp;gt;check Form routine-&amp;gt; it will display a FORM Routine... at bottom&lt;/P&gt;&lt;P&gt;this is the place where you can write some code for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; FORM test&amp;lt;/b&amp;gt; using value &lt;/P&gt;&lt;P&gt;          changing value1&lt;/P&gt;&lt;P&gt;  FM call....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.ENDFORM   &lt;/P&gt;&lt;P&gt;Get the value1 returned and use for the Field population.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Manish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2006 20:42:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-10T20:42:21Z</dc:date>
    <item>
      <title>ABAP code which will use function module during field mapping in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-which-will-use-function-module-during-field-mapping-in-lsmw/m-p/1716838#M313322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 20:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-which-will-use-function-module-during-field-mapping-in-lsmw/m-p/1716838#M313322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T20:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code which will use function module during field mapping in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-which-will-use-function-module-during-field-mapping-in-lsmw/m-p/1716839#M313323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write in FORM ROUTINE and LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you know how to write ABAP code at field level.&lt;/P&gt;&lt;P&gt;If not ... &lt;/P&gt;&lt;P&gt;Come to change mode-&amp;gt;select the field-&amp;gt;Rule-&amp;gt;ABAP Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a perform statement in ABAP code at field level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM test&amp;lt;/b&amp;gt; using val&lt;/P&gt;&lt;P&gt;             changing valu.&lt;/P&gt;&lt;P&gt;Go to Utilities(at menu)-&amp;gt;switch layout-&amp;gt; extras -&amp;gt;select Layout-&amp;gt;check Form routine-&amp;gt; it will display a FORM Routine... at bottom&lt;/P&gt;&lt;P&gt;this is the place where you can write some code for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; FORM test&amp;lt;/b&amp;gt; using value &lt;/P&gt;&lt;P&gt;          changing value1&lt;/P&gt;&lt;P&gt;  FM call....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.ENDFORM   &lt;/P&gt;&lt;P&gt;Get the value1 returned and use for the Field population.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Manish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 20:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-which-will-use-function-module-during-field-mapping-in-lsmw/m-p/1716839#M313323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T20:42:21Z</dc:date>
    </item>
  </channel>
</rss>

