2009 May 21 2:56 AM
Hello experts,
Is there a method so that I can create search help through reports?
Thanks,
Mohit.
2009 May 21 5:12 AM
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.
2009 May 21 3:17 AM
2009 May 21 4:12 AM
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
2009 May 21 4:47 AM
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..
2009 May 21 5:12 AM
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
.
2009 May 21 5:16 AM
2009 May 21 5:18 AM
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
2009 May 21 5:18 AM
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
2009 May 21 5:20 AM
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
2009 May 21 5:31 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |