cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields are enabled in display mode

Former Member
0 Kudos

Hi,

When I added custom fields to contract in structure INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_CTR,

the new fields are enabled for input in display mode.

The SAP note for adding new fields doesn't inform about additional screen control steps.

And BADI BBP_CUF_BADI_2 doesn't have MODE as input parameter.

Please let me know if any other steps have to be performed.

Regards,

Kamal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi KAMAL,

Have you pass the value to the fields as below in the badi.

ls_et_fields-xinput = ' X'.

ls_et_fields-xdisplay = 'X'.

Regards,

Sachin

Former Member
0 Kudos

Hi,

Yes, I have passed the required flags in the BADI.

The custom fields are enabled for input in create & change mode. But in display mode also, these fields are enabled for input.

Regards,

Kamal

Former Member
0 Kudos

Hi,

You can check the condition in BADI at Display Button Click.

For Example.

If F_Code = 'BUTTON_DISPLAY'.

x_input = ' '.

x_display = 'X'.

endif.

Regards,

Sachin

Former Member
0 Kudos

Hi Kamal,

Please go through the following OSS Notes:

Note 1288634 - Possible to change table-type cust fields in display mode

Note 1163752 - Unable to set display-only customer fields in change mode

Note 1248097 - (2)Unable to set display-only customer

Thanks,

Pradeep

Former Member
0 Kudos

Thanks Pradeep.

Note 1288634 has solved the problem.

Regards,

Kamal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kamal,

In BBP_CUF_BADI_2 use the method MODIFY_SCREEN.

Here use the parameters:

ET_FIELDS-XDISPLAY, ET_FIELDS-XINPUT to enable and disabling the fields and also for hiding the fields.

Thanks,

Pradeep