Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CKMLCP Screen Exit.

Prashant4
Explorer

Hi Folks,

I need to add custom button either on toolbar or end of flow step in CKMLCP transaction. Kindly let me know BADI or Screen exit available for this transaction.

Regards,

Prashant Sharma.

6 REPLIES 6

raymond_giuseppi
Active Contributor

Did you look for implicit enhancement options in forms like SET_STATUS_AND_TITLEBAR and UCOMM_AFTER_SC_100 or explicit enhancement options of Enhancement sports ES_CKML_RUN_DISPLAY_MATERIALS?

Regards,
Raymond

0 Kudos

Thanks Raymond,

By using implicit we can add our custom logic depending upon user action but to add custom button on toolbar of CKMLCP I need to SAP Key which I don't want and the enhancement spot ES_CKML_RUN_DISPLAY_MATERIALS isn't triggering after any process of cost estimation like selection or post closing.

Regards,

Prashant Sharma.

No need for sscr key, create a copy of MAIN status of function group CKML_RUN_COCKPIT in a Z program and use a SET PF-STATUS OF PROGRAM zprog in the implicit enhancement option at the end of SET_STATUS_AND_TITLEBAR I already suggested in my first answer.

Regards,
Raymond

0 Kudos

Thanks Raymond,

I got your point to create a copy of standard cockpit but I'm looking for any standard BADI or exit for the same.

Regards,

Prashant Sharma.

0 Kudos

I provide you the form that set the pf-status, so you can easily look for any potential BAdI/Exit that change this result, but their very existence isn't automatic...

rgore
Advisor
Advisor
0 Kudos

Hi Prashant,

You can copy the GUI Status MAIN of the program SAPLCKML_RUN_COCKPIT to a custom GUI status and add the required button in the copied GUI status.

Then create a implicit enhancement at the subroutine SET_STATUS_AND_TITLEBAR and use the SET PF-STATUS XXX OF PROGRAM statement to activate your own GUI status.

Regards,

Rakshith Gore