<?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: Problem with BDC Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729576#M1110071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use REFRESH GI_BDCDATA after calling the FM  CALL FUNCTION 'BDC_INSERT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will resolve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 06:37:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-31T06:37:24Z</dc:date>
    <item>
      <title>Problem with BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729575#M1110070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am running BDC session like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM OPEN_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH GI_BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT GI_FILE INTO LS_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM BDC_DYNPRO      USING 'TRANSACTION1' '0100'.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'KNA1-KUNNR'.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=ENT1'.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_FIELD       USING 'KNA1-KUNNR'&lt;/P&gt;&lt;P&gt;                                  LS_FILE-KUNNR.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_FIELD       USING 'TVKOT-VKORG'&lt;/P&gt;&lt;P&gt;                                  LS_FILE-VKORG.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_DYNPRO      USING Transaction1' '0200'.&lt;/P&gt;&lt;P&gt;    PERFORM BDC_FIELD       USING 'BDC_CURSOR'.&lt;/P&gt;&lt;P&gt;     ....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....                             &lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        TCODE            = 'Transaction1'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        DYNPROTAB        = GI_BDCDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT RSBDCSUB EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;                        WITH SELECTION-TABLE LI_RSPAR&lt;/P&gt;&lt;P&gt;                      AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My session is errored for some reason. i tried to reprocess the session from SM 35 .but it is running only for first record of my internal table several times .My file is having first 3 records with out errors and next two with errors,but my session is updating only first record in data base . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i checked the GI_BDCDATA , it is having recording information for all records of the internal table.&lt;/P&gt;&lt;P&gt;i dont understand what is happening, can anyone help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729575#M1110070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729576#M1110071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use REFRESH GI_BDCDATA after calling the FM  CALL FUNCTION 'BDC_INSERT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will resolve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729576#M1110071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729577#M1110072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks POORNA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is solved my problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729577#M1110072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729578#M1110073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem in your code is ur itab is not getting refreshed. So your r getting the problem. What you need to do is to write Refresh GI_BDCDATA. just before endloop statement and after BDC_Insert. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code must be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;             tcode                  = Transaction1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      POST_LOCAL             = NOVBLOCAL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      PRINTING               = NOPRINT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      SIMUBATCH              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CTUPARAMS              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              dynprotab              = GI_BDCDATA&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;             internal_error         = 1&lt;/P&gt;&lt;P&gt;             not_open               = 2&lt;/P&gt;&lt;P&gt;             queue_error            = 3&lt;/P&gt;&lt;P&gt;             tcode_invalid          = 4&lt;/P&gt;&lt;P&gt;             printing_invalid       = 5&lt;/P&gt;&lt;P&gt;             posting_invalid        = 6&lt;/P&gt;&lt;P&gt;             OTHERS                 = 7&lt;/P&gt;&lt;P&gt;                    .&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;REFRESH GI_BDCDATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definetly solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc-session/m-p/4729578#M1110073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:50:39Z</dc:date>
    </item>
  </channel>
</rss>

