<?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 Overriding User Defaults With BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416242#M1926251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My team is familiarizing themselves with the BAPI function group and is attempting to refine a program that will execute the creation of material master data using an input file. Currently this is being accomplished using the function 'BAPI_MATERIAL_SAVEDATA'. My tester was noticing that the program was generating additional views in the material master beyond what was needed for the program and would like them not to generate for simplicity's sake. However, these views are being generated due to defaults that the tester has in place for screen generation when running MM01 manually. Is there a way within the BAPI function to disable these views from appearing even if a user has them marked as defaults?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2015 16:22:29 GMT</pubDate>
    <dc:creator>scottmk</dc:creator>
    <dc:date>2015-11-05T16:22:29Z</dc:date>
    <item>
      <title>Overriding User Defaults With BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416242#M1926251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My team is familiarizing themselves with the BAPI function group and is attempting to refine a program that will execute the creation of material master data using an input file. Currently this is being accomplished using the function 'BAPI_MATERIAL_SAVEDATA'. My tester was noticing that the program was generating additional views in the material master beyond what was needed for the program and would like them not to generate for simplicity's sake. However, these views are being generated due to defaults that the tester has in place for screen generation when running MM01 manually. Is there a way within the BAPI function to disable these views from appearing even if a user has them marked as defaults?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416242#M1926251</guid>
      <dc:creator>scottmk</dc:creator>
      <dc:date>2015-11-05T16:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding User Defaults With BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416243#M1926252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check import parameter HEADDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are flags which views to create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;BASIC_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_K&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Basic Data View&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SALES_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_V&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Sales View&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PURCHASE_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_E&lt;/TD&gt;&lt;TD&gt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lt;/TD&gt;&lt;TD&gt;SICHT_S&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Warehouse Management View&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;QUALITY_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_Q&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Quality Management View&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_B&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Accounting View&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;COST_VIEW&lt;/TD&gt;&lt;TD&gt;SICHT_G&lt;/TD&gt;&lt;TD&gt;CHAR&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Costing View&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 17:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416243#M1926252</guid>
      <dc:creator>michael_kozlowski</dc:creator>
      <dc:date>2015-11-05T17:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding User Defaults With BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416244#M1926253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I think that what the user was asking for isn't possible. I have the view values in HEADDATA assigned as appropriate. The user just has view defaults set in their SAP system for transaction MM03 that causes them to see windows they do not need. They wanted to know if the program could override their defaults without them having to do anything but I'm thinking this is something that they are just going to have to do themselves. Unless there is something I'm missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out that I was looking at the wrong program. The material creation program was executing fine but then the user was modifying the material with another program that had different settings and that was causing the additional views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Scott Kellner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 19:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overriding-user-defaults-with-bapi/m-p/11416244#M1926253</guid>
      <dc:creator>scottmk</dc:creator>
      <dc:date>2015-11-05T19:18:09Z</dc:date>
    </item>
  </channel>
</rss>

