<?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 transactions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013443#M411200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 .For first question check this document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Call the function PFL_CHECK_OS_FILE_EXISTENCE.



FUNCTION PFL_CHECK_OS_FILE_EXISTENCE.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" FULLY_QUALIFIED_FILENAME LIKE TPFHT-PFFILE
*" EXPORTING
*" FILE_EXISTS LIKE BTCH0000-CHAR1
*"----------------------------------------------------------------------

OPEN DATASET FULLY_QUALIFIED_FILENAME FOR INPUT.

IF SY-SUBRC EQ 0.
FILE_EXISTS = 'X'.
CLOSE DATASET FULLY_QUALIFIED_FILENAME.
ELSE.
CLEAR FILE_EXISTS.
ENDIF.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2007 10:40:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-05T10:40:46Z</dc:date>
    <item>
      <title>BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013441#M411198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.By using session method we can handle more than one transaction. How can we add more than one transaction in BDC_INsert function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. by using open dataset we have created a file in application server.how can we locate that file without using the dataset statements.how can we know or how can we check that the file has been created or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me the answer for these 2 questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013441#M411198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013442#M411199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. After the first BDC_INSERT , u can use another BDC_INSERT &lt;/P&gt;&lt;P&gt;with different session name and tcode other than used in the first BDC_INSERT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Check sy-subrc.&lt;/P&gt;&lt;P&gt;    if the file is created sy-subrc will be 0. other wise not equal to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps u..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013442#M411199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013443#M411200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 .For first question check this document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Call the function PFL_CHECK_OS_FILE_EXISTENCE.



FUNCTION PFL_CHECK_OS_FILE_EXISTENCE.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" FULLY_QUALIFIED_FILENAME LIKE TPFHT-PFFILE
*" EXPORTING
*" FILE_EXISTS LIKE BTCH0000-CHAR1
*"----------------------------------------------------------------------

OPEN DATASET FULLY_QUALIFIED_FILENAME FOR INPUT.

IF SY-SUBRC EQ 0.
FILE_EXISTS = 'X'.
CLOSE DATASET FULLY_QUALIFIED_FILENAME.
ELSE.
CLEAR FILE_EXISTS.
ENDIF.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013443#M411200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013444#M411201</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;1. Your BDC program conatins similar performs:&lt;/P&gt;&lt;P&gt;perform bdc_dynpro  using 'SAPLMGMM'    '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field   using 'BDC_CURSOR'  'RMMG1-MTART'.&lt;/P&gt;&lt;P&gt;perform bdc_field   using 'BDC_OKCODE'  '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MM01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can continue it, with another performs:&lt;/P&gt;&lt;P&gt;perform bdc_dynpro  using 'SAPLMGMM'    '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field   using 'BDC_CURSOR'  'RMMG1-MTART'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MM02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are allowed to create more transactions in one record, in transaction SM35 - recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Check AL11 transaction, or set up an FTP connection to the server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013444#M411201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013445#M411202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph Marcel,&lt;/P&gt;&lt;P&gt;                            For your 2nd question, the solution is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to Transaction AL11&lt;/P&gt;&lt;P&gt;2. Search for a SAP directory DIR_HOME&lt;/P&gt;&lt;P&gt;3. Double click on that and&lt;/P&gt;&lt;P&gt;4. Press ctrl+F ,&lt;/P&gt;&lt;P&gt;5. Type your file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps solve your problem.&lt;/P&gt;&lt;P&gt;If helpful,reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post the solution for your 1st question after some time.OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013445#M411202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013446#M411203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;             You can use the FM (BDC_INSERT) two times subsequently one after the other wtih different transaction codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that your problems solves.&lt;/P&gt;&lt;P&gt;Reward, if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 10:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-transactions/m-p/2013446#M411203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T10:51:50Z</dc:date>
    </item>
  </channel>
</rss>

