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 error during convert data.

Former Member
0 Likes
2,079

Hi all,

I had executed an LSMW using direct input method in the step --- maintain field map and conversion rules ---- the code is as  follows ---

               call function 'conversion_exit_main_input'

                         input = main_struct-matnr .

                importing

                         output = bm00-matnr.

all the steps went smoothly , but when i came to the step convert data , the error came with as function module 'conversion_exit_main_input' not found.

where actually i need to change the coding such that a proper result will come and data will be uploaded .

Regrads ,

Rohan

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,127

I think the conversion routine is MATN1, not MAIN (you can check it yourself in the DDIC domain corresponding to your MATNR field).

Read only

Former Member
0 Likes
1,127

Hi Sandra ,

Thanks for replying i had changed the routine as matn1 and saved also but while execution  of the step  of convert data in the transaction number i gave 1 to 99 as the value and then executed , but still the error shown as - conversion_exit_main_input is called but cannot find the library .

Is the transaction number which i have give 1 to 99 << is there any problem ??

Read only

JL23
Active Contributor
0 Likes
1,127

Can't you post the exact error message along with the message number?

Can't you just go to SE37 and check whether your function module is there?

You posted "Is the transaction number which i have give 1 to 99" - this sounds very strange, did you try it for all number between 1 and 99 times or did you really enter "1 to 99"  when the function module expects just a single number?

Can't you just copy and paste this small code snipped from LSMW or be more precisely and technical in the information, should really be possible for an ABAPer who post in the ABAP forum