<?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: Error in BDC Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512253#M1260415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in the Parameters of 'BDC_OPEN_GROUP':&lt;/P&gt;&lt;P&gt;Pass &lt;STRONG&gt;KEEP = 'X'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If you dont set KEEp ='X' once the session is completed succesfully it will not be in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I SM35 Just check the logs(Logs Button)you will find the session listed there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 09:07:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T09:07:13Z</dc:date>
    <item>
      <title>Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512246#M1260408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to create the the BDC Session but when I goto transaction and select my session and click on process then it gives an information message that 'The requested session cannot be processed' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code used for creating BDC Session is given below :&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_name&lt;/P&gt;&lt;P&gt;      user   = sy-uname&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      tcode     = c_pa30&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynprotab = it_bdcdata[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS    = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc &amp;lt;&amp;gt; 0.&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;&lt;/P&gt;&lt;P&gt;I have not used BDC sessions before. Please suggest solution to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nibha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512246#M1260408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512247#M1260409</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
group = c_session_name
user = sy-uname
EXCEPTIONS
OTHERS = 11.

CHECK sy-subrc 0.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = c_pa30
TABLES
dynprotab = it_bdcdata[]
EXCEPTIONS
OTHERS = 7.

* CHECK sy-subrc 0.        " Comment this line if you BDC session through's error 
 " then below FM will not get executed and session will not be closed.

CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512247#M1260409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512248#M1260410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Might be be data ur passing to internal table it_BDCdata is not correct or check out t-code ur passing to function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512248#M1260410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512249#M1260411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have commented that line but I am still getting the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nibha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512249#M1260411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512250#M1260412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BDC_OPEN_GROUP'
   EXPORTING
   client                    = sy-mandt
     group                     = c_session_name
   prog                      = sy-cprog                " Porgram name
   EXCEPTIONS
     client_invalid            = 1
     destination_invalid       = 2
     group_invalid             = 3
     group_is_locked           = 4
     holddate_invalid          = 5
     internal_error            = 6
     queue_error               = 7
     running                   = 8
     system_lock_error         = 9
     user_invalid              = 10
     OTHERS                    = 11
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&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;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BDC_INSERT'
   EXPORTING
     tcode                  = 'TCODE'
    TABLES
      dynprotab              = t_bdc
* EXCEPTIONS
*   INTERNAL_ERROR         = 1
*   NOT_OPEN               = 2
*   QUEUE_ERROR            = 3
*   TCODE_INVALID          = 4
*   PRINTING_INVALID       = 5
*   POSTING_INVALID        = 6
*   OTHERS                 = 7
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also try to catch the execptions and check wether there is any issue with creating Session.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512250#M1260412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512251#M1260413</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; U hv deleted the3 exceptions in the FM 'BDC_INSERT' except '7'.&lt;/P&gt;&lt;P&gt;Add all the exceptions &amp;amp; find out which exception is getting triggered ...&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 07:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512251#M1260413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T07:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512252#M1260414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There was some problem with data. I am able to process that session now but that session name disappears from the list after being processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Also, after processing I receive a message 'Processing of batch input session completed' and the change is updated in the database too .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Am I proceeding correctly ? and where does that session name goes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 09:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512252#M1260414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512253#M1260415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in the Parameters of 'BDC_OPEN_GROUP':&lt;/P&gt;&lt;P&gt;Pass &lt;STRONG&gt;KEEP = 'X'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If you dont set KEEp ='X' once the session is completed succesfully it will not be in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I SM35 Just check the logs(Logs Button)you will find the session listed there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 09:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc-session/m-p/5512253#M1260415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T09:07:13Z</dc:date>
    </item>
  </channel>
</rss>

