Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Display Material Details after selecting Material Number in Module Pool screen.

RohitSingh
Explorer
0 Kudos
1,383

Hi, I am a beginner. I am working in a module pool, i have one input field in which i have to select a material number from F4 and accordingly it should display its description in the "Output Only" text field on the screen. What code i have to write in Process On Value Request.

1 ACCEPTED SOLUTION
Read only

UweFetzer_se38
Active Contributor
686

My suggestion would be: don't implement the "Process On Value Request". The F4 help is triggert automatically on material number.

The standard behaviour would be "on enter". If you've selected the material number via F4 and press enter, the material text should be read and displayed in the text field.

PROCESS AFTER INPUT.
FIELD materialnumber MODULE read_material_text ON REQUEST.
3 REPLIES 3
Read only

UweFetzer_se38
Active Contributor
687

My suggestion would be: don't implement the "Process On Value Request". The F4 help is triggert automatically on material number.

The standard behaviour would be "on enter". If you've selected the material number via F4 and press enter, the material text should be read and displayed in the text field.

PROCESS AFTER INPUT.
FIELD materialnumber MODULE read_material_text ON REQUEST.
Read only

0 Kudos
686

So, do i have to use function module in the "read_material_text"?

Read only

0 Kudos
686

You can use a function module or read the database table (hint: it's MAKT) directly, whatever you like more.