<?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: Function code for sy-uomm =  space in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930313#M1150206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not possible with text box.&lt;/P&gt;&lt;P&gt;need to provide drop down and assign a func code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2009 03:49:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-05T03:49:29Z</dc:date>
    <item>
      <title>Function code for sy-uomm =  space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930309#M1150202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field MATNR at Header level(say) and a table control below say with &amp;gt; 1 rows for  line items &lt;/P&gt;&lt;P&gt;and few columns in which MATNR is one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had written code for pressing ENTER at header level which has sy-ucomm as space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for item level (in tab control) also sy-ucomm = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to assign different func codes to the MATNR field at Header level and in item level (in table control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because when i press enter key the same code triggers at header level or even at table control level &lt;/P&gt;&lt;P&gt;in PAI.	The same logic triggers in both cases and gives me wrong result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i handle this if not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2008 20:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930309#M1150202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-13T20:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function code for sy-uomm =  space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930310#M1150203</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;For table control you can use chan endchain so inthis case when you make any changes in the table control then for the fields which have been used inside chain endchain MODULE modify_Control  will get triggered.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PAI

*module for Header*
FIELD WA_MATNR Module Change_Header ON INPUT

*Table Control*
Loop at i_tab.
CHAIN.
 
FIELD wa_itab-matnr.
MODULE modify_Control ON CHAIN-REQUEST. 
ENDCHAIN.
 
Endlopp.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that will solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2008 18:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930310#M1150203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-14T18:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function code for sy-uomm =  space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930311#M1150204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha Shukla,&lt;/P&gt;&lt;P&gt;What exactly should i write in MODULE modify_Control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD WA_MATNR Module Change_Header ON INPUT --&amp;gt; isn't it ON CHANGE here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 02:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930311#M1150204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T02:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function code for sy-uomm =  space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930312#M1150205</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;This Module will be called as soon as you change the value or enter the value in header field Matnr.&lt;/P&gt;&lt;P&gt;As you have mentioned in your case that when you change the value or enter the value then you execute some piece of code using sy-ucomm = space so instead of using sy-ucomm = space&lt;/P&gt;&lt;P&gt;when u enter some value in your header field than this module will be called you save this screen field in some z table or you save it in a temp table or you can validate it ,I mean it`s up to you how do you handle this.&lt;/P&gt;&lt;P&gt;I have suggested to use this instead of sy-ucomm = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 03:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930312#M1150205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T03:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function code for sy-uomm =  space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930313#M1150206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not possible with text box.&lt;/P&gt;&lt;P&gt;need to provide drop down and assign a func code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 03:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-for-sy-uomm-space/m-p/4930313#M1150206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-05T03:49:29Z</dc:date>
    </item>
  </channel>
</rss>

