<?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: calling RSBDCSUB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718163#M1107888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2008 05:07:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-12T05:07:36Z</dc:date>
    <item>
      <title>calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718156#M1107881</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;&lt;/P&gt;&lt;P&gt;i am submitting my session to RSBDCSUB program.my requirement is to display the successfully processed records in the report. when i submit the program ,if i go to SM 35 i can see my session is processed or not,but how can i know in the program my session is successfully processed or not and how to get the successfull records,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is submit command returns sy-subrc or anyother way to find out whether my sessaion is successfully processed or not.&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>Wed, 29 Oct 2008 10:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718156#M1107881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T10:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718157#M1107882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be aware of success read table APQI field QSTATE. (E errored, F finished) or use FM [BDC_PROTOCOL_SELECT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&amp;amp;query=bdc_protocol_select&amp;amp;adv=false&amp;amp;sortby=cm_rnd_rankvalue]&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Remember that the BDC is not at end when the SUBMIT RSDBCSUB returns.(status R running)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the log, look at report[ RSBDCLOG|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=+rsbdclog&amp;amp;cat=sdn_all].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 11:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718157#M1107882</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-10-29T11:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718158#M1107883</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; You can submit the background job RSBDCSUB to start a session in background processing. If several sessions have the same name, RSBDCSUB starts them all. &lt;/P&gt;&lt;P&gt;Itu2019s possible to coordinate the generation and execution of a session in the background processing system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;swamy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 11:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718158#M1107883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T11:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718159#M1107884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is giving the staus as R for successfull processed sessions also(I mean first errored and then processed again successfully ). one more thing is RSBDCSUB is processing all the sessions that are with same name.but i want to process only recent session.  is it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSBDCLOG is not available in my system, and can u tell me how can i find out the successfully processed records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 11:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718159#M1107884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T11:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718160#M1107885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your R3 version, do you use old or new protocol (system parameter [bdc/new_protocol|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=bdc%2fnew_protocol&amp;amp;cat=sdn_all])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You may look at &lt;SPAN __jive_macro_name="thread" id="83901"&gt;&lt;/SPAN&gt; to view RSDBCLOG source)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For QSTATE value (from SM35 program texts) &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' '. new/neu&lt;/P&gt;&lt;P&gt;'F' finished/verarbeitet&lt;/P&gt;&lt;P&gt;'E' error/fehlerhaft&lt;/P&gt;&lt;P&gt;'R' running/in Bearbeitung&lt;/P&gt;&lt;P&gt;'C' creating/in Erstellung&lt;/P&gt;&lt;P&gt;'S' in background/im Hintergrund&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 12:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718160#M1107885</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-10-29T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718161#M1107886</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;Use this program RSBDC_PROTOCOL for SM35 log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 12:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718161#M1107886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718162#M1107887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;check dis program may be use full for u.&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;REPORT  ZBDC_CT  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:LFA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;     LIFNR TYPE LIFNR,&lt;/P&gt;&lt;P&gt;     NAME1 TYPE LFA1-NAME1,&lt;/P&gt;&lt;P&gt;     ORT01 TYPE LFA1-ORT01,&lt;/P&gt;&lt;P&gt;     LAND1 TYPE LFA1-LAND1,&lt;/P&gt;&lt;P&gt;     END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:JTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:KTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:LTAB LIKE ITAB OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA:MTAB LIKE ITAB OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = 'E:/HYE/HI.TXT'&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;REFRESH JTAB.&lt;/P&gt;&lt;P&gt;*PERFORM SUB USING 'ZVIF' '0100'.&lt;/P&gt;&lt;P&gt;PERFORM SUB USING 'ZBDC_YVTRANS' '100'.&lt;/P&gt;&lt;P&gt;PERFORM SUB1 USING:'LFA1-LIFNR' ITAB-LIFNR,&lt;/P&gt;&lt;P&gt;                   'LFA1-NAME1' ITAB-NAME1,&lt;/P&gt;&lt;P&gt;                   'LFA1-ORT01' ITAB-ORT01,&lt;/P&gt;&lt;P&gt;                   'LFA1-LAND1' ITAB-LAND1.&lt;/P&gt;&lt;P&gt;PERFORM SUB1 USING 'BDC_OKCODE' 'INSERT'.&lt;/P&gt;&lt;P&gt;*PERFORM SUB USING 'ZVIF' '0100'.&lt;/P&gt;&lt;P&gt;PERFORM SUB USING 'ZBDC_YVTRANS' '100'.&lt;/P&gt;&lt;P&gt;PERFORM SUB1 USING 'BDC_OKCODE' 'EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL TRANSACTION 'ZVIF' USING JTAB MODE 'A' MESSAGES INTO KTAB.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL TRANSACTION 'YVTRANS' USING JTAB MODE 'A' MESSAGES INTO KTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT KTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF KTAB-MSGTYP = 'I' OR KTAB-MSGNR = '000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MOVE-CORRESPONDING ITAB TO LTAB.&lt;/P&gt;&lt;P&gt; APPEND LTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ELSEIF KTAB-MSGTYP = 'E' OR KTAB-MSGNR = '001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MOVE-CORRESPONDING ITAB TO MTAB.&lt;/P&gt;&lt;P&gt; APPEND MTAB.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; REFRESH KTAB.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     FILENAME                      = 'E:/HYE/SUS.TXT'&lt;/P&gt;&lt;P&gt;    FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE_FIELD_SEPARATOR         = 'X'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     DATA_TAB                      = LTAB.&lt;/P&gt;&lt;P&gt;WRITE:/ 'SUCESSFULL RECORDS IN E:/HYE/SUS.TXT FILE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         FILENAME                      = 'E:/HYE/ERROR.TXT'&lt;/P&gt;&lt;P&gt;        FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WRITE_FIELD_SEPARATOR         = 'X'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;         DATA_TAB                      = MTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ 'ERROR RECORDS IN E:/HYE/ERROR.TXT FILE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SUB USING A B.&lt;/P&gt;&lt;P&gt;CLEAR JTAB.&lt;/P&gt;&lt;P&gt;JTAB-PROGRAM = A.&lt;/P&gt;&lt;P&gt;JTAB-DYNPRO = B.&lt;/P&gt;&lt;P&gt;JTAB-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;APPEND JTAB.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SUB1 USING C D.&lt;/P&gt;&lt;P&gt;CLEAR JTAB.&lt;/P&gt;&lt;P&gt;JTAB-FNAM = C.&lt;/P&gt;&lt;P&gt;JTAB-FVAL = D.&lt;/P&gt;&lt;P&gt;APPEND JTAB.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;SHAIK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 08:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718162#M1107887</guid>
      <dc:creator>shadow</dc:creator>
      <dc:date>2008-10-30T08:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling RSBDCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718163#M1107888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 05:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-rsbdcsub/m-p/4718163#M1107888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T05:07:36Z</dc:date>
    </item>
  </channel>
</rss>

