Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change status on Contract (RECN) to Account Assignment Locked?

alan_alis
Explorer
0 Kudos

I'm implementing a BADI enhancement in RECN. I'm wondering if there is a function module or a class method I can use so I can be able to change status of the contract to 'Lock Account Assignment' from inside my BADI implementation.

6 REPLIES 6

Former Member
0 Kudos

Use the function module STATUS_CHANGE_INTERN_VB to change the status.

Reward if it is useful.

Thanks,

Srinivas

0 Kudos

That function belongs to SD module. I'm working on REFX (Flexible Real Estate) module. Thanks anyway!

Former Member
0 Kudos

Hi,

Please try this BAPI "BAPI_RE_CN_CHANGE". This can be used to change many other things.

Thanks,

Anil

0 Kudos

I've been using BAPI_RE_CN_CHANGE a lot for sometime now but I was'nt able to use it this time for this particular problem. Thanks!

alan_alis
Explorer
0 Kudos

I noticed this question has been left open for a long time. I actually figured out the solution. Here it is.

CALL FUNCTION 'API_RE_CN_CHANGE'

EXPORTING

IO_OBJECT = IO_OBJECT

ID_TRANS = 'MSSK' .

Former Member
0 Kudos

Hi Allan,

can you please post here some sample (better part of code) of use of this API_RE_CN_CHANGE or of BAPI function BAPI_RE_CN_CHANGE for make changes of the user status?

i need it very urgently

thx