<?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: BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/1791221#M340400</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;1. When u use memory id, make sure of the&lt;/P&gt;&lt;P&gt;following points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The memory id is SAME as the variable name&lt;/P&gt;&lt;P&gt;b) Memory id should be in CAPITAL&lt;/P&gt;&lt;P&gt;c) When u want to import,&lt;/P&gt;&lt;P&gt;the variable name should be same as original one,&lt;/P&gt;&lt;P&gt;and should be declared in the same fashion only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; for Z1&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zmem_sha.
DATA : PERNR LIKE P0001-PERNR.
PERNR = '00004556'.
EXPORT PERNR TO MEMORY ID 'PERNR'.
CALL TRANSACTION 'ZTR01'.

*-------- For Z2 (having tcode ZTR01)
report abc.
DATA : PERNR LIKE P0001-PERNR.
IMPORT PERNR FROM MEMORY ID 'PERNR'.
BREAK-POINT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 07:12:20 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-12-20T07:12:20Z</dc:date>
    <item>
      <title>BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/1791220#M340399</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;HOW DO I CREATE MEMORY IDS  ZMATNR Z WERKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR MEMORY ID'S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT MATNR AND WERKS TO MEMORY IDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE PROVIDE ME WITH THE CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/1791220#M340399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T07:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/1791221#M340400</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;1. When u use memory id, make sure of the&lt;/P&gt;&lt;P&gt;following points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The memory id is SAME as the variable name&lt;/P&gt;&lt;P&gt;b) Memory id should be in CAPITAL&lt;/P&gt;&lt;P&gt;c) When u want to import,&lt;/P&gt;&lt;P&gt;the variable name should be same as original one,&lt;/P&gt;&lt;P&gt;and should be declared in the same fashion only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; for Z1&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zmem_sha.
DATA : PERNR LIKE P0001-PERNR.
PERNR = '00004556'.
EXPORT PERNR TO MEMORY ID 'PERNR'.
CALL TRANSACTION 'ZTR01'.

*-------- For Z2 (having tcode ZTR01)
report abc.
DATA : PERNR LIKE P0001-PERNR.
IMPORT PERNR FROM MEMORY ID 'PERNR'.
BREAK-POINT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/1791221#M340400</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-20T07:12:20Z</dc:date>
    </item>
  </channel>
</rss>

