<?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 process in tree daigram in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-process-in-tree-daigram/m-p/3780550#M909663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such tree diagram for bdc. I am giving some info.just go thru it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a&lt;/P&gt;&lt;P&gt;typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.&lt;/P&gt;&lt;P&gt;BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form&lt;/P&gt;&lt;P&gt;of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The&lt;/P&gt;&lt;P&gt;transaction is then started using this internal table as the input and executed in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Call Transaction&amp;amp;#12539; the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.&lt;/P&gt;&lt;P&gt;It can also be used for real-time interfaces and custom error handling &amp;amp; logging features. Whereas in Batch Input Sessions, the ABAP&lt;/P&gt;&lt;P&gt;program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using&lt;/P&gt;&lt;P&gt;Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the&lt;/P&gt;&lt;P&gt;BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and&lt;/P&gt;&lt;P&gt;invokes the transaction mentioned in the header record of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate&lt;/P&gt;&lt;P&gt;fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are&lt;/P&gt;&lt;P&gt;not available for all application areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is an encapsulated data transfer tool. It can provide the same functionality as BDC infact much more but when coming to techinical perspective most the parameters are encapulated. To listout some of the differences :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is basicaly designed for a fuctional consultant who do not do much coding but need to explore the fuctionality while BDC is designed for a technical consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW mapping is done by SAP while in BDC we have to do it explicitly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is basically for standard SAP application while bdc basically for customized application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding can be done flexibly in BDC when compared to LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC and LSMW are the two data migration techniques (from legacy to SAP) . BDC technique is usually done by ABAPers. It consists of three methods.&lt;/P&gt;&lt;P&gt;1) Call Dialog Method&lt;/P&gt;&lt;P&gt;2) Session Method&lt;/P&gt;&lt;P&gt;3) Call Transaction Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of Session Method , a BDC Session is created , which has the data and info to run it in batch mode. When the user runs this session, every transactions are run in batch mode and tables are updated.&lt;/P&gt;&lt;P&gt;WHile in call transaction, no session is created. Instead , a report prog is created , which takes input from the file and calls the transaction in Batch mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call dialog method is similar to call transaction, except that updation is done by the calling program itself.This method is obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of Batch Input Method are&lt;/P&gt;&lt;P&gt;1)Can process large data volumes&lt;/P&gt;&lt;P&gt;2) data integrity is maintained&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW and BDC are vastly different.&lt;/P&gt;&lt;P&gt;BDC (Batch Data Communication) is a technology used for data transfer. it is meant for transferring data thru SAP transactions itself. when u use BDC for data transfer, the sequence of steps is the same as when u use standard sap transaction screens for data upload. the only difference is that u can use different options for foreground/backgrou nd processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW on the other hand is a tool that helps migrate data from a legacy system (non-sap system ) to SAP system. it offers u various options to use either batch input, direct input, BAPIs or idocs. it involves a series of some 17-18 steps to migrate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC:&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features :&lt;/P&gt;&lt;P&gt;BDC is an automatic procedure.&lt;/P&gt;&lt;P&gt;This method is used to transfer large amount of data that is available in electronic medium.&lt;/P&gt;&lt;P&gt;BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).&lt;/P&gt;&lt;P&gt;BDC uses normal transaction codes to transfer data.&lt;/P&gt;&lt;P&gt;&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;BATCH INPUT METHOD:&lt;/P&gt;&lt;P&gt;This method is also called as &amp;#145;CLASSICAL METHOD&amp;#146;.&lt;/P&gt;&lt;P&gt;Features:&lt;/P&gt;&lt;P&gt;Asynchronous processing.&lt;/P&gt;&lt;P&gt;Synchronous Processing in database update.&lt;/P&gt;&lt;P&gt;Transfer data for more than one transaction.&lt;/P&gt;&lt;P&gt;Batch input processing log will be generated.&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;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION METHOD :&lt;/P&gt;&lt;P&gt;This is another method to transfer data from the legacy system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features:&lt;/P&gt;&lt;P&gt;Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.&lt;/P&gt;&lt;P&gt;Updating the database can be either synchronous or asynchronous. The program specifies the update type.&lt;/P&gt;&lt;P&gt;Transfer data for a single transaction.&lt;/P&gt;&lt;P&gt;Transfers data for a sequence of dialog screens.&lt;/P&gt;&lt;P&gt;No batch input processing log is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LSM Workbench is an R/3-based tool that supports You when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.&lt;/P&gt;&lt;P&gt;The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.&lt;/P&gt;&lt;P&gt;Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in an entry or change transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main advantages of the LSM Workbench:&lt;/P&gt;&lt;P&gt;&amp;#149; Part of R/3 and thus independent of individual platforms&lt;/P&gt;&lt;P&gt;&amp;#149; A variety of technical possibilities of data conversion:&lt;/P&gt;&lt;P&gt;&amp;#149; Data consistency due to standard import techniques:&lt;/P&gt;&lt;P&gt;Batch input&lt;/P&gt;&lt;P&gt;Direct input&lt;/P&gt;&lt;P&gt;BAPIs (Business Application Programming Interfaces)&lt;/P&gt;&lt;P&gt;IDocs (Intermediate Documents)&lt;/P&gt;&lt;P&gt;The import technique to be used in an individual case depends on the business object.&lt;/P&gt;&lt;P&gt;&amp;#149; Generation of the conversion program on the basis of defined rules&lt;/P&gt;&lt;P&gt;&amp;#149; Clear interactive process guide&lt;/P&gt;&lt;P&gt;&amp;#149; Interface for data in spreadsheet format&lt;/P&gt;&lt;P&gt;&amp;#149; Creation of data migration objects on the basis of recorded transactions&lt;/P&gt;&lt;P&gt;&amp;#149; Charge-free for SAP customers and SAP partners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is BDC programming?- Transferring of large/external/legacy data into SAP system using Batch Input programming. Batch input is a automatic procedure referred to as BDC(Batch Data Communications).The central component of the transfer is a queue file which receives the data vie a batch input programs and groups associated data into &amp;#147;sessions&amp;#148;. &lt;/P&gt;&lt;P&gt;What are the functional modules used in sequence in BDC?- These are the 3 functional modules which are used in a sequence to perform a data transfer successfully using BDC programming: BDC_OPEN_GROUP - Parameters like Name of the client, sessions and user name are specified in this functional modules. BDC_INSERT - It is used to insert the data for one transaction into a session. BDC_CLOSE_GROUP - This is used to close the batch input session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should be the approach for writing a BDC program? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED &amp;#147;CONVERSION&amp;#148;. &lt;/P&gt;&lt;P&gt;STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED &amp;#147;SAP DATA TRANSFER&amp;#148;. &lt;/P&gt;&lt;P&gt;STEP 3: DEPENDING UPON THE BDC TYPE i ) call transaction(Write the program explicitly) &lt;/P&gt;&lt;P&gt;ii) create sessions (sessions are created and processed. if success data will transfer). &lt;/P&gt;&lt;P&gt;What is a batch input session? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;BATCH INPUT SESSION is an intermediate step between internal table and database table. &lt;/P&gt;&lt;P&gt;Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed. &lt;/P&gt;&lt;P&gt;. What is the alternative to batch input session? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;Call transaction. &lt;/P&gt;&lt;P&gt;A situation: An ABAP program creates a batch input session. &lt;/P&gt;&lt;P&gt;We need to submit the program and the batch session in background. How to do it? &lt;/P&gt;&lt;P&gt;ANS :- &lt;/P&gt;&lt;P&gt;go to SM36 and create background job by giving &lt;/P&gt;&lt;P&gt;job name, job class and job steps (JOB SCHEDULING) &lt;/P&gt;&lt;P&gt;. What are the problems in processing batch input sessions? &lt;/P&gt;&lt;P&gt;How is batch input process different from processing online? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;PROBLEMS:- &lt;/P&gt;&lt;P&gt;i) If the user forgets to opt for keep session then the session will be automatically removed from the session queue(log remains). However if session is processed we may delete it manually. &lt;/P&gt;&lt;P&gt;ii)if session processing fails data will not be transferred to SAP database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. What do you do when the system crashes in the middle of a BDC batch session? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;we will look into the error log file (SM35). &lt;/P&gt;&lt;P&gt;What do you do with errors in BDC batch sessions? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. Setting up a BDC program where you find information from? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;. What has to be done to the packed fields before submitting to a BDC session. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;fields converted into character type. &lt;/P&gt;&lt;P&gt;What is the structure of a BDC sessions. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;BDCDATA (standard structure). &lt;/P&gt;&lt;P&gt;What are the fields in a BDC_Tab Table. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;program,dynpro,dynbegin,fnam,fval. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise &lt;/P&gt;&lt;P&gt;modify batch input program that has generated the session or many times even the datafile. &lt;/P&gt;&lt;P&gt;How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING) &lt;/P&gt;&lt;P&gt;Advantages &amp;amp; Disadvantages of different types of BDC&amp;#146;s?&lt;/P&gt;&lt;P&gt;Ans Transaction Method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It is faster than session method.&lt;/P&gt;&lt;P&gt;2) While executing, it starts from starting.&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;1) It is slower than transaction method.&lt;/P&gt;&lt;P&gt;2) While executing, it does not start from starting.&lt;/P&gt;&lt;P&gt;How to write a BDC - how do u go about it?&lt;/P&gt;&lt;P&gt;Ans Steps for writing BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) /nSE38&lt;/P&gt;&lt;P&gt;2) Declare Tables, Data (for ITAB) and Data (for BDCITAB)&lt;/P&gt;&lt;P&gt;3) Call function &amp;#145;Upload&amp;#146;.&lt;/P&gt;&lt;P&gt;4) Write code for the First Screen, Radio Button, Filename, Change Button, Second Screen, Utilities (Create Entries), Third Screen and Save.&lt;/P&gt;&lt;P&gt;5) Call transaction &amp;#145;SE11&amp;#146; using BDCITAB mode &amp;#145;A&amp;#146;.&lt;/P&gt;&lt;P&gt;6) Save, Check Errors, Activate and Execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the function module in BDC?&lt;/P&gt;&lt;P&gt;Ans There are three function module in BDC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) BDC_OPEN_GROUP&lt;/P&gt;&lt;P&gt;2) BDC_INSERT&lt;/P&gt;&lt;P&gt;3) BDC_CLOSE_GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for interview base see theese links shiva&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;A href="http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm" target="test_blank"&gt;http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu033.htm" target="test_blank"&gt;http://www.sap-img.com/fu033.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/ale-bapi.htm" target="test_blank"&gt;http://www.sap-img.com/abap/ale-bapi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 10:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-08T10:52:29Z</dc:date>
    <item>
      <title>bdc process in tree daigram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-process-in-tree-daigram/m-p/3780549#M909662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai to all &lt;/P&gt;&lt;P&gt; can any one explain BDC  and methods, in brief manner as per interveiw.(most helpful if it is in  tree daigram).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-process-in-tree-daigram/m-p/3780549#M909662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T09:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: bdc process in tree daigram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-process-in-tree-daigram/m-p/3780550#M909663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such tree diagram for bdc. I am giving some info.just go thru it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a&lt;/P&gt;&lt;P&gt;typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.&lt;/P&gt;&lt;P&gt;BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form&lt;/P&gt;&lt;P&gt;of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The&lt;/P&gt;&lt;P&gt;transaction is then started using this internal table as the input and executed in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Call Transaction&amp;amp;#12539; the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.&lt;/P&gt;&lt;P&gt;It can also be used for real-time interfaces and custom error handling &amp;amp; logging features. Whereas in Batch Input Sessions, the ABAP&lt;/P&gt;&lt;P&gt;program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using&lt;/P&gt;&lt;P&gt;Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the&lt;/P&gt;&lt;P&gt;BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and&lt;/P&gt;&lt;P&gt;invokes the transaction mentioned in the header record of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate&lt;/P&gt;&lt;P&gt;fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are&lt;/P&gt;&lt;P&gt;not available for all application areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is an encapsulated data transfer tool. It can provide the same functionality as BDC infact much more but when coming to techinical perspective most the parameters are encapulated. To listout some of the differences :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is basicaly designed for a fuctional consultant who do not do much coding but need to explore the fuctionality while BDC is designed for a technical consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW mapping is done by SAP while in BDC we have to do it explicitly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW is basically for standard SAP application while bdc basically for customized application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding can be done flexibly in BDC when compared to LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC and LSMW are the two data migration techniques (from legacy to SAP) . BDC technique is usually done by ABAPers. It consists of three methods.&lt;/P&gt;&lt;P&gt;1) Call Dialog Method&lt;/P&gt;&lt;P&gt;2) Session Method&lt;/P&gt;&lt;P&gt;3) Call Transaction Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of Session Method , a BDC Session is created , which has the data and info to run it in batch mode. When the user runs this session, every transactions are run in batch mode and tables are updated.&lt;/P&gt;&lt;P&gt;WHile in call transaction, no session is created. Instead , a report prog is created , which takes input from the file and calls the transaction in Batch mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call dialog method is similar to call transaction, except that updation is done by the calling program itself.This method is obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of Batch Input Method are&lt;/P&gt;&lt;P&gt;1)Can process large data volumes&lt;/P&gt;&lt;P&gt;2) data integrity is maintained&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW and BDC are vastly different.&lt;/P&gt;&lt;P&gt;BDC (Batch Data Communication) is a technology used for data transfer. it is meant for transferring data thru SAP transactions itself. when u use BDC for data transfer, the sequence of steps is the same as when u use standard sap transaction screens for data upload. the only difference is that u can use different options for foreground/backgrou nd processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW on the other hand is a tool that helps migrate data from a legacy system (non-sap system ) to SAP system. it offers u various options to use either batch input, direct input, BAPIs or idocs. it involves a series of some 17-18 steps to migrate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC:&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features :&lt;/P&gt;&lt;P&gt;BDC is an automatic procedure.&lt;/P&gt;&lt;P&gt;This method is used to transfer large amount of data that is available in electronic medium.&lt;/P&gt;&lt;P&gt;BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).&lt;/P&gt;&lt;P&gt;BDC uses normal transaction codes to transfer data.&lt;/P&gt;&lt;P&gt;&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;BATCH INPUT METHOD:&lt;/P&gt;&lt;P&gt;This method is also called as &amp;#145;CLASSICAL METHOD&amp;#146;.&lt;/P&gt;&lt;P&gt;Features:&lt;/P&gt;&lt;P&gt;Asynchronous processing.&lt;/P&gt;&lt;P&gt;Synchronous Processing in database update.&lt;/P&gt;&lt;P&gt;Transfer data for more than one transaction.&lt;/P&gt;&lt;P&gt;Batch input processing log will be generated.&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;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION METHOD :&lt;/P&gt;&lt;P&gt;This is another method to transfer data from the legacy system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features:&lt;/P&gt;&lt;P&gt;Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.&lt;/P&gt;&lt;P&gt;Updating the database can be either synchronous or asynchronous. The program specifies the update type.&lt;/P&gt;&lt;P&gt;Transfer data for a single transaction.&lt;/P&gt;&lt;P&gt;Transfers data for a sequence of dialog screens.&lt;/P&gt;&lt;P&gt;No batch input processing log is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LSM Workbench is an R/3-based tool that supports You when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.&lt;/P&gt;&lt;P&gt;The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.&lt;/P&gt;&lt;P&gt;Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in an entry or change transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main advantages of the LSM Workbench:&lt;/P&gt;&lt;P&gt;&amp;#149; Part of R/3 and thus independent of individual platforms&lt;/P&gt;&lt;P&gt;&amp;#149; A variety of technical possibilities of data conversion:&lt;/P&gt;&lt;P&gt;&amp;#149; Data consistency due to standard import techniques:&lt;/P&gt;&lt;P&gt;Batch input&lt;/P&gt;&lt;P&gt;Direct input&lt;/P&gt;&lt;P&gt;BAPIs (Business Application Programming Interfaces)&lt;/P&gt;&lt;P&gt;IDocs (Intermediate Documents)&lt;/P&gt;&lt;P&gt;The import technique to be used in an individual case depends on the business object.&lt;/P&gt;&lt;P&gt;&amp;#149; Generation of the conversion program on the basis of defined rules&lt;/P&gt;&lt;P&gt;&amp;#149; Clear interactive process guide&lt;/P&gt;&lt;P&gt;&amp;#149; Interface for data in spreadsheet format&lt;/P&gt;&lt;P&gt;&amp;#149; Creation of data migration objects on the basis of recorded transactions&lt;/P&gt;&lt;P&gt;&amp;#149; Charge-free for SAP customers and SAP partners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is BDC programming?- Transferring of large/external/legacy data into SAP system using Batch Input programming. Batch input is a automatic procedure referred to as BDC(Batch Data Communications).The central component of the transfer is a queue file which receives the data vie a batch input programs and groups associated data into &amp;#147;sessions&amp;#148;. &lt;/P&gt;&lt;P&gt;What are the functional modules used in sequence in BDC?- These are the 3 functional modules which are used in a sequence to perform a data transfer successfully using BDC programming: BDC_OPEN_GROUP - Parameters like Name of the client, sessions and user name are specified in this functional modules. BDC_INSERT - It is used to insert the data for one transaction into a session. BDC_CLOSE_GROUP - This is used to close the batch input session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should be the approach for writing a BDC program? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED &amp;#147;CONVERSION&amp;#148;. &lt;/P&gt;&lt;P&gt;STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED &amp;#147;SAP DATA TRANSFER&amp;#148;. &lt;/P&gt;&lt;P&gt;STEP 3: DEPENDING UPON THE BDC TYPE i ) call transaction(Write the program explicitly) &lt;/P&gt;&lt;P&gt;ii) create sessions (sessions are created and processed. if success data will transfer). &lt;/P&gt;&lt;P&gt;What is a batch input session? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;BATCH INPUT SESSION is an intermediate step between internal table and database table. &lt;/P&gt;&lt;P&gt;Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed. &lt;/P&gt;&lt;P&gt;. What is the alternative to batch input session? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;Call transaction. &lt;/P&gt;&lt;P&gt;A situation: An ABAP program creates a batch input session. &lt;/P&gt;&lt;P&gt;We need to submit the program and the batch session in background. How to do it? &lt;/P&gt;&lt;P&gt;ANS :- &lt;/P&gt;&lt;P&gt;go to SM36 and create background job by giving &lt;/P&gt;&lt;P&gt;job name, job class and job steps (JOB SCHEDULING) &lt;/P&gt;&lt;P&gt;. What are the problems in processing batch input sessions? &lt;/P&gt;&lt;P&gt;How is batch input process different from processing online? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;PROBLEMS:- &lt;/P&gt;&lt;P&gt;i) If the user forgets to opt for keep session then the session will be automatically removed from the session queue(log remains). However if session is processed we may delete it manually. &lt;/P&gt;&lt;P&gt;ii)if session processing fails data will not be transferred to SAP database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. What do you do when the system crashes in the middle of a BDC batch session? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;we will look into the error log file (SM35). &lt;/P&gt;&lt;P&gt;What do you do with errors in BDC batch sessions? &lt;/P&gt;&lt;P&gt;ANS:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. Setting up a BDC program where you find information from? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;. What has to be done to the packed fields before submitting to a BDC session. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;fields converted into character type. &lt;/P&gt;&lt;P&gt;What is the structure of a BDC sessions. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;BDCDATA (standard structure). &lt;/P&gt;&lt;P&gt;What are the fields in a BDC_Tab Table. &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;program,dynpro,dynbegin,fnam,fval. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise &lt;/P&gt;&lt;P&gt;modify batch input program that has generated the session or many times even the datafile. &lt;/P&gt;&lt;P&gt;How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs? &lt;/P&gt;&lt;P&gt;ans:- &lt;/P&gt;&lt;P&gt;go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING) &lt;/P&gt;&lt;P&gt;Advantages &amp;amp; Disadvantages of different types of BDC&amp;#146;s?&lt;/P&gt;&lt;P&gt;Ans Transaction Method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It is faster than session method.&lt;/P&gt;&lt;P&gt;2) While executing, it starts from starting.&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;1) It is slower than transaction method.&lt;/P&gt;&lt;P&gt;2) While executing, it does not start from starting.&lt;/P&gt;&lt;P&gt;How to write a BDC - how do u go about it?&lt;/P&gt;&lt;P&gt;Ans Steps for writing BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) /nSE38&lt;/P&gt;&lt;P&gt;2) Declare Tables, Data (for ITAB) and Data (for BDCITAB)&lt;/P&gt;&lt;P&gt;3) Call function &amp;#145;Upload&amp;#146;.&lt;/P&gt;&lt;P&gt;4) Write code for the First Screen, Radio Button, Filename, Change Button, Second Screen, Utilities (Create Entries), Third Screen and Save.&lt;/P&gt;&lt;P&gt;5) Call transaction &amp;#145;SE11&amp;#146; using BDCITAB mode &amp;#145;A&amp;#146;.&lt;/P&gt;&lt;P&gt;6) Save, Check Errors, Activate and Execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the function module in BDC?&lt;/P&gt;&lt;P&gt;Ans There are three function module in BDC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) BDC_OPEN_GROUP&lt;/P&gt;&lt;P&gt;2) BDC_INSERT&lt;/P&gt;&lt;P&gt;3) BDC_CLOSE_GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for interview base see theese links shiva&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;A href="http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm" target="test_blank"&gt;http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu033.htm" target="test_blank"&gt;http://www.sap-img.com/fu033.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/ale-bapi.htm" target="test_blank"&gt;http://www.sap-img.com/abap/ale-bapi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 10:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-process-in-tree-daigram/m-p/3780550#M909663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T10:52:29Z</dc:date>
    </item>
  </channel>
</rss>

