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

Error Message In EXIT_SAPLMEREQ_005

Former Member
0 Likes
1,489

Hello to All!!

I'm with a doubt about showing a message error through EXIT_SAPLMEREQ_005, Main Program SAPLXM02, Include ZXM02U05.

When the user uses any of this transactions: ME51, ME51N, ME52 or ME52N, I need to make some validations based on MEREQ3211GRID structure.

If the fields don't meet my requirements, then I need to send a message error in this point, But I must allow the correction of fields on the current screen, without the need of process restart.

Any Idea about how can I send this message at this point??

Kind regards!

Thiago Eva

4 REPLIES 4
Read only

Former Member
0 Likes
980

You send the return structure EX_MESSAGES with a row containing your message and type set to 'E'. Please read the documentation of the enhancement MEREQ001 in SMOD and look at the section dedicated to this function module.

Read only

0 Likes
980

Hi Srinivas,

Thank you so much for the quick answer! I'm trying to read the documentation of MEREQ001 on DEV environment, but without success, maybe I need to see the documentation on QAS.

With your tip I'll try to make the changes on this exit and test them, and as soon as I finish this successfully I'll close this thread.

Thank you once more.

Thiago Eva

Read only

0 Likes
980

Go to SMOD transaction, enter the enhancement and select the radiobutton for "Documentation" and click "Display". Unfortunately, documentation is not stored at the individual component level for this enhancement.

Read only

0 Likes
980

Thanks Again Srinivas

I was logged in Portuguese Language, and there's no documentation in SMOD for this Enhancement in PT. When I logged again in English, the documentation was shown!

Right now I'm trying to implement the code, and when I get success I'll let you know!

Thanks!

Thiago Eva