<?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_MATERIAL_SAVEDATA View Mapping to Structures in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata-view-mapping-to-structures/m-p/3079624#M730365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I am sorry to have to close this question as it seems ther is nobody out there that can help me.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2008 06:53:52 GMT</pubDate>
    <dc:creator>ebenhavenga</dc:creator>
    <dc:date>2008-03-18T06:53:52Z</dc:date>
    <item>
      <title>BAPI_MATERIAL_SAVEDATA View Mapping to Structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata-view-mapping-to-structures/m-p/3079623#M730364</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 need some help with the &amp;lt;b&amp;gt;BAPI_MATERIAL_SAVEDATA&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are defaulting fields dynamically from a table according to material types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when the users only want to update a specific view during creation e.g. Basic view, then there are other fields that where populated by the defaulting e.g. plant, then it gives me a error that the storage location ect. is not populated, I have created the following code, but I am not sure if the view mappings to structures is correct. I have searched the WEB and SAP SDN but can not find the mapping between the structures and the views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  IF st_bapi-mathead-basic_view &amp;lt;&amp;gt; 'X'
   AND st_bapi-mathead-mrp_view &amp;lt;&amp;gt; 'X'
   AND st_bapi-mathead-purchase_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mara, st_bapi-marax.
  ENDIF.

  IF st_bapi-mathead-storage_view &amp;lt;&amp;gt; 'X'
   AND st_bapi-mathead-mrp_view &amp;lt;&amp;gt; 'X'
   AND st_bapi-mathead-purchase_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-marc, st_bapi-marcx.
  ENDIF.

  IF st_bapi-mathead-forecast_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mpop, st_bapi-mpopx.
  ENDIF.

  IF st_bapi-mathead-mrp_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mpgd, st_bapi-mpgdx.
  ENDIF.

  IF st_bapi-mathead-mrp_view &amp;lt;&amp;gt; 'X'
    AND st_bapi-mathead-warehouse_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mard, st_bapi-mardx.
  ENDIF.

  IF st_bapi-mathead-account_view &amp;lt;&amp;gt; 'X'
   AND st_bapi-mathead-cost_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mbew, st_bapi-mbewx.
  ENDIF.

  IF st_bapi-mathead-warehouse_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mlgn, st_bapi-mlgnx.
  ENDIF.

  IF st_bapi-mathead-sales_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mvke, st_bapi-mvkex.
  ENDIF.

  IF st_bapi-mathead-warehouse_view &amp;lt;&amp;gt; 'X'.
    CLEAR: st_bapi-mlgt, st_bapi-mlgtx.
  ENDIF.

  IF st_bapi-makt-matl_desc IS INITIAL.
    CLEAR st_bapi-makt.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 07:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata-view-mapping-to-structures/m-p/3079623#M730364</guid>
      <dc:creator>ebenhavenga</dc:creator>
      <dc:date>2007-11-21T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA View Mapping to Structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata-view-mapping-to-structures/m-p/3079624#M730365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I am sorry to have to close this question as it seems ther is nobody out there that can help me.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 06:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata-view-mapping-to-structures/m-p/3079624#M730365</guid>
      <dc:creator>ebenhavenga</dc:creator>
      <dc:date>2008-03-18T06:53:52Z</dc:date>
    </item>
  </channel>
</rss>

