SAP Functional, Basis and ABAP Programming Reference Books
Increase number of line items in Purchase Order

If you experienced a Purchase Order getting cancelled because the message said it was too long.

In situation where you need to create a Purchase Order of at least 200 lines, you need to discuss with your Basis team to look at SM12 and verify the enque/table_size parameter and increase this value in order to permit more records in lock situation when you are creating your Purchase Order.

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff