cancel
Showing results for 
Search instead for 
Did you mean: 

Status Profile for Contracts

Former Member
0 Kudos

Dear Gurus,

I am configuring for assigning Status Profile for contracts. I have created two status's 'CRET' and  'RELS'. I want it to happen like whenever contracts get created it should be in CRET status and blocked. Then contract is released manually and the status is 'RELS' and now it can be referred to create sales order. But if someone do change/changes in that contract, it should automatically go into status 'CRET' and should be blocked.

I have done settings as shown below:

Please Guide me through.

Regards

Prashant Bade

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prashant,

What you can do is,

Using above user exit if Tcode is VA42 and current status is "Released"  then change status to initial i.e. Created.

If current status is "Created" then skip the usrexit.

Otherwise it will not allow to change the status.

Regards,

Nilesh

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

The following user exits will work

  • USEREXIT_SET_STATUS_VBUK
  • USEREXIT_SAVE_DOCUMENT_PREPARE