Hi Yateesh,
thank you very much for your reply.
Scenario : While creating a Shopping cart in SRM, It will check for material status. If it is '52'.
For status '52' materials, The order qty. checks with the Inventory Qty.
1) Inventory qty > order qty --------> Create Reservation for order qty.
2) Inventory qty = 0 ---------> Create P.Req for Order qty.
3)Inventory qty < order qty --------> Create Reservation for Inventory qty. and create
P.Req for remaing qty.
Could you please help me how to write the code for 3rd case.Here no need to create any other types only P.Req and Reservation only.
Regards,
Sai Rama