<?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 Update MARC table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052523#M423298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, in my cutom Tcode I'll be making a changes in MRP values in Alt UOM but at the database level it will be stored in Base UoM. &lt;/P&gt;&lt;P&gt;I want to update MARC. &lt;/P&gt;&lt;P&gt;Can anybody please tell me how to use FM 'MATERIAL_MAINTAIN_DARK'?&lt;/P&gt;&lt;P&gt;I want to know what all the parameters needs to pass? Do I need to pass Tcode MM02 anywhere? What will be the mode of transfer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I heard BAPI 'BAPI_MATERIAL_SAVEDATA' is also there. Will you please provide info of either one?&lt;/P&gt;&lt;P&gt;It's urgent...Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2007 19:07:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-20T19:07:53Z</dc:date>
    <item>
      <title>Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052523#M423298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, in my cutom Tcode I'll be making a changes in MRP values in Alt UOM but at the database level it will be stored in Base UoM. &lt;/P&gt;&lt;P&gt;I want to update MARC. &lt;/P&gt;&lt;P&gt;Can anybody please tell me how to use FM 'MATERIAL_MAINTAIN_DARK'?&lt;/P&gt;&lt;P&gt;I want to know what all the parameters needs to pass? Do I need to pass Tcode MM02 anywhere? What will be the mode of transfer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I heard BAPI 'BAPI_MATERIAL_SAVEDATA' is also there. Will you please provide info of either one?&lt;/P&gt;&lt;P&gt;It's urgent...Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052523#M423298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T19:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052524#M423299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe if you just search SDN on MATERIAL_MAINTAIN_DARK - you'll find example on how to use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 20:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052524#M423299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T20:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052525#M423300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to update MRP values,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find a piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_t_mara_ueb LIKE mara_ueb OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;           g_t_marc_ueb LIKE marc_ueb OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_tranc      TYPE transcount,&lt;/P&gt;&lt;P&gt;          l_amerrdat  LIKE merrdat  OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_tranc = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * INTO CORRESPONDING FIELDS OF TABLE g_t_mara_ueb&lt;/P&gt;&lt;P&gt;                FROM mara WHERE matnr = g_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am updating fields tcode and tranc of g_t_mara_ueb as MM02 and 1 respectively&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I select the records from MARC&lt;/P&gt;&lt;P&gt;SELECT * INTO CORRESPONDING FIELDS OF TABLE g_t_marc_ueb&lt;/P&gt;&lt;P&gt;                FROM marc WHERE matnr  = g_mat&lt;/P&gt;&lt;P&gt;                                         AND werks = g_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New MRP values are then updated to g_t_marc_ueb. Then I call FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MATERIAL_MAINTAIN_DARK'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      flag_muss_pruefen = 'X'&lt;/P&gt;&lt;P&gt;      p_kz_no_warn      = 'N'&lt;/P&gt;&lt;P&gt;      kz_prf            = space&lt;/P&gt;&lt;P&gt;      kz_verw           = 'X'&lt;/P&gt;&lt;P&gt;      kz_aend           = 'X'&lt;/P&gt;&lt;P&gt;      kz_dispo          = 'X'&lt;/P&gt;&lt;P&gt;      kz_test           = ' '&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      amara_ueb         = g_t_mara_ueb&lt;/P&gt;&lt;P&gt;      amarc_ueb         = g_t_marc_ueb&lt;/P&gt;&lt;P&gt;      amerrdat          = l_amerrdat&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      kstatus_empty     = 1&lt;/P&gt;&lt;P&gt;      tkstatus_empty    = 2&lt;/P&gt;&lt;P&gt;      t130m_error         = 3&lt;/P&gt;&lt;P&gt;      internal_error       = 4&lt;/P&gt;&lt;P&gt;      too_many_errors  = 5&lt;/P&gt;&lt;P&gt;      update_error        = 6&lt;/P&gt;&lt;P&gt;      OTHERS            = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DB_COMMIT'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System does not give any error when FM is executed but table MARC is not getting updated.&lt;/P&gt;&lt;P&gt;Need your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 22:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052525#M423300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T22:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052526#M423301</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;You can use the BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the parameters PLANTDATA &amp;amp; PLANTDATAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the values that you need to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which fields do you want to update in the MRP view??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know which fields to be populated in the BAPI parameter..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 22:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052526#M423301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T22:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052527#M423302</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;Are you populating the field d_ind in the marc_ueb structure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 22:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052527#M423302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T22:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052528#M423303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using BAPI_MATERIAL_SAVEDATA also but I was facing same problem.&lt;/P&gt;&lt;P&gt;Fields to be updated are &lt;/P&gt;&lt;P&gt;        minbe &lt;/P&gt;&lt;P&gt;        eisbe &lt;/P&gt;&lt;P&gt;        bstmi&lt;/P&gt;&lt;P&gt;        bstma&lt;/P&gt;&lt;P&gt;        bstfe&lt;/P&gt;&lt;P&gt;        bstrf&lt;/P&gt;&lt;P&gt;        mabst&lt;/P&gt;&lt;P&gt;        eislo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if you tell me what all the fields to be populated.&lt;/P&gt;&lt;P&gt;If I use FM 'MATERIAL_MAINTAIN_DARK', I can make the use of direct assignment but in BAPI it was difficult to make every assignment cause I dont know mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 23:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052528#M423303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T23:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052529#M423304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not find any such field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 23:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052529#M423304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T23:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052530#M423305</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;Please find the corresponding field names in the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLANTDATA-REORDER_PT  - MINBE&lt;/P&gt;&lt;P&gt;PLANTDATA-SAFETY_STK   - EISBE&lt;/P&gt;&lt;P&gt;PLANTDATA-MINLOTSIZE     - bstmi&lt;/P&gt;&lt;P&gt;PLANTDATA-MAXLOTSIZE    - bstma&lt;/P&gt;&lt;P&gt;PLANTDATA-FIXED_LOT       - bstfe&lt;/P&gt;&lt;P&gt;PLANTDATA-ROUND_VAL    - bstrf&lt;/P&gt;&lt;P&gt;PLANTDATA-MAX_STOCK    - mabst&lt;/P&gt;&lt;P&gt;PLANTDATA-MIN_SAFETY_STK - eislo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Populate the following parameters..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADDATA-MATERIAL = 'Material number'.&lt;/P&gt;&lt;P&gt;HEADDATA-MRP_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate the PLANTDATA as mentioned above..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate the corresponding X in the PLANTDATAX structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLANTDATAX-REORDER_PT  = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-SAFETY_STK   = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-MINLOTSIZE     = 'X' &lt;/P&gt;&lt;P&gt;PLANTDATAX-MAXLOTSIZE    = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-FIXED_LOT       = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-ROUND_VAL    = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-MAX_STOCK    = 'X'&lt;/P&gt;&lt;P&gt;PLANTDATAX-MIN_SAFETY_STK  = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 00:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052530#M423305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T00:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update MARC table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052531#M423306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Naren, Thanks man I could save the entries.&lt;/P&gt;&lt;P&gt;I'll disturb you again If I face any prb &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 01:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-marc-table/m-p/2052531#M423306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T01:07:54Z</dc:date>
    </item>
  </channel>
</rss>

