05-07-2008 7:16 PM
Hi All,
I have a requirement to pick up shelf life dae of any material for which a process order is cretaed. If the process order date is gretaer than shelf life date of the material then the error should be thrown. I have found an exit for that. But just wanted to know if you guys are aware of any function module which returns the shelf life of the material, so that i can use that in the exit i found. like an example a function module for getting materal availability is BAPI_MATERIAL_AVAILABILITY.
So like this if you are aware of any then please do help me.
Regards,
Boby.
05-08-2008 9:45 PM
Try CBGL_LB63_EXPIRY_DATE_GET, although I doubt it... Otherwise just calculate yourself - all the data should be in MARA (e.g. MHDHB). You might want to look at the programs where this field is being used.