<?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: Is it possible to write a Batch Input program for  transaction CAT2 ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313450#M1636687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
"Your program should look like this
.
.
.
.


perform bdc_field       using 'BDC_CURSOR'      'ITAB1-FIELD1'.

perform bdc_field       using 'BDC_OKCODE'       '=NEWL'.
"Fill Grid like structure (table control) with records from internal table (uploaded file entries)
"-----------&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
LOOP AT ITAB2.
V_COUNT = V_COUNT + 1.

perform bdc_dynpro      using 'SAPTIMESHEET' '0001'.

perform bdc_field           using 'AAAAAA'             'HRP01'.


IF V_COUNT1 = 40.
   V_COUNT1 = 1.
   perform bdc_field       using 'BDC_OKCODE'        '=P+'. "Next Page after 40 lines

ENDIF.
ENDLOOP.
"-----------&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
* After the loop statement continue the steps as per recording.

perform bdc_dynpro      using 'SAPLZAAA' '0001'.

perform bdc_field       using 'BDC_CURSOR'&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 12:22:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-30T12:22:13Z</dc:date>
    <item>
      <title>Is it possible to write a Batch Input program for  transaction CAT2 ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313448#M1636685</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 need to insert new records for an employee with CAt2 but the grid like structure in the lower part seems to be inappropriate for the bdc technique ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please advice ? What can I do else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erkan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comment ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: erkan varol on Nov 30, 2011 1:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 09:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313448#M1636685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T09:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write a Batch Input program for  transaction CAT2 ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313449#M1636686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with bapi's&lt;/P&gt;&lt;P&gt;BAPI_CATIMESHEETMGR_INSERT.&lt;/P&gt;&lt;P&gt;BAPI_CATIMESHEETMGR_CHANGE&lt;/P&gt;&lt;P&gt;BAPI_CATIMESHEETMGR_DELETE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Also if you want BDC to be used, you can see a personal settings button in initial screen or in menu of CAT2 where a check box can be marked for avoiding the ALV display. Please note that BDC must not be used for Enjoy transactions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 12:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313449#M1636686</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-30T12:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write a Batch Input program for  transaction CAT2 ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313450#M1636687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
"Your program should look like this
.
.
.
.


perform bdc_field       using 'BDC_CURSOR'      'ITAB1-FIELD1'.

perform bdc_field       using 'BDC_OKCODE'       '=NEWL'.
"Fill Grid like structure (table control) with records from internal table (uploaded file entries)
"-----------&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
LOOP AT ITAB2.
V_COUNT = V_COUNT + 1.

perform bdc_dynpro      using 'SAPTIMESHEET' '0001'.

perform bdc_field           using 'AAAAAA'             'HRP01'.


IF V_COUNT1 = 40.
   V_COUNT1 = 1.
   perform bdc_field       using 'BDC_OKCODE'        '=P+'. "Next Page after 40 lines

ENDIF.
ENDLOOP.
"-----------&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
* After the loop statement continue the steps as per recording.

perform bdc_dynpro      using 'SAPLZAAA' '0001'.

perform bdc_field       using 'BDC_CURSOR'&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 12:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313450#M1636687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T12:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write a Batch Input program for  transaction CAT2 ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313451#M1636688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are plenty of notes related to using batch input for this transaction, so it should be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 14:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313451#M1636688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T14:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write a Batch Input program for  transaction CAT2 ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313452#M1636689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 14:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-a-batch-input-program-for-transaction-cat2/m-p/8313452#M1636689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T14:47:33Z</dc:date>
    </item>
  </channel>
</rss>

