2016 Dec 09 7:28 AM
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.
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.
2016 Dec 09 7:39 AM
2017 Jan 02 5:41 AM
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.
2017 Jan 02 10:16 AM
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
2017 Jan 03 9:47 AM
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.
2017 Jan 03 9:56 AM
2017 Jan 02 9:42 AM
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