<?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 Problem in uploading material master data using BAPI? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871192#M1138809</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 am using BAPI_MATERIAL_SAVEDATA to create material master . Though i am successfully creating materials, i have a problem with number range. &lt;/P&gt;&lt;P&gt;I am using another BAPI i.e BAPI_MATERIAL_GETINTNUMBER and passing the material number to  BAPI_MATERIAL_SAVEDATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if my input file has 4 records , out of which 3 record is not maintained with sufficient data. So it is not creating material for that , but for next material it is creating with next number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean if 1000 is created and 1001 is not created because of error  and next it is creating with 1002 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is to create 1001 instead of 1002. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on how to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Vamshi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2008 10:39:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-19T10:39:14Z</dc:date>
    <item>
      <title>Problem in uploading material master data using BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871192#M1138809</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 am using BAPI_MATERIAL_SAVEDATA to create material master . Though i am successfully creating materials, i have a problem with number range. &lt;/P&gt;&lt;P&gt;I am using another BAPI i.e BAPI_MATERIAL_GETINTNUMBER and passing the material number to  BAPI_MATERIAL_SAVEDATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if my input file has 4 records , out of which 3 record is not maintained with sufficient data. So it is not creating material for that , but for next material it is creating with next number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean if 1000 is created and 1001 is not created because of error  and next it is creating with 1002 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is to create 1001 instead of 1002. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on how to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Vamshi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 10:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871192#M1138809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T10:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uploading material master data using BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871193#M1138810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will be like that only, because the BAPI will use a number each time (error/sucessful) it runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to handle it through coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is. &lt;/P&gt;&lt;P&gt;first time use BAPI_MATERIAL_GETINTNUMBER with a different number range than the actual one and check the return parameters of BAPI_MATERIAL_SAVEDATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sucess then run the BAPI_MATERIAL_SAVEDATA with actual number range. it might be not the best solution..but can't think of anything else right now and this time you commit the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 11:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871193#M1138810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T11:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uploading material master data using BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871194#M1138811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have 4 materials in the file and you are calling the BAPI to generate a number before passing the data to the BAPI to create Material, when you are doing it for the first material call the BAPI to generate the material number and then pass the data to the BAPI which creates the material and then check the BAPI Return table whether the material is successfully created or not.  If it is created before creating the second material get the next number otherwise use the existing number itself for the second material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 12:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871194#M1138811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uploading material master data using BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871195#M1138812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply and the problem solved now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Vamshi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 02:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871195#M1138812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T02:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uploading material master data using BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871196#M1138813</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 also got the same problem. &lt;/P&gt;&lt;P&gt;i have created the same way  which you said.&lt;/P&gt;&lt;P&gt;first i upload the flat file with 4 records. like 100, 101 , 102, 103, 104. suppose 104 is error record.&lt;/P&gt;&lt;P&gt;next time if i again run the programe, with different flat file . now it is taking 105 ,106 like ,but  it is not starting from 104(previous flat file it is error record).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one pl tell me how to do that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;&lt;P&gt;pratap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 10:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uploading-material-master-data-using-bapi/m-p/4871196#M1138813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T10:55:27Z</dc:date>
    </item>
  </channel>
</rss>

