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

MODULE POOL:MAKING A PARAMTER FIELD INVISBLE

Former Member
0 Likes
641

Hi Experts,

i have screen 9000 on which there are 2 radio buttons for 'YES' and "NO'

when i click on "YES" , on screen 9001(next screen to 9000), the field "Name " should be displayed.

when i click on "NO", on screen 9001(next screen to 9000), the field "NAme" should not be displayed.

How to achieve this module pool??? kindly help.

Hi Experts,

i have screen 9000 on which there are 2 radio buttons for 'YES' and "NO'

when i click on "YES" , on screen 9001(next screen to 9000), the field "Name " should be displayed.

when i click on "NO", on screen 9001(next screen to 9000), the field "NAme" should not be displayed.

How to achieve this module pool??? kindly help.

4 REPLIES 4
Read only

Former Member
0 Likes
620

Hi

In Screen 9001 keep a field (V_NAME) for displaying the Name or NAme

in 9000 PAI based on the radio button populate that value to that field v_name

if r1 = 'X'.

v_name = 'Name'.

else.

v_name = 'NAme'.

endif.

Check the below link:

http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F

http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm

http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm

http://sap.mis.cmich.edu/sap-abap/abap09/index.htm

http://www.geocities.com/ZSAPcHAT

http://www.allsaplinks.com/files/using_table_in_screen.pdf

http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm

http://www.sapdevelopment.co.uk/dialog/dialoghome.htm

http://www.sap-img.com/

http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm

http://www.sapgenie.com/links/abap.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm

You can also check the transaction ABAPDOCU which gives you lot of sample programs.

Also you can see the below examples...

Go to se38 and give demodynpro and press F4.

YOu will get a list of demo module pool programs.

One more T-Code is ABAPDOCU.

YOu can find more examples there.

See the prgrams:

DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement

DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB

http://www.geocities.com/ZSAPcHAT

http://www.allsaplinks.com/files/using_table_in_screen.pdf

Regards

anji

Read only

Former Member
0 Likes
620

what you need for this is the addition NO-DISPLAY of the parameters statement.

Read only

Former Member
0 Likes
620

based in the radio button value loop screen. and modify the screen elements in the PBO of screen 9001.

write the following code in PBO of screen 9001.

loop at screen.

if screen-name = 'NAME'.

screen-input = '0'.

modify screen

endif.

end loop..

Read only

Former Member
0 Likes
620

Hi,

I the PBO of 9000 write the code

If radiobutton 'YES' (screen 9001) = X.

if screen-name = 'Name'.

screen-invisible = ' '.

modify screen.

endif.

elseif radiobutton 'NO (screen 9001) = X.

if screen-name = 'Name'.

screen-invisible = ' X'.

modify screen.

endif.

endif.

Reward points if this resolves ur query.