<?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: How to clear main program´s ok_code when adding a customer button through QQMA0001 enhancement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946773#M1798065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!&lt;/P&gt;&lt;P&gt;This is the solution given in that thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in module user_command_0100 of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here i get the OK-CODE of the main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: c_okcode(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: wa_okcode TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLEAR wa_okcode.&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS:&amp;nbsp; = l_okcode.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m sorry but I don´´t understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written this code: in module user_command_0100 of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: c_okcode(17) TYPE c VALUE '(SAPLIQSO)OK-CODE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: wa_okcode TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLEAR wa_okcode.&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS:&amp;nbsp; = l_okcode.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is l_okcode? I have no such field. I have no ok-code in my subscreen because it is not posible to create it; system does not allow it. Anyway; in this code where is the main program´s ok-code cleared?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 10:03:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-13T10:03:38Z</dc:date>
    <item>
      <title>How to clear main program´s ok_code when adding a customer button through QQMA0001 enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946771#M1798063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus!!&lt;/P&gt;&lt;P&gt;I have created a project in which I add code to QQMA0001 enhancement. I have also painted a button within dynpro&amp;nbsp; SAPLXQQM – 0101 with function code ENV . In&amp;nbsp; function EXIT_SAPMIWO0_009;&amp;nbsp; include ZXQQMU08&amp;nbsp; I have this code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CASE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-U&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;COMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;'ENV'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="color: windowtext; font-size: 10pt;"&gt;The problem is that when saving QM notification I get this error:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: windowtext; font-size: 10pt;"&gt;“Función solicitada ENV no prevista.”&amp;nbsp;&amp;nbsp;&amp;nbsp; Nº mensaje: V0104&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: windowtext; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="color: windowtext; font-size: 10pt;"&gt;This means that within program control SAPLIQS0; OK_CODE field has ENV value. How could I make OK_CODE to become blank from &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; include ZXQQMU08&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946771#M1798063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-09T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear main program´s ok_code when adding a customer button through QQMA0001 enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946772#M1798064</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;maybe this thread can give you an idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/685437" title="https://scn.sap.com/thread/685437"&gt;okcode and subscreen | SCN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 07:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946772#M1798064</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2013-12-11T07:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear main program´s ok_code when adding a customer button through QQMA0001 enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946773#M1798065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!&lt;/P&gt;&lt;P&gt;This is the solution given in that thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in module user_command_0100 of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here i get the OK-CODE of the main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: c_okcode(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: wa_okcode TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLEAR wa_okcode.&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS:&amp;nbsp; = l_okcode.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m sorry but I don´´t understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written this code: in module user_command_0100 of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: c_okcode(17) TYPE c VALUE '(SAPLIQSO)OK-CODE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: wa_okcode TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLEAR wa_okcode.&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS:&amp;nbsp; = l_okcode.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is l_okcode? I have no such field. I have no ok-code in my subscreen because it is not posible to create it; system does not allow it. Anyway; in this code where is the main program´s ok-code cleared?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 10:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946773#M1798065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-13T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear main program´s ok_code when adding a customer button through QQMA0001 enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946774#M1798066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved my problem in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of SAPLXQQM – 0101 screen I have writen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ok_code&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;21&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'(SAPLIQS0)OK-CODE'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&amp;lt;ok&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;any&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;ok_code&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&amp;lt;ok&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;&amp;lt;ok&amp;gt; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ENV'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;clear &lt;/SPAN&gt;&amp;lt;ok&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Now I am not having any error-.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 10:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-clear-main-program-s-ok-code-when-adding-a-customer-button-through/m-p/9946774#M1798066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-13T10:45:12Z</dc:date>
    </item>
  </channel>
</rss>

