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

Code in LSMW?

Former Member
0 Likes
617

Hi,

please let me know to write our own code in lsmw?

I want to implement the table control in ME51. So, i have to increment the BNFPO field every time...How to write the code for that and where to declare the required variables?

4 REPLIES 4
Read only

Former Member
0 Likes
574

in mapping and conversion rules if you double click on a field it will take you to the editor where you can declare your own variables and write a piece of code necessary like validations and so on...

Read only

Former Member
0 Likes
574

Check out this .

Read only

Former Member
0 Likes
574

Hi Suman

<b>

Maintain Field Mapping and Conversion Rules</b>

Extras-->Layout.

GLOBAL_DATA--> define your internal table there.

BEGIN_OF_PROCESSING-->load your internal table there.

You can write your code in the target field in field mapping.

Thanks

Aneesh.

Read only

0 Likes
574

Hi Aneesh,

Thanks for your answer.

I was looking for where to declare the global data and i your answer helped me.

Thank you,

Regards,

Immanuel.