<?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 SHARED MEMORY AND DATABASE MEMORY giving problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769719#M1117995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem with EXPORT MEMORY and IMPORT MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed one program which will EXPORT the internal table and some variables to the memory.This program will call another program via background job. IMPORT memory used in another program to get the first program data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This IMPORT command is working perfect in foreground. But  it is not working in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have reviewed couple of forums and I tried both SHARED MEMORY AND DATABASE MEMORY.  But no use. Still background is giving problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I remove VIA JOB  parameter in the SUBMIT statement it is working. But i need to execute this program in background via background job. Please help me . what should I do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls find the below code of mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;option1 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXPORT TAB = ITAB&lt;/P&gt;&lt;P&gt;       TO DATABASE indx(Z1)&lt;/P&gt;&lt;P&gt;            FROM   w_indx&lt;/P&gt;&lt;P&gt;            CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;            ID     'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;option2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXPORT ITAB   FROM ITAB&lt;/P&gt;&lt;P&gt;  TO SHARED MEMORY indx(Z1)&lt;/P&gt;&lt;P&gt;  FROM w_indx&lt;/P&gt;&lt;P&gt;  CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;  ID 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SUBMIT   ZPROG2   TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                  SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                   WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;*_VIA JOB name NUMBER number&lt;/EM&gt;*_&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== &lt;/P&gt;&lt;P&gt;Hope every bidy understood the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my sincere request is ... pls post only relavent answer. do not post dummy answer for points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 01:24:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T01:24:13Z</dc:date>
    <item>
      <title>SHARED MEMORY AND DATABASE MEMORY giving problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769719#M1117995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem with EXPORT MEMORY and IMPORT MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed one program which will EXPORT the internal table and some variables to the memory.This program will call another program via background job. IMPORT memory used in another program to get the first program data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This IMPORT command is working perfect in foreground. But  it is not working in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have reviewed couple of forums and I tried both SHARED MEMORY AND DATABASE MEMORY.  But no use. Still background is giving problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I remove VIA JOB  parameter in the SUBMIT statement it is working. But i need to execute this program in background via background job. Please help me . what should I do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls find the below code of mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;option1 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXPORT TAB = ITAB&lt;/P&gt;&lt;P&gt;       TO DATABASE indx(Z1)&lt;/P&gt;&lt;P&gt;            FROM   w_indx&lt;/P&gt;&lt;P&gt;            CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;            ID     'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;option2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXPORT ITAB   FROM ITAB&lt;/P&gt;&lt;P&gt;  TO SHARED MEMORY indx(Z1)&lt;/P&gt;&lt;P&gt;  FROM w_indx&lt;/P&gt;&lt;P&gt;  CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;  ID 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SUBMIT   ZPROG2   TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                  SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                   WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;*_VIA JOB name NUMBER number&lt;/EM&gt;*_&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== &lt;/P&gt;&lt;P&gt;Hope every bidy understood the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my sincere request is ... pls post only relavent answer. do not post dummy answer for points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 01:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769719#M1117995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T01:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: SHARED MEMORY AND DATABASE MEMORY giving problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769720#M1117996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can not exchange data between your programs using ABAP memory, because this memory is shared between objects &lt;STRONG&gt;&lt;EM&gt;within the same internal session&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When you call your report using &lt;EM&gt;VIA JOB&lt;/EM&gt;, a new session is created.&lt;/P&gt;&lt;P&gt;Instead of using EXPORT and IMPORT to memory, put both programs into the same Function Group, and use global data objects of the _TOP include to exchange data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option, is to use SPA/GPA parameters (SET PARAMETER ID / GET PARAMETER ID), because SAP memory it is available between all open sessions. Of course, it depends on wich type of data you want to export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it was helpful,&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;F.S.A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 02:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769720#M1117996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T02:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: SHARED MEMORY AND DATABASE MEMORY giving problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769721#M1117997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Federico Alvarez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. still my issue was not solved, eventhough we decalre related variables and tables in common include program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we assign two programs under same function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pls answer for my first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769721#M1117997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: SHARED MEMORY AND DATABASE MEMORY giving problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769722#M1117998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate posts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1112251"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/thread/1113622 &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 16:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769722#M1117998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: SHARED MEMORY AND DATABASE MEMORY giving problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769723#M1117999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate deleted.  Looks accidental.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 16:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-and-database-memory-giving-problem/m-p/4769723#M1117999</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-11-04T16:13:20Z</dc:date>
    </item>
  </channel>
</rss>

