<?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: ITOB 411 Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569596#M1565267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I facing the error as well,&lt;/P&gt;&lt;P&gt;May I know how you solved the error 411 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 01:37:13 GMT</pubDate>
    <dc:creator>chngkhengkim</dc:creator>
    <dc:date>2014-08-20T01:37:13Z</dc:date>
    <item>
      <title>ITOB 411 Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569593#M1565264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to work around ITOB 411 error message?  'Serial number xxxxxx for material xxx could not be read.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are creating 60 serial numbers as we add them to existing contract document line items using modules SERNR_ADD_TO_AU and SERIAL_LISTE_POST_AU.   This is successful.  The Program waits for up to 8 seconds, then uses ITOB_SERIALNO_READ_SINGLE to retrieve the ITOB structure for each serial number that was added, in order to modify the last goods movement date.  When the read is successful, ITOB_SERIALNO_MODIFY_SINGLE is used to successfully modify the LGMD.  The first 15 serials are read and updated successfully.  The error comes usually on about the 16th attempt of  calling ITOB_SERIALNO_READ_SINGLE and stops the processing.  Using various modules such as GET_SERNOS_OF_DOCUMENT verifies the serial number in the error message is in fact created.    Any information is appreciated.&lt;/P&gt;&lt;P&gt; When we have quantities of 15 or below, there are no issues.&lt;/P&gt;&lt;P&gt;Below is an excerpt of the code used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_serial into ls_serial.&lt;/P&gt;&lt;P&gt;  lv_sernr = ls_serial-sernr.&lt;/P&gt;&lt;P&gt;  lv_quantity = ls_serial-qty.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'SERNR_ADD_TO_AU'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          sernr                       = lv_sernr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        UII                         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          profile                     = 'ZOM1'&lt;/P&gt;&lt;P&gt;          material                    = ls_out_items-material&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        M_CHARGE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          quantity                    =  lv_quantity&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        J_VORGANG                   = 'PMS2'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        KMATNR                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CUOBJ                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          document                    = ls_out_header-doc_number&lt;/P&gt;&lt;P&gt;          item                        = ls_out_items-itm_number&lt;/P&gt;&lt;P&gt;          debitor                     = ls_out_header-sold_to&lt;/P&gt;&lt;P&gt;          vbtyp                       = ls_out_header-sd_doc_cat&lt;/P&gt;&lt;P&gt;          sd_auart                    = ls_out_header-doc_type&lt;/P&gt;&lt;P&gt;          sd_postyp                   = ls_out_items-item_categ&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_AUTOMATIC                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_NO_ENQUEUE                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_MORE_ALLOWED              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          i_bapi                      = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ANZSN                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ZEILEN_ID                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        SERIAL_COMMIT               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          konfigurations_error        = 1&lt;/P&gt;&lt;P&gt;          serialnumber_errors         = 2&lt;/P&gt;&lt;P&gt;          serialnumber_warnings       = 3&lt;/P&gt;&lt;P&gt;          no_profile_operation        = 4&lt;/P&gt;&lt;P&gt;          OTHERS                      = 5&lt;/P&gt;&lt;P&gt;                .&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        exit.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SERIAL_LISTE_POST_AU'.&lt;/P&gt;&lt;P&gt;  COMMIT WORK.&lt;/P&gt;&lt;P&gt;                                                                                *goods movement date                        &lt;/P&gt;&lt;P&gt;  WAIT UP TO 8 SECONDS.&lt;/P&gt;&lt;P&gt;  LOOP AT lt_serial INTO ls_serial&lt;/P&gt;&lt;P&gt;      IF ls_serial-inbdt IS INITIAL.&lt;/P&gt;&lt;P&gt;        CONTINUE.    &lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      lv_sernr = ls_serial-sernr.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'ITOB_SERIALNO_READ_SINGLE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_HANDLE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_AUTH_TCODE         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_EQUI_ONLY          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_LOCK               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          i_matnr              = ls_order_item_in-material&lt;/P&gt;&lt;P&gt;          i_sernr              = lv_sernr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_UII                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_object_rec         = ls_object_rec_old&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          not_successful       = 1&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        OTHERS               = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                .&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        exit.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING ls_object_rec_old TO ls_object_rec.&lt;/P&gt;&lt;P&gt;      ls_object_rec-datlwb = ls_serial-inbdt.&lt;/P&gt;&lt;P&gt;                                                                                CALL FUNCTION 'ITOB_SERIALNO_MODIFY_SINGLE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_HANDLE                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_CONVERT_FULL_EQUI       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_EQUI_ONLY               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_AUTH_TCODE              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          i_filter_data             = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_WRITE_BUFFER            = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        I_POST_BUFFER             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          i_transfer_mode           = 'X'&lt;/P&gt;&lt;P&gt;          i_commit_work             = 'X'&lt;/P&gt;&lt;P&gt;          i_object_rec              = ls_object_rec&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_OBJECT_REC_OLD          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_object_rec              = ls_object_rec_exp&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          not_successful            = 1&lt;/P&gt;&lt;P&gt;          OTHERS                    = 2&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 23:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569593#M1565264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T23:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: ITOB 411 Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569594#M1565265</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;   Try to clear the buffers , there is an SAP note on this . I've searched but could not find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 09:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569594#M1565265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: ITOB 411 Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569595#M1565266</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;Looking at your code, you are using two different variables while calling the below two FM's.&lt;/P&gt;&lt;P&gt;Most probably the values of the materials here are different.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SERNR_ADD_TO_AU'
material = ls_out_items-material

CALL FUNCTION 'ITOB_SERIALNO_READ_SINGLE'
i_matnr = ls_order_item_in-material&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;During debugging, check if the values are the same. Including the preceeding zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 09:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569595#M1565266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: ITOB 411 Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569596#M1565267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I facing the error as well,&lt;/P&gt;&lt;P&gt;May I know how you solved the error 411 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 01:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itob-411-error/m-p/7569596#M1565267</guid>
      <dc:creator>chngkhengkim</dc:creator>
      <dc:date>2014-08-20T01:37:13Z</dc:date>
    </item>
  </channel>
</rss>

