The content you are trying to access is permanently deleted.
‎2005 Dec 29 7:42 AM
Hi
I have three parameters on selection screen 1. Process order number, 2.Order category and 3. order type.
My requirement is:
As i press F4 on order number and select one of the available orders, the other two fields should populate automatically with their correnponding values.
Is there any Function module for this purpose?
Thanks in advance,
Alok
‎2005 Dec 29 7:48 AM
There is no function module, I think for this. You can handle it programmatically in the event at-selection-screen on value-request for ..
‎2005 Dec 29 7:50 AM
hi,
use this FM F4IF_INT_TABLE_VALUE_REQUEST and on pressing
f4 for that field you will find the popup to select
and from there you will get the selected values..
populate the other fileds from the values which you have selected..
vijay
‎2007 Sep 01 9:27 AM
Hi.
u can do like this.
after u got the f4 help on the first field and got the contents of the first field..then
first using this FM DYNP_VALUES_READ u can see wat are the contents of the parameters entered by the user..then using FM DYNP_VALUES_UPDATE u can set the contents of the otehr fields with the values as per ur wish.
boht the things shld not be written in START-OF-SELECTION.
i hope this will soLve ur pbm as i had simliar requrement
Nilesh
Message was edited by:
Nilesh
‎2007 Sep 01 9:48 AM
Hi Alok..
Check this FM:
F4IF_INT_TABLE_VALUE_REQUEST
This FM is used to dsiplay values stored in an internal table as input help.
This FM is used to program our own custom help if no such input help exists in ABAP dictionary for a particular field.
The parameter VALUE_TAB is used to pass the internal table containing input values.
<b>The parameter RETFIELD is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.
</b>
If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = field from int table whose value will be returned
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'screen field'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = internal table whose values will be shown.
RETURN_TAB = internal table of type DDSHRETVAL
EXCEPTIONS
parameter_error = 1
no_values_found = 2
others = 3.
<b>reward if Helpful</b>
‎2007 Sep 01 10:07 AM
Hi,
If these fields are in your customized table,You can use search help in se11 without any function module.
Create search help for each field you want to display. choose import and export.
at last add search help in your table.