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 coding

Former Member
0 Likes
461

hi

in LSMW where we can dclare the code and where define subroutines

pls tell me

regards

Nagendra.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

hi,

u can write coding in the step maintain field mappings and conversion rules

and u can specify user defined routines in the step

Maintain Fixed Values, Translations, User-Defined Routines.In this there will be an option <b>user defined routines</b>->select that ->click create in the toll bar->specify name->enter->specify input and output parameters ->u will get '+ ' in userdefined routines->expand that->double click on that->write ur coding.

if useful reward points

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
429

You don't define subroutines, but you can embed the code in the "Maintain field mapping and conversion" section. Choose the field that you want to add the code for by double clicking it. Here you add the code. This code will then be copied into the "conversion" program.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
429

Hi,

We can write code in Maintain feild mapping and conversion and we cannot define subroutines.

Regards,

sreevani

Read only

0 Likes
429

Sreevani,

You don't have to explicitly write the code in LSMW. That's the best part of LSMW. You only have to map the fields in the field mapping and conversion and you can write simple code where in you need conversions to happen in the mapping and conversions step by double clicking on the field takes to the editor and you can write the code there. But you don't have to write the major code is what i meant to say.

let me know if you have more questions i can forward you the doc on LSMW.

award points if it helps.

Read only

Former Member
0 Likes
430

hi,

u can write coding in the step maintain field mappings and conversion rules

and u can specify user defined routines in the step

Maintain Fixed Values, Translations, User-Defined Routines.In this there will be an option <b>user defined routines</b>->select that ->click create in the toll bar->specify name->enter->specify input and output parameters ->u will get '+ ' in userdefined routines->expand that->double click on that->write ur coding.

if useful reward points