cancel
Showing results for 
Search instead for 
Did you mean: 

Contract Status in SRM & ERP

Former Member
0 Kudos

Hi Experts;

We are using SRM 7.0. classic scenario.

We are creating contracts in SRM and get transfrred to ERP.

In SRM, when I lock a contract, its status will be Locked. When I close a contract, its status will be Completed. However, in ERP, the contract status will be locked (blocked ) in both cases (the lock icon) and the table indicator is "S"

My requirement:

I need to differentiate between locked contract and deleted ones. i.e. when contract is locked in SRM, it should be locked in ERP "S", but when it is closed in SRM, it should be deleted in ERP "L".

Appreciate your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

A contract can be deleted only if there is no release happened against the contract (both in SRM and ECC)

When central contract is deleted, ECC contract can not be deleted because there might be some release happened against ECC contract.

So it makes sense to have a consistent status in backed systems. In case of locked status, the ECC contract can anyway not be used for further release.

with Regards,

Malay

Former Member
0 Kudos

Dear Malay;

Thanks for your reply. However, some time we need to delete a contracts in SRM because it was  created wrongly. When we close it in SRM, it will be only oocked in and the indicator will be "S". Is there any BADI I can be used to update the indicator as L in case of clsoing the contract in SRM?

Former Member
0 Kudos

You can make use of the enhancement spot PUR_SPOT_SE_PURGCONTR in ECC.

With Regards,

Malay

former_member183819
Active Contributor
0 Kudos

Hi

Close the contract means , it is dead, we can not do any further action on this contract.

once we close the contract in SRM and it sets the lock in the ECC.

Later you can not revise the contract.

Muthu

Former Member
0 Kudos

Hi,

Arent you on central contract which means that it can be modified only in SRM system and then distributed to the ECC system that way there can be no mismatch.

Regards,

Naveen

former_member183819
Active Contributor
0 Kudos

Lock - if we lock the contract, we can unlock it.

Close - you can not amend the contract again. it is dead and this contract has been buried.

you can find some fields on Contract Status .

Muthu

Former Member
0 Kudos

If we want to create a new version of contract in SRM 7.0 manually, is there any process? Please let us know your opinion as soon as possible.

Thanks

Santosh.

Former Member
0 Kudos

You need to create an instance of the class /sapsrm/cl_pdo_factory_ctr_Adv.

and use the instance method

/sapsrm//if_pdo_bo_ctr~update_entire_contract

and this should create a new version after passing the relevant parameters.

Hope this helps.

Regards,

Naveen