<?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 Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245791#M1382801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does 'SAPLZ3_RE_AREAS' 0200 refer to a custom screen enhancement?&lt;/P&gt;&lt;P&gt;Maybe you are missing some values in that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try doing a recording again for the transaction and rewrite your code based on teh recorded program.&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2009 19:38:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-12T19:38:51Z</dc:date>
    <item>
      <title>Batch Input Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245790#M1382800</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'm getting this error, and i don't know why it's happening. He in debug do it very well but when i run sm35 i'm getting "No batch input data for screen SAPZ3_RE_AREAS 0200"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    PERFORM open_group.
    LOOP AT it_fac_aux.

      PERFORM bdc_dynpro      USING 'SAPLFV7V' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'VIMIMV-BUKRS'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=STAM'.
      PERFORM bdc_field       USING 'VIMIMV-BUKRS'
                                    it_fac_aux-comp.
      PERFORM bdc_field       USING 'VIMIMV-SMIVE'
                                    it_fac_aux-contract.

      PERFORM bdc_dynpro      USING 'SAPLFV7V' '0150'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FUSF'.

      PERFORM bdc_dynpro      USING 'SAPLFV7V' '0150'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BT_SETTLEMENT'.
      PERFORM bdc_dynpro      USING 'SAPLZ3_RE_AREAS'
                                    '0200'.

      tab = 1.
      LOOP AT it_fac WHERE comp EQ it_fac_aux-comp
        AND contract EQ it_fac_aux-contract.


        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=TC_AREAS_INSR'.
        CLEAR conc.
        CONCATENATE 'IT_AREA_RANGE-AREA_BEG(' tab ')' INTO conc.
        PERFORM bdc_field       USING  conc
                                       it_fac-areaf.

        CLEAR conc.
        CONCATENATE 'IT_AREA_RANGE-AREA_END(' tab ')' INTO conc.
        PERFORM bdc_field       USING  conc
                                       it_fac-areat.

        CLEAR conc.
        CONCATENATE 'IT_AREA_RANGE-FACTOR(' tab ')' INTO conc.
        PERFORM bdc_field       USING  conc
                                       it_fac-factor.
*        PERFORM bdc_field       USING 'BDC_OKCODE'
*                                      '=/00'.


        ADD 1 TO tab.
      ENDLOOP.


      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=/BACK'.
      PERFORM bdc_dynpro      USING 'SAPLFV7V' '0150'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=SICH'.
      PERFORM bdc_transaction USING 'FOV2'.
    ENDLOOP.
    PERFORM close_group.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 18:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245790#M1382800</guid>
      <dc:creator>raul_natu</dc:creator>
      <dc:date>2009-10-12T18:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245791#M1382801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does 'SAPLZ3_RE_AREAS' 0200 refer to a custom screen enhancement?&lt;/P&gt;&lt;P&gt;Maybe you are missing some values in that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try doing a recording again for the transaction and rewrite your code based on teh recorded program.&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 19:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245791#M1382801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T19:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245792#M1382802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your message seems to mean that there is one iteration over IT_FAC_AUX where IT_FAC contains no data for the correponding field COMP... Could you please check that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 07:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-error/m-p/6245792#M1382802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T07:10:03Z</dc:date>
    </item>
  </channel>
</rss>

