‎2009 Jul 22 11:36 AM
Hi experts,
I have created a module-pool n I have f4 based on value request.
But I need to have diff f4 values based on if else condn.
d field is mat no.(matnr).
der r 2 condns.
in 1 condn I have values which i m populating it in f4 thru f4 value request FM.
another is a std f4 help which is MAT1.
I need to call dese f4 based on conditions.
ne idea how can v achieve dis.
I want d std f4 help to triger based on 1 condn n oder f4 values(which i have in internal table) based on oder condn.
Thanx in advance.
‎2009 Jul 22 11:41 AM
Hi,
Try putting your conditioin in
Module Pool event "PROCESS ON VALUE"
Regards
Milan
‎2009 Jul 22 11:43 AM
Dear Anil,
Use event
At selection-screen on value-request for S_field.
and then use these FM
DYNP_VALUES_READ
PLM_GET_SUBORDINATE_EQUIPMENTS
Hope this will solve your proble.
Regards,
Vijay
‎2009 Jul 22 11:45 AM
‎2009 Jul 22 11:46 AM
‎2009 Jul 22 11:55 AM
Hi,
Try this way.
PROCESS ON VALUE-REQUEST.
FIELD MARD-MATNR MODULE f4_for_matnr.
I hope that it helps you.
Thanks
Venkat.O
MODULE f4_for_matnr INPUT.
IF condition 1
" Use F4IF_INT_TABLE_VALUE_REQUEST function module to build internal table with values and display as f4 help.
else condition 2.
" Use DD_SHLP_CALL_FROM_DYNP function module to show search help created in dictionary.
endif.
ENDMODULE.
‎2009 Jul 22 12:30 PM
‎2009 Aug 12 3:36 PM
Hi all,
In my dialog programming table control i am having 10 column fields.
In one of my column field i am having List box with different status types.
user will select any status in the column field I have to show related documents for that status when user is going to the document column field..
I have used Process on value-request .
I want to populate the F4 values based on user selected in the status column field ( List box)
User wonu2019t select the ROW of the table. Just they will go any row with out selecting ROW just they change the status from the list box.
I want to find how I will know the latest status value they changed while populating F4 values for the document of the row.
I tried
get cursor line ln.
I tried with get cursor field fl vale g.
Even then I am not getting the latest value of the status.
but I can find the line . I donu2019t know the entire row (Work area) of the line.
I donu2019t know the exact changed value of the status .
if I am getting the changed status value I will get the related document from the table and populate the F4 values.
if i am trying to find the changed field value from the internal table i am not getting new changed value only old value available.
I need the latest changes of entire row field values
Kindly help me how to proceed further.
thanks in advance.
sharma
‎2009 Jul 22 11:43 AM
‎2009 Jul 22 11:47 AM
Hi,
In PROCESS ON VALUE-REQUEST event write the module for the field which you want to dissplay the F4 values.
In the screen if you define that MATNR field from the table, automatically that F4 will come. so, in the module if the 1 st condition satisfies do not call the F4 help function module. so it will get the standard F4 values. if it satisfies the 2nd condition then only call the F4 help FM. it will display F4 values from your internal table.
Regards,
Bhavana