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

FUNCTION MODULE

Former Member
0 Likes
381

Hi,

In module pool two field is there, In first field have two values 1. INTERNAL, 2.EXTERNAL. if i give INTERNAL the second field should be diable automatically. with out press enter key. How can i do it? is any other function moudle is there.

3 REPLIES 3
Read only

Former Member
0 Likes
363

Hi,

use list box fopr this

1st field with internal and external values on the listbox.

use VRM_SET_VALUES fm

when you set the value it outomatically goes to PAI nad then PBO of the screen and you can now set your screen acording to the values.

no need to press enter.

<u><i><b>thanks

<REMOVED BY MODERATOR>

vivekanand</b></i></u>

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
363

It is not possible ,you have to enter any button since GUI will not support

loop at screen in PBO

loop at screen.

if not field1 is initial.

if screen-field2 = 'FIELD2'.

screen-input = 0.

modify screen.

endif.

endif.

if not field2 is initial.

if screen-field1 = 'FIELD1'.

screen-input = 0.

modify screen.

endif.

endif.

endloop.

create one module in PBO and use above logic.

There is NO FM .

Thanks

Seshu

Read only

Former Member
0 Likes
363

Hi

Enter a fn module for the first field say for eg 'internal'.

Then, case sy-ucomm.

when internal.

screen-external = invisible.

modify screen.

endcase.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo