cancel
Showing results for 
Search instead for 
Did you mean: 

BBPCF02 / BBPCF03

Former Member
0 Kudos

Hi Expert,

Please tell me where can I change the BBPCF02 / BBPCF03 screen because I want to hide some of the field or disable the field.

Thank you.

Regards,

Henry

Accepted Solutions (1)

Accepted Solutions (1)

former_member206968
Active Contributor
0 Kudos

Hi,

Right click on the ITS screen when you are in this transaction and do a 'view source', you will get the program name and screen name,HTML template name. You can either directly modify html template or use 'bbp_ui_control_badi' to hide fields.

Regards,

Sanjeev

Former Member
0 Kudos

Hi Sanjeev,

I have found the template in SE80, under BBPSEARCH, SAPLBBP_PDH_SEARCH 1000.

I think it is using javascript which I'm not familiar with. I manage to hide the requestor text box, but I'm not able to hide the label. Eventhough the text box is hide, the requestor label still appear.

Issue is at below code for the label. I think it's not possible to hide the standard field for the confirmation screen.

`if(j == 4 || GV_ADDITIONAL_CRITERIA.value == "X" || SELECT_FIELDS-NAME.dim < 4);

if(numberOfFields == 4 || j == SELECT_FIELDS-NAME.dim);

TR();

repeat with k from 1 to numberOfFields;

TD(class="label",nowrap="X");

fieldlabel = fieldlabelTab[k];

fieldname = fieldnameTab[k];

if(fieldname == "GS_SEARCH_FIELD-CATEGORY");

fieldname = "GS_SEARCH_FIELD-CATEGORY_GUID" ;

end; `

<label for="`fieldname`">

`if(^fieldlabel.label != "");

^fieldlabel.label;

elseif(^fieldlabel.value != "");

^fieldlabel.value;

end;`

</label>

`TD(class="space");`&nbsp;

`end;

TR();

Regards,

Henry

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Henry,

You can use the BBP_UI_CONTROL_BADI.

Method: BBP_CONF_UI_CTRL

Parameters: CV_INVISIBLE - To hide the fields

CV_INPUT_READY- To make the field read-only.

Also see if you can use any screen variants that are present for the confirmation screens in transaction SHD0.

Hope this helps.

Thanks,

Pradeep

Former Member
0 Kudos

Hi,

BADI: BBP_UI_CONTROL_BADI.

Method: BBP_CONF_UI_CTRL

Above can not work with Confirmation as there is not attribute for fieldname.

Thanks.

Regards,

Henry