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

Coding in Search Help

Former Member
0 Likes
535

Dear Experts,

I have made a ztable and used kunnr (vbak-kunnr) in it. I want an F4 help on KUNNR  in Table maintenance screen based on some conditions

where VKORG=1101, VTWEG  =10 ,SPART =20

I am not able to understand where should i write my logic to call function module 'F4IF_INT_TABLE_VALUE_REQUEST'.

In the events i cannot do so because they are called once an entry has been done.

Please guide me on this.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
499

Hi prachi,

     

  in this case you have to use search help Exit. first, you go se37 and create a fm. in changing parameter, you have to take -> shlp type shlp_descr and callcontrol type ddshf4ctrl. in tables parameter

you have to take shlp_tab type shlp_desct and record_tab type seahlpres.

in source code you have to write your required code. callcontrol has a field-> step.

if callcontrol-step eq 'select'.

select * from <Dbtable> into table it where VKORG=1101, VTWEG  =10 ,SPART =20.

call function 'f4ut_results_map'

in this fm you have to pass record_tab and it to source_tab parameter.

if sy-subrc ne 0.

callcontrol-step= 'EXIT'.

else

callcontrol-step= 'DISP'.

endif.

at last put this fm in your cutom search help (search help exit field).

your problem will be solve if not then let me know. after getting correct answer  close your thread according to SCN rules and engagement.

Regards

Sabyasachi Karforma

3 REPLIES 3
Read only

Former Member
0 Likes
500

Hi prachi,

     

  in this case you have to use search help Exit. first, you go se37 and create a fm. in changing parameter, you have to take -> shlp type shlp_descr and callcontrol type ddshf4ctrl. in tables parameter

you have to take shlp_tab type shlp_desct and record_tab type seahlpres.

in source code you have to write your required code. callcontrol has a field-> step.

if callcontrol-step eq 'select'.

select * from <Dbtable> into table it where VKORG=1101, VTWEG  =10 ,SPART =20.

call function 'f4ut_results_map'

in this fm you have to pass record_tab and it to source_tab parameter.

if sy-subrc ne 0.

callcontrol-step= 'EXIT'.

else

callcontrol-step= 'DISP'.

endif.

at last put this fm in your cutom search help (search help exit field).

your problem will be solve if not then let me know. after getting correct answer  close your thread according to SCN rules and engagement.

Regards

Sabyasachi Karforma

Read only

0 Likes
499

Thanks a lot Sabyasachi Karforma..U have given instant and absolutely correct solution. I have implemented it. Thanks.

Read only

0 Likes
499

welcome prachi gupta......

Regards

Sabyasachi Karforma