cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Contract - Contract Data Tab - Cancellation of a Sales Contract

Former Member
0 Kudos

Hello All,

I am trying to understand how the Cacellation of a Contract works. Currently we have setup Control Cancellation via configuration.

First Issue: When I can cancel a Sales Contract - It does change the Contract end date to what i have input. But in document flow it shows "open" status.

Second issue: If even though I have all the fields populated for cancellation. I am still able to create a Sales Order against that Contract.

Configuration Control Cancellation: 1. Have defined the Cancellation Reason. 2. Have defined Cancellation Procedures. 3. Have defined Cancellation Rules. 4. Haved Assigned Cancellation Rules & Cancellation Procedures.

Workout around solution: If I reject the line item it does close out the Contract and in Document flow it sets the status to "Completed"

My thoughts were on Cancellation was that if I cancel a Contract shouldn't it close out the Contract and in document flow should set the status to complete? Am I wrong? Do I have to use rejection at the line item and cancellation procedure?

Thank you in advance for any inputs on this issue.

Thank you,

Nav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

this is to inform you that,

1.a. yes it is.

2.a. it will throw you a warning message before creating a sales order against contract make it from warning to error message.

3.a. this is a development for making the status completed for this you need to check the tables - VBUK, VBUP & VBFA.

NOTE: dont use contract is completed status for your requriment.

hope this is clears your issue

balajia

Former Member
0 Kudos

Hi Balajia,

Thank you for your response, it was very helpful. I have one more quesion.

How do I change the warning to an error message? So that user would not be able to create a sales order against contracts that have been cancelled.

I found the program SAPLV45C - Message type V2057 and the coding states:

IF vbak-gueen > 0 and

vbak-gueen < sy-datlo

WRITE vbak-guebg TO bp_datum_ausgabe.

MESSAGE w057 WITH bp_datum_ausgabe.

message_collect_lord_copy.

END IF

Answers (0)