2013 Jan 01 12:55 PM
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.
2013 Jan 01 1:46 PM
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
2013 Jan 01 1:46 PM
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
2013 Jan 01 2:53 PM
Thanks a lot Sabyasachi Karforma..U have given instant and absolutely correct solution. I have implemented it. Thanks.
2013 Jan 01 3:24 PM