Skip to Content
1

CKMLCP Screen Exit.

Dec 09, 2016 at 07:28 AM

82

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Dec 09, 2016 at 07:39 AM
1

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

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

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

1
Former Member
Raymond Giuseppi

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

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...

0
avatar image
Former Member
Jan 02, 2017 at 09:42 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded