cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom button on std PMD screen

bhakti2
Active Participant
0 Kudos

I need to add a button on a standard screen of employee performance mgmt.

A new screen should open up on click of this button which is a simple custom screen

I clicked on application configuration HAP_AC_PMP_MAIN and went to component configuration

I did "Add Tool bar element" and "Other Functions" option and added a button TEST

I gave action name BTN_TEST

Where can I do coding for this BTN_TEST ?

I know method process_event in component controller of HAP_PMP_MAIN

but how do I do the coding ? it asks for access key........

thanks

B

Accepted Solutions (0)

Answers (2)

Answers (2)

bhakti2
Active Participant
0 Kudos
ChandraMahajan
Active Contributor
0 Kudos

Hi,

your code will be as follow (In PROCESS_EVENT)

IF io_event->mv_event_is_validating = abap_true.

*Local checks and report messages

ENDIF

CASE io_event->mv_event_id.

WHEN XYZ

*Handle event and fill EV_RETURN accordingly with a value from IF_FPM_CONSTANTS~GC_EVENT_RESULT

ENDCASE.

Refer http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452c...

Thanks,

Chandra

bhakti2
Active Participant
0 Kudos

hi Chandra,

thanks for the response

how do I write code to start new application in a new screen for this button ?

thank you

B