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: 

Screen

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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