Get all you need about SAP. Find SAP materials, SAP Real time issues, SAP Openings, SAP Resumes, SAP Tutorials with step by step navigations, SAP Certification Interview Questions etc covering almost all technical areas of SAP in ABAP, Workflow, Netweaver, Web-Services and many more......
Search This Blog
Saturday, February 20, 2010
LSMW
LSMW IS NAVIGATION FORMAT TO PERFORM BDC'S
LSMW IS A COLLECTION OF PROJECTS, PROJECT IS A COLLECTION OF SUB PROJECTS AND SUB PROJECT IS A COLLECTION OF OBJECTS.
LSMW -> NAME THE PROJECT , SUB PROJECT AND OBJECT -> CLICK ON CREATE FROM APPLICATION TOOLBAR -> OPENS ANOTHER INTERFACE ACCEPT SHORT DESCRIPTION -> OK -> TO LSMW PROCESS CLICK ON EXECUTE ( PRESS F8).
1) Maintain Object Attributes
IN THIS STEP WE CAN SPECIFY THE TARGET TCODE, WHERE DATA TO BE POPULATED FOR LSMW, WITH TCODE FIELD IDENTITIES WITH HELP OF RECORDING METHOD.
SELECT -> EXECUTE -> CLICK ON RECORDING OVERVIEW ( PB ON APPLICATION ) -> OPENS LPS SCREEN -> CLICK ON CREATE NEW RECORDING FROM APPLICATION TOOLBAR -> OPENS AN INTERFACE -> ENTER RECORDING METHOD NAME ( ZREC1) -> SHORT TEXT -> CONTINUE -> ENTER THE TCODE( MK01 ) -> Enter sample data -> Save the entries from tcode -> Generates a report in LPS with recording method fields, but in this step abaper has to assign recording methods fields to LSMW process , to do this -> click on Default all from application toolbar, assigns all fields of recording method into LSMW process-> save the entries -> come back -> come back -> change mode of screen -> select batch input recording -> name the recording (zrec1) -> save the entries -> come back.
2) Maintain Source Structures
In this process we are creating a structure where can be splitted from flat file, to populate data into corresponding fields of screen select -> execute -> change the mode of screen -> click on create structure from application toolbar -> name the structure ( ktab) -> short text -> ok -> Save the entries and come back.
3) Maintain Source Fields
In this process we are adding Fields for the structure with help tcode fields.
select -> execute -> change mode -> select name of structure -> click on create field -> specify field name -> description -> size of the field -> data type -> continue -> repeat the same step for all fiels of tcode where data to be populated -> save entries -> come back.
4) Maintain Structure Relations
In this step the relation between structure and Recording object should be assigined, this will be done automatically, else process manually,
select -> execute -> chane the mode -> save -> come back ( as relations are maintained by sap by default [zrec <<<< ktab]).
5) Maintain Field Mapping and Conversion Rules
In this process we are performing field mappings of recording ( lsmw ) to structure fields. To do this
select -> execute -> change the mode -> select field of Recording method (LIFNR) -> click on source field from application toolbar -> displays list of fields in KTAB ( structure ) -> double click on related field name ( field is mapped ) -> Repeat the same step for all fields-> save the entries and come back.
6) Maintain Fixed Values, Translations, User-Defined Routines
This step is require if we need to assign any default values, is a optional step [ we can avoid this step ].
select -> execute -> come back.
7) Specify Files
we can specify the file is from Presentation layer or application server to be extracted for data population.
select -> execute -> change the mode -> select the location ( legacy system PC ) -> click on add entry from application toolbar -> opens an interface -> enter path of source file in File ( field ) [c: \LFA1.txt] -> description in name field -> specify field separator (comma) -> continue -> save the entries -> come back ->
8) Assign FilesIn this process we are assigning File to the LSMW process.
select -> execute -> change the mode -> save -> come back.
9) Import Data
in this process the data from legacy system is populated into LSMW process, generates ".lsmw.read" file
select -> execute -> execute -> generates report -> come back -> come back.
10) Display Imported Data
In this process we are display the data of .read file in presentation layer.
select -> execute -> continue -> display report ( yellow color ) -> come back ->
11) Convert Datain this process generates ".conv" with help of ".read" file.
select -> execute -> execute -> generates a report -> come back -> come back ->
12) Display Converted Data
displays the converted data from application created by sap.
select -> execute -> continue -> generates the report -> come back.
13) Create Batch Input Sessionin this process creates a session object with name as object name defined in LSMW.
select -> execute -> execute.
14) Run Batch Input Sessionexecutes the SM35 tcode to process LSMW into sap r/3.
opens sm35 tcode -> select object name -> process.
Subscribe to:
Post Comments (Atom)
error no authorization object
ReplyDeletein lsmw .. can u give any solution plz