<?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 BDC SESSION METHOD    ???????? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749856#M325122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     could anyone give me an example for bdc through session method with code?code is compulsory. your answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2006 06:06:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-19T06:06:47Z</dc:date>
    <item>
      <title>BDC SESSION METHOD    ????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749856#M325122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     could anyone give me an example for bdc through session method with code?code is compulsory. your answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749856#M325122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION METHOD    ????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749857#M325123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ramana , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;code is compulsory. your answers will be rewarded.&amp;lt;/b&amp;gt;---&amp;gt; this is not the right way to do/post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a recording from SM35 and create program for that Recording .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749857#M325123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION METHOD    ????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749858#M325124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls chk these links. might help u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://myweb.dal.ca/hchinni/sap/bdc_home.htm" target="test_blank"&gt;http://myweb.dal.ca/hchinni/sap/bdc_home.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/learning-bdc-programming.htm" target="test_blank"&gt;http://www.sap-img.com/abap/learning-bdc-programming.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/bdc/bdchome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/bdc/bdchome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html" target="test_blank"&gt;http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749858#M325124</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-19T06:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION METHOD    ????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749859#M325125</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;Pls see this sample code for processing a BDC session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM execute_session.

DATA : l_jobname LIKE tbtcjob-jobname ,
l_jobnumber LIKE tbtcjob-jobcount,
l_job_released LIKE btch0000-char1 .

REFRESH: int_bdc_error.

l_jobname = p_batch. "Assign session name

* open job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = l_jobname
IMPORTING
jobcount = l_jobnumber
EXCEPTIONS
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03
OTHERS = 99.

IF sy-subrc NE 0.
wa_bdc_error-m_type = 'E'.
wa_bdc_error-m_text = 'Not able to open the job'.
APPEND wa_bdc_error TO int_bdc_error.
EXIT.
ENDIF.

* Submit step required to initiate job
SUBMIT rsbdcsub AND RETURN
USER sy-uname
VIA JOB l_jobname NUMBER l_jobnumber
WITH mappe = l_jobname
WITH von = sy-datum
WITH bis = sy-datum
WITH z_verarb = 'X'.


IF sy-subrc NE 0.
wa_bdc_error-m_type = 'E'.
wa_bdc_error-m_text = 'Job run fail'.
APPEND wa_bdc_error TO int_bdc_error.
EXIT.
ENDIF.

* Submit the background job using 'JOB_CLOSE'
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobnumber
jobname = l_jobname
strtimmed = 'X'
IMPORTING
job_was_released = l_job_released
EXCEPTIONS
invalid_startdate = 01
jobname_missing = 02
job_close_failed = 03
job_nosteps = 04
job_notex = 05
lock_failed = 06
OTHERS = 99.

IF sy-subrc NE 0.
wa_bdc_error-m_type = 'E'.
wa_bdc_error-m_text = 'Job run fail'.
APPEND wa_bdc_error TO int_bdc_error.
EXIT.
ENDIF.


ENDFORM. " execute_session&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are the links which will have other smaple programs&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/program-loads-the-material-assignment-of-routings.htm" target="test_blank"&gt;http://www.sap-img.com/abap/program-loads-the-material-assignment-of-routings.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.guidancetech.com/people/holland/sap/abap/yusermod.htm" target="test_blank"&gt;http://www.guidancetech.com/people/holland/sap/abap/yusermod.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.guidancetech.com/people/holland/sap/abap/zutbdcer.htm" target="test_blank"&gt;http://www.guidancetech.com/people/holland/sap/abap/zutbdcer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/learning-bdc-programming.htm" target="test_blank"&gt;http://www.sap-img.com/abap/learning-bdc-programming.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pankaj singh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;***** reward poitns if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749859#M325125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: BDC SESSION METHOD    ????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749860#M325126</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;         Can anybody tell me about the interfaces that we have in SAP. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parvez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 09:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method/m-p/1749860#M325126</guid>
      <dc:creator>former_member2382</dc:creator>
      <dc:date>2006-12-19T09:32:40Z</dc:date>
    </item>
  </channel>
</rss>

