‎2007 Nov 16 9:35 AM
Hi Experts
I have created a table and table maintenance also.
In table maintenance i need the search help for a particular field.
How can i do it, Pls advise me on this.
Thanks in advance.
Regards
Rajaram
‎2007 Nov 16 9:38 AM
Hi,
Assign a search help for the particular table field and change the table maintainance generator.
regards,
Santosh Thorat
‎2007 Nov 16 9:38 AM
Hi,
Double click on the screen of table maintainance generator. It will take you to it's Flow logic, then click on It's layout. Now select the field for which you want to add ur search help and double click on this field to open it's attribute Window and then in 'Search help' field add your search help there. Activate it. your problem is solved..
regards,
Omkar.
‎2007 Nov 16 9:47 AM
Hi Omkar
where to double click, which transaction needs to be used, am not getting you.
pls explain me which screen i have to click.
Regards
Rajaram
‎2007 Nov 16 10:55 AM
Hi,
Goto the Table Maintainence and doube click on the screen number and then goto to the element list tab, in that goto the reference tab and give the search help name to the field you want. Do the same for the two screens if you are using two step table maintainence.
Reward if Useful.
Thanks,
Muthu.
‎2007 Nov 16 9:38 AM
Hi,
Assign a search help for the particular table field and change the table maintainance generator.
regards,
Santosh Thorat
‎2007 Nov 16 9:40 AM
Hi,
You can have Process on Value-Request on your screen where the field exist. You can use SE80 to edit the screen of the function group that table maintenance generator created.
1. Edit the screen using SE80.
2. Place a 'process on value-request' at the bottom of the flow logic.
3. Below that, put this line
field fieldname module get_help.
4. Double click on GET_HELP and create an input module pool program.
5. In this module pool, pass the values of the other fields in your screen to the function module that can provide you the list of values
6. Use function module F4IF_INT_TABLE_VALUE_REQUEST within this module pool to popup the values.
Regards
Siva
Source :SDN
‎2007 Nov 16 9:46 AM
Hi
Yes, you can use that
by attching that like this
Attaching a search help to a field
A search help can influence the behavior of a field when the input help is called. The search help must be assigned to the field in order to do this. You have the following options for this assignment:
Attach search help to a data element / table or structure field / screen field / check table.
Conventionally search helps are attached to table fields or data elements. We shall see the same.
Attaching a search help to a screen element
A search help can be directly assigned to a screen field in two ways.
The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
However, input help is only available for this particular screen.
In this case, the search help is only available for this screen.
or if you want to create your won like above mentioned
SEE THIS CODE IN WHICH I HAD FILTERD THE DATA BASED ON THE SERACH HELP
BEFORE I WROTE THIS CODE FOR MY SELECTION SCREEN FILED THERE ARE LOT OF ENTRIES OTHER THAN MY CONDITION
THEN AFTER WRITING THIS CODE I HAD FILTERD MY CODE DEPENDING ON THE MY CONDITION
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
***********SELECTION SCREEN DESIGN***********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
**********END OF SELECTION SCREEN DESIGN*****************
*********VALIDATION FOR SCREEN FIELDS********************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
IF S_OBJID IS NOT INITIAL.
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
SEARCH HELP FOR QUALIFICATION.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'OBJID'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_OBJID_SH
FIELD_TAB =
RETURN_TAB = RETURN_TAB
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
.
Reward if uswefull