<?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: Using submit while in update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005665#M77737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but i don't think it will possible for you to do something like that.Maybe you can see if you cannot use the PERFORM for Calling ABAP Subroutines from your sapscript.&lt;/P&gt;&lt;P&gt;In this perform, you can maybe insert into memory the values you need and retrieve then back in your calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the first program must wait unitl the calling application has filled the memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2005 12:53:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-05T12:53:51Z</dc:date>
    <item>
      <title>Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005662#M77734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ny necessity I  am calling a print program from another print program so that the spools can be combined. This is done  using the 'submit' program command to go and get the data from the called print program, which is then output in the calling print program. This works fine when the print is kicked off online, but if the print is called as part of the update task when saving the transaction, it falls over as the submit command is not allowed during update task. Can anyone suggest another way of doing this submit? I've searched similar threads on here, but with no luck. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 10:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005662#M77734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005663#M77735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to use the job functionality in combination with the BP_RAISE_EVENT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1° Put your submit into a program.&lt;/P&gt;&lt;P&gt;2* Create a event(SM62)&lt;/P&gt;&lt;P&gt;3° Create a Background job (SM36) that call your second print program with Start condition After Event.&lt;/P&gt;&lt;P&gt;3° Use in your program the FM BP_RAISE_EVENT ro raise your event.Of course, you must transfer some of your information via import/export from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 11:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005663#M77735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T11:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005664#M77736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for that Barca but I can't really do that in this instance. To explain further, the probelm arises when you save out of a transaction ( int this case a delivery) and the delivery output is created as part of the update task. The term submit isnt allowed, so I need to find away to call on program from the other that is acceptable when the program is being called in the background when saving the delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does that clarify the requirment a little more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 12:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005664#M77736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T12:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005665#M77737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but i don't think it will possible for you to do something like that.Maybe you can see if you cannot use the PERFORM for Calling ABAP Subroutines from your sapscript.&lt;/P&gt;&lt;P&gt;In this perform, you can maybe insert into memory the values you need and retrieve then back in your calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the first program must wait unitl the calling application has filled the memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 12:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005665#M77737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T12:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005666#M77738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a function module, place your sumbit in FM and call it IN BACKGROUND TASK...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 20:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005666#M77738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T20:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using submit while in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005667#M77739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing similar problem in my program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using following code in my program. This program is triggered in the update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT ZMDTRAIL&lt;/P&gt;&lt;P&gt;WITH P_BUKRS EQ VBRK-BUKRS&lt;/P&gt;&lt;P&gt;WITH S_VBELN EQ VBRK-VBELN&lt;/P&gt;&lt;P&gt;TO SAP-SPOOL SPOOL PARAMETERS PRI_PARAMS&lt;/P&gt;&lt;P&gt;ARCHIVE PARAMETERS ARC_PARAMS&lt;/P&gt;&lt;P&gt;WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By addition TO SAP-SPOOL first output statement of zmdtrail creates a new spool request number and all outputs are transfered as print list page by page to SAP spool table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By addition SPOOL PARAMETERS print parameters are transfered in PRI_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARCHIVE PARAMETERS transfer archive parameters in structure ARC_PARAMS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in ECC 6.0 version submit statement is not allowed in update process. So instead of using submit statement i copied code of ZMDTRAIL . That part is working fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i want to work on SPOOL generation part of it. I am getting spool parameters in PRI_PARAMS by using function module GET_PRINT_PARAMETERS, but i am not able to generate spool number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me some appropriate additions so that code will work in same way as it was working earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 07:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-submit-while-in-update-task/m-p/1005667#M77739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T07:15:26Z</dc:date>
    </item>
  </channel>
</rss>

