10-01-2013 11:27 PM
Hi Guys.
I am work with exits in Me51n and when I type in table control the value (EXAMPLE: 3000000) and click in save
My code MUST to validate the number.
The ploblem is:
If I Type Material = 300000 and save ,the validation is correct in my exit .....00008 but if in same screen I change the material number
To 4000000 and click in save ,in debug I see the code 3000000 in my exit and validation is wrong because the number is 4000000 and not 300000
How I can update in my exit the value for it to consider the number 40000?
Sugestions welcome.
Thanks.
10-02-2013 9:34 AM
Better use BAdI ME_PROCESS_REQ_CUST.
Nevertheless, if you are in a version lower than 4.70, did you use exit EXIT_SAPMM06E_012 of Enhancement MM06E005 ?
Regards,
Raymond
10-02-2013 4:17 AM
which exit are you using? I think your exit is getting called before the change material takes place.
You can try another exit.
Use an exit which is triggered just before actual save.
10-02-2013 9:34 AM
Better use BAdI ME_PROCESS_REQ_CUST.
Nevertheless, if you are in a version lower than 4.70, did you use exit EXIT_SAPMM06E_012 of Enhancement MM06E005 ?
Regards,
Raymond
10-02-2013 4:11 PM