cancel
Showing results for 
Search instead for 
Did you mean: 

Controling the printing of the real estate contracts

AntonPierhagen
Active Participant
0 Kudos

Hi all

In the transaction RECN a form can be printed.

In the SPRO we have customized several forms. Also we have customized several contract types.

Not all the forms are usefull for all the contract types. And should not be printed.

So when a contract type is chosen we would only print the forms which are linked to the chosen contract type.

I haven't found any customizing which can achieve this, so we want to build some custom development.

The link between the form and the contract type is going to be stored in a table.

and via a custom enhancement we would like to check this.

But, Is there any BADI or user exit which can be used to make this work? So if the user wants to print a form, the list in the print properties pop-up would only shows the forms which are linked to the chosen contract type?

Kind regards,

Anton Pierhagen

Accepted Solutions (0)

Answers (1)

Answers (1)

franz_posch
Active Contributor
0 Kudos

Hi Anton,

could you please check out the customizing setting for correspondenc in RE-FX:

- Define Correspondence Applications and Assign Correspondence Activities

- Enhancements

Here you can assign a correspondence activity depending on the field 'Differentiating Characteristic'.

This field can be filled with BAdI BADI_RECP_SF, method GET_DIFF_CHARACTERISTIC.

There is an example implementation for the BAdI available (class CL_EXM_IM_RECP_SF) that shows coding that fills the differentiation characteristic with the contract type.

In 'Enhancement' you find the activity to define the differentiating characteristics an also the BAdI.

I hope this helps.

Regards, Franz

AntonPierhagen
Active Participant
0 Kudos

Thanks!