<?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: Launch LQ02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/launch-lq02/m-p/7391145#M1545454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;info and warning messages aren't fatal, are they? Are they just being written to log or spool?  If so, what is the concern? You mentioned that the screen is being called?  Is that what you meant to say?  Or, did you mean that the messages that would arise from screen processing in foreground are showing up in the job log and you didn't expect these?  Or?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 14:42:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-13T14:42:37Z</dc:date>
    <item>
      <title>Launch LQ02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/launch-lq02/m-p/7391144#M1545453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to launch te transaction LQ02 (program rllq0200) from another program, without having its dynpros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to implement a submit via job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      jobname          = name&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      jobcount         = number&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cant_create_job  = 1&lt;/P&gt;&lt;P&gt;      invalid_job_data = 2&lt;/P&gt;&lt;P&gt;      jobname_missing  = 3&lt;/P&gt;&lt;P&gt;      OTHERS           = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    SUBMIT rllq0200 AND RETURN&lt;/P&gt;&lt;P&gt;                    WITH s1_lgnum     = wa_out-lgnum&lt;/P&gt;&lt;P&gt;                    WITH s1_lgtyp     IN r_lgtyp&lt;/P&gt;&lt;P&gt;                    WITH s1_lgpla     IN r_lgpla&lt;/P&gt;&lt;P&gt;                    WITH sobkz-low    = 'K'&lt;/P&gt;&lt;P&gt;                    WITH pa_bwlvs     = '411'&lt;/P&gt;&lt;P&gt;                    WITH matnr        IN r_matnr&lt;/P&gt;&lt;P&gt;                    WITH werks        IN r_werks&lt;/P&gt;&lt;P&gt;                    WITH lgort        IN r_lgort&lt;/P&gt;&lt;P&gt;                    WITH pa_bldat     = sy-datum&lt;/P&gt;&lt;P&gt;                    WITH pa_budat     = sy-datum&lt;/P&gt;&lt;P&gt;                    WITH pa_dunkl     = 'D'&lt;/P&gt;&lt;P&gt;                    VIA JOB name NUMBER number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          jobcount             = number&lt;/P&gt;&lt;P&gt;          jobname              = name&lt;/P&gt;&lt;P&gt;          strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          cant_start_immediate = 1&lt;/P&gt;&lt;P&gt;          invalid_startdate    = 2&lt;/P&gt;&lt;P&gt;          jobname_missing      = 3&lt;/P&gt;&lt;P&gt;          job_close_failed     = 4&lt;/P&gt;&lt;P&gt;          job_nosteps          = 5&lt;/P&gt;&lt;P&gt;          job_notex            = 6&lt;/P&gt;&lt;P&gt;          lock_failed          = 7&lt;/P&gt;&lt;P&gt;          OTHERS               = 8.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, in spite of this, it appears the selection screen of the submitted program, displaying some info and warning message (the Job is regularly created as I can watch on SM37 transaction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code of the standard program make a check on sy-batch...I was wondering if the fastest solution could be make a copy of the program and modify it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 09:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/launch-lq02/m-p/7391144#M1545453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Launch LQ02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/launch-lq02/m-p/7391145#M1545454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;info and warning messages aren't fatal, are they? Are they just being written to log or spool?  If so, what is the concern? You mentioned that the screen is being called?  Is that what you meant to say?  Or, did you mean that the messages that would arise from screen processing in foreground are showing up in the job log and you didn't expect these?  Or?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 14:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/launch-lq02/m-p/7391145#M1545454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-13T14:42:37Z</dc:date>
    </item>
  </channel>
</rss>

