<?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: Memory Refresh &amp; Field symbol behaviour in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181036#M1624276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing the BADI spot may not be the exact to suit your purpose. Did you create a break-point at your code and check if it's getting triggered on "Delivery Tab"? Unfortunately I cannot confirm because I don't have access to this functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 20:51:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-31T20:51:26Z</dc:date>
    <item>
      <title>Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181030#M1624270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue was to make address number, city &amp;amp; postal code mandatory while creating PO in Delivery Address.&lt;/P&gt;&lt;P&gt;I used the exit ZXM06U032 &amp;amp; Badi ME_PROCESS_PO_CUST-&amp;gt;CHECK method to implement the changes. The changes were working fine &amp;amp; after moving to production system we are facing issues like the error is thrown unnecessarily to update city, Postal code &amp;amp; address number when we are in any other tab instead of Delivery address tab. If we enter into Delivery address tab the error goes off. Other issue is in lower systems like quality, development &amp;amp; proto systems the required error is not thrown for the first time when we create the PO but it does when we exit from the transaction &amp;amp; try creating the PO again.&lt;/P&gt;&lt;P&gt;We have used Field symbol &amp;amp; export/import of memory among these User EXit &amp;amp; BADI. Please help us to fix this.&lt;/P&gt;&lt;P&gt;We are reaching out to you is because the above explained scenarios are caused only for some PO's, for some PO's the error is thrown in the first attempt itself while creating PO. These two test data do not vary in functionality. This is the confusion as to why the issue is only for some PO's not for all. If you need more info regarding the code please do let me know. Else please suggest to rectify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 12:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181030#M1624270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T12:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181031#M1624271</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;As you have mentioned, I think it is related to Memory and field symbol unassign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refresh the memory and also unassign the field symbol once the operation is over.  Sometimes Assign statement in field symbol generates dump also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also check the types of vendor and the details for which you are getting the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 12:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181031#M1624271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181032#M1624272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, refreshing  the field symbol &amp;amp; memory is done. But even then i am facing the same issue. Problem i encountered is field symbol does not get the value when it is in any other tab apart from Delivery Address. So we are getting the error unnecessarily even though the address exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue is first time when we create the PO by removing city/pc/adrnr no error is displayed. After we come out of the tcode &amp;amp; try the same again we get error. In some cases how may ever times we try we don't get the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in BADI as a part of CHECK method is as follows:&lt;/P&gt;&lt;P&gt;CONSTANTS:   lc_nb(4) TYPE c VALUE 'NB',&lt;/P&gt;&lt;P&gt;               lc_f     TYPE c VALUE 'F',&lt;/P&gt;&lt;P&gt;               lc_flag  TYPE ysd_flags_flagn VALUE 'POITEM_ADDR_MANDT',&lt;/P&gt;&lt;P&gt;               lc_aufnr(5) TYPE c VALUE 'AUFNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_addr2_data   TYPE addr1_data.&lt;/P&gt;&lt;P&gt;  DATA: lt_po_item1     TYPE purchase_order_items,&lt;/P&gt;&lt;P&gt;        ls_po_item1     TYPE purchase_order_item,&lt;/P&gt;&lt;P&gt;        ls_item1        TYPE mepoitem.&lt;/P&gt;&lt;P&gt;  DATA: lv_active1      TYPE customer_activation.&lt;/P&gt;&lt;P&gt;  DATA: lv_aufnr        TYPE aufnr.&lt;/P&gt;&lt;P&gt;  DATA: lv_adrc(28)     TYPE c VALUE '(SAPLSZA1)ADDR1_DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS : &amp;lt;ls_addr1_data&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORT lv_aufnr TO lv_aufnr FROM MEMORY ID lc_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ls_data-bsart = lc_nb AND lv_aufnr &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;    ASSIGN (lv_adrc) TO &amp;lt;ls_addr1_data&amp;gt;.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      ls_addr2_data = &amp;lt;ls_addr1_data&amp;gt;.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF ls_addr2_data-city1 = space.&lt;/P&gt;&lt;P&gt;      MESSAGE e001(z9) WITH text-003.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF ls_addr2_data-post_code1 = space.&lt;/P&gt;&lt;P&gt;      MESSAGE e001(z9) WITH text-002.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD im_header-&amp;gt;get_items&lt;/P&gt;&lt;P&gt;      RECEIVING&lt;/P&gt;&lt;P&gt;        re_items = lt_po_item1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT lt_po_item1 INTO ls_po_item1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ls_item1 = ls_po_item1-item-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF ls_item1-adrn2 IS INITIAL AND ls_item1-knttp = lc_f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'YMM_WERKSFLAGS_SINGLE_READ'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            iv_werks      = ls_item1-werks&lt;/P&gt;&lt;P&gt;            iv_flagn      = lc_flag&lt;/P&gt;&lt;P&gt;            iv_no_buffer  = lc_x&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            ov_active     = lv_active1&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            invalid_input = 1&lt;/P&gt;&lt;P&gt;            no_entry      = 2&lt;/P&gt;&lt;P&gt;            OTHERS        = 3.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          IF lv_active1 = lc_x.&lt;/P&gt;&lt;P&gt;            CLEAR lv_active1.&lt;/P&gt;&lt;P&gt;            MESSAGE e001(z9) WITH text-001 space ls_item1-ebelp.&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;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    FREE MEMORY ID lc_aufnr.&lt;/P&gt;&lt;P&gt;    CLEAR &amp;lt;ls_addr1_data&amp;gt;.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 14:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181032#M1624272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T14:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181033#M1624273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rekha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE MEMORY ID lc_aufnr.&lt;/P&gt;&lt;P&gt;CLEAR &amp;lt;ls_addr1_data&amp;gt;.----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&amp;gt; Comment this line&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't clear the field symbol. It will clear the global structure ADDR1_data (i.e. what ever variable you assigned to that field symbols)..&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;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 17:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181033#M1624273</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2011-08-30T17:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181034#M1624274</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;As I have mentioned, please use below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;ls_addr1_data&amp;gt;  IS ASSIGNED.&lt;/P&gt;&lt;P&gt;UNASSIGN &amp;lt;ls_addr1_data&amp;gt;.  &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 17:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181034#M1624274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181035#M1624275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rekha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try to trigger your logic only when you are trying to move to a different tab from 'Delivery address'  tab.&lt;/P&gt;&lt;P&gt;  I think you need to check specific tab value you are in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rukma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 20:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181035#M1624275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-31T20:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181036#M1624276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing the BADI spot may not be the exact to suit your purpose. Did you create a break-point at your code and check if it's getting triggered on "Delivery Tab"? Unfortunately I cannot confirm because I don't have access to this functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 20:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181036#M1624276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-31T20:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Refresh &amp; Field symbol behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181037#M1624277</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;From what I understand, the code works in all other environments except for Production. &lt;/P&gt;&lt;P&gt;Check SMLG in production for the number of instances.&lt;/P&gt;&lt;P&gt;If in case of multiple instances, EXPORT/IMPORT to memory doesn't work efficiently.&lt;/P&gt;&lt;P&gt;There could be a possibility, where the data is exported to one instance and &lt;/P&gt;&lt;P&gt;imported back from a different instance.&lt;/P&gt;&lt;P&gt;You could try using the EXPORT/IMPORT to Database or try the Function Group/Modules approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-refresh-field-symbol-behaviour/m-p/8181037#M1624277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-31T21:46:09Z</dc:date>
    </item>
  </channel>
</rss>

