<?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: import export in same program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622584#M602407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the EXPORT/IMPORT statement but you would need to write it to the shared buffer which is an extension of the EXPORT/IMPORT statements.  Maybe it would be better to use a parameter id here using the SET and GET statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET parameter id 'ZCOUNT' field v_count.


GET parameter id 'ZCOUNT' field v_count.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Aug 2007 14:24:00 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-08-05T14:24:00Z</dc:date>
    <item>
      <title>import export in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622583#M602406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a counter when i call  the prog again the counter is claer.&lt;/P&gt;&lt;P&gt;how i can i m make export import to get the old data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2007 14:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622583#M602406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-05T14:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: import export in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622584#M602407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the EXPORT/IMPORT statement but you would need to write it to the shared buffer which is an extension of the EXPORT/IMPORT statements.  Maybe it would be better to use a parameter id here using the SET and GET statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET parameter id 'ZCOUNT' field v_count.


GET parameter id 'ZCOUNT' field v_count.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2007 14:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622584#M602407</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-05T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: import export in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622585#M602408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm entering to prog itab_main is 3 line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and itab is 1 line and go out and entering to the prog again&lt;/P&gt;&lt;P&gt;i want to append to itab all the 3 lines--remember i going out and entering 3 times so it clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab_main LINES zlin_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab--is always 1 line&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab LINES zlin_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET parameter id 'ZCOUNT' field zlin_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if zlin = zlin_tab. "to print pizul&lt;/P&gt;&lt;P&gt;SUBMIT ZWM_XXXX AND RETURN.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zlin = zlin + 1.&lt;/P&gt;&lt;P&gt;SET parameter id 'ZCOUNT' field zlin_tab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not work heeelp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2007 14:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622585#M602408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-05T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: import export in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622586#M602409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly sure of your requirement, but just before the SET statement, you are adding to  ZLIN, is this correct?  Shouldn't you be changing ZLIN_TAB?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;zlin = zlin + 1.
SET parameter id 'ZCOUNT' field zlin_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,  these statements.  when you describe you are filling ZLIN_TAB and when doing the GET, if there is not value in memory, then it will fill ZLIN_TAB with nothing and hence clear it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DESCRIBE TABLE itab LINES zlin_tab. 

GET parameter id 'ZCOUNT' field zlin_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2007 14:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-in-same-program/m-p/2622586#M602409</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-05T14:56:21Z</dc:date>
    </item>
  </channel>
</rss>

