<?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 debug memory id.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-memory-id/m-p/4319630#M1029338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using export to memory and import from memory in my program. but the value is not set properly and i want to debug and check the value of the id in debugging mode .. how to do that ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code&lt;/P&gt;&lt;P&gt;       FREE MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;        EXPORT 'X' TO MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;        LEAVE TO SCREEN '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen 100's PBO i check the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IMPORT ZCC FROM MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT ZCC IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF ZCC = 'X'.&lt;/P&gt;&lt;P&gt;       MESSAGE ................&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;But the value in ZCC is blank !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Aug 2008 18:54:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-16T18:54:13Z</dc:date>
    <item>
      <title>debug memory id..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-memory-id/m-p/4319630#M1029338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using export to memory and import from memory in my program. but the value is not set properly and i want to debug and check the value of the id in debugging mode .. how to do that ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code&lt;/P&gt;&lt;P&gt;       FREE MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;        EXPORT 'X' TO MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;        LEAVE TO SCREEN '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen 100's PBO i check the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IMPORT ZCC FROM MEMORY ID 'ZXXX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT ZCC IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF ZCC = 'X'.&lt;/P&gt;&lt;P&gt;       MESSAGE ................&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;But the value in ZCC is blank !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 18:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-memory-id/m-p/4319630#M1029338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: debug memory id..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-memory-id/m-p/4319631#M1029339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is how SAP Memory id operations works &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What ever parameter you export , you have to use the same name and type in import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so correction to your code will be....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare the same variable in the exporting side. and pass value to it and export it to memory id.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: zcc type c.

ZCC = 'X'.

EXPORT zcc TO MEMORY ID 'ZXXX'.
LEAVE TO SCREEN '0100'.
"in PBO the same variable you import.
in screen 100's PBO i check the value

IMPORT ZCC FROM MEMORY ID 'ZXXX'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i dont see any reason with the exports and imports in this case, this can be avoided using a global variable. using global variable will avoid the usage of Memory operations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 19:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-memory-id/m-p/4319631#M1029339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T19:38:14Z</dc:date>
    </item>
  </channel>
</rss>

