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

Creating search help through reports

Former Member
0 Likes
1,651

Hello experts,

Is there a method so that I can create search help through reports?

Thanks,

Mohit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,484

hi,

we can create F4 help through report and also we can create Input Help from the ABAP Dictionary .

please check this link for Input Help from the ABAP Dictionary .

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm

and for F4 help in reports you can use some function modules:

select-options : so_selgp FOR t458a-selgp /

AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_selgp-low .

REFRESH gt_auskt[].

here insert select query to fill your internal table .

IF so_selgp[] IS NOT INITIAL.

DELETE gt_t458a1 WHERE selgp NOT IN so_selgp[].

ENDIF.

SELECT aussl auslt FROM t458b INTO CORRESPONDING FIELDS OF TABLE gt_t458b WHERE spras = 'E'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

retfield = 'SELGP'

  • PVALKEY = ' '

dynpprog = 'ZPPGL_MRP_LIST '

dynpnr = '1000'

dynprofield = 'SO_SELGP'

value_org = 'S'

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = gt_auskt " internal table.

  • EXCEPTIONS

  • PARAMETER_ERROR = 1

  • NO_VALUES_FOUND = 2

  • OTHERS = 3

.

Hello experts,

Is there a method so that I can create search help through reports?

Thanks,

Mohit.

9 REPLIES 9
Read only

Former Member
0 Likes
1,484

I think no.

Read only

Former Member
0 Likes
1,484

Hi mohitgoel28,

mohitgoel28 Wrote :

Hello experts,

Is there a method so that I can create search help through reports?

Do You mean Method in any Classess or you need any Procedure to achieve this :

For Procedure :

we can achieve it using BDC's concept :

a. Need a flat file which mandotary fields to create a Search Help.

b. Do recording in SHDB for SE11 with Search Help radio button selected.

Revert me for any quires.

Regards,

Suneel G

Read only

Former Member
0 Likes
1,484

Hi,

Sure you can have search help through report,

go through this wiki written by me.

https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=68191480

Thanks,

krishna..

Read only

Former Member
0 Likes
1,485

hi,

we can create F4 help through report and also we can create Input Help from the ABAP Dictionary .

please check this link for Input Help from the ABAP Dictionary .

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm

and for F4 help in reports you can use some function modules:

select-options : so_selgp FOR t458a-selgp /

AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_selgp-low .

REFRESH gt_auskt[].

here insert select query to fill your internal table .

IF so_selgp[] IS NOT INITIAL.

DELETE gt_t458a1 WHERE selgp NOT IN so_selgp[].

ENDIF.

SELECT aussl auslt FROM t458b INTO CORRESPONDING FIELDS OF TABLE gt_t458b WHERE spras = 'E'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

retfield = 'SELGP'

  • PVALKEY = ' '

dynpprog = 'ZPPGL_MRP_LIST '

dynpnr = '1000'

dynprofield = 'SO_SELGP'

value_org = 'S'

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = gt_auskt " internal table.

  • EXCEPTIONS

  • PARAMETER_ERROR = 1

  • NO_VALUES_FOUND = 2

  • OTHERS = 3

.

Read only

Former Member
0 Likes
1,484

This message was moderated.

Read only

Former Member
0 Likes
1,484

Hi Mohitt ,

You can do it through your program using BDC .

For that you eed to use a file in the application server containing all the values required for the creation of the search help about the SEARCH HELP which will be created .

Then uploading that file in your program you need to use the populate the table typed BDCDATA.

Then you need to CALL TRANSACTION 'SE11' using t_itab.

Here T_itab is the internal table typed BDCDATA.

Regards

Pinaki

Read only

Former Member
0 Likes
1,484

Hi Mohitt ,

You can do it through your program using BDC .

For that you eed to use a file in the application server containing all the values required for the creation of the search help about the SEARCH HELP which will be created .

Then uploading that file in your program you need to use the populate the table typed BDCDATA.

Then you need to CALL TRANSACTION 'SE11' using t_itab.

Here T_itab is the internal table typed BDCDATA.

Regards

Pinaki

Read only

Former Member
0 Likes
1,484

Hi Mohitt ,

You can do it through your program using BDC .

For that you eed to use a file in the application server containing all the values required for the creation of the search help about the SEARCH HELP which will be created .

Then uploading that file in your program you need to use the populate the table typed BDCDATA.

Then you need to CALL TRANSACTION 'SE11' using t_itab.

Here T_itab is the internal table typed BDCDATA.

Regards

Pinaki

Read only

Former Member
0 Likes
1,484

Hi,

U can assign matchcode to parameters at selection-screen leval

after creating searchhelp through se11.

Parameters: a type char10 matchcode object <s_help_name>.

(or)

Restrict the data via funciton module

fm: f4_if_int_table_value_request.

Regards,

Naveen M.