2010 Nov 07 12:02 PM
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.
2010 Nov 07 12:12 PM
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
2010 Nov 07 12:12 PM
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
2010 Nov 07 12:23 PM
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.
2010 Nov 07 12:34 PM
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
2010 Nov 07 12:40 PM
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
2010 Nov 08 8:44 AM
Hi,
In FI validation PO net price is not available.
I used the spot in Program MF05AF01_LPNEBELN_CHECK.
Regards,
Rayeez
2010 Nov 08 8:49 AM
Hi
Yes NET price in not available, but PO number is available, so u can select the PO and then check net price
Max
2010 Nov 08 5:32 AM
Hi,
you can use
Message e000(message_class) DISPLAY LIKE 'W'.
this will not EXIT after the check ...
Hope this solves your problem