12-14-2006 12:54 PM
Hi,
I have to modify TCODE KKS5 and change the paramter field for plant into a range(select-options type). How do I go about it? any suggestions?
Regards
Abdullah
12-14-2006 1:03 PM
Hi
That program is a module pool so you have to create a subscreen in order to insert a selection-screen.
In TOP include
SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN.
SELECT-OPTIONS: SO_WERKS FOR KKS00-WERKS.
SELECTION-SCREEN END OF SCREEN 001.
In the screen 0200 of SAPMKKS0, you have to inert a subarea instaed of the input/output field KKS00-WERKS.
In the logic flow of the dynpro 0200 call the subarea:
- PBO
CALL SUBSCREEN <SUBAREA> INCLUDING SY-REPID '001' .
- PAI
CALL SUBSCREEN <SUBAREA>.
max
12-14-2006 1:03 PM
Hi
That program is a module pool so you have to create a subscreen in order to insert a selection-screen.
In TOP include
SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN.
SELECT-OPTIONS: SO_WERKS FOR KKS00-WERKS.
SELECTION-SCREEN END OF SCREEN 001.
In the screen 0200 of SAPMKKS0, you have to inert a subarea instaed of the input/output field KKS00-WERKS.
In the logic flow of the dynpro 0200 call the subarea:
- PBO
CALL SUBSCREEN <SUBAREA> INCLUDING SY-REPID '001' .
- PAI
CALL SUBSCREEN <SUBAREA>.
max
12-14-2006 1:07 PM
Thanks Max. Your reply was timely and it confirmed the assumptions I had. Thanks once again