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 events, usability and coding

Former Member
0 Likes
944

Hi experts,

Please let me know about lsmw events and how can i use it? Is there any area where i can write the code? How?

Thanks & Regards,

Abhijit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
745

in the STEP 5 Maintain Field Mapping and Conversion Rules you have to write your own code.

after filed assignment double click there you find the text editor there you can write all your ABAP code....

you can do the goble declaration here __GLOBAL_DATA__ in step 5

3 REPLIES 3
Read only

Former Member
0 Likes
745

Hi,

Below are the events used in LSMW.

Events in LSMW.

__ Begin_of_record.

__ End_of_record.

__GLOBAL_DATA__

__BEGIN_OF_PROCESSING__

__BEGIN_OF_TRANSACTION__

__END_OF_TRANSACTION__

__END_OF_PROCESSING__

__FORM_ROUTINES__

You can find these events in the step Maintain Field Mapping and Conversion Rules

You can double click on them and write the code within.

Regards

Read only

Former Member
0 Likes
746

in the STEP 5 Maintain Field Mapping and Conversion Rules you have to write your own code.

after filed assignment double click there you find the text editor there you can write all your ABAP code....

you can do the goble declaration here __GLOBAL_DATA__ in step 5

Read only

Former Member
0 Likes
745

Hi

The events in lsmw

__ Begin_of_record.

__ End_of_record.

__GLOBAL_DATA__

In this you can declare the variables, internal tables, constants etc...

__BEGIN_OF_PROCESSING__ (this is used for before data processing starts)

__BEGIN_OF_TRANSACTION__ (this is used for before transaction processing starts)

In this you can write all the select statements

__END_OF_TRANSACTION__ (this is used for after transaction processing finishes)

__END_OF_PROCESSING__ (this is used for after data processing finishes)

__FORM_ROUTINES__ (In this you can write all the form routines ABAP routines)

Thanks

Satish