03-31-2008 1:12 PM
I made a report that uses the POPUP_GET_VALUES FM to input some values to a table.My problem is that in a field i want to put a search help .
I can't do it ....
Can someone give an advise ...Also can i do it if the values are from a list and not from an Z table ...
Points will be rewarded ..
10-08-2010 11:02 AM
Hi,
Please find the below code.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = 'X'
POPUP_TITLE = POPUP_TITLE
START_COLUMN = '25'
START_ROW = '5'
IMPORTING
RETURNCODE = RETURNCODE
TABLES
FIELDS = FIELDS
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF RETURNCODE = 'A'.
EXIT.
ELSE.
LOOP AT FIELDS.
IF SY-TABIX = 1.
VL_CODE = FIELDS-VALUE.
ENDIF.
ENDLOOP.
Thanks & Regards,
Sudheer
03-31-2008 1:17 PM
Create a search help by going to se11.
Search help option is there, click that. and create a search help over there.
It will ask you for the selection-option while creating a search help. give the table name over there and after that field name for which you want to create a search help.
after creating a search help, go to the field in the table name. double click the field, go to further characteristics and write the search help name over there.
Reward if help.
09-29-2010 6:31 AM
Hi,
I do not want to use DDIC search help. I want to show runtime data from the program (the way we do in function 'F4IF_INT_TABLE_VALUE_REQUEST') .
Is it possible..
Thanks,
Maharshi
09-29-2010 8:21 AM
Hi,
POPUP_GET_VALUES supports F4 helps only if there is a value table assigned to the domain/data element you are using in the FIELDS[ ] table.
Regards,
Andrea
09-29-2010 1:06 PM
POPUP_GET_VALUES_USER_HELP -
You can create your own F4 help sub-routine and pass it as an argument for this FM.
10-08-2010 10:55 AM
10-08-2010 11:02 AM
Hi,
Please find the below code.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = 'X'
POPUP_TITLE = POPUP_TITLE
START_COLUMN = '25'
START_ROW = '5'
IMPORTING
RETURNCODE = RETURNCODE
TABLES
FIELDS = FIELDS
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF RETURNCODE = 'A'.
EXIT.
ELSE.
LOOP AT FIELDS.
IF SY-TABIX = 1.
VL_CODE = FIELDS-VALUE.
ENDIF.
ENDLOOP.
Thanks & Regards,
Sudheer