Lsmw and Bdc New


of 67

  • date post

  • Category


  • view

  • download


Embed Size (px)

Transcript of Lsmw and Bdc New

Differences between LSMW and BDCBatch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a 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. BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background. In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling. It can also be used for real-time interfaces and custom error handling & logging features. Whereas in Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too. Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the 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 invokes the transaction mentioned in the header record of the file. Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate 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 not available for all application areas. 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 :

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.

LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording. LSMW mapping is done by SAP while in BDC we have to do it explicitly . LSMW is basically for standard SAP application while bdc basically for customized application. Coding can be done flexibly in BDC when compared to LSMW

Explain the difference between INVOICE and BILLING in SAPBy: Shailesh Singh | 04 Mar 2008 10:51 am Both are same in SD point of view. - In SD terminology we call as Billing Document and - In FI terminology we call as INVOICE. - In MM again only INVOICE will be there for Vendors. Invoice is document indicating to delivery goods and Billing is a receipt of payment. If we receive the goods from vendors that is called bill if we give the goods to customer that is called invoice. Bill means we have to pay the amount against bill invoice means we have to receive the amount against invoice. Invoice is for both : Vendor Invoice and Customer Invoice. Billing Tcodes: - VF01 create billing document. The delivery order comes up auto. - VF02 the billing doc comes up auto . View the accounting enteries Invoice Tcodes: - FB60 Create invoice with respect to rawmaterial and tax. - FB70 Invoice entries with respect to sales and tax

Uploading Purchase Info records using IDOC MethodBy Kamesh, IBM IndiaRequirement is to convert Purchase info records data from an excel sheet into SAP ECC using IDOC. Step1 : Create project using transaction LSMW .

Step2: Select maintain attributes Radio Button:

Step3: Maintain attributes Select IDOC radio button and give "Message Type and " Basic Type".

Click on Save . Step4: Activating IDOC Inbound processing. The following screen shots explain the activating IDOC Inbound processing.

Click " IDOC inbound processing under settings.

Here maintain ' port ' and 'partner type ' and partner number here and press 'Activate Idoc inbound processing ". Here for message type "SRCLST process code is "SRCL. This has to maintain while maintaining partner type. Step5: Maintain source structures

Click on "Maintain source structures Radio Button. Click on source structures and then click on create.

Step6: Maintain Source fields

Step7: Maintain structure relations

Click on structure relation and click on relation ship as shown above to maintain relationship. Step8: Maintain field mapping

And press F8.

Extras -> Auto field mapping. Press enter until you get a popup message field mapping completed.

Uploading Purchase Info records using IDOC Method...PreviousStep9: Specify Files

Click on legacy data while taking file from presentation server and click create.

Step10: Assign files:

Step 11: Read data:

Step12: Display Read data:

Step13: Convert Data:

Step14: Start IDOC generation:

We will get popup like this

Click on Step 15: Create IDOC overview:

We will get idocs created for such records. For e.g as shown below.

Here the status "GREEN" means IDOC got posted in status 53.

Step by Step MM-CIN Training DocumentationBy G.V.SHIVAKKUMAR, Tata Consultancy ServicesTopics covered: 1. 2. 3. 4. 5. 1 Excise Transactions Capital Goods Purchase Returnable/ Non Returnable Gate Pass Import Purchase Cycle Vendor Return & Excise Reversal


1.1 1.1.1

Procedure for Claiming CENVAT for Raw Materials Create the Purchase Order (ME21N)

Follow standard PO creation process 1.1.2 Gate Entry (/cvs/gnt01)

Enter the PO No in the Field, and then all the items against the Po will be shown. Enter the Relevant Quantity, Enter the LR no, Vehicle No, Vendor Excise No, In the Text Enter the Transporter Name. Security ID Select from the Drop Down Menu.

1.1.3Goods Receipt to Unrestricted (Movement type: 101) Menu Path: Logistics Materials Management Inventory management Goods movement goods receipt for purchase order Purchase order no. Known (MIGO) a. Enter the PO number and click on Execute button as shown below.

b. Enter the Gate Entry No It will show the gate Entry Quantity of the in the Quantity tab in field Quantity in Unit of entry. c. Enter receiving Storage Location in Where tab. Here check the stock type in which material is going to receive. If some text needs to be added regarding the goods receipt enter it in Text field. If it subjected to batch Management then enter the Vendor Batch No as well as In-house batch no. If you want to Split the Quantity then Click on, Then Enter the Batch, Quantity etc. After doing all these thing go to Classification Enter all the Parameter.

d. Click on Item OK Checkbox at this point of time system will show relevant information of excise for which Excise Invoice tab will appear in the Header screen as shown below, select Only Capture Excise Invoice on this tab and put the Vendor Excise Invoice no check the Excise group. e. Check the Excise Details related to the received material in Excise Item tab in Detail Data screen as shown below.

Press Post button to save the Goods receipt, system will generate the Goods receipt Document. System will automatically update the Part I register as soon as the GR is made. 1.1.2 Post the Captured Vendors Excise Invoice

Go to CIN transaction Menu Path: User menu Indirect taxes Procurement Excise invoice Incoming Excise invoice Individual Processing Capture/Display (J1IEX) a. Select Post Excise Invoice and Vendor in windows above the Header. b. Enter Goods Receipt Document number generated in STEP 2 and press ENTER or Click on Execute button.

c. Following screen will appear as shown below.

d. Enter Vendor Excise Invoice Number, Excise Invoice Date, Excise group (or any other appropriate excise group). e. If material had directly came from different vendor, Enter vendor code in Ship from field in miscellaneous tab. f. If Excise Invoice is faulty and still want to take the credit for the excise invoice, enter the rejection code.

g. Check the Material Chapter Heading, Material type in Item tab in Detail Data screen. h. Check the Quantity in Quantity tab


Check the Duty rate in Duty rate tab.


Check duty values and Tax amount for the material in Duty value tab.

Click here to continue...k. Check the Part I entries, which are created immediately after the GR in Part I tab.

Tick the Item OK check box and Press

button to check the entries.

After Check Click on Simulate Button to check the G/L Entries.

Press save button to post the entry, Excise Invoice will be captured and following screen for information will be displayed.


Display Excise Invoice

Menu Path: User menu Indirect taxes Procurement Excise invoice Incoming Excise invoice Individual Processing Change/Display/Post/Cancel (J1IEX) Select Display and Vendor Excise Invoice in windows above the Header. Here you can display both the Part I and Part II entries in one document only. Check the Excise registers in which entry is made.

1.2 1.2.1

Procedure for claiming CENVAT for Capital Items Create the Purchase Order for Capital goods

Follow standard PO creation process and note the following things In the Account assignment category enter F.

The system will prompt to put the Order no as well as G/L account no in the account assignment tab. All the other details like VAT or CST you will have t