<?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: BAPI_INCOMINGINVOICE_CREATE, error using just after entrysheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447495#M212225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,thanks for your response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sounds well, but it didn't work or maybe I did something in a wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added in the source code the next call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MS_READ_ENTRY_SHEET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_lblni                  = entrysheet&lt;/P&gt;&lt;P&gt;   I_WITH_ACCOUNTS          = 'X'&lt;/P&gt;&lt;P&gt;   I_WITH_ESKL              = 'X'&lt;/P&gt;&lt;P&gt;   I_WITH_ESLL              = 'X'&lt;/P&gt;&lt;P&gt;   I_EXISTENCE_CHECK        = 'X'&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 15:52:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-15T15:52:51Z</dc:date>
    <item>
      <title>BAPI_INCOMINGINVOICE_CREATE, error using just after entrysheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447493#M212223</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 an RFC function module that call firstly to the BAPI_ENTRYSHEET_CREATE and then calls to the BAPI_INCOMINGINVOICE_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the M8(607) error code Error in sobroutine frseg_fill read tab_esll estructure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried put a BAPI_TRANSACTION_COMMIT between both of the function modules. even I have tried to check if some entries have been added to tables essr and essl before processing the invoice creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put a delay, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody know how I can avoid this error, what I have to check, before call to the invoice creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 14:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447493#M212223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T14:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE, error using just after entrysheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447494#M212224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Make a call to the FM MS_READ_ENTRY_SHEET in an indefinite loop and if it is successful, then only call the second bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;call function 'MS_READ_ENTRY_SHEET'&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_INCOMINGINVOICE_CREATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternatively you can check the table &lt;/P&gt;&lt;P&gt;ESLL if an entry exists for the package number&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;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 15:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447494#M212224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T15:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE, error using just after entrysheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447495#M212225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,thanks for your response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sounds well, but it didn't work or maybe I did something in a wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added in the source code the next call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MS_READ_ENTRY_SHEET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_lblni                  = entrysheet&lt;/P&gt;&lt;P&gt;   I_WITH_ACCOUNTS          = 'X'&lt;/P&gt;&lt;P&gt;   I_WITH_ESKL              = 'X'&lt;/P&gt;&lt;P&gt;   I_WITH_ESLL              = 'X'&lt;/P&gt;&lt;P&gt;   I_EXISTENCE_CHECK        = 'X'&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 15:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447495#M212225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE, error using just after entrysheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447496#M212226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of checking for SY_SUBRC check for one of the return parameters. As SY_SUBRC would be 0 even if the entry sheet details are not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 16:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error-using-just-after-entrysheet/m-p/1447496#M212226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T16:01:42Z</dc:date>
    </item>
  </channel>
</rss>

