<?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: Problems with BAPI_ENTRYSHEET_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598196#M1568028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does wa_am-kostl have the leading zeroes present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What messages are in the return table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Dec 2010 17:11:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-30T17:11:03Z</dc:date>
    <item>
      <title>Problems with BAPI_ENTRYSHEET_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598195#M1568027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using that function to fill several lines in a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He puts the lines but the field costcenter - kostl is the same to every line but i am sending diferent kostl's in the function.&lt;/P&gt;&lt;P&gt;It apears that he choses random number in the table sendt in the function and puts to every line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


        LOOP AT it_am INTO wa_am WHERE xblnr = wa_am_i-xblnr
                                               AND txz01 = wa_am_i-txz01.
          counter = counter + 1.
          it_eskn-pckg_no = pac.
          it_eskn-gl_account = it_account-g_l_acct.
          it_eskn-costcenter = wa_am-kostl.
          it_eskn-serial_no = counter.
          it_eskn-counter = counter.
          APPEND it_eskn.
          CLEAR v_quant.
          it_eskl-percentage = ( wa_am-tbtwr / v_quant ) * 100."wa_am_h-mkntm.
          it_eskl-pckg_no = pac.
          it_eskl-line_no = counter.
          APPEND  it_eskl.
        ENDLOOP.


      CALL FUNCTION 'BAPI_ENTRYSHEET_CREATE'
        EXPORTING
          entrysheetheader            = wa_header
          testrun                     = mode
        IMPORTING
          entrysheet                  = num
        TABLES
          entrysheetaccountassignment = it_eskn
          entrysheetservices          = it_esll
          entrysheetsrvaccassvalues   = it_eskl
          return                      = it_return.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in table it_eskn there are 100 lines with diferent kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks in advanced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 16:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598195#M1568027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_ENTRYSHEET_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598196#M1568028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does wa_am-kostl have the leading zeroes present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What messages are in the return table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 17:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598196#M1568028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T17:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_ENTRYSHEET_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598197#M1568029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ohhh....&lt;/P&gt;&lt;P&gt;do i need to run the function  CONVERSION_EXIT_ALPHA_INPUT ?? &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;stupid error &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i will try...tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 17:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598197#M1568029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_ENTRYSHEET_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598198#M1568030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it didn´t work &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i think everything is correct..don´t know what could be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 18:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-entrysheet-create/m-p/7598198#M1568030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T18:23:24Z</dc:date>
    </item>
  </channel>
</rss>

