cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Custom defined button in C-folder

Former Member
0 Kudos

Hello,

I am trying to add a new button in C-folders.

I have performed following steps.

1) Added the button in transaction CFX_UD_BUTTON .

2) Created implementation for BadI CFX_BUTTONS with filter type as button defined above, and in method BEFORE_BUTTON_DISPLAY. added code

e_display = 'yes'.

e_enable = 'yes'.

Still the button is not getting displayed.

Please suggest if I am doing anything wrong or I need to do some more settings.

Thanks in Advance.

Regards,

Kunal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the SPRO did you give the object type ID

Name (Alias)

Name button1

QuckInf:(Alias)

Quick Info button1

ObjectType (ID) <b>fol</b>

ObjectTyp(Namespace)

Place

To know the values that can be given in the type id do F1 on the text box.

regards

Murugesh

former_member189058
Active Contributor
0 Kudos

Dear Kunal,

I have done the following settings and the button is very well displayed.

SPRO:

Define user-defined buttons:

ButtonID : Z_BUTTON_TEST

Name: Button for Test

Quick Info: Information on Button for Test

Object Type (ID): fol

Place: List of contained objects

Note:

1. You should not define the Object Type(Namespace) If you use the IDs supplied with the standard system. for example, you enter doc as the ID and do not define a namespace, the button appears for all documents.

2. Object Type (ID) can have these values: col - for Collaboration

area - for Work area

fol - for Folder

doc - for Document

mat - for Material

structure - for Material BOM

Apart from the SPRO settings, I have implemented the BADI CFX_BUTTONS.

Method BEFORE_BUTTON_DISPLAY:

E_DISPLAY = 'yes'.

E_ENABLE = 'yes'.

E_EMPHASIZE = 'yes'.

Note that the filter ID of this BADI is the Button ID (Z_BUTTON_ID in this case)

Regards,

Reema.

Pl award points if this answer solves your problem.

Close the thread if your problem is solved.

devrajsinghr
Active Participant
0 Kudos

Hi Reema,

Can you share a SPRO path for config & Screen shot document.

Regards

Devraj