cancel
Showing results for 
Search instead for 
Did you mean: 

Assignment lock for contract-BAPI_RE_CN_CHANGE

Former Member
0 Kudos

Hi Team,

We are using BAPI BAPI_RE_CN_CHANGE to insert new conditions in contract.

Is it possible to have 'assignment lock' (Like master data lock-PSSM) using same BAPI.

I tried passing 'PSSA'  to 'TRANS' but it is returning error:

call function 'BAPI_RE_CN_CHANGE'

   exporting

     compcode                  = 'XYZ'

     contractnumber            = 'ABC'

    CONTRACT                  = wa_cont

    CONTRACT_X                = wa_contx

*   TERM_RENEWAL              =

*   TERM_RENEWAL_X            =

*   TERM_NOTICE               =

*   TERM_NOTICE_X             =

     trans                     = 'PSSA'


Error:"Lock assignment" is not allowed.


When we change contract manually, automatically this is happening.Please find the screen shot for same.



Thanks in advance,

Greeshma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

Account assignment lock happened by passing ' MSSK'

Thanks,

Greeshma

Answers (0)