Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

lsmw

Former Member
0 Likes
862

Are EVENTS Possible in LSMW?If so how to achieve?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
827

hi ,

Events are not possible in LSMW.

but in BDC you can add some events with condition like if ---endif.

whiel , do..

hi ,

Events are not possible in LSMW.

but in BDC you can add some events with condition like if ---endif.

whiel , do..

6 REPLIES 6
Read only

Former Member
0 Likes
827

Hi,

There is no EVENTS concept in LSMW.

It is basically a tool provided by SAP to Upload data without much programming knowledge ie., code.

Regards,

Padmam.

Read only

Former Member
0 Likes
828

hi ,

Events are not possible in LSMW.

but in BDC you can add some events with condition like if ---endif.

whiel , do..

Read only

Former Member
0 Likes
827

Hi pinky,

there is no point of Event in LSMW it is used to upload data from non-sap system to sap system thats it very small part of coding may be used in it..

Rewards if helpfull

Regards

Pavan

Read only

Former Member
0 Likes
827

Hi Pinky,

Events are possible in LSMW

1.BEGIN_OF_PROCESSING - Before the beginning of data processing

2.BEGIN_OF_TRANSACTION - Before the beginning of transaction data processing

3.__BEGIN_OF_RECORD__ Before applying the conversion rules for a source structure

4.END_OF_RECORD_ After applying the conversion rules for a source structure

5.__END_OF_TRANSACTION__After finishing transaction processing

6.END_OF_PROCESSING__ After finishing data processing

Read only

Former Member
0 Likes
827

Hi Pinky,

Go through this info.

Batch 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

the available events are:

1.BEGIN_OF_PROCESSING - Before the beginning of data processing

2.BEGIN_OF_TRANSACTION - Before the beginning of transaction data processing

3.__BEGIN_OF_RECORD__ Before applying the conversion rules for a source structure

4.END_OF_RECORD_ After applying the conversion rules for a source structure

5.__END_OF_TRANSACTION__After finishing transaction processing

6.END_OF_PROCESSING__ After finishing data processing

************Rewards some points.

Rgds,

P.Naganjana Reddy

Read only

Former Member
0 Likes
827

Hi,

There are no events in lsmw, its a tool.

For more information check the following link:

http://www.sapbrain.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html

Regards,

Bhaskar