Namaste Suresh Kumar,
I hope you can use second one for your requirement.
you can control on ME52N and ME53N, item number wise you can take control. Check in EBAN table, how many line items available , if more than this line items if users tryin with more line items system sould throw error.
Regards,
Ravindra