<?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 Error when using BAPI_INSPOPER_RECORDRESULTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-bapi-inspoper-recordresults/m-p/1359382#M178694</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 need to set char results for an inspection lot with one operation and one physical sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I populated the structure INSPPOINTDATA with relevant data and the fields SEL_SET, CODE_GRP, CODE were empty.&lt;/P&gt;&lt;P&gt;I populated the table SAMPLE_RESULTS with the relevant details as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call the BAPI to record results, I got the following error:&lt;/P&gt;&lt;P&gt;The selected set in the transfer record deviates from TQSS1/TQ79 (msgID:QT msgNo:408)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I populate the field INSPPOINTDATA-SEL_SET with 'TW40UD' and run the BAPI again. However, this time I got another error:&lt;/P&gt;&lt;P&gt;Error in the transferred usage decision (selected set, code, code group) (msgID:QT msgNo:404)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea whats wrong with my program. Please help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chelsea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 07:34:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-19T07:34:43Z</dc:date>
    <item>
      <title>Error when using BAPI_INSPOPER_RECORDRESULTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-bapi-inspoper-recordresults/m-p/1359382#M178694</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 need to set char results for an inspection lot with one operation and one physical sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I populated the structure INSPPOINTDATA with relevant data and the fields SEL_SET, CODE_GRP, CODE were empty.&lt;/P&gt;&lt;P&gt;I populated the table SAMPLE_RESULTS with the relevant details as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call the BAPI to record results, I got the following error:&lt;/P&gt;&lt;P&gt;The selected set in the transfer record deviates from TQSS1/TQ79 (msgID:QT msgNo:408)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I populate the field INSPPOINTDATA-SEL_SET with 'TW40UD' and run the BAPI again. However, this time I got another error:&lt;/P&gt;&lt;P&gt;Error in the transferred usage decision (selected set, code, code group) (msgID:QT msgNo:404)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea whats wrong with my program. Please help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chelsea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 07:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-bapi-inspoper-recordresults/m-p/1359382#M178694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T07:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using BAPI_INSPOPER_RECORDRESULTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-bapi-inspoper-recordresults/m-p/1359383#M178695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******&lt;STRONG&gt;TOP&lt;/STRONG&gt;*********&lt;/P&gt;&lt;P&gt;*********************&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF idata OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2045l4.&lt;/P&gt;&lt;P&gt;DATA: END OF idata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ichar_results OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2045d2.&lt;/P&gt;&lt;P&gt;DATA: END OF ichar_results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF isingle_results OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2045d4.&lt;/P&gt;&lt;P&gt;DATA: END OF isingle_results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF bapireturn2 OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapiret2.&lt;/P&gt;&lt;P&gt;DATA: END OF bapireturn2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ireturntable OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapiret2.&lt;/P&gt;&lt;P&gt;DATA: END OF ireturntable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF isample_results OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2045d3.&lt;/P&gt;&lt;P&gt;DATA: END OF isample_results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******&lt;STRONG&gt;END TOP&lt;/STRONG&gt;*************************&lt;/P&gt;&lt;P&gt;******************************************&lt;/P&gt;&lt;P&gt;  ichar_results-insplot         = '050000001514'.&lt;/P&gt;&lt;P&gt;  ichar_results-inspoper        = '0010'.&lt;/P&gt;&lt;P&gt;  ichar_results-inspchar        = '0070'.&lt;/P&gt;&lt;P&gt;  ichar_results-closed          = 'X'.&lt;/P&gt;&lt;P&gt;  ichar_results-evaluated       = 'X'.&lt;/P&gt;&lt;P&gt;  ichar_results-evaluation      = 'A'.&lt;/P&gt;&lt;P&gt;  ichar_results-mean_value      = '2.65'.&lt;/P&gt;&lt;P&gt;  ichar_results-diff_dec_places = '02'.&lt;/P&gt;&lt;P&gt;  APPEND ichar_results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  idata-insplot    =  '050000001514'.&lt;/P&gt;&lt;P&gt;  idata-inspoper   =  '0010'.&lt;/P&gt;&lt;P&gt;  idata-insppoint  =  '0005'.&lt;/P&gt;&lt;P&gt;  idata-phys_smpl  =  '000100000826'.&lt;/P&gt;&lt;P&gt;  idata-unit       =  'KG'.                 "This is Very Very very important&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  isample_results-insplot          = '050000001514'.&lt;/P&gt;&lt;P&gt;  isample_results-inspoper         = '0010'.&lt;/P&gt;&lt;P&gt;  isample_results-inspchar         = '0070'.&lt;/P&gt;&lt;P&gt;  isample_results-inspsample       = '000005'.&lt;/P&gt;&lt;P&gt;  isample_results-closed           = 'X'.&lt;/P&gt;&lt;P&gt;  isample_results-evaluated        = 'X'.&lt;/P&gt;&lt;P&gt;  isample_results-evaluation       = 'A'.&lt;/P&gt;&lt;P&gt;  isample_results-mean_value       = '2.65'.&lt;/P&gt;&lt;P&gt;  isample_results-diff_dec_places = '02'.&lt;/P&gt;&lt;P&gt;  APPEND isample_results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      insplot        = '050000001514'&lt;/P&gt;&lt;P&gt;      inspoper       = '0010'&lt;/P&gt;&lt;P&gt;      insppointdata  = idata&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return         = bapireturn2&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      char_results   = ichar_results&lt;/P&gt;&lt;P&gt;      sample_results = isample_results&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     single_results = isingle_results&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      returntable    = ireturntable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      wait   = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return = bapireturn2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT ireturntable.&lt;/P&gt;&lt;P&gt;    WRITE:/ ireturntable-message.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 18:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-bapi-inspoper-recordresults/m-p/1359383#M178695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T18:08:15Z</dc:date>
    </item>
  </channel>
</rss>

