<?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: Difference between Batch input and Direct Input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864648#M671827</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;Batch input is a standard technique for transferring large sets of data into the SAP System. The transaction flow is simulated and the data is transferred as if it were entered online. The advantage of this is that all relevant checks of the transaction are executed, thereby ensuring that the data is consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch input process is divided into two steps:&lt;/P&gt;&lt;P&gt;1. The data transfer program creates a batch input session that contains all the relevant data. &lt;/P&gt;&lt;P&gt;2. The batch input session is processed and the data it contains is transferred into the SAP System.&lt;/P&gt;&lt;P&gt;The Data Transfer Workbench only executes step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The majority of SAP standard data transfer programs use the batch input technique. The data transfer program creates a batch input session which is processed later. Batch input sessions can be processed in various ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the foreground &lt;/P&gt;&lt;P&gt;In the background &lt;/P&gt;&lt;P&gt;During processing, with error display&lt;/P&gt;&lt;P&gt;You should process batch input sessions in the foreground or using the error display if you want to test the data transfer. If you want to execute the data transfer or test its performance, process the sessions in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct input (DINP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2007 08:00:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-27T08:00:01Z</dc:date>
    <item>
      <title>Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864643#M671822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi please tell me the difference between Batch Input and Direct Input in BDC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 07:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864643#M671822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T07:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864644#M671823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;welcome to SDN&lt;/P&gt;&lt;P&gt;chek this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if u find useful.&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 07:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864644#M671823</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-09-27T07:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864645#M671824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;DIRECT INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About Direct Input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not simulate the online transaction. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. Direct input checks the data thoroughly and then updates the database directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can start a Direct Input program in two ways;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start the program directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the quickest way to see if the program works with your flat file. This option is possible with all direct input programs. If the program ends abnormally, you will not have any logs telling you what has or has not been posted. To minimize the chance of this happening, always use the check file option for the first run with your flat file. This allows you to detect format errors before transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting the program via the DI administration transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This transaction restarts the processing, if the data transfer program aborts. Since DI document are immediately posted into the SAP D/B, the restart option prevents the duplicate document posting that occurs during a program restart (i.e., without adjusting your flat file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct input is usually done for standard data like material master, FI accounting document, SD sales order and Classification for which SAP has provided standard programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time you work with the Direct Input administration program, you will need to do some preparation before you can transfer data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create variant&lt;/P&gt;&lt;P&gt;- Define job&lt;/P&gt;&lt;P&gt;- Start job&lt;/P&gt;&lt;P&gt;- Restart job&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common batch input errors&lt;/P&gt;&lt;P&gt;- The batch input BDCDATA structure tries to assign values to fields which do not exist in the current transaction screen.&lt;/P&gt;&lt;P&gt;- The screen in the BDCDATA structure does not match the right sequence, or an intermediate screen is missing.&lt;/P&gt;&lt;P&gt;- On exceptional occasions, the logic flow of batch input session does not exactly match that of manual online processing. Testing the sessions online can discover by this.&lt;/P&gt;&lt;P&gt;- The BDCDATA structure contains fields, which are longer than the actual definition.&lt;/P&gt;&lt;P&gt;- Authorization problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Advantages offered by BATCH INPUT method:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can process large data volumes in batch.&lt;/P&gt;&lt;P&gt;2. Can be planned and submitted in the background.&lt;/P&gt;&lt;P&gt;3. No manual interaction is required when data is transferred.&lt;/P&gt;&lt;P&gt;4. Data integrity is maintained as whatever data is transferred to the table is through transaction. Hence batch input data is submitted to all the checks and validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To implement one of the supported data transfers, you must often write the program that exports the data from your non-SAP system. This program, known as a &amp;#147;data transfer&amp;#148; program must map the data from the external system into the data structure required by the SAP batch input program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch input program must build all of the input to execute the SAP transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two main steps are required: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; To build an internal table containing every screen and every field to be filled in during the execution of an SAP transaction.&lt;/P&gt;&lt;P&gt;&amp;#149; To pass the table to SAP for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer :&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4158345"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 07:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864645#M671824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T07:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864646#M671825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Speed.&lt;/P&gt;&lt;P&gt;Synchronous process.&lt;/P&gt;&lt;P&gt;SYnc. and Async both update possible.&lt;/P&gt;&lt;P&gt;Error handling thro Message structure BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;Single Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input Session:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slow.&lt;/P&gt;&lt;P&gt;Asynchronous process.&lt;/P&gt;&lt;P&gt;SYnc. update possible.&lt;/P&gt;&lt;P&gt;Error log is created in the SM35.&lt;/P&gt;&lt;P&gt;Multiple Transaction possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without calling the screens but all the validations should be done and only for master datas upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Only for error free datas and also master data &lt;/P&gt;&lt;P&gt;updation.&lt;/P&gt;&lt;P&gt;2. It will directly updates the database table. No &lt;/P&gt;&lt;P&gt;screens involved.&lt;/P&gt;&lt;P&gt;3. Transaction BMVO or Program RBMVSHOW has been &lt;/P&gt;&lt;P&gt;used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC(Batch Input Session):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Screens will be called programmatically.&lt;/P&gt;&lt;P&gt;2. First sessions will be created then we'll run the seesions in SM35 transaction.&lt;/P&gt;&lt;P&gt;3.Synchronous database update. After the processing the session only database update will occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 07:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864646#M671825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T07:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864647#M671826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi aparna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DIRECT INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO ENTER THE DATA INTO THE CORRESPONDING DATABASE TABLES DIRECTLY, THE SYSTEM CALLS A NUMBER OF FUNCTION MODULES THAT EXECUTE ANY NECESSARY CHECKS. IN CASE OF ERRORS, THE DIRECT INPUT TECHNIQUE PROVIDES A RESTART MECHANISM. HOWEVER, TO BE ABLE TO ACTIVATE THE RESTART MECHANISM, DIRECT INPUT PROGRAMS MUST BE EXECUTED IN THE BACKGROUND ONLY. DIRECT INPUT CHECKS THE DATA THOROUGHLY AND THEN UPDATES THE DATABASE DIRECTLY.&lt;/P&gt;&lt;P&gt;TO MAINTAIN AND STRAT THESE PROGRAMS, USE PGM RBMVSHOW OR THE TRANSACTION BMVO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BATCH INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES &amp;#150; SESSION METHOD, CALL TRANSACTION, DIRECT INPUT.&lt;/P&gt;&lt;P&gt;TO SAVE DATA IN THE BDCTAB, USE THE FIELDNAME &amp;#145;BDC_OKCODE&amp;#146; AND FIELD VALUE OF &amp;#145;/11&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDCDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS IS A STRUCTURE WHICH CONTAINS THE FOLLOWING FIELDS.&lt;/P&gt;&lt;P&gt;PROGRAM &amp;#150; NAME OF TH MOD PROG ASSOCIATED WITH THE SCREEN. SET ONLY FOR THE FIRST RECORD OF THE SCREEN.&lt;/P&gt;&lt;P&gt;DYNPRO &amp;#150; SCREEN NUMBER. ALSO SET ONLY FOR FIRST RECORD.&lt;/P&gt;&lt;P&gt;DYNBEGIN &amp;#150; INDICATES THE FIRST RECORD OF THE SCREEN. SET &amp;#145;X&amp;#146; FOR FIRST RECORD OTHERWISE &amp;#145; &amp;#145;.&lt;/P&gt;&lt;P&gt;FNAM &amp;#150; FIELD NAME.&lt;/P&gt;&lt;P&gt;FVAL &amp;#150; VALUE FOR THE FIELD NAMED IN FNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE FIRST STEP IN BDC IS TO UPLOAD DATA FROM THE FLAT FILE OR SEQUENTIAL FILE TO THIS BDCTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SESSION METHOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE USE 3 FUNCTION MODULES IN THIS SESSION METHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) BDC_OPEN_GROUP&lt;/P&gt;&lt;P&gt;     USER NAME:	USER NAME &lt;/P&gt;&lt;P&gt;     GROUP:		NAME OF THE SESSION&lt;/P&gt;&lt;P&gt;     LOCK DATE:	THE DATE ON WHICH YOU WANT TO PROCESS THE                              SESSION.&lt;/P&gt;&lt;P&gt;     KEEP:		THIS PARAMETER IS PASSED AS &amp;#145;X&amp;#146; WHEN YOU WANT TO RETAIN SESSION AFTER	PROCESSING IT OR &amp;#145; &amp;#145; TO DELETE IT AFTER PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS CREATES A SESSION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) BDC_INSERT&lt;/P&gt;&lt;P&gt;     TCODE:		TRANSACTION NAME &lt;/P&gt;&lt;P&gt;     DYNPROTAB:	BDC DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS CREATES A SEESION AND DATA IS TRANSFERRED O SESSION.&lt;/P&gt;&lt;P&gt;3) BDC_CLOSE_GROUP &amp;#150; THIS CLOSES THE BDC GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ONLY ONE SESSION CAN BE CREATED USING BDC_OPEN_GROUP. BUT MULTIPLE TRANSACTIONS CAN BE PROCESSED USING BDC_INSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION	&amp;lt;TCODE&amp;gt; USING &amp;lt;BDCTAB&amp;gt;&lt;/P&gt;&lt;P&gt;	                                   MODE &amp;lt;A/N/E&amp;gt;&lt;/P&gt;&lt;P&gt;	                                   UPDATE &amp;lt;S/A&amp;gt;&lt;/P&gt;&lt;P&gt;	               MESSAGES INTO &amp;lt;MSGTAB&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &amp;#150; ALL SCREEN MODE. ALL THE SCREEN OF THE TRANSACTION ARE DISPLAYED.&lt;/P&gt;&lt;P&gt;N &amp;#150; NO SCREEN MODE. NO SCREEN IS DISPLAYED WHEN YOU EXECUTE THE TRANSACTION.&lt;/P&gt;&lt;P&gt;E &amp;#150; ERROR SCREEN. IF THE SCREEN HAS ERROR RECORD, THEN THAT SCREEN WILL BE DISPLAYED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S - IF YOU CHANGE DATA OF ONE TABLE THEN ALL THE RELATED TABLES GETS UPDATED. AND SY-SUBRC IS RETURNED I.E., SY-SUBRC IS RETURNED FOR ONCE AND ALL.&lt;/P&gt;&lt;P&gt;A - WHEN YOU CHANGE DATA OF ONE TABLE, THE SY-SUBRC IS RETURNED. AND THEN UPDATING OF OTHER AFFECTED TABLES TAKES PLACE.  SO IF SYSTEM FAILS TO UPDATE OTHER TABLES, STILL SY-SUBRC RETURNED IS 0 (I.E., WHEN FIRST TABLE GETS UPDATED &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN YOU UPDATE DATABASE TABLE, OPERATION IS EITHER SUCCESSFUL OR UNSUCCESSFUL OR OPERATION IS SUCCESSFUL WITH SOME WARNING. THESE MESSAGES ARE STORED IN INTERNAL TABLE, WHICH YOU SPECIFY ALONG WITH MESSAGE STATEMENT. THIS INTERNAL TABLE SHOULD BE DECLARED LIKE BDCMSGCOLL, A STRUCTURE AVAILABLE IN ABAP/4. IT CONTAINS THE FOLLOWING FIELDS: TCODE, DYNAME, DYNUMB, MSGTYP, MSGID.&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;DIFFERENCE BETWEEN SESSION AND CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;		SESSION METHOD			CALL TRANSACTION&lt;/P&gt;&lt;P&gt;1.		DATA IS NOT UPDATED IN DATABASE TABLE UNLESS SESSION IS PROCESSED.			IMMEDIATE UPDATION IN DATABASE TABLE.&lt;/P&gt;&lt;P&gt;2.		NO SY-SUBRC IS RETURNED.			SY-SUBRC IS RETURNED.&lt;/P&gt;&lt;P&gt;3.		ERROR LOG IS CREATED FOR ERROR RECORDS.			ERRORS NEED TO BE HANDLED EXPLICITLY &lt;/P&gt;&lt;P&gt;4.		UPDATION IN DATABASE TABLE IS ALWAYS SYNCHRONOUS&lt;/P&gt;&lt;P&gt;			UPDATION IN DATABASE TABLE CAN BE SYNCHRONOUS OR ASYNCHRONOUS.&lt;/P&gt;&lt;P&gt;5.		ASYNCHRONOUS PROCESSING			SYNCHRONOUS PROCESSING&lt;/P&gt;&lt;P&gt;6. 		TRANSFERS DATA FOR SINGLE TRANSACTIONS			TRANSFERS DATA FOR MULTIPLE TRANSACTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR HANDLING IN CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)	CREATE AN INTERNAL TABLE SIMILAR TO THE STRUCTURE OF YOUR LOCAL FILE.&lt;/P&gt;&lt;P&gt;2)	CREATE BDCTAB LIKE BDCDATA.&lt;/P&gt;&lt;P&gt;3)	CREATE BDCMSG LIKE BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;4)	CREATE AN INTERNAL TABLE SIMILAR TO THE 1ST INTERNAL TABLE.&lt;/P&gt;&lt;P&gt;5)	UPLOAD FN UPLOADS DATA FROM THE LOCAL FILE TO THE ITAB.&lt;/P&gt;&lt;P&gt;6)	LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;POPULATE BDCTAB TABLE.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION STATEMENT.&lt;/P&gt;&lt;P&gt;PERFORM CHECK.&lt;/P&gt;&lt;P&gt;REFRESH BDCTAB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;7)	FORM CHECK.&lt;/P&gt;&lt;P&gt;IF SY_SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION FORMAT_MESSAGE.&lt;/P&gt;&lt;P&gt;APPEND ITAB2.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSACTION FOR RECORDING &amp;#150; SHDB.&lt;/P&gt;&lt;P&gt;MAX TIME ALLOWED FOR ONLINE EXECUTION &amp;#150; 300 SECONDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Pls reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 07:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864647#M671826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T07:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864648#M671827</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;Batch input is a standard technique for transferring large sets of data into the SAP System. The transaction flow is simulated and the data is transferred as if it were entered online. The advantage of this is that all relevant checks of the transaction are executed, thereby ensuring that the data is consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch input process is divided into two steps:&lt;/P&gt;&lt;P&gt;1. The data transfer program creates a batch input session that contains all the relevant data. &lt;/P&gt;&lt;P&gt;2. The batch input session is processed and the data it contains is transferred into the SAP System.&lt;/P&gt;&lt;P&gt;The Data Transfer Workbench only executes step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The majority of SAP standard data transfer programs use the batch input technique. The data transfer program creates a batch input session which is processed later. Batch input sessions can be processed in various ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the foreground &lt;/P&gt;&lt;P&gt;In the background &lt;/P&gt;&lt;P&gt;During processing, with error display&lt;/P&gt;&lt;P&gt;You should process batch input sessions in the foreground or using the error display if you want to test the data transfer. If you want to execute the data transfer or test its performance, process the sessions in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct input (DINP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864648#M671827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Batch input and Direct Input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864649#M671828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aparna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input (BI):-- &lt;/P&gt;&lt;P&gt;- The Transaction is simulated &amp;amp; the data is transferred as if it had been executed online. Its slow process since its calling the screens. It mentions the error clearly.&lt;/P&gt;&lt;P&gt;- Error Log created automatically.&lt;/P&gt;&lt;P&gt;- Batch input session can&amp;#146;t be created in Parallel.&lt;/P&gt;&lt;P&gt;- BI procedure, data is always posted synchronously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input:&lt;/P&gt;&lt;P&gt;Direct Input programs work exactly similar to Batch Input programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules in place of online Transaction screens. For this reason, DI programs are much faster than the BDC counterpart and so ideally suited for loading large volume data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; Reward points if found useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika Dasharatha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Premraj Cheguri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:01:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-batch-input-and-direct-input/m-p/2864649#M671828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:01:03Z</dc:date>
    </item>
  </channel>
</rss>

