<?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 transaction - problems with running in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899411#M681806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure about that? Why it's not working that way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 08:30:54 GMT</pubDate>
    <dc:creator>marcin_cholewczuk</dc:creator>
    <dc:date>2007-10-11T08:30:54Z</dc:date>
    <item>
      <title>call transaction - problems with running</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899408#M681803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a little problem, which I don&amp;#146;t understand at all. I&amp;#146;m calling transaction inside of my program with this statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR opt.&lt;/P&gt;&lt;P&gt;  opt-dismode = 'N'.&lt;/P&gt;&lt;P&gt;  opt-updmode = 'A'.&lt;/P&gt;&lt;P&gt;  opt-cattmode = ' '.&lt;/P&gt;&lt;P&gt;  opt-racommit = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'FPSA' USING itab_bdcdata OPTIONS FROM opt MESSAGES&lt;/P&gt;&lt;P&gt;                                                     INTO itab_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this normally (clicking run / F8 ) than everything is working fine, but when I execute this in background (I&amp;#146;m writing  everything from itab_messages on screen so I can read that latter from spool) than I&amp;#146;m getting an error&lt;/P&gt;&lt;P&gt;&amp;#145;No structure defined for mass activity ZB_V&amp;#146; with message type &amp;#145;A&amp;#146; (Abort). Those letters ZB_V are 4 beginning letters of report name under which I&amp;#146;m calling that transaction (don&amp;#146;t know why only 4 letters and not all string). Does anybody know what is reason for such behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899408#M681803</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2007-10-11T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction - problems with running</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899409#M681804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Background wll not call the Call transaction statement..It doesnt work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899409#M681804</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-10-11T08:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction - problems with running</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899410#M681805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to create a job on the fly to do this. This example shows how to kick off a background job via an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zsure_0004 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: sdate type sy-datum,&lt;/P&gt;&lt;P&gt;stime type sy-uzeit,&lt;/P&gt;&lt;P&gt;l_valid,&lt;/P&gt;&lt;P&gt;ls_params like pri_params,&lt;/P&gt;&lt;P&gt;l_jobcount like tbtcjob-jobcount,&lt;/P&gt;&lt;P&gt;l_jobname like tbtcjob-jobname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get Print Parameters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;no_dialog = 'X'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;valid = l_valid&lt;/P&gt;&lt;P&gt;out_parameters = ls_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Open Job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;l_jobname = 'ZRICH_0005'.&lt;/P&gt;&lt;P&gt;call function 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;jobname = l_jobname&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;jobcount = l_jobcount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Submit report to job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;submit zsure_0005 &lt;/P&gt;&lt;P&gt;via job l_jobname&lt;/P&gt;&lt;P&gt;number l_jobcount&lt;/P&gt;&lt;P&gt;to sap-spool without spool dynpro&lt;/P&gt;&lt;P&gt;spool parameters ls_params&lt;/P&gt;&lt;P&gt;and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Schedule and close job.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;jobcount = l_jobcount&lt;/P&gt;&lt;P&gt;jobname = l_jobname&lt;/P&gt;&lt;P&gt;strtimmed = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try to put your call trnasaction in a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'Z_TRANSACTION' in background task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-program-for-purchase-info-records.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-program-for-purchase-info-records.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899410#M681805</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-10-11T08:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction - problems with running</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899411#M681806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure about that? Why it's not working that way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899411#M681806</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2007-10-11T08:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction - problems with running</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899412#M681807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Please try it out and let me know if u face problems. Create a job for the purpose or if u have a BAPI, then u can upload it using BAPI..the BAPI will take care of it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it is useful :)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-problems-with-running/m-p/2899412#M681807</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-10-11T08:43:23Z</dc:date>
    </item>
  </channel>
</rss>

