cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate/Copy Contract details from one company code to another

Former Member
0 Kudos

Hi,

We are planning to migrate/copy some contracts from one company code to another.

I've read a related post regarding this, but I would like to know more about the steps on how to do it and if it is possible also to copy the conracts' present contract numbers and other contract details to the new company code.

Thank you so much.

Accepted Solutions (0)

Answers (1)

Answers (1)

franz_posch
Active Contributor
0 Kudos

Hi Rachelle,

you can use BAPIs in RE-FX.

1. BAPI_RE_CN_GET_DETAIL to read the contract data

2. Change the data according to your requirements

For example it may be necessary to change the adjustment parameters ..

3. BAPI_RE_CN_CREATE to create the contracts in the new company code

If you want to have the same contract number you would have to switch to external numbering in the new company code.

Regards, Franz

Former Member
0 Kudos

Hi Franz,

I'm also trying to do the similar migration as Rachelle. But, we are still using RE classic and hence BAPIs in RE-FX are of no use to us.

I have been trying to find the function modules or BAPI for RE classic without success. I also tried to use batch recording and encountered problems at conditions tab.

Any help or suggestions would be appreciated.

Cheers!

Former Member
0 Kudos

When i do that with these 2 FM, the endate (RECNENDABS), is not filled with enddate of original contract.

Any ideia ?

Even this field is not present in BAPI_RE_CN_CREATE, also renewall rule is not activated in new contract, as it was in original contract.

Thanks & Regards

PCA