<?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: BAPIs not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879360#M1887965</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;Also I checked for&amp;nbsp; that test material&amp;nbsp; batch flag is set&amp;nbsp; it is&amp;nbsp; MACH-XCHAR = 'X'&amp;nbsp;&amp;nbsp; in this table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Meeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 13:15:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-01-16T13:15:07Z</dc:date>
    <item>
      <title>BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879357#M1887962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am&amp;nbsp; facing two issues with my program ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Two&amp;nbsp; BAPIs as per suggestion by client only ,am using in program&amp;nbsp; first&amp;nbsp; BAPI is&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp; BAPI_MATERIAL_SAVEDATA )&amp;nbsp; is uploading table&amp;nbsp; MARD&amp;nbsp; but for&amp;nbsp; the field&amp;nbsp;&amp;nbsp; PSTAT ( Maintenance status ) Its uploading only one letter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example if value is&amp;nbsp; DE&amp;nbsp; then Bapi is uploading only 'D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; second BAPI for create BATCH&amp;nbsp; (&amp;nbsp; BAPI_BATCH_CREATE )&amp;nbsp; is&amp;nbsp; not uploading&amp;nbsp; data in table&amp;nbsp; MCHB&amp;nbsp; its&amp;nbsp; giving below error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'No Batches are possible for material&amp;nbsp; XXXXXXX&amp;nbsp; in plant&amp;nbsp; XXXX '&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; am not sure if its data issue or&amp;nbsp; bapi is now working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one of you have any idea then please let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meeta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 12:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879357#M1887962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T12:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879358#M1887963</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;1 -&amp;gt; for me this field indicates where you manage your material : MARA / MARC / MARD / MBEW ... maybe it removes your D because you didn't insert the values in the corresponding table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 -&amp;gt; The batch flag is not set for your material / plant : MARC-XCHAR&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;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 12:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879358#M1887963</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2015-01-16T12:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879359#M1887964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Fred&amp;nbsp; Thanks for your quick reply ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; If you see the attached code am not inserting that value inside bapi only its behaving like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not sure why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; The batch flag is not set for your material / plant&amp;nbsp;&amp;nbsp; ,&amp;nbsp; so what is the solution I should do for this&lt;/P&gt;&lt;P&gt;sorry am&amp;nbsp; technical consultant ...so can you guide me if its&amp;nbsp; data error&amp;nbsp; if yes then&amp;nbsp; how I can rectify it&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;Meeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 12:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879359#M1887964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879360#M1887965</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;Also I checked for&amp;nbsp; that test material&amp;nbsp; batch flag is set&amp;nbsp; it is&amp;nbsp; MACH-XCHAR = 'X'&amp;nbsp;&amp;nbsp; in this table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Meeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879360#M1887965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T13:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879361#M1887966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;PSTAT is built from HEADDATA parameter flags&lt;/LI&gt;&lt;LI&gt;As &lt;A _jive_internal="true" href="https://answers.sap.com/people/frdric.girod"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Frédéric&lt;/SPAN&gt;&lt;/A&gt; already wrote, Flag is MARC-XCHAR, MACH is a data element and not a structure, how did you check ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879361#M1887966</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-01-16T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879362#M1887967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond&amp;nbsp;&amp;nbsp; Thanks for your inputs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; I not find PSTAT&amp;nbsp; in HEADDATA&amp;nbsp; structure of bapi , can you please elaborate in detail how I can pass&amp;nbsp; this field data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Sorry It was my typo mistake&amp;nbsp; I checked in&amp;nbsp; MARC-XCHAR&amp;nbsp; only the&amp;nbsp; flag is&amp;nbsp; X&amp;nbsp; it is set for that material .&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;Meeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879362#M1887967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T13:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879363#M1887968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your attached code does not at all do any BAPI call, it is just a batch input for storage location data. &lt;/P&gt;&lt;P&gt;And it does not have the field PSTAT.&lt;/P&gt;&lt;P&gt;The indicator E stands for purchasing view. &lt;/P&gt;&lt;P&gt;It is not at all possible to have a purchasing view at storage location level, hence MARD-PSTAT can never have a DE, it could only be a DL , D for MRP data at storage location level and L to storage location data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879363#M1887968</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2015-01-16T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879364#M1887969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jurgen&amp;nbsp;&amp;nbsp; thanks for sharing your input here ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier BDCs were getting used&amp;nbsp; which got replaced with&amp;nbsp; BAPIs as per suggestion of client&lt;/P&gt;&lt;P&gt;you can see all BDC code commented and BAPIs code is there in change number 07&lt;/P&gt;&lt;P&gt;CH07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw when BDC was used to update these Tcodes then DL&amp;nbsp; was getting update but from Bapi&amp;nbsp; only &lt;/P&gt;&lt;P&gt;D is&amp;nbsp; getting updated&amp;nbsp; you can see&amp;nbsp; in below snap shot &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879364#M1887969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879365#M1887970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;PSTAT is calculated from subfields of HEADDATA, look at include L1001UEBF01 (form PSTAT_FUELLEN)&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;headdata&lt;SPAN class="L0S70"&gt;-storage_view -&amp;gt; L&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="L0S70"&gt;headdata-mrp_view -&amp;gt; D&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;Did you forget PLANTX in BAPI_MARD?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879365#M1887970</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-01-16T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879366#M1887971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, seems I did something wrong with ctrl+F &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still your call is just this, which means only storage location data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; headdata&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = bapimathead&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; storagelocationdata&amp;nbsp; = bapi_mard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; storagelocationdatax = bapi_mardx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = it_return&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; materialdescription&amp;nbsp; = it_bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; bapimathead has nothing more than just 2 fields:&lt;/P&gt;&lt;P&gt;&amp;nbsp; bapimathead-material = w_matnr.&lt;/P&gt;&lt;P&gt;&amp;nbsp; bapimathead-mrp_view = c_yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What else than L in MARD_PSTAT can you expect from this code?&lt;/P&gt;&lt;P&gt;You have not a single field that corresponds to planning data at storage location level to get a D in PSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All BAPI_TRANSACTION_COMMIT statements are commented too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879366#M1887971</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2015-01-16T14:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879367#M1887972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jurgen&amp;nbsp; ,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Actually all data uploading in MARD Table&amp;nbsp; from this BAPI&amp;nbsp; BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;&amp;nbsp; even&amp;nbsp; PSTAT field also updating ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; only&amp;nbsp; issue is&amp;nbsp; from BDC its update as&amp;nbsp; DL&amp;nbsp; but&amp;nbsp; with BAPI&amp;nbsp; its updating only 'D'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg :&lt;/P&gt;&lt;P&gt;in BDC code&amp;nbsp; PSTAT = DL&lt;/P&gt;&lt;P&gt;in BAPI code&amp;nbsp; PSTAT = D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can we do for this at BAPI side ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 ) other issue is&amp;nbsp; second&amp;nbsp; bapi&amp;nbsp;&amp;nbsp; BAPI_BATCH_CREATE&amp;nbsp;&amp;nbsp; giving error ' 'No Batches are possible for material&amp;nbsp; XXXXXXX&amp;nbsp; in plant&amp;nbsp; XXXX '&amp;nbsp; .&amp;nbsp; and no data updating in table&amp;nbsp; MCHB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Meeta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; line-height: 107%; font-family: 'Calibri',sans-serif; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; background: red; mso-highlight: red; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;IMG height="235" src="https://community.sap.com/" width="624" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879367#M1887972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T18:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879368#M1887973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MRP4 screen of a material master is "multi-functional". you can access it by just having the plant number and you will see only the plant and client specific fields (from MARA and MARC table).&lt;/P&gt;&lt;P&gt;But if you add the storage location then you get as well the MRP4 screen specific fields at storage location level (from table MARD) &lt;/P&gt;&lt;P&gt;If you did not create this MRP view with storage location specific data, then you cannot have the D in the PSTAT field of table MARD.&lt;/P&gt;&lt;P&gt;Just try to go to MRP4 screen with MM03 and don't forget to enter the storage location, being in MRP 4 view&amp;nbsp; look at the status message. &lt;/P&gt;&lt;P&gt;If you had not maintained location specific data in MRP4 screen while creating the material, then you should see a message telling you that no data exist.&lt;/P&gt;&lt;P&gt;The main field needed would be MARD-DISKZ the SLoc MRP indicator &lt;/P&gt;&lt;P&gt;I haven't seen this your BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error with the second BAPI is just what was already said, you can read it yourself in the long text of the message, just execute SE91 enter message class M3 and message number 201. click display and in the next screen select the message and click long text.&lt;/P&gt;&lt;P&gt;You try to create a batch for a material that is not batch managed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try to create a batch for this material using the online transaction MSC1N, you should get the same message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 22:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879368#M1887973</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2015-01-16T22:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879369#M1887974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Jurgen&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs&lt;/P&gt;&lt;P&gt;c_yes = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually&amp;nbsp; I added&amp;nbsp; some more parameters in&amp;nbsp; headdata of bapi &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-basic_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sales_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;purchase_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;forecast_view&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;work_sched_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;storage_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;account_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mrp_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bapimathead&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cost_view &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_yes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;and&amp;nbsp; now BAPI&amp;nbsp; updating &lt;/SPAN&gt;'DL'&amp;nbsp; properly&amp;nbsp; but I have a doubt that it will take more time for program am not sure at this time becz I am waiting for more test data which get created by functional guy ,becz one test data can be used only once .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg second issue&amp;nbsp; as you suggested ," &lt;SPAN style="text-decoration: underline;"&gt;You try to create a batch for a material that is not batch managed. just try to create a batch for this material using the online transaction MSC1N, you should get the same message "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;so its seems data issue and not bapi&amp;nbsp; issue&amp;nbsp; right ?&amp;nbsp; I have highlighted the same to functional consultant&amp;nbsp;&amp;nbsp;&amp;nbsp; mean time can you suggest if any steps I can take&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Tried giving&amp;nbsp; same material number , plant , batch in&amp;nbsp; MSC1N&amp;nbsp;&amp;nbsp;&amp;nbsp; to create but&amp;nbsp; I got message&lt;/P&gt;&lt;P&gt; material&amp;nbsp; XXXXXXX&amp;nbsp;&amp;nbsp; is not handled in batches in plant XXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Meeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 16:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879369#M1887974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-17T16:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879370#M1887975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI will certainly need more time if you tell them to access each material master view.&lt;/P&gt;&lt;P&gt;Not sure if it is only a data issue, but for sure the batch management indicator is not active in the existing material master. You should probably react on this in your program and only execute the &lt;SPAN style="color: #333333; font-size: 12px;"&gt;BAPI_BATCH_CREATE&amp;nbsp; if you found a batch management indicator&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 16:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879370#M1887975</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2015-01-17T16:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879371#M1887976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okey&amp;nbsp; then&amp;nbsp; how I can check that batch management indicator is active or not ?&lt;/P&gt;&lt;P&gt;else what I can write in code before calling&amp;nbsp; BAPI&amp;nbsp; BAPI_BATCH_CREATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 17:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-working/m-p/10879371#M1887976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-17T17:29:01Z</dc:date>
    </item>
  </channel>
</rss>

