<?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 trigger 'save' event without pressing SAVE button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572281#M859900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use method set_new_ok_code of class cl_gui_cfw.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code
  EXPORTING new_code = new_code
  IMPORTING rc = rc.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Look also at [SAP Control Framework|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIGOF/BCCIGOF.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 16:24:39 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2008-03-31T16:24:39Z</dc:date>
    <item>
      <title>How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572277#M859896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i want to execute my 'save' event without press the SAVE button.&lt;/P&gt;&lt;P&gt;I want to simulate press the button with abap code and sy-ucomm = 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a function module for this functionality&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;Reward Points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572277#M859896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T16:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572278#M859897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And when will this event be triggered? Nothing will happen in a dialog screen (module pool) if the user doesn't perform some sort of action. If the simulation should start directly after opening transaction, write some code in de PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sounds to me like an odd requirement. Please elaborate on your requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572278#M859897</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-31T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572279#M859898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JosAngel Garc Luna ,&lt;/P&gt;&lt;P&gt;    Try the below FM's :&lt;/P&gt;&lt;P&gt;           HRMGE_OS_OVRVW_PROCESS_UCOMM &lt;/P&gt;&lt;P&gt;           HRMGE_CI_OVRVW_PROCESS_UCOMM&lt;/P&gt;&lt;P&gt;           NF_EM_SET_SY_UCOMM&lt;/P&gt;&lt;P&gt;           OM_EM_SET_SY_UCOMM&lt;/P&gt;&lt;P&gt;           OM_OO_HANDLE_UCOMM&lt;/P&gt;&lt;P&gt;           HR_COMMON_UCOMM&lt;/P&gt;&lt;P&gt;           HR_DETAIL_UCOMM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572279#M859898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572280#M859899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , i have an event in the PAI, i realize some actions ( with my code) , after that, i need to push two buttons dinamically ( Without the user push any button), i need to push both buttons dinamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572280#M859899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T16:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572281#M859900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use method set_new_ok_code of class cl_gui_cfw.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code
  EXPORTING new_code = new_code
  IMPORTING rc = rc.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Look also at [SAP Control Framework|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIGOF/BCCIGOF.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572281#M859900</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-03-31T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572282#M859901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, than just forget about the buttons and create some code at the end of the PAI event which you have already coded (i realize some actions ( with my code)). Just do a perform event_xxx and perform event_yyy. The code which will be executed (processed) will look exactly the same as if you had created it when pushing buttons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'AAA'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;let's say this is done with your code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform event_aaa.&lt;/P&gt;&lt;P&gt;perform: event_xxx, event_yyy.&lt;/P&gt;&lt;P&gt;WHEN 'XXX'.&lt;/P&gt;&lt;P&gt;perform event_xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN'YYY'.&lt;/P&gt;&lt;P&gt;perform event_yyy.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572282#M859901</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-31T16:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572283#M859902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but i have this code in a user exit. I need to change the sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By example sy-ucomm = 'ACCR',  and after that the SAP standard transaction simulate to push the ACCR button without pushing that button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572283#M859902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572284#M859903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, in that case, try and copy the coding for the actual SY-UCOMM to your PAI event. This should do the trick and the user exit should be processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572284#M859903</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-31T16:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572285#M859904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to trigger the PBO somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="421124"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can change the sy-ucomm and then leave screen to the same screen.&lt;/P&gt;&lt;P&gt;But I don't know if it could mess up the transaction actions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572285#M859904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T16:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger 'save' event without pressing SAVE button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572286#M859905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    when u create the save u also give the controls rite like 'ctrl&lt;EM&gt;s' .once u gave u also use this 'ctrl&lt;/EM&gt;s'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 18:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-save-event-without-pressing-save-button/m-p/3572286#M859905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T18:29:37Z</dc:date>
    </item>
  </channel>
</rss>

