<?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: transaction error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401954#M816863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error ( No batch input data for screen ZFPSPM002 0100. ) means that your screen flow in the change routine is not correct. Did you already run your session in foreground to see where it goes wrong? Was the session created via a recording (SM35, create recording)? This can be very useful to determine which screens are needed and it which sequence...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 12:44:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T12:44:09Z</dc:date>
    <item>
      <title>transaction error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401951#M816860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai evey one! i a m creating bdc program for two customer ganerated tcodes (create quotation and change quotation ).&lt;/P&gt;&lt;P&gt;I want to generate two sessions one for each. I succesfully generated two sessions .&lt;/P&gt;&lt;P&gt;             When i run the sessions iam getting two errors  for change quotation  1. 'transaction error '  2. No batch input data for screen ZFPSPM002 0100  . One error (Quotation NUmber already exist ) for create quotation .From second transaction onwards    .ie only first record is being created succesfully. Actually i prevalidated the quotation numbers for their existance and they are not there actually there . When I run the program and session again one (next) transaction is succesful . Can anyone give me some solution .Pl see the two subroutines below . Is 'open_session'  and 'close_session'  in correct position ? or they should be inside the loop ? &lt;/P&gt;&lt;P&gt; thank you &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  create_quote&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM create_quote .&lt;/P&gt;&lt;P&gt;perform open_group using 'create_quote'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at  gt_get_datum into gw_get_datum where act_code = 'C'.&lt;/P&gt;&lt;P&gt;tot_cr_recs = tot_cr_recs + '1' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM001' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SPROJ_NUM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ACRT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SPROJ_NUM'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-posid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM001' '0200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SQUOT_NUM'.&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;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_AMT'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_amt.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_NUM'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_NAME1'&lt;/P&gt;&lt;P&gt;                              'name'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_STREET'&lt;/P&gt;&lt;P&gt;                              'street'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SCR-SCRT_DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                              gw_get_datum-quote_cdte.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'SCR-SEXP_DAT'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_edte.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SGST_IND'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-mwskz .&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_NUM'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM001' '0200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SQUOT_AMT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SAVE'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_AMT'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_amt.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_NUM'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_NAME1'&lt;/P&gt;&lt;P&gt;                              'name'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_STREET'&lt;/P&gt;&lt;P&gt;                              'street'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SCR-SCRT_DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                              gw_get_datum-quote_cdte.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'SCR-SEXP_DAT'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_edte.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SGST_IND'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-mwskz.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_NUM'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM001' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EEXIT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SPROJ_NUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_insert using 'ZFPSTC001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " create_quote&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  change_quote&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM change_quote .&lt;/P&gt;&lt;P&gt;perform open_group using 'Change-quote'.&lt;/P&gt;&lt;P&gt;loop at  gt_get_datum into gw_get_datum where act_code = 'M'.&lt;/P&gt;&lt;P&gt;tot_ch_recs = tot_ch_recs + '1' .&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM002' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SQUOT_NUM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ACHN'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SPROJ_NUM'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-posid.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_NUM'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-quote_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM002' '0200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SCUST_NUM'.&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 'SCR-SCUST_NUM'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-kunnr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_AMT'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-quote_amt.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SEXP_DAT'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-quote_edte.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SGST_IND'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-mwskz.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SCR-SCOST_IND'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'A00001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCAP_AMT'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-cap_amt.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SRNA'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM002' '0200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SCUST_NUM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SAVE'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCUST_NUM'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-kunnr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SQUOT_AMT'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-quote_amt.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SEXP_DAT'&lt;/P&gt;&lt;P&gt;                               gw_get_datum-quote_edte.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SGST_IND'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-mwskz.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SCR-SCOST_IND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SCR-SCAP_AMT'&lt;/P&gt;&lt;P&gt;                              gw_get_datum-cap_amt.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'SRNA'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_dynpro      using 'ZFPSPM002' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EEXIT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SCR-SPROJ_NUM'.&lt;/P&gt;&lt;P&gt;perform bdc_insert using 'ZFPSTC002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " change_quote&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 07:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401951#M816860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: transaction error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401952#M816861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 ) make sure you refresh your bdc-internal table after each bdc_insert.&lt;/P&gt;&lt;P&gt;2 ) make sure you don't open 2 sessions at the same time, i.e. if you open your session for change quote, the session for create quote should be closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401952#M816861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: transaction error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401953#M816862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Kris ! your suggestion solved one problem ie. create quotation . Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 11:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401953#M816862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T11:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: transaction error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401954#M816863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error ( No batch input data for screen ZFPSPM002 0100. ) means that your screen flow in the change routine is not correct. Did you already run your session in foreground to see where it goes wrong? Was the session created via a recording (SM35, create recording)? This can be very useful to determine which screens are needed and it which sequence...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-error/m-p/3401954#M816863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:44:09Z</dc:date>
    </item>
  </channel>
</rss>

