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

selection screen out put

Former Member
0 Likes
583

HI ,

i designed selection screen with two fields,

that is contry fied

when i selectd this contry field automatically second field should display relevent plants in list display formate.

<< Removed >>

Edited by: Rob Burbank on Jun 17, 2009 11:53 AM

5 REPLIES 5
Read only

Former Member
0 Likes
556

Hi,

Use the AT-SELECTION SCREEN event.

When you enter value in the first parmeter; populate the other parameter or select-options.

Regards,

Ankur Parab

Read only

former_member229729
Active Participant
0 Likes
556

Hi,

AT SELECTION-SCREEN ON FIELD <FIELDNAME1>.

<FIELDNAME2> = New value.

Rgds,

Ramani N

Read only

Former Member
0 Likes
556

Hi,

To read country value dynamically, use function module READ_DYNPRO_VALUES (FM name may not be exact) in F4 help of plant. Using this FM, you will get actual country value entered and then select plants from relevant table T001 / T001W / T001K.

Let me know if you need further explanation.

Regrads,

Anil Salekar

Read only

Former Member
0 Likes
556

HI,

Try with call function 'VRM_SET_VALUES'. in the event AT SELECTION-SCREEN OUTPUT.

    • Set list box with value

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

ID = NAME

VALUES = LIST.

Thanks

kumar.

Read only

Former Member
0 Likes
556

hi raj,

*u can define that country field as a check box as:
parameters : p1 as checkbox type c user command uc,
                   p2 type bukrs modif id m1 no-display. " and plant as another normal parameter


* then at selection screen output event

at selection-screen output.

loop at screen.
   if scree-group1 = 'M1'.
      if p1 = 'X'. "checking the checkbox to be filled or not
          screen-active = 1.
      else.
          screen-active = 0.
          clear : p2. " for next time use
      endif.
      modify screen.
    endif.
endloop.

hope this helps

and for your list requirement u can provide a F4 functionailty or can use VRM_SET_VALUEs as instructed in above posts for P2.

Edited by: soumya prakash mishra on Jun 17, 2009 7:54 PM