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: 

User exit for MIRO

Former Member
0 Kudos

I have found (through searching SDN) user exits for MIRO. The problem I am having is finding them in the main program. From SE93 I figured out that the main program is SAPLMR1M but when I navigate to SAPLMR1M and search for an exit nothing comes up. Is it because SAPLMR1M is a Function Pool?

Regards,

Davis

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Davis,

Enhancement LMR1M001 is used in program SAPLMR1M.

This enhancement contains the following user exits.

EXIT_SAPLMR1M_002

EXIT_SAPLMR1M_003

and this exits is called in include program LMR1MF1T and LMR1MF0T for examples. Also there are other include program called this exits as well.

How do you search string CALL CUSTOMER-FUNCTION?

Please try this ...

1. Go to SE38.

2. Enter program SAPLMR1M.

3. Click on display button.

4. Click on find button (CTRL+F).

5. Enter 'CALL CUSTOMER-FUNCTION' for find field.

6. Select In main program radio button.

7. Click on continue button.

8. System will display the results.

Regards,

Ferry Lianto

5 REPLIES 5

valter_oliveira
Active Contributor
0 Kudos

Hi Davis.

What kind of user exits did you find in SDN? Enhancements? Forms dedicated to customer coding?

Remeber that if it's enhancements (like LMR1M001), you must insert them in a project and activate it.

Example.

- Create project ZMIRO (transaction CMOD).

- There, insert LMR1M001 (User exits in Logistics Invoice Verification) and activate the project.

- There will place your user-exit (EXIT_SAPLMR1M_002, for example).

Hope this helps.

Reward helpfull ideas.

Best regards.

Valter Oliveira.

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please search (CRTL+F) this string 'CALL CUSTOMER-FUNCTION' in main program of SAPLMR1M.

System should display list of user exits available for MIRO.

Regards,

Ferry Lianto

0 Kudos

Valter, I am supposed to be fixing a mistake in the user exit. I can't find any user exits by searching in the main program or by searching for Z* in Cmod. I am guessing that it was never done and that is why it won't work.

Ferry, I have searched for CALL CUSTOMER-FUNCTION a few times and nothing comes up. I have also searched for the includes (user exits) and nothing comes up. I have searched for the following:

LMR1M001 User exits in Logistics Invoice Verification

LMR1M002 Account grouping for GR/IR account maintenance

LMR1M003 Number assignment in Logistics Invoice Verification

LMR1M004 Logistics Invoice Verification: item text for follow-on docs

LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting

LMR1M006 Logistics Invoice Verification: Process XML Invoice

MRMH0001 Logistics Invoice Verification: ERS procedure

MRMH0002 Logistics Invoice Verification: EDI inbound

MRMH0003 Logistics Invoice Verification: Revaluation/RAP

MRMN0001 Message output and creation: Logistics Invoice Verification

ferry_lianto
Active Contributor
0 Kudos

Hi Davis,

Enhancement LMR1M001 is used in program SAPLMR1M.

This enhancement contains the following user exits.

EXIT_SAPLMR1M_002

EXIT_SAPLMR1M_003

and this exits is called in include program LMR1MF1T and LMR1MF0T for examples. Also there are other include program called this exits as well.

How do you search string CALL CUSTOMER-FUNCTION?

Please try this ...

1. Go to SE38.

2. Enter program SAPLMR1M.

3. Click on display button.

4. Click on find button (CTRL+F).

5. Enter 'CALL CUSTOMER-FUNCTION' for find field.

6. Select In main program radio button.

7. Click on continue button.

8. System will display the results.

Regards,

Ferry Lianto

0 Kudos

Ferry, thanks. I was searching the same way you outlined and it now works. I just did a restart of my computer (for another reason) and it now works. I doubt the restart had anything to do with it but it didn't work before the restart.

Thanks a lot for your help,

Davis