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

Automatically populate input values

Former Member
0 Likes
442

Hi,

If I input some value in one selection fields parameter. Based on the input value its should populate remaining input fields automatically on selection screen. How can it be done.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
399

Hi,

try this way...


parameters : p_vbeln type vbap-vbeln  USER-COMMAND 'A',
                     p_posnr type vbap-posnr.
AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF screen-group1 = 'A'.
        select single posnr from vbap into p_posnr where vbeln = p_vbeln.
      ENDIF.
    ENDLOOP.

Prabhudas

Read only

Former Member
0 Likes
399

Moderator message - Please search before asking - post locked Rob