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.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM in LSMW

abdulazeez12
Active Contributor
0 Kudos

Hii

Cant we use function modules in LSMW??

I want to upload HR master data using LSMW and for this I want to use the function module HR_MAINTAIN_MASTERDATA..but if FM are not used, then is there any BAPI for the same purpose??

BTW, why cant we use FM in LSMW??

Cheers

3 REPLIES 3

amit_khare
Active Contributor
0 Kudos

LSMW uses BDC to upload data into the systems.They need to Call Screens to place data to it.

You can directly upload HR Masterdata using HR_INFOTYPE_OPERATIONS or HR_MAINTAIN_MASTERDATA by writing a program, then why you want to go for LSMW.

For LSMW call BDC on PA30.

Regards,

Amit

Reward all helpful replies.

0 Kudos

My requirement is to develop the object in LSMW only..and I know we can add code in 5th step Maintain Field Mapping and Conversion Rules...I also know that BDC can be used..

I am just trying to use this function module there and wanted to know if we can use either function modules or BAPIs?? If not, then why..

Former Member
0 Kudos

Hi,

In Lsmw u can write the code in only 1 option called. rule.

try with this one.

If u have a function module directly u can create a programe and use this Fm for creating data.

Assign points if useful.