<?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 SXPG_COMMAND_EXECUTE in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391800#M1044293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;Does the FM SXPG_COMMAND_EXECUTE can be activated within background mode?&lt;/P&gt;&lt;P&gt;When I activate the abap program that includes the above FM within a periodic job it's not being executed.&lt;/P&gt;&lt;P&gt;Any reason for that?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Aug 2008 09:23:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-24T09:23:08Z</dc:date>
    <item>
      <title>SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391800#M1044293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;Does the FM SXPG_COMMAND_EXECUTE can be activated within background mode?&lt;/P&gt;&lt;P&gt;When I activate the abap program that includes the above FM within a periodic job it's not being executed.&lt;/P&gt;&lt;P&gt;Any reason for that?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 09:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391800#M1044293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T09:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391801#M1044294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the command you are executing with the function SXPG_COMMAND_EXECUTE.&lt;/P&gt;&lt;P&gt;can you mention that..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 09:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391801#M1044294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T09:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391802#M1044295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a z_ command which activates a decryption exe file.&lt;/P&gt;&lt;P&gt;It's working fine at foregound.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 10:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391802#M1044295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T10:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391803#M1044296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it unix command , what is your application server. if your app.system is unix/aix/linux check some normal command ex:- CAT , working in background or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 10:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391803#M1044296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T10:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391804#M1044297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested it , it is working in forground and background. but i used the program. i tested for unix and windows.&lt;/P&gt;&lt;P&gt;if it is working in foreground and not background then that means the problem with the command , Decryption may fail in Background. check wity the documentation of the command.&lt;/P&gt;&lt;P&gt;the below is for the windows NT, if you want to test it for Unix then change the to Unixcom = 'ls -al *'.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZUNIX line-size 400
                no standard page heading.

data : unixcom like   rlgrap-filename.
data: begin of tabl occurs 500,
        line(400),
      end of tabl.
data: lines type i.
*----------------------------------------------------------------------
start-of-selection.
  refresh tabl.
  unixcom = 'dir'.

  call 'SYSTEM' id 'COMMAND' field unixcom
                id 'TAB'     field tabl[].

 "if the files are different then you will some content in tabl
loop at tabl.
 write tabl-line.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 10:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391804#M1044297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T10:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391805#M1044298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the external command (exe file) is activated within batch mode threw windows OS without any problems by usin batch file.&lt;/P&gt;&lt;P&gt;I want to use the same batch file or running its command via abap code at backgrouond mode.&lt;/P&gt;&lt;P&gt;It may not be possible???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 21:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391805#M1044298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T21:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391806#M1044299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your code? Particularly the difference between foreground and background...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, when running it in the foreground, you are Dialog type user...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running it in the background, is this a SYSTEM type user in a job step (which type?), or just the menu option "Program =&amp;gt; Execute in background"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 22:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391806#M1044299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T22:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391807#M1044300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*--&amp;gt; Activate decryption command&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SXPG_COMMAND_EXECUTE' "IN BACKGROUND TASK&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        COMMANDNAME                   = 'ZFI_GPG'&lt;/P&gt;&lt;P&gt;        ADDITIONAL_PARAMETERS         = LV_PARAMS&lt;/P&gt;&lt;P&gt;        OPERATINGSYSTEM               = 'Windows NT'&lt;/P&gt;&lt;P&gt;        TARGETSYSTEM                  = LV_SERVER&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        STATUS                        = STATUS&lt;/P&gt;&lt;P&gt;        EXITCODE                      = EXITCODE&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        EXEC_PROTOCOL                 = LT_PROT_TAB&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        NO_PERMISSION                 = 1&lt;/P&gt;&lt;P&gt;        COMMAND_NOT_FOUND             = 2&lt;/P&gt;&lt;P&gt;        PARAMETERS_TOO_LONG           = 3&lt;/P&gt;&lt;P&gt;        SECURITY_RISK                 = 4&lt;/P&gt;&lt;P&gt;        WRONG_CHECK_CALL_INTERFACE    = 5&lt;/P&gt;&lt;P&gt;        PROGRAM_START_ERROR           = 6&lt;/P&gt;&lt;P&gt;        PROGRAM_TERMINATION_ERROR     = 7&lt;/P&gt;&lt;P&gt;        X_ERROR                       = 8&lt;/P&gt;&lt;P&gt;        PARAMETER_EXPECTED            = 9&lt;/P&gt;&lt;P&gt;        TOO_MANY_PARAMETERS           = 10&lt;/P&gt;&lt;P&gt;        ILLEGAL_COMMAND               = 11&lt;/P&gt;&lt;P&gt;        WRONG_ASYNCHRONOUS_PARAMETERS = 12&lt;/P&gt;&lt;P&gt;        CANT_ENQ_TBTCO_ENTRY          = 13&lt;/P&gt;&lt;P&gt;        JOBCOUNT_GENERATION_ERROR     = 14&lt;/P&gt;&lt;P&gt;        OTHERS                        = 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'ZFI_GPG' is the command from sm69 and lv_params is the additional parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 07:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-in-background/m-p/4391807#M1044300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T07:00:10Z</dc:date>
    </item>
  </channel>
</rss>

