cancel
Showing results for 
Search instead for 
Did you mean: 

Limit Sales Order Items

Former Member
0 Kudos

Dear All,

we are not able to post the invoice as the number FI Items are reached the error is as below

Maximum number of items in FI reached

Message no. F5727

Diagnosis

The maximum number of items for an FI document ('999') has been exceeded.

Is it possible to limit the number of items in a sales order to maximum of 130 ITEMS.

Kindly Advise

With Regards

Mohammed Raees

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes definitely.. but using user exit and ABAP coding.

There has to be a logic written in the User Exit MV45AFZZ, PERFORM USEREXIT_SAVE_DOCUMENT_PREPARE to count the no of line items just before saving the document and raise an error message.

Regards,

Raghu.

Former Member
0 Kudos

Dear All

thanks for your prompt reply

With Regards

Mohammed Raees

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Please search the forum as this has been discussed many times.

G. Lakshmipathi

Former Member
0 Kudos

Fine

I will search the forum for the solution

With Regards

Mohammed Raees

Former Member
0 Kudos

Hi,

Use the userexit SAVE_DOCUMENT_PREPARE in program MV45AFZZ and tell your abaper to write the desired code.

In sap we dont have standard setting for restricting the line items in sales order.But through USER EXIT(SALES ORDER

LEVEL)we can controll the given requirement

Regards,

Saju.S