<?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: call function 'SAPGUI_SET_FUNCTIONCODE' . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897997#M1596472</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;   The function module is used in the foreground. but cannot work in background. Bypass the FM in background using sy-batch and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2011 11:31:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-09T11:31:57Z</dc:date>
    <item>
      <title>call function 'SAPGUI_SET_FUNCTIONCODE' .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897996#M1596471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am executing a zreport from foreground its working fine.Bur when i execute the same program in background the jod is not getting executing .I am getting an error message like---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Job started&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Step 001 started (program ZBGHR_APR2011_MAINT, variant &amp;amp;0000000000039, user ID ******)&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Unable to initialise ABAP Control Framework ...&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Spool request (number 0000036474) created without immediate output&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Only inconsistent rows will be updated&lt;/P&gt;&lt;P&gt;09.05.2011	09:53:10	Job cancelled after system exception ERROR_MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kept breakpoint at this functionmodule  -- 'SAPGUI_SET_FUNCTIONCODE' . here i am facing this problem the message is getting populated here.Can u tell me how to avoid this error,and to run my backgroung job sucessfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz explain me y i am facing this error.PLZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please do not use SMS speak.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 9, 2011 2:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 10:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897996#M1596471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: call function 'SAPGUI_SET_FUNCTIONCODE' .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897997#M1596472</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;   The function module is used in the foreground. but cannot work in background. Bypass the FM in background using sy-batch and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 11:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897997#M1596472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: call function 'SAPGUI_SET_FUNCTIONCODE' .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897998#M1596473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ummm.. read the function module documentation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU SAPGUI_SET_FUNCTIONCODE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Set a function code and continue processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This module simulates user input in the command field. This enables you to run screen sequences without user input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for foreground and when you run the program in background, you will not have access to control framework. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As someone said in earlier post, use SY-BATCH to find out if it is running in background then by-pass this code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 15:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897998#M1596473</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-09T15:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: call function 'SAPGUI_SET_FUNCTIONCODE' .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897999#M1596474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dande,&lt;/P&gt;&lt;P&gt;Thanks for ur immediate  reply.The solution u gave waorked .but the job is getting concelled.In my custom selection screen i am having a checkbox FIX ALL. if i check it and run the report in backgroung its throughing an error like "job concelled after system exception ERROR_MESSAGE". If i run the same report without check the job is succesfull. I just want to find where that message is getting populated .Please can u help how to go to that message directly in my report.Please ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: again, please do not use SMS speak, use the spell checker instead (u, ur, waorked, concelled, backgroung, throughing, ...)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 10, 2011 5:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 13:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-sapgui-set-functioncode/m-p/7897999#M1596474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-10T13:38:22Z</dc:date>
    </item>
  </channel>
</rss>

