2009 Feb 26 4:53 AM
Hello, I need to get help values on F4 button with multiple selection. Does anybody know which FM I should use ?
I used 'HELP_VALUES_GET_NO_DD_NAME' but it supports only a single selection, I can check only one record.
Thank You.
Hello, I need to get help values on F4 button with multiple selection. Does anybody know which FM I should use ?
I used 'HELP_VALUES_GET_NO_DD_NAME' but it supports only a single selection, I can check only one record.
Thank You.
2009 Feb 26 4:57 AM
Hi Paul
What you can do is to click on the green arrow button on the right and select multiple entries in there.
Pushpraj
2009 Feb 26 5:00 AM
2009 Feb 26 5:00 AM
2009 Feb 26 5:03 AM
2009 Feb 26 5:00 AM
2009 Feb 26 5:02 AM
Hi Paul
Check this
http://help.sap.com/saphelp_nw04s/helpdata/en/43/28d5be53706021e10000000a422035/frameset.htm
Regards
Sachin
2009 Feb 26 5:02 AM
Hi,
You can select multiple values from the internal table and pass to the FM,
Regards,
Jyothi CH.
2009 Feb 26 5:03 AM
Hello,
Please read the HELP_VALUES_GET_NO_DD_NAME fm document ....and try with Fm.
F4IF_INT_TABLE_VALUE_REQUEST
Thank u,
santhosh
2009 Feb 26 5:09 AM
Hi, try the below steps.
Step 1. write one procedure. In procedure, create a internal table with multiple coloumns and put all your data
Step 2: call this procedure at "AT SELECTION-SCREEN VALUE REQUEST" event.
for example:
FORM INVNO_F4_HELP.
Step 1. Create internal table and put all your data in that
Used for Invoice No. F4 Help
DATA: BEGIN OF IT_RBKP OCCURS 20,
BELNR LIKE RBKP-BELNR,
GJAHR LIKE RBKP-GJAHR,
BLART LIKE RBKP-BLART, "Document type
BUDAT LIKE RBKP-BUDAT, "Posting Date in the Document
END OF IT_RBKP.
Here, write your coding for appending value in internal table
Step 2. call function module : F4IF_INT_TABLE_VALUE_REQUEST
Show F4 help screen
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'BELNR' "Name of return field in FIELD_TAB
PVALKEY = ' '
DYNPPROG = SY-CPROG "Current program
DYNPNR = SY-DYNNR "Screen number
DYNPROFIELD = 'P_BELNR' "Name of screen field for value return
STEPL = 0 "Steploop line of screen field
WINDOW_TITLE = P_BELNR "Title for the hit list
VALUE = ' '
VALUE_ORG = 'S' "Value return: C: cell by cell, S: structured
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_RBKP "Table of values: entries cell by cell
FIELD_TAB = IT_RBKP
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.
ENDFORM.
*AT SELECTION-SCREEN VALUE REQUEST
*----
Used for F4 Help Button at Invoice no. field
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BELNR.
PERFORM INVNO_F4_HELP.
Thanks & Regards,
Rajagopal
Chennai - INDIA