|
How to code this in ABAP:
tables: kna1.
when input value in the country field, the F4 input
help should show customer number of that country only. This
should occur on the selection screen.
Here is the complete code for your reference: First it will fetches the data that user had selected for the country using the function module "DYNP_VALUES_READ" and store the values in the scrnvalues table for the field name 'country'. From there we read the values of the field using the field name fldvalues-fieldvalue and check for the table KNA1 and store it in the itab. Then we call the function module " F4IF_INT_TABLE_VALUE_REQUEST" and pass the itab to display for the help. All these are done on the event AT SELECTION-SCREEN ON VALUE-REQUEST. See the sample code below.... ******
*** INTERMEDIATE VARAIBLE TO STORE THE VALUES OF SELECTED
FIELDS***
AT SELECTION-SCREEN ON VALUE-REQUEST FOR CUSTNO.
*** SINCLE WE HAVE 1 FIELD RETREIVE THE VALUE AT INDEX
ROW 1.
** STORE THE RETERIVED VALUES IN THE INTERNAL TABLE****
** FUNCTION TO ATTACH THE INTERNAL TABLE WITH FIELD VALUE
***
start-of-selection.
--> End of Abap coding |
|
See Also:
Tables
ABAP Books List
Smart Forms
ABAP Menu:
Return to Index:-
(c) www.gotothings.com All material on this site is Copyright.
|