‎2007 Nov 05 1:25 PM
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
‎2007 Nov 05 1:28 PM
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.
‎2007 Nov 05 1:30 PM
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