cancel
Showing results for 
Search instead for 
Did you mean: 

Order w/out line item

former_member461383
Participant
0 Kudos

D/f,

In our sales cycle scenario, weu2019re creating sales order with reference to Contract. Therefore line items are automatically picked from contract. But the issue is that if weu2019re deleting all the line items in the Sales Order even then also order is getting saved.

We want that Sales order should not be saved if all the line items are deleted. Weu2019ve tried to put line item data in the incompletion log but it is not working.

Hence pls suggest how should we make the system give an error if all the line items are deleted. Is there any way in std. to achieve this or only development can do this?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member461383
Participant
0 Kudos

Thanks.

Former Member
0 Kudos

Hi,

This is the standard SAP behaviour.

...Seems development inside a relevant include is the only fix to achieve this.

Regards,

Anubhav

Lakshmipathi
Active Contributor
0 Kudos

Try with USEREXIT_SAVE_DOCUMENT in program MV45AFZZ

G. Lakshmipathi