<?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: Batch data communication in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713135#M629082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i use bapi for batch data communication ?&lt;/P&gt;&lt;P&gt;please explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is direct input method please explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 18:29:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T18:29:03Z</dc:date>
    <item>
      <title>Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713131#M629078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i decide which method to use when uploading data from legacy system to sap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In session method &lt;/P&gt;&lt;P&gt;suppose they are 10 records to upload ,if an error occurs at 6th record  when uploading data through session ,will the  7,8,9,10 records be processed ,what willhappen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is direct input method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 15:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713131#M629078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713132#M629079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it wont effect to rest of the records only the error record wont be upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have to more coding then go for BDC or BAPI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont want to do coding before uploading then go for LSMW.&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pattan Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 15:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713132#M629079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T15:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713133#M629080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i decide which method to use when uploading data from legacy system to sap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have more records/or less records ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 16:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713133#M629080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713134#M629081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is too less number of records, even entering manually is also an option. In most cases where we need more than 20,000 records , BAPI or Direct input would be the fastest. But then the error reporting and processing is also critical here. &lt;/P&gt;&lt;P&gt;Identifying the error records and re-processing them needs separate coding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDCs have the sessions out there which can be re-processed easily. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 18:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713134#M629081</guid>
      <dc:creator>rajnarayanan_eangandiyoor</dc:creator>
      <dc:date>2007-08-22T18:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713135#M629082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i use bapi for batch data communication ?&lt;/P&gt;&lt;P&gt;please explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is direct input method please explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 18:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713135#M629082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T18:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713136#M629083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which object are you trying to load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI (search FMs starting with BAPI or check transaction BAPI to find suitable BAPI) and BDC are totally different directions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP has standard programs(direct input eg RMDATIND for material master) available for some objects which can be used alongwith LSMWs to load data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 18:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713136#M629083</guid>
      <dc:creator>rajnarayanan_eangandiyoor</dc:creator>
      <dc:date>2007-08-22T18:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch data communication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713137#M629084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aravind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Transfer  &lt;/P&gt;&lt;P&gt;BDC&lt;/P&gt;&lt;P&gt;Batch Data Communication &lt;/P&gt;&lt;P&gt;It is used to transfer data from Sap to Sap or from Non Sap to sap system. It uses the normal transaction codes to transfer the data.&lt;/P&gt;&lt;P&gt;Data Transfer Methods  &lt;/P&gt;&lt;P&gt;You can use the following methods to transfer data:&lt;/P&gt;&lt;P&gt;&amp;#149;        CALL TRANSACTION: Data consistency check with the help of screen logic.&lt;/P&gt;&lt;P&gt;&amp;#149;        Batch input with batch input sessions: Data consistency check with the help of screen logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference between Batch Input and CALL TRANSACTION&lt;/P&gt;&lt;P&gt;If the direct input cannot be used for your task, this makes creating a data transfer program easier since the underlying transactions ensure that the data consistency checks are executed.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In the case of an error during the data transfer (if data records are inconsistent, for example), you can restart the transfer at the point in the program where the error occurred. &lt;/P&gt;&lt;P&gt;Data Transfer Overview&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Batch input methods&lt;/P&gt;&lt;P&gt;With the batch input method, an ABAP program reads the external data that is to be entered in the SAP system and stores the data in a &amp;#147;batch input session&amp;#148;. The session records the actions that are required to transfer data into the system using normal SAP transactions.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;When the program has generated the session, you can run the session to execute the SAP transactions in it. You can explicitly start and monitor a session with the batch input management function (by choosing System &amp;amp;#61614; Services &amp;amp;#61614; Batch input), or have the session run in the background processing system.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION methods&lt;/P&gt;&lt;P&gt;In the second method, your program uses the ABAP statement CALL TRANSACTION USING to run an SAP transaction. External data does not have to be deposited in a session for later processing. Instead, the entire batch input process takes place inline in your program. &lt;/P&gt;&lt;P&gt; Choosing Data Transfer Methods&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selecting a Data Transfer Method   &lt;/P&gt;&lt;P&gt;When you transfer data in ABAP, you have three options to submit the data for the data transfer. Only the first two methods can be recommended without reservation. The third method, by way of CALL DIALOG, is outmoded. CALL DIALOG is less comfortable than the other methods. You should use it only if you must.&lt;/P&gt;&lt;P&gt;&amp;#149;	Use the CALL TRANSACTION USING statement&lt;/P&gt;&lt;P&gt;Summary: With CALL TRANSACTION USING, the system processes the data more quickly than with batch input sessions. Unlike batch input sessions, CALL TRANSACTION USING does not automatically support interactive correction or logging functions.&lt;/P&gt;&lt;P&gt;Your program prepares the data and then calls the corresponding transaction that is then processed immediately.&lt;/P&gt;&lt;P&gt;The most important features of CALL TRANSACTION USING are:&lt;/P&gt;&lt;P&gt;o	Synchronous processing &lt;/P&gt;&lt;P&gt;o	Transfer of data from an individual transaction each time the statement CALL TRANSACTION USING is called &lt;/P&gt;&lt;P&gt;o	You can update the database both synchronously and asynchronously&lt;/P&gt;&lt;P&gt;The program specifies the update type&lt;/P&gt;&lt;P&gt;o	Separate LUW (logical units of work) for the transaction&lt;/P&gt;&lt;P&gt;The system executes a database commit immediately before and after the CALL TRANSACTION USING statement &lt;/P&gt;&lt;P&gt;o	No batch input processing log&lt;/P&gt;&lt;P&gt;&amp;#149;	Create a session on the batch input queue.&lt;/P&gt;&lt;P&gt;Summary: Offers management of sessions, support for playing back and correcting sessions that contain errors, and detailed logging. &lt;/P&gt;&lt;P&gt;Your program prepares the data and stores it in a batch input session. A session is a collection of transaction data for one or more transactions. Batch input sessions are maintained by the system in the batch input queue. You can process batch input sessions in the background processing system. &lt;/P&gt;&lt;P&gt;Your program must open a session in the queue before transferring data to it, and must close it again afterwards. All of these operations are performed by making function module calls from the ABAP program.&lt;/P&gt;&lt;P&gt;The most important aspects of the session interface are:&lt;/P&gt;&lt;P&gt;o	Asynchronous processing &lt;/P&gt;&lt;P&gt;o	Transfers data for multiple transactions &lt;/P&gt;&lt;P&gt;o	Synchronous database update&lt;/P&gt;&lt;P&gt;During processing, no transaction is started until the previous transaction has been written to the database.&lt;/P&gt;&lt;P&gt;o	A batch input processing log is generated for each session &lt;/P&gt;&lt;P&gt;o	Sessions cannot be generated in parallel&lt;/P&gt;&lt;P&gt;The batch input program must not open a session until it has closed the preceding session.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Executing Data Transfer Programs  &lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;If you are using an SAP data transfer program, follow the procedure specified in the program documentation.&lt;/P&gt;&lt;P&gt;If you are using a generated data transfer program, proceed as follows:&lt;/P&gt;&lt;P&gt;1.	Start the data transfer program. &lt;/P&gt;&lt;P&gt;2.	Decide which batch input method you want to use for the data transfer.&lt;/P&gt;&lt;P&gt;a) CALL TRANSACTION USING:&lt;/P&gt;&lt;P&gt;You must specify the:&lt;/P&gt;&lt;P&gt;&amp;#150; Processing mode: You use this parameter to specify whether processing should take place in the background or in dialog mode. &lt;/P&gt;&lt;P&gt;Possible values are:&lt;/P&gt;&lt;P&gt;A	Display all&lt;/P&gt;&lt;P&gt;E	Display only errors&lt;/P&gt;&lt;P&gt;N	No display&lt;/P&gt;&lt;P&gt;&amp;#150; Update mode: This parameter determines how the data is to be updated:&lt;/P&gt;&lt;P&gt;Possible values are:&lt;/P&gt;&lt;P&gt;S	Synchronous&lt;/P&gt;&lt;P&gt;A	Asynchronous&lt;/P&gt;&lt;P&gt;L	Local update&lt;/P&gt;&lt;P&gt;&amp;#150; Error session: Here you have the option to specify a session name for a batch input session in which data is to be written in the case of an error. You can use this to identify incorrect data records after the batch input program has run and to import the records into the R/3 System once you have corrected them. &lt;/P&gt;&lt;P&gt;If you are creating an error session, you must also specify:&lt;/P&gt;&lt;P&gt;&amp;#150; User: Specify the user with whose authorizations the sessions are processed. &lt;/P&gt;&lt;P&gt;&amp;#150; Keep session: This specifies whether or not the session should be deleted once it has been processed.&lt;/P&gt;&lt;P&gt;&amp;#150; Lock date: Specify the processing date for the error session.&lt;/P&gt;&lt;P&gt;b) Generate session:&lt;/P&gt;&lt;P&gt;&amp;#150; Session name: Specify a name for the batch input session to be generated.&lt;/P&gt;&lt;P&gt;&amp;#150; User: Specify the user with whose authorizations the sessions are processed. &lt;/P&gt;&lt;P&gt;&amp;#150; Keep session: This specifies whether or not the session should be deleted once it has been processed.&lt;/P&gt;&lt;P&gt;&amp;#150; Lock date: Specify the processing date for the error session.&lt;/P&gt;&lt;P&gt;3.	Specify a character that is to be used as the NODATA character. &lt;/P&gt;&lt;P&gt;4.	Specify the path of the data file from which the data is to be imported into the R/3 System. &lt;/P&gt;&lt;P&gt;5.	Execute the program. &lt;/P&gt;&lt;P&gt;6.	If you have generated a session, or if errors occurred in CALL TRANSACTION USING mode, you must now edit the generated sessions. You can find information on this in BC - System services in  batch input sessions.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Creating a Session with BDC_OPEN_GROUP   &lt;/P&gt;&lt;P&gt;Use the BDC_OPEN_GROUP function module to create a new session. Once you have created a session, then you can insert batch input data into it with BDC_INSERT. &lt;/P&gt;&lt;P&gt;You cannot re-open a session that already exists and has been closed. If you call BDC_OPEN_GROUP with the name of an existing session, then an additional session with the same name is created. &lt;/P&gt;&lt;P&gt;A batch input program may have only one session open at a time. Before opening a session, make sure that any sessions that the program closes any sessions that it previously had opened.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;BDC_OPEN_GROUP takes the following EXPORTING parameters: &lt;/P&gt;&lt;P&gt;&amp;#149;        CLIENT&lt;/P&gt;&lt;P&gt;Client in which the session is to be processed. &lt;/P&gt;&lt;P&gt; Default: If you don't provide a value for this parameter, the default is the client under which the batch input program runs when the session is created.&lt;/P&gt;&lt;P&gt;&amp;#149;        GROUP&lt;/P&gt;&lt;P&gt;Name of the session that is to be created. May be up to 12 characters long. &lt;/P&gt;&lt;P&gt;Default: None. You must specify a session name. &lt;/P&gt;&lt;P&gt;&amp;#149;        HOLDDATE&lt;/P&gt;&lt;P&gt;Lock date. The session is locked and may not be processed until after the date that you specify.  Only a system administrator with the LOCK authorization for the authorization object Batch Input Authorizations can unlock and run a session before this date. &lt;/P&gt;&lt;P&gt;Format: YYYYMMDD (8 digits). &lt;/P&gt;&lt;P&gt;Default: No lock date, session can be processed immediately. A lock date is optional. &lt;/P&gt;&lt;P&gt;&amp;#149;        KEEP&lt;/P&gt;&lt;P&gt;Retain session after successful processing. Set this option to the value X to have a session kept after it has been successfully processed. A session that is kept remains in the input/output queue until an administrator deletes it. &lt;/P&gt;&lt;P&gt;Sessions that contain errors in transactions are kept even if KEEP is not set.&lt;/P&gt;&lt;P&gt;Default: If not set, then sessions that are successfully processed are deleted. Only the batch input log is kept.&lt;/P&gt;&lt;P&gt;&amp;#149;        USER&lt;/P&gt;&lt;P&gt;Authorizations user for background processing. This is the user name that is used for checking authorizations if a session is started in background processing. The user must be authorized for all of the transactions and functions that are to be executed in a session. Otherwise, transactions will be terminated with &amp;#147;no authorization&amp;#148; errors. &lt;/P&gt;&lt;P&gt;The user can be of type dialog or background. Dialog users are normal interactive users in the SAP system. Background users are user master records that are specially defined for providing authorizations for background processing jobs. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Advantages:&lt;/P&gt;&lt;P&gt;Types of BDC :&lt;/P&gt;&lt;P&gt;CLASSICAL BATCH INPUT (Session Method)&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session method.&lt;/P&gt;&lt;P&gt;1) synchronous processing.&lt;/P&gt;&lt;P&gt;2) can tranfer large amount of data.&lt;/P&gt;&lt;P&gt;3) processing is slower.&lt;/P&gt;&lt;P&gt;4) error log is created&lt;/P&gt;&lt;P&gt;5) data is not updated until session is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction.&lt;/P&gt;&lt;P&gt;1) asynchronous processing&lt;/P&gt;&lt;P&gt;2) can transfer small amount of data&lt;/P&gt;&lt;P&gt;3) processing is faster.&lt;/P&gt;&lt;P&gt;4) errors need to be handled explicitly&lt;/P&gt;&lt;P&gt;5) data is updated automatically &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Regards,&lt;/P&gt;&lt;P&gt;Azhar&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-data-communication/m-p/2713137#M629084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T04:53:41Z</dc:date>
    </item>
  </channel>
</rss>

