<?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: BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3367212#M808055</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;Welcome to SDN.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the sample program which excepts the material plant and the ABC indictor value and updates the material master using the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zrich_0001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: headdata type bapimathead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: plantdata type bapi_marc.&lt;/P&gt;&lt;P&gt;data: plantdatax type bapi_marcx.&lt;/P&gt;&lt;P&gt;data: return type bapiret2 .&lt;/P&gt;&lt;P&gt;data: returnm type table of bapi_matreturn2 with header line.&lt;/P&gt;&lt;P&gt;data: xmara type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr type marc-matnr,&lt;/P&gt;&lt;P&gt;p_werks type marc-werks,&lt;/P&gt;&lt;P&gt;p_maabc type marc-maabc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara into xmara&lt;/P&gt;&lt;P&gt;where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;headdata-material = xmara-matnr.&lt;/P&gt;&lt;P&gt;headdata-ind_sector = xmara-mbrsh.&lt;/P&gt;&lt;P&gt;headdata-matl_type = xmara-mtart.&lt;/P&gt;&lt;P&gt;headdata-mrp_view = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plantdata-plant = p_werks.&lt;/P&gt;&lt;P&gt;plantdata-abc_id = p_maabc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plantdatax-plant = p_werks.&lt;/P&gt;&lt;P&gt;plantdatax-abc_id = 'X'.&lt;/P&gt;&lt;P&gt;&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 = headdata&lt;/P&gt;&lt;P&gt;plantdata = plantdata&lt;/P&gt;&lt;P&gt;plantdatax = plantdatax&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;return = return&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;returnmessages = returnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 22:15:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-04T22:15:09Z</dc:date>
    <item>
      <title>BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3367211#M808054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to upload material master data using bapi.&lt;/P&gt;&lt;P&gt;as i was new to bapi, can anyone explain step by step  process to upload material using bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 21:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3367211#M808054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T21:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3367212#M808055</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;Welcome to SDN.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the sample program which excepts the material plant and the ABC indictor value and updates the material master using the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zrich_0001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: headdata type bapimathead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: plantdata type bapi_marc.&lt;/P&gt;&lt;P&gt;data: plantdatax type bapi_marcx.&lt;/P&gt;&lt;P&gt;data: return type bapiret2 .&lt;/P&gt;&lt;P&gt;data: returnm type table of bapi_matreturn2 with header line.&lt;/P&gt;&lt;P&gt;data: xmara type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr type marc-matnr,&lt;/P&gt;&lt;P&gt;p_werks type marc-werks,&lt;/P&gt;&lt;P&gt;p_maabc type marc-maabc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara into xmara&lt;/P&gt;&lt;P&gt;where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;headdata-material = xmara-matnr.&lt;/P&gt;&lt;P&gt;headdata-ind_sector = xmara-mbrsh.&lt;/P&gt;&lt;P&gt;headdata-matl_type = xmara-mtart.&lt;/P&gt;&lt;P&gt;headdata-mrp_view = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plantdata-plant = p_werks.&lt;/P&gt;&lt;P&gt;plantdata-abc_id = p_maabc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plantdatax-plant = p_werks.&lt;/P&gt;&lt;P&gt;plantdatax-abc_id = 'X'.&lt;/P&gt;&lt;P&gt;&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 = headdata&lt;/P&gt;&lt;P&gt;plantdata = plantdata&lt;/P&gt;&lt;P&gt;plantdatax = plantdatax&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;return = return&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;returnmessages = returnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 22:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3367212#M808055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T22:15:09Z</dc:date>
    </item>
  </channel>
</rss>

