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

Help in table control

Former Member
0 Likes
277

Hi all,

I have created a table control and assigned the f4 help menu to it. If the It is working fine. But now , without choosing the f4 help if we key in the data it should be validated and the corresponding sub menu should appear.

Please tell me how to do this?

Thanks,

PRIYA

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
248

Hi,

PROCESS AFTER INPUT.

LOOP AT it_parts.

CHAIN.

FIELD :

wa_parts-matnr.

MODULE check_matnr.

ENDCHAIN.

ENDLOOP.

MODULE CHECK_MATNR.

  • Do the validation here

select matnr

from mara

where matnr = wa_parts-matnr.

If sy-subrc ne 0.

MEssage e001. " Invalid material number

else.

append wa_parts to it_parts.

endif.

ENDMODULE.

Best regards,

Prashant

PS : Please reward all helpful answers

1 REPLY 1
Read only

Former Member
0 Likes
249

Hi,

PROCESS AFTER INPUT.

LOOP AT it_parts.

CHAIN.

FIELD :

wa_parts-matnr.

MODULE check_matnr.

ENDCHAIN.

ENDLOOP.

MODULE CHECK_MATNR.

  • Do the validation here

select matnr

from mara

where matnr = wa_parts-matnr.

If sy-subrc ne 0.

MEssage e001. " Invalid material number

else.

append wa_parts to it_parts.

endif.

ENDMODULE.

Best regards,

Prashant

PS : Please reward all helpful answers