10-24-2007 4:15 PM
I am using selection screen drop down in my Program using the function module
'F4IF_INT_TABLE_VALUE_REQUEST'. This is used to drop down on Customer Number. I also have Sales Organization in the selection screen which I need to use to retrieve Customers for specific Sales Organization in the dropdown. But my problem is that, the Program does not know the Sales Organization value that I entered by the time it retrieves Customer values from the table. Here is part of the code...
select-options : s_slsorg for vbak-vkorg default '8200' obligatory,
s_part for edidc-sndprn obligatory, ...
at selection-screen on value-request for s_part-low.
select zzcust from ztsd_dsdc_cust into table itab where zzsorg in
s_slsorg. (At this point, s_slsorg is still 8200 even if I change it to some other value)
call function 'F4IF_INT_TABLE_VALUE_REQUEST' ....
10-24-2007 4:20 PM
Hi,
you can use DYNP_VALUES_READ function module to get values from selection screen. Use this fm and get values of Sales Org entered on selection screen, pass this values and populate customers, now these customers you can display in search helps.
ashish