‎2008 Mar 07 3:23 AM
Hi all,
How can I, through using the FM F4IF_INT_TABLE_VALUE_REQUEST, to display the restrictions screen first rather than the result screen in the search help? I know we can do it in SE11 searh help, but how can I do it in the FM?
Thanks in advance.
‎2008 Mar 07 3:59 AM
See the standard program DEMO_DYNPRO_F4_HELP_MODULE in SE38.
Regards,
Chandru
‎2008 Mar 07 4:04 AM
I thought that my question was clear, but I already know how to implement search help and stuffs.
What I need is when the search help being displayed on the screen when user press F4, I want it to display the value restriction screen first rather than the screen with all the data. Can this be done using this FM? I know this can be done in SE11 search help since I can choose the dialog type. But again, I'm not creating anything from SE11 and I need to use this FM. Furthermore, I do not want any value restriction to be done prior to calling the FM.
I'm coming to think that this is not possible through this FM....
‎2008 Mar 07 11:23 AM
Hi
yes , your correct with this FM its not possible
by useing search help in SE11 its possible
‎2008 Mar 07 4:16 AM
Hi
Hi
see this sample code you can understand very easily
tables : HRp1001.
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.
.
‎2008 Mar 07 4:40 AM
I can understand your code correctly and easily, but that's NOT what I asked for.