cancel
Showing results for 
Search instead for 
Did you mean: 

User defined action in cFolders

Former Member
0 Kudos

Hi,

I want to add a button in cFolders. This is to be displayed along with the standard buttons of cFolders such as "Create" "Delete" etc.

I want to perform some action on the click of this button. How can i achieve this?

Regards,

Reema

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey got confused with user defined action and buttons..

See all you have to do is go to SPRO transaction, create a user def BUTTON. Then implement the BADI CFX_BUTTON.

Apply the filter for this implementation as the ID of the button you have created

during the creation of the button in the object type field give the object type like .. fol - folder etc. do a F1 you will see it..

Murugesh

Former Member
0 Kudos

Hi

Do u want to add your function to use it as a system functon by using CALL

then i think you have to modofy "sapactab.h" .

If you change or recreate a function, you have to compile and link the SAP kernel again. For this, you need the C source code files.

regards

siddharth

Former Member
0 Kudos

Hi

I am not sure about adding a button though..i can tell you about how this can be achieved in a different way ...

Hope i am not repeating things you already know..

you can create a user defined action, and implement the BADI CFX_STATUS_TRANS...

This action will appear on the actions section of your status screen.

Assign this status profile to your object. (Folder Material etc)

So when this status is reached your BADI implementation will be called.

regards

Murugesh