<?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: BDC SESSION ISSUE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014187#M79583</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;call the bdc insert function in between  open group and close group as many times as you want &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;       CLIENT   = SY-MANDT&lt;/P&gt;&lt;P&gt;       GROUP    = C_SESSION&lt;/P&gt;&lt;P&gt;       USER     = L_USER&lt;/P&gt;&lt;P&gt;       KEEP     = C_X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'VK01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA1.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'MM01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA2.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'VA01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2005 13:18:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-20T13:18:26Z</dc:date>
    <item>
      <title>BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014184#M79580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Any body will tell ,how we can insert data for more than one transaction code in SESSION METHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good answers will be Appreciated by rewarding point.&lt;/P&gt;&lt;P&gt;regards &amp;amp; thanks&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 06:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014184#M79580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T06:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014185#M79581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC_OPEN_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_INSERT_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can insert as many transactions before closing the seesion in the LOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 06:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014185#M79581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014186#M79582</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;Try this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function 'BDC_OPEN_GROUP' "&amp;lt;- OPEN SESSION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;         EXPORTING TCODE     = TCODE  "&amp;lt;- YOU HAVE TO PASS TRANSACTION CODES HERE&lt;/P&gt;&lt;P&gt;         TABLES    DYNPROTAB = BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Function 'BDC_CLOSE_GROUP' "&amp;lt;- CLOSE SESSION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 13:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014186#M79582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T13:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014187#M79583</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;call the bdc insert function in between  open group and close group as many times as you want &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;       CLIENT   = SY-MANDT&lt;/P&gt;&lt;P&gt;       GROUP    = C_SESSION&lt;/P&gt;&lt;P&gt;       USER     = L_USER&lt;/P&gt;&lt;P&gt;       KEEP     = C_X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'VK01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA1.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'MM01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA2.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING TCODE     = 'VA01'&lt;/P&gt;&lt;P&gt;       TABLES    DYNPROTAB = BDCDATA3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 13:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014187#M79583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014188#M79584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjeev - try something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Actuals
  perform open_batch_session using p_sessa.
  loop at ltcap_int
    where not tot_inc is initial.
    ltcap_int-adj = ltcap_int-adj * -1.
    concatenate ltcap_int-fund '/' ltcap_int-cfc into zuonr.
    perform fill_bdc_header.
    perform fill_bdc_lines.
    perform post_entries.
    perform insert_batch_session using 'FB01'.
    ltcap_int-adj = ltcap_int-adj * -1.
  endloop.
  perform close_batch_session.
* perform start_batch_session using p_sessa.

* Budgets
  write p_fy to c_fy.
  perform open_batch_session using p_sessb.
  loop at ltcap_int
    where not tot_inc is initial.
    perform rollup_header.
    perform rollup_line.
    perform rollup_save.
    perform insert_batch_session using 'FR21'.
  endloop.
  perform close_batch_session.
* perform start_batch_session using p_sessb.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 14:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014188#M79584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T14:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014189#M79585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to upload data for two transactions in one BDC,&lt;/P&gt;&lt;P&gt;then do one thing go to shdb tcode , give the tcode and start. once you finished with this , SAP will show a screen showing all the values you entered. now click on RECORD Button. it will ask for a new tcode for which you want to do recording and upload. This will be added below the first run tcode and the required internal table contains all the fields of both the tcode which you have input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Gurpreet Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 12:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-issue/m-p/1014189#M79585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T12:39:58Z</dc:date>
    </item>
  </channel>
</rss>

