<?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: Batch run and need number in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415948#M1049109</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;&lt;/P&gt;&lt;P&gt;Use the Parameter Id for the FI document number at the dataelement level and try to get them using this paramter id. Use the GET PARAMETER ID for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Lekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2008 07:15:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-10T07:15:49Z</dc:date>
    <item>
      <title>Batch run and need number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415946#M1049107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a batch input program to enter customer cheques&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and according to cheque number a new document is created through transaction F-36.&lt;/P&gt;&lt;P&gt;That is to say, assume 10 lines of data is available in file and all cheque numbers are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do I have to call following sentence as 10 times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'F-36' USING bdcdata
                          OPTIONS FROM lv_opts
                         MESSAGES INTO messtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If yes, then  How can I get the created FI documents numbers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your useful answers, offers.&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;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415946#M1049107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch run and need number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415947#M1049108</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;When you have to fill your BDC table you will need to put all your file into an internal table and i hope you have done that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have done this then you need to loop on your internal table and call this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you messtab will have the message numbers and will have 4 fields called MSGV1 MSGV2 MSGV3 and MSGV4. One of these fields will have the document number created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415947#M1049108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Batch run and need number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415948#M1049109</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;&lt;/P&gt;&lt;P&gt;Use the Parameter Id for the FI document number at the dataelement level and try to get them using this paramter id. Use the GET PARAMETER ID for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Lekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415948#M1049109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Batch run and need number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415949#M1049110</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;After Call Transaction Syntax check for sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop the internal table of messages and call fm &lt;/P&gt;&lt;P&gt;FORMAT_MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now,&lt;/P&gt;&lt;P&gt;loop the messages int table.&lt;/P&gt;&lt;P&gt;case msgtyp.&lt;/P&gt;&lt;P&gt;when  'S".&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;   msgv1(Document NoS), msgv2.......&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how U can trap the Document NOs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help U out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shake sha vali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415949#M1049110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Batch run and need number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415950#M1049111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you can get the FI document number by using &lt;/P&gt;&lt;P&gt;GET paramater ID 'BLN' field belnr , after call transaction if sy-subrc = 0. &lt;/P&gt;&lt;P&gt;then put in  internal table for further processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-run-and-need-number/m-p/4415950#M1049111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:18:32Z</dc:date>
    </item>
  </channel>
</rss>

