<?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 BAPI program for uploading Material in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385115#M1403772</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;I am new to SAP . Can any one tell me steps involved in uploading Material data using BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2009 09:41:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-26T09:41:10Z</dc:date>
    <item>
      <title>BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385115#M1403772</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;I am new to SAP . Can any one tell me steps involved in uploading Material data using BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385115#M1403772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T09:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385116#M1403773</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;   To upload the material using BAPI try to use &lt;STRONG&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this BAPI you need to pass the data into required fields and also need to populate the update structure for the same filed with indicator 'X'.&lt;/P&gt;&lt;P&gt;check the BAPI documentation for more details.&lt;/P&gt;&lt;P&gt;after the BAPI call. use the function mmodule &lt;STRONG&gt;'BAPI_TRANSACTION_COMMIT&lt;/STRONG&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385116#M1403773</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2009-11-26T09:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385117#M1403774</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;   To upload the material using BAPI try to use &lt;STRONG&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this BAPI you need to pass the data into required fields and also need to populate the update structure for the same filed with indicator 'X'.&lt;/P&gt;&lt;P&gt;check the BAPI documentation for more details.&lt;/P&gt;&lt;P&gt;after the BAPI call. use the function module &lt;STRONG&gt;'BAPI_TRANSACTION_COMMIT&lt;/STRONG&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385117#M1403774</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2009-11-26T09:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385118#M1403775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , refer the bellow sample pice of code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      BAPI_HEAD-MATERIAL = wa_data-MATNR.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-IND_SECTOR = wa_data-MBRSH.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-MATL_TYPE = wa_data-MTART.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-BASIC_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-PURCHASE_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-MRP_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-STORAGE_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-ACCOUNT_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_HEAD-COST_VIEW = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-plant = wa_data-WERKS .&lt;/P&gt;&lt;P&gt;      BAPI_MARD1-STGE_LOC = wa_data-LGORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_MARD1-plant = wa_data-WERKS .&lt;/P&gt;&lt;P&gt;      BAPI_MARDX-plant = wa_data-WERKS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-plant = wa_data-WERKS .&lt;/P&gt;&lt;P&gt;      BAPI_MARDX-STGE_LOC = wa_data-LGORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_MARA1-OLD_MAT_NO = wa_data-bismt.&lt;/P&gt;&lt;P&gt;      BAPI_MARA1-EXTMATLGRP = wa_data-EXTWG.&lt;/P&gt;&lt;P&gt;      BAPI_MARA1-DIVISION = wa_data-SPART.&lt;/P&gt;&lt;P&gt;      BAPI_MARA1-MAT_GRP_SM = wa_data-MAGRV.&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-MATL_GROUP = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-BASE_UOM = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-OLD_MAT_NO = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-EXTMATLGRP = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-DIVISION = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARAX-MAT_GRP_SM = 'X'.&lt;/P&gt;&lt;P&gt;*MRP  1&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-MRP_TYPE = wa_data-DISMM.&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-REORDER_PT = wa_data-MINBE.&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-MRP_CTRLER = wa_data-DISPO.&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-LOTSIZEKEY = wa_data-DISLS.&lt;/P&gt;&lt;P&gt;      BAPI_MARC1-MAX_STOCK = wa_data-MABST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-MRP_TYPE = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-REORDER_PT = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-MRP_CTRLER = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-LOTSIZEKEY = 'X'.&lt;/P&gt;&lt;P&gt;      BAPI_MARCX-MAX_STOCK = 'X'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        HEADDATA             = BAPI_HEAD&lt;/P&gt;&lt;P&gt;        CLIENTDATA           = BAPI_MARA1&lt;/P&gt;&lt;P&gt;        CLIENTDATAX          = BAPI_MARAX&lt;/P&gt;&lt;P&gt;        PLANTDATA            = BAPI_MARC1&lt;/P&gt;&lt;P&gt;        PLANTDATAX           = BAPI_MARCX&lt;/P&gt;&lt;P&gt;        STORAGELOCATIONDATA  = BAPI_MARD1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;        RETURN               = BAPI_RETURN&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        MATERIALDESCRIPTION  = IT_MAKT&lt;/P&gt;&lt;P&gt;        UNITSOFMEASURE       = IT_MARM&lt;/P&gt;&lt;P&gt;        UNITSOFMEASUREX      = IT_MARMX&lt;/P&gt;&lt;P&gt;        MATERIALLONGTEXT     = IT_MLTX&lt;/P&gt;&lt;P&gt;        TAXCLASSIFICATIONS   = IT_MLAN.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        WAIT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 10:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385118#M1403775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T10:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385119#M1403776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function module &lt;STRONG&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and if you hav eto us internal number range use FM  &lt;STRONG&gt;BAPI_STDMATERIAL_GETINTNUMBER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to know the procedure how to work with BAPI to upload materian then follow as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. go to MM01 and try to create a material and note down the mandatory fields and then go to display mode and check for the other fileds that have data other that what u have given because screen will automatically flow related data based on the data that you have given inputs in the previous screen but for BAPI you have to pass all the field. this is the place where u will find problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. no you have all the fields go to BAPI FM and check for mandatory structures &lt;/P&gt;&lt;P&gt;3. now read the documentation of the FM and check for precious information&lt;/P&gt;&lt;P&gt;4. go to FM and open the structures and check for the fields &lt;/P&gt;&lt;P&gt;now you pass to the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat suman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 12:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385119#M1403776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI program for uploading Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385120#M1403777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 03:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-program-for-uploading-material/m-p/6385120#M1403777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T03:10:51Z</dc:date>
    </item>
  </channel>
</rss>

