2013 Dec 26 10:58 AM
In 'VL01N ' t code batches are selected based on the parameter value 'LOBM_RLZ(min. shelf life)'.
I have an requirement in which this minimum shelf life is also maintained in LIPS table (LIPS-ZZVSD_MVZ).
If this field is maintained with some value which is different to tha parameter value LOBM_RLZ, then batches
should be selected according to this value. Else needs to be selected as per LOBM_RLZ.
Kindly help me to find out the exit to write the code and how can I overwrite parameter value LOBM_RLZ?
2013 Dec 26 11:13 AM
Hi
Try with USEREXIT_BATCH_DETERMINATION in include MV50AFZZ.
In the other hand, see SAP Note 619911 - FAQ: Batch determination
I hope this helps you
Regards
Eduardo
2013 Dec 26 11:13 AM
Hi
Try with USEREXIT_BATCH_DETERMINATION in include MV50AFZZ.
In the other hand, see SAP Note 619911 - FAQ: Batch determination
I hope this helps you
Regards
Eduardo
2013 Dec 26 11:27 AM
Hi hinojosa,
Thanks for your quick response.
Exit provied by you looks fine to write the code.
But I'm not able to find the exact place where i need to overwrite the value of parameter LOBM value with LIPS z field value.
Can you please help in this?
Regards,
Nikhil
2013 Dec 26 11:55 AM
Hi
Maybe I didn't understand you in a beginning. If you want to use a customer field for determination of batch, see the IMG path and consider to add a customer field in the determination of batch. See this IMG path in Logistics - General
After, in V/C1, for strategy types, you can define your own VOFM (maybe this way will be more productive because the userexit is for setting a different batch) and set it (as in other cases, set a break point for understanding how it works)
I hope this helps you
Regards
Eduardo
PD: I forgot it. There is a BADI, but I've never worked with it. See VB_BD_SELECTION method RESTRICT_CONF_CHARS, but I doubt it heps you