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: 

Error Message In Enhancement Spots

Former Member
0 Kudos
717

Hi,

when I am giving error mesage in spot for F-48 its went to EXIT message.Please help me to get error mesaage in enhancement spot.

Regards,

Rayeez.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
248

Hi

Why don't you use the FI validations?

It's the usual tool to set error message while posting/changing an accounting document, you wouldn't need to use an enhancement spot

Max

7 REPLIES 7

Former Member
0 Kudos
249

Hi

Why don't you use the FI validations?

It's the usual tool to set error message while posting/changing an accounting document, you wouldn't need to use an enhancement spot

Max

0 Kudos
248

Hi Max,

The requirement is to validate amount against PO net price for the asset.Please sugest me how do i validate when entered amount greater than PO net price.

Regards,

Rayeez.

0 Kudos
248

Hi

U can set an item validation, here u can get the amount of item and check if it's greater than net price

I think the code can be the same than yours, only the place is different: i.e it's useless an enhancement if a standard tool is available.

FI validation is usually made by functional so you can ask a little help from him: trx OB28

Max

0 Kudos
248

In OB28 you can set FI validations where you can fetch the net price from PO there and do all the validation. I think that is a better way to do.

Nabheet

0 Kudos
248

Hi,

In FI validation PO net price is not available.

I used the spot in Program MF05AF01_LPNEBELN_CHECK.

Regards,

Rayeez

0 Kudos
248

Hi

Yes NET price in not available, but PO number is available, so u can select the PO and then check net price

Max

0 Kudos
248

Hi,

you can use

Message e000(message_class) DISPLAY LIKE 'W'.

this will not EXIT after the check ...

Hope this solves your problem