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

Macros in LSMW

Former Member
0 Kudos

Hi all,

Do we use macros in the data conversions using LSMW. if yes could you please let me know how.




Former Member
0 Kudos

We do not need to use macros in LSMW for conversions

But if you do want to write some codes for it you can use the option Rules.

In the option <b>'Maintain Field Mapping and Conversion Rules'</b> Choose a field and then you can click on rule

you can write some code for that particular field with the option <b>'ABAP Code'</b>.

the value to be manipulated would normally be in <Source Structure-fieldname > and the output of your code should be in the Standard fields e.g BBKPF-BLDAT(for finance documents)