Application Development and Automation 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: 
Read only

Screen

Former Member
0 Likes
520

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
485

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

2 REPLIES 2
Read only

Former Member
0 Likes
486

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

Read only

0 Likes
485

Thanks Max. Your reply was timely and it confirmed the assumptions I had. Thanks once again