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 + Custom Function Module

Former Member
0 Likes
4,433

Hello Friends,

Is it possible to call a custom function module from LSMW? Please let me know!

Thanks,

Sam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,740

Hi,

In the step "Maintain field mapping and conversion rules" you can write code in this...Which means you can call the custom function module...

Thanks,

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
1,741

Hi,

In the step "Maintain field mapping and conversion rules" you can write code in this...Which means you can call the custom function module...

Thanks,

Naren

Read only

0 Likes
1,740

is there any other way?

Read only

Former Member
0 Likes
1,740

Hi,

You want the function module itself as a program for uploading the data??Is that your requirement..

Thanks,

Naren

Read only

0 Likes
1,740

not really..i think i will call the function from the mapping step. but anyways, is it possible to include it as one of the option?

Read only

Former Member
0 Likes
1,740

Hi Sam,

You can have your own custom programs for LSMW if the standard DI/BI IDOC , BAPI dont meet your requirements.

Its little bit complex. You need to register you custom program in table through SM30.

SDX0 - Program Definition ( BI or DI )

SDX1 - Program Assignment

SDX2 - Declaring Structures

SDX3 - Declaring field identifiers for structures

You can goto SM30 and can view the standard BI/DI programs definition by using the four digit Obejct Number...

<b>AS</b>