<?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 Customize MARC - random updates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502321#M565500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have added a custom field to MRP1 sub screen in MM02/03, through this field I am updating MARC table. For updating I am using exit EXIT_SAPLOMCV_902. The issue I am facing is that it updates the fields randomly, i.e. some times update occurs and some times it is blank. I am updating the MARC table against MATNR and WERKS fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very urgent issue for us, any help will be greatly appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 16:23:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-19T16:23:05Z</dc:date>
    <item>
      <title>Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502321#M565500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have added a custom field to MRP1 sub screen in MM02/03, through this field I am updating MARC table. For updating I am using exit EXIT_SAPLOMCV_902. The issue I am facing is that it updates the fields randomly, i.e. some times update occurs and some times it is blank. I am updating the MARC table against MATNR and WERKS fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very urgent issue for us, any help will be greatly appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502321#M565500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T16:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502322#M565501</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;Put for break-point in user exit MGA00001. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPLMGMU_001. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check whether values are getting properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502322#M565501</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-07-19T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502323#M565502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the values are going correctly, as if i put my code in this exit it updates the field. It happens only in the condition if I am only putting value in this field, if along with this I update any other value on the screen SAP code over writes the value in the MARC table after it comes back from the exit code to main SAP Code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So values are going as expected, EXIT_SAPLOMCV_902 is called 7-8 times in the flow and is also called when after update the MM02 calls itself by " call transaction 'MM02'".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As I said earlier it happens randomly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; There is another point which may help, if there is a material which I have updated and update is unsuccessful and if I try to update it after some time (i.e. after updating some other materials) it updates. Is there a lock or some thing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502323#M565502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T16:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502324#M565503</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;  take a work area with the same staructure as MARC..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Select single * from MARC with the MATNR and WERKS and use the&lt;/P&gt;&lt;P&gt;  work_area-mrp1 = 'Value'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Modify MARC from the header line transporting MRP1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheer's&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502324#M565503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502325#M565504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you kindly explain it to me in little detail, as I am updating a custom field in MARC which I have already added to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - Since I am using an exit I cannot use "Commit Work", SAP doesn't allow it at this level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 17:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502325#M565504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T17:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502326#M565505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing more, update statement still gives me value of Sy-subrc = 0, and there is no update at DB level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 17:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502326#M565505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T17:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502327#M565506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Barjinder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   You can try the other way...&lt;/P&gt;&lt;P&gt;    Create a UPdate funcation module and take the material number, plant and the value that you want to populate to the new field as import parameters... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  you call this function module in the user exit in Update task mode..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in the fuction module.. &lt;/P&gt;&lt;P&gt;  take a work area with the same staructure as MARC..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single * from MARC with the MATNR and WERKS and use the&lt;/P&gt;&lt;P&gt;work_area-mrp1 = 'Value'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify MARC from the header line transporting MRP1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;I am sure this will work.. I have done the same stuff couple of times.....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Mahesh Raganmoni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 17:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502327#M565506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T17:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Customize MARC - random updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502328#M565507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In user exits there are X &amp;amp; Y internal tables.. for example xmarc &amp;amp; ymarc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ymarc is the data already there is database.. any modification we make in workarea say marc should also be changed in the internal table xmarc..because xmarc contains the update/ insert indicator...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 17:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customize-marc-random-updates/m-p/2502328#M565507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T17:27:02Z</dc:date>
    </item>
  </channel>
</rss>

