2015 Oct 14 12:36 PM
Hi All,
Iam having a Table Contol in Module Pool Program, I need to select a value through F4 Help in the Field A,
After selecting a value in Field A. I need the Fields B and C get displayed with the data based on Field A
For Eg: if we select a material code in Field A, we should get Material Description and Material Type in Fields B and C respectively.
Kindly help..
Thanks,
Ravi
Hi All,
Iam having a Table Contol in Module Pool Program, I need to select a value through F4 Help in the Field A,
After selecting a value in Field A. I need the Fields B and C get displayed with the data based on Field A
For Eg: if we select a material code in Field A, we should get Material Description and Material Type in Fields B and C respectively.
Kindly help..
Thanks,
Ravi
2015 Oct 14 12:41 PM
As usual provide f4 help to field matnr
Then,
In PAI for the field MATNR
write a module get_detail.
In that write a select statement to get the description and type.
Example:
In PAI
FIELD WA_MATNR MODULE display_data.
MODULE display_data INPUT.
select desc and type from makt and mara where matnr = wa_matnr
and assign the value to the appropriate screen field.
ENDMODULE.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |