<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182256#M464247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to create a log file in session method for further processing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 11:36:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T11:36:39Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182256#M464247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to create a log file in session method for further processing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182256#M464247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182257#M464248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think a log file will b created by the system itself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182257#M464248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182258#M464249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log details will be created by system in session method, that is one of the advandage compare to call transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182258#M464249</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2007-04-30T11:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182259#M464250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Session Method, the error log is created automatically whenever we process the session in SM35, whenever there is error in the flat file and Internal table mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward all the helpful answers.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182259#M464250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182260#M464251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  In session methos the log file is created by the system itself.&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;Regards&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182260#M464251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182261#M464252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got an error while processing the session&lt;/P&gt;&lt;P&gt;i got an error in the line item like 'order 111 does not exist'.&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;accno for that line item and this message should be stored in the file&lt;/P&gt;&lt;P&gt;like this whenever error occurs for the line items it should store it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182261#M464252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182262#M464253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your requirement, when we need to store the message in the file , we can do this way in Explicit error handling using Call Transaction method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward all the helpful answers.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182262#M464253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182263#M464254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need it in session method only.. after the updation i need to c the log file n recorrect it later... i need log file in text file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182263#M464254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182264#M464255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through thid info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be usefull to u&lt;/P&gt;&lt;P&gt; Steps for submitting data for Batch Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Analyze the transactions for which a BDC program.&lt;/P&gt;&lt;P&gt;The user has to determine the sequence of screens in the transactions and the information about all the fields in every screen. To do this the user must run the transaction .&lt;/P&gt;&lt;P&gt;Then select System ? Status. This will give the screen number and the module pool associated with this screen of the transaction. These two are the most important fields that the user would need in order to write the BDC program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use transaction SE38 to write the BDC program. This ABAP/4 program should reads the external data that is to be entered in the SAP System and stores the data in a "batch-input session." A session stores the actions that are required to enter data using normal SAP transactions. This is done by basically using three functions:&lt;/P&gt;&lt;P&gt;BDC_OPEN_GROUP&lt;/P&gt;&lt;P&gt;BDC_INSERT &lt;/P&gt;&lt;P&gt;BDC_CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. To create a batch input session, use the function BDC_OPEN_GROUP. This function has the following 5 parameters : &lt;/P&gt;&lt;P&gt;a. CLIENT which is by default set to SY_MANDT. It is the client in which the session is to be processed.&lt;/P&gt;&lt;P&gt;b. GROUP which is the name of the BDC session. This parameter is important because it is with this name that the user will recognize the BDC session in the batch input queue. Using this name process the BDC session.&lt;/P&gt;&lt;P&gt;c. USER which is usually set to SY-UNAME. It is the user name for starting the session in background.&lt;/P&gt;&lt;P&gt;d. KEEP indicates whether the session should be kept or deleted after processing. If &amp;#145; &amp;#145; then the session is deleted. If &amp;#145;X&amp;#146; then the session is retained even after it is successfully processed without any errors. &lt;/P&gt;&lt;P&gt;e. HOLDDATE Lock date. The session is locked and may not be processed until after the date that is specified. Default: No lock date, session can be processed immediately. A lock date is optional. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Populate the bdcdata table . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user may define the table as follows:&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF BDCDATA OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE BDCDATA.&lt;/P&gt;&lt;P&gt;DATA: END OF BDCDATA.&lt;/P&gt;&lt;P&gt;This bdcdata structure has the following fields:&lt;/P&gt;&lt;P&gt;&amp;#149; PROGRAM&lt;/P&gt;&lt;P&gt;Name of the program. &lt;/P&gt;&lt;P&gt;&amp;#149; DYNPRO&lt;/P&gt;&lt;P&gt;Number of the screen. Set this field only in the first record for the screen.&lt;/P&gt;&lt;P&gt;&amp;#149; DYNBEGIN&lt;/P&gt;&lt;P&gt;Indicates the first record for the screen. Set this field to X only in the first record for the screen. (Reset to ' ' (blank) for all other records.)&lt;/P&gt;&lt;P&gt;&amp;#149; FNAM&lt;/P&gt;&lt;P&gt;Name of a field in the screen. The FNAM field is not case-sensitive. &lt;/P&gt;&lt;P&gt;&amp;#149; FVAL&lt;/P&gt;&lt;P&gt;Value for the field named in FNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. The next step is to submit the BDC session. Use the BDC_INSERT function module to add a transaction to a batch input session. Specify the transaction that is to be started in the call to BDC_INSERT. &lt;/P&gt;&lt;P&gt;BDC_INSERT takes the following parameters:&lt;/P&gt;&lt;P&gt;&amp;#149; TCODE&lt;/P&gt;&lt;P&gt;The code of the transaction that is to be run. TCODE is an EXPORTING parameter in the function module. &lt;/P&gt;&lt;P&gt;&amp;#149; DYNPROTAB&lt;/P&gt;&lt;P&gt;The BDCDATA structure that contains the data that is to be processed by the transaction. DYNPROTAB is a tables parameter in the function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. The final step is to close the BDC session. Use the BDC_CLOSE_GROUP function module to close a session. Once a session is closed, it can be processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Running this program will create a batch input session by the name that is specified in the GROUP parameter in the BDC_CREATE_GROUP function call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Transaction SM35 can be used to process the submitted session. This transaction can be used to check the status of all BDC sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.2. Summary: Creating Batch Input Session:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Open Batch Input group&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 = GROUP&lt;/P&gt;&lt;P&gt;USER = USER&lt;/P&gt;&lt;P&gt;KEEP = KEEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Fill in the Data for Transaction in an internal table 'BDCDATA'&lt;/P&gt;&lt;P&gt;FORM INSERT_SCREEN USING PROGRAM DYNPRO.&lt;/P&gt;&lt;P&gt;CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;BDCDATA-PROGRAM = PROGRAM.&lt;/P&gt;&lt;P&gt;BDCDATA-DYNPRO = DYNPRO.&lt;/P&gt;&lt;P&gt;BDCDATA-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM INSERT_FIELD USING FNAM FVAL.&lt;/P&gt;&lt;P&gt;CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;BDCDATA-FNAM = FNAM.&lt;/P&gt;&lt;P&gt;BDCDATA-FVAL = FVAL.&lt;/P&gt;&lt;P&gt;APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Insert Transacton&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT' &lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TCODE = 'ME21'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DYNPROTAB = BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Close Batch Input group&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally to process Batch Input Session, first execute the BDC ABAP. This will create&lt;/P&gt;&lt;P&gt;a BDC session. Run transaction 'SM35' &amp;amp; processes the BDC session. &lt;/P&gt;&lt;P&gt;Some useful URLs&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="212129"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="231343"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="132146"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&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.guidancetech.com/people/holland/sap/abap/zzsni001.htm" target="test_blank"&gt;http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********Rewards some pints,&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Naganjana Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182264#M464255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182265#M464256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can view hte error log in SM35, and from there itself you can modify the error records. So what is the need to create a file for it explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward all the helpful answers.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182265#M464256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182266#M464257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its my requriement..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 11:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2182266#M464257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T11:58:58Z</dc:date>
    </item>
  </channel>
</rss>

