‎2009 Jan 05 6:26 AM
Hi all,
My requirement is when i enter network number , at that time on screen i have to display all the network number where the material number (which i have entered before on the same screen ) is used in network.
i retrieve all the network number through query, but my problem is how to display it when i enter network number.
Thanks and regards,
‎2009 Jan 05 6:34 AM
‎2009 Jan 05 6:35 AM
Hi,
in that case you need to keep only those Network numbers in the internal table which are using that material number,already entered,you may do it by 'deleting' the not required entries from the internal table and then pass this interbal table in FM 'F4IF_INT_TABLE_VALUE_REQUEST' to provide F4 help in PROCESS ON VALUE-REQUEST of the screen.
regards,
Neha
‎2009 Jan 05 8:00 AM
hi neha,
What i did is i select all network number in another int.table(Itab3, having only single field itab3-aufnr), now i want to display all the network numbers when i press F4 on the field itab-network_no.
Thanks
‎2009 Jan 05 8:04 AM
Hi Neha,
What i did is i retrieve all the numbers in one internal table(Itab3 which is having only one field) , now i want these number to be displayed when i enter network number (itab-network_no)
thanks.
‎2009 Jan 05 8:42 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:42 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:42 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:43 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:43 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:43 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:43 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:43 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:44 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM at event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
OR
if you don't want F4 you can opt for drop down by which user will have to choose from the list box.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 8:47 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM i mentioned earlier in the event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 6:38 AM
Hi,
Assign the Function Code for the network number field in the screen.
When you enter the value in this network number field, then Function code get's triggered.
Use the Sy-ucomm to handle the function cade. and write logic for this function code.
assing the FctCode in the attribute of the network number field
Edited by: avinash kodarapu on Jan 5, 2009 12:11 PM
‎2009 Jan 05 6:52 AM
Hi Khushi ,
What I suggest is that u go for the drop down in which value can be populated once the material is entered .
Thanks
Sahil
‎2009 Jan 05 7:32 AM
‎2009 Jan 05 7:38 AM
Hi Khushi,
As far as my understanding of the problem , you need to get the previous values entered in the selection screen parameter .Getting the entries before attempting to enter.
Please tell us if this is the correct problem or not as it would be helpful in resolving your query sooner.
Thanks
Srikanth.P
‎2009 Jan 05 8:10 AM
Hi shrikant,
When i enter material number on screen then by taking that matnr i write a query for getting network number,
it retrieves all the network number in another itab (itab3 having single field), now i want to display this numbers when i enter values for network number so that form that numbers i can enter the network number.
thanks.
‎2009 Jan 05 8:21 AM
hi shrikant,
when i enter a material number on screen , by comparing that matnr, i write a query and retrieves all the network numbers in itab(itab3-aufnr having a single field).
Now when i enter network number (itab-network_no) at that time i have to display all the network number form above query, so that user can select one from the list.
thanks.
‎2009 Jan 05 8:02 AM
‎2009 Jan 05 8:47 AM
Yes,
thats what i told you to pass the internal table itab3 you have populated to FM i mentioned earlier in the event "Process on Value-request" of the screen.
so when you are entering in Network number by "F4" you can get from these values and if user does not selects from F4 but enters manually still you can validate it from Itab3.
Hope i made it clear.
Regards,
Neha
‎2009 Jan 05 9:04 AM
hi neha,
how to pass these values to drop down box. what field name should i give.(itab-network_no or itab3-aufnr)
thanks
‎2009 Jan 05 9:14 AM
Hi,
you said you want F4 right?
so for that the Screen fieldname you have given to the field of Network number you have to pass that,like for Network Number your screen fieldname is P_NETWORK_NO,then use it like
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = <return field as per your case>
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = P_NETWORK_NO
window_title = l_window_title
value_org = 'S'
TABLES
value_tab = ITAB3
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Please check the "Where Used" of this FM
Regards,
Neha
‎2009 Jan 05 11:05 PM
‎2009 Jan 06 7:13 AM