<?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 input in FM. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942860#M693741</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;You record teh transaction using SHDB.&lt;/P&gt;&lt;P&gt;And then in the SHDB txn,&lt;/P&gt;&lt;P&gt;Menu Edit-&amp;gt; Create Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a function module out of recording for the transaction used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;RSS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2007 05:42:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-15T05:42:11Z</dc:date>
    <item>
      <title>Batch input in FM.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942859#M693740</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;  Can any body say how to write a function module using batch input calltransaction.&lt;/P&gt;&lt;P&gt;plzzz urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 05:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942859#M693740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T05:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in FM.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942860#M693741</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;You record teh transaction using SHDB.&lt;/P&gt;&lt;P&gt;And then in the SHDB txn,&lt;/P&gt;&lt;P&gt;Menu Edit-&amp;gt; Create Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a function module out of recording for the transaction used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;RSS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 05:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942860#M693741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T05:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in FM.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942861#M693742</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;check the below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZW_CLEAR.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'&lt;/P&gt;&lt;P&gt;*"             VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'&lt;/P&gt;&lt;P&gt;*"             VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'&lt;/P&gt;&lt;P&gt;*"             VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(USER) LIKE  APQI-USERID OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'&lt;/P&gt;&lt;P&gt;*"             VALUE(LGNUM_001) LIKE  BDCDATA-FVAL DEFAULT '888'&lt;/P&gt;&lt;P&gt;*"             VALUE(IVNUM_002) LIKE  BDCDATA-FVAL DEFAULT '143'&lt;/P&gt;&lt;P&gt;*"             VALUE(DUNKL_003) LIKE  BDCDATA-FVAL DEFAULT 'H'&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(SUBRC) LIKE  SYST-SUBRC&lt;/P&gt;&lt;P&gt;*"       TABLES&lt;/P&gt;&lt;P&gt;*"              MESSTAB STRUCTURE  BDCMSGCOLL OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_nodata      using NODATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group      using GROUP USER KEEP HOLDDATE CTU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPML04I' '0222'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LINV-IVNUM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LINV-LGNUM'&lt;/P&gt;&lt;P&gt;                              LGNUM_001.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LINV-IVNUM'&lt;/P&gt;&lt;P&gt;                              IVNUM_002.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RL04I-DUNKL'&lt;/P&gt;&lt;P&gt;                              DUNKL_003.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSSY0' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              '07/03'.&lt;/P&gt;&lt;P&gt;*{   REPLACE        S20K900243                                        1&lt;/P&gt;&lt;P&gt;*\perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;*\                              '=MRKA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=&amp;amp;ALL'.&lt;/P&gt;&lt;P&gt;*}   REPLACE&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSSY0' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              '07/03'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=DIAU'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction tables messtab&lt;/P&gt;&lt;P&gt;using                         'LI20'&lt;/P&gt;&lt;P&gt;                              CTU&lt;/P&gt;&lt;P&gt;                              MODE&lt;/P&gt;&lt;P&gt;                              UPDATE.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;  exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform close_group using     CTU.&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;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 05:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942861#M693742</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-10-15T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in FM.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942862#M693743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for ur answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how to mention my input file&lt;/P&gt;&lt;P&gt;i can't write gui upload there right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how i have to pass my input file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz suggest me as early as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 06:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942862#M693743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T06:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in FM.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942863#M693744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to read the file using 'GUI_UPLOAD' and process it in Internal Table. And then loop through the internal table and within the loop, you call teh generated function module which will execute the transaction with your file date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;RSS,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 08:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-fm/m-p/2942863#M693744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T08:08:25Z</dc:date>
    </item>
  </channel>
</rss>

