Application Development 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: 

F4 Help for MATNR should populate MAKTX field aswell

former_member1245113
Active Contributor
0 Kudos
864

Dear Gurus,

parameters : p_matnr type matnr, p_maktx type maktx.
when i take F4 help on Matnr the corresponding Material Description should also be transferred to P_maktx

I implemented this very long back , i need this to be implemented again, please provide me the required inputs

I damn stuck up here.

Cheerz

Ramchander Rao.K

1 ACCEPTED SOLUTION

Former Member
0 Kudos
341

i see you give solution also to the same in one of the similar threads..

combination of dynp_values_Read and F4_int / Dynp values update will lead to the result.

Good luck.

6 REPLIES 6

Former Member
0 Kudos
342

i see you give solution also to the same in one of the similar threads..

combination of dynp_values_Read and F4_int / Dynp values update will lead to the result.

Good luck.

Former Member
0 Kudos
341

Hi Ram,

Implement the below logic it will work.

PARAMETERS : p_matnr TYPE matnr,

p_maktx TYPE maktx.

AT SELECTION-SCREEN ON p_matnr.

IF p_matnr IS NOT INITIAL.

SELECT SINGLE maktx INTO p_maktx

FROM makt

WHERE matnr = p_matnr.

ENDIF.

But the thing is you need to press Enter after the Material value is populated through F4 Help.

Regards,

Santosh

Former Member
0 Kudos
341

Hi

Have an internal table i_mara as mara. Then at selection scren try the following code :

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr.

SELECT matnr

maktx

FROM mara

INTO CORRESPONDING FIELDS OF TABLE i_mara

WHERE matnr LIKE 'OR%'

AND spras EQ 'EN'.

After completing this, populate it in your function module 'F4IF_INT_TABLE_VALUE_REQUEST'. It works.

Hope this helps you.

Regards

Vinodh

0 Kudos
341

Hi Vinod,

i am surprised that where u'll find the MAKTX field in MARA table which u have used in the select query. And also the base question is on parameter no select options which u have used in the at selection screen statement.

Regards,

Santosh

former_member1245113
Active Contributor
0 Kudos
341

Hi Guys,

Thanks you all,

I searched and got this thread served my Purpose. Thank you Keshav.

Cheerz All

Ramchander rao.K

Former Member
0 Kudos
341

Hi Santhosh

I tried to explain that you can have a inner join of the tables and move corresponding fields and have it in an internal table.