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 fields

vidyadhar2k2
Explorer
0 Likes
364

Hi,

I have two selection screen fields, one is PO number and second one is PO item.

Now the problem is if we give the value of PO Number in first filed then the related po items should appear in the F4 value of the second field.

If possible please send the details with the code. It's very urgent.

Thanks & Regards,

Vidyadhar

2 REPLIES 2
Read only

Former Member
0 Likes
347

You can set your own search help for the item field. Then using parameter ID set the value of the PO. You can then use this value on the search help for the items.

Read only

Former Member
0 Likes
347

use FM<b> F4_FIELD_ON_VALUE_REQUEST</b>

for the field PO item..

IN this u need 2 pass an internal table dat wud b displayed as help...

This table can be populated as

Select ebelp from ekpo into table it_ebelp where ebeln in p_ebeln.

herep_ebeln is ur parameter on selection screen

Pass dis itab to the above FM

Hope dis helps..reward if it does