<?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 Handling BAPI responses.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585428#M1081643</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 am using the Bapi --&amp;gt;  BAPI_MATERIAL_SAVEDATA  for material creation.. so while creating the material i am giving the basic and storage data for the creation of a material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: if i create a new material using this BAPI, if the material was successfully created then a response will get 356 as a success message and the message was &lt;STRONG&gt;The material 0325689 was successfully created&lt;/STRONG&gt;, here the 0325689 is the material and in case of failure it is just generating some error with out specifying any name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the response i am getting the error message with its 3 digit code, but is it possibe to get the material which it is created..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, now the problem is how to find that error is occured for that material alone.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 05:16:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T05:16:16Z</dc:date>
    <item>
      <title>Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585428#M1081643</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 am using the Bapi --&amp;gt;  BAPI_MATERIAL_SAVEDATA  for material creation.. so while creating the material i am giving the basic and storage data for the creation of a material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: if i create a new material using this BAPI, if the material was successfully created then a response will get 356 as a success message and the message was &lt;STRONG&gt;The material 0325689 was successfully created&lt;/STRONG&gt;, here the 0325689 is the material and in case of failure it is just generating some error with out specifying any name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the response i am getting the error message with its 3 digit code, but is it possibe to get the material which it is created..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, now the problem is how to find that error is occured for that material alone.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585428#M1081643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585429#M1081644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Pls check the BAPI Return table, you will get more idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, when there is error - Material will not be created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585429#M1081644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585430#M1081645</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 have checked the Return table, there is no field for returning the material &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyway to get the material as well with the error in the response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585430#M1081645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585431#M1081646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The Return table will capture all the error messages, to capture those messages...pass an internal table similar to the return structure and u can display those messages from your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585431#M1081646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585432#M1081647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using external material number ...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so you have the material number with you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using internal number then it will give the material number only when there is no errors , that time it will create the material. and give you. if there is a error why will it give you the material number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585432#M1081647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585433#M1081648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i dont want any messages, by defalult the bapi throws the error message with its code i can see the possible errors with their codes in message classes in tcode se91, but here i need the material is to be included with the error message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if 10 materials are created at an instance, 6 will be succesfully created and 4 r failured and for the 4 materials which are failure will be getting the response as an error messages, now how to find which error message is relevant to which material..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585433#M1081648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585434#M1081649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the material number is generating in WINDCHILL and i am pushing the data to SAP R/3 through XI.. so while pushing the data we are using BAPI_MATERIAL_SAVEDATA, here when we push the data the material is successfully creating and during errors just it is throwing the error code with its appropriate response message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we need the material number to be included with the response error message is it possible to get with the standard bapi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585434#M1081649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585435#M1081650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Actually the material number is generating in WINDCHILL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it depends how the bapi handles error. since the material already with you why can't you use that for error reporting purpose if at all needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585435#M1081650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585436#M1081651</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;From se37, I tested the Fm...in the Return table it is giving success message along with the material number( external material number)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, there is Returnmessages structure..which holds all the messages..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check, If they will meet the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585436#M1081651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585437#M1081652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be getting an xml file from windchill where i am pushing the xml file to sap using mapping how can i handle the value of a xml file.. here eventhough the material is creating externally but to sap the material number comes as a field value, even though if i hold the value of the material field, during response i cannot handle or include the material number  to the response message why because the response trigger happens frm the R/3 side and the structure of the response is standard.. to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 05:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585437#M1081652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T05:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585438#M1081653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the BAPI .. in the return parameters i am getting the response message as error or sucess..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while successful creation the response was &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The material 0325689 has been sucessfully created or extended*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the 0325689 is the material number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;during errors ..&lt;/P&gt;&lt;P&gt; It is throwing the error response message such as if i didn't specify the material type it is throwing: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Material Type not maintained&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here when i try to create a 10 materials if i get a 3 response error messages, how to find which error message is related to which material..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think now u got my problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585438#M1081653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585439#M1081654</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;Instead of trying to know the error relates to which material, you can validate the flat file data even before u pass it on to BAPI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, the chances of error are less and you will know which record has the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585439#M1081654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585440#M1081655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to get the material number or name with the response message or not.. with the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the return parameter, there is no field to carry the material number or material name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a clear answer for this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585440#M1081655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585441#M1081656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Look... you can get the message as u got that it created...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Material number xxxx was created or extended.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now... If you dont maintain material type then it will give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Material Type Not maintained&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you give a wrong value.. then it will display the wrong value with the above statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really dont think without validation....and with the help of BAPI.. you can get to know for which Material number,the material type error is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585441#M1081656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BAPI responses..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585442#M1081657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can find some info from the message varaibles if at all SAP handling the material number during.&lt;/P&gt;&lt;P&gt;check there variables of the retun table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE_V1  " generally the material numbe will be stored here..&lt;/P&gt;&lt;P&gt;MESSAGE_V2&lt;/P&gt;&lt;P&gt;MESSAGE_V3&lt;/P&gt;&lt;P&gt;MESSAGE_V4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-bapi-responses/m-p/4585442#M1081657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:37:38Z</dc:date>
    </item>
  </channel>
</rss>

