<?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 export memory statement not working between two methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163134#M1516137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all &lt;/P&gt;&lt;P&gt;i m implementing one BADI MB_MIGO_BADI .this BADI is having 2 methods 1)LINE_MODIFY and 2)PBO_DETAIL.&lt;/P&gt;&lt;P&gt;the followng is the code in LINE_MODIFY methd&lt;/P&gt;&lt;P&gt; DATA : c_flag TYPE c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES:BEGIN OF tp_ecppa,&lt;/P&gt;&lt;P&gt;        prvsy	TYPE /sapsll/prvsy_spi,&lt;/P&gt;&lt;P&gt;        ecpid	TYPE /sapsll/ecpid_spi,&lt;/P&gt;&lt;P&gt;  END OF tp_ecppa.&lt;/P&gt;&lt;P&gt;  DATA:wl_ecppa TYPE tp_ecppa.&lt;/P&gt;&lt;P&gt;  IF cs_goitem-matnr IS NOT  INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SELECT  prvsy ecpid UP TO 1 ROWS FROM /sapsll/ecppa INTO wl_ecppa WHERE prvsy = cs_goitem-matnr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDSELECT.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IF wl_ecppa-ecpid EQ 'DE3203CWIP'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      c_flag = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET PARAMETER ID 'PMEM' FIELD c_flag.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  export c_flag from c_flag  to memory id 'mem1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is the code in PBO_DETAIL method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD IF_EX_MB_MIGO_BADI~PBO_DETAIL.&lt;/P&gt;&lt;P&gt;  IF SY-UNAME = 'E494049' or sy-uname = 'E491754'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:C_FLG TYPE C .&lt;/P&gt;&lt;P&gt;    CLEAR C_FLG.&lt;/P&gt;&lt;P&gt;    if gf_class_id eq i_class_id.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GET PARAMETER ID 'PMEM' FIELD c_FLG.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   Import c_flg to c_flg from memory id 'mem1'.&lt;/P&gt;&lt;P&gt;IF C_FLG = 'X'.&lt;/P&gt;&lt;P&gt;E_CPROG = 'ZP1_SCREEN'.&lt;/P&gt;&lt;P&gt;E_DYNNR = '0001'.&lt;/P&gt;&lt;P&gt;E_HEADING = 'GTS'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; free memory id 'PMEM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.                    "IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the new tab is not displayed in MIGO . so i think there is some mistake in  export memory statement . &lt;/P&gt;&lt;P&gt;so could you please check if i have used export/import statements correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2010 09:51:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-16T09:51:37Z</dc:date>
    <item>
      <title>export memory statement not working between two methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163134#M1516137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all &lt;/P&gt;&lt;P&gt;i m implementing one BADI MB_MIGO_BADI .this BADI is having 2 methods 1)LINE_MODIFY and 2)PBO_DETAIL.&lt;/P&gt;&lt;P&gt;the followng is the code in LINE_MODIFY methd&lt;/P&gt;&lt;P&gt; DATA : c_flag TYPE c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES:BEGIN OF tp_ecppa,&lt;/P&gt;&lt;P&gt;        prvsy	TYPE /sapsll/prvsy_spi,&lt;/P&gt;&lt;P&gt;        ecpid	TYPE /sapsll/ecpid_spi,&lt;/P&gt;&lt;P&gt;  END OF tp_ecppa.&lt;/P&gt;&lt;P&gt;  DATA:wl_ecppa TYPE tp_ecppa.&lt;/P&gt;&lt;P&gt;  IF cs_goitem-matnr IS NOT  INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SELECT  prvsy ecpid UP TO 1 ROWS FROM /sapsll/ecppa INTO wl_ecppa WHERE prvsy = cs_goitem-matnr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDSELECT.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IF wl_ecppa-ecpid EQ 'DE3203CWIP'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      c_flag = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET PARAMETER ID 'PMEM' FIELD c_flag.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  export c_flag from c_flag  to memory id 'mem1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is the code in PBO_DETAIL method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD IF_EX_MB_MIGO_BADI~PBO_DETAIL.&lt;/P&gt;&lt;P&gt;  IF SY-UNAME = 'E494049' or sy-uname = 'E491754'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:C_FLG TYPE C .&lt;/P&gt;&lt;P&gt;    CLEAR C_FLG.&lt;/P&gt;&lt;P&gt;    if gf_class_id eq i_class_id.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GET PARAMETER ID 'PMEM' FIELD c_FLG.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   Import c_flg to c_flg from memory id 'mem1'.&lt;/P&gt;&lt;P&gt;IF C_FLG = 'X'.&lt;/P&gt;&lt;P&gt;E_CPROG = 'ZP1_SCREEN'.&lt;/P&gt;&lt;P&gt;E_DYNNR = '0001'.&lt;/P&gt;&lt;P&gt;E_HEADING = 'GTS'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; free memory id 'PMEM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.                    "IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the new tab is not displayed in MIGO . so i think there is some mistake in  export memory statement . &lt;/P&gt;&lt;P&gt;so could you please check if i have used export/import statements correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 09:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163134#M1516137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T09:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: export memory statement not working between two methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163135#M1516138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my problem is rectified .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 09:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163135#M1516138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T09:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: export memory statement not working between two methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163136#M1516139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If problem is rectified, Please mark as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sujay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 09:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163136#M1516139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T09:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: export memory statement not working between two methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163137#M1516140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rectified by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 06:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-memory-statement-not-working-between-two-methods/m-p/7163137#M1516140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-03T06:39:54Z</dc:date>
    </item>
  </channel>
</rss>

