‎2006 Mar 24 10:59 AM
Hi
The a Subcreen Dynpro with a few field. One Field hat an
matchode ( Help Request).
The Problem is to deaktivat the Help-Request (it's contained by a DDIC-Objekt.
My Question
The are two User
Ms. Miller shoud get the Help Request An
Ms. Maier not.
How could i do this.
Thanks for help
‎2006 Mar 24 11:13 AM
Hello Christian,
You can try doing something like this -
parameters p_carrid like spfli-carrid.
at selection-screen on value-request for p_carrid.
if sy-uname ne 'MILLER'.
call function HELP_VALUES_GET_WITH_MATCHCODE.
else.
exit.
endif.Regards,
Anand Mandalika.
‎2006 Mar 24 11:10 AM
Hi,
Check the username in
AT SELECTION-SCREEN ON HELP-REQUEST FOR field.
IF sy-uname EQ 'MILLER'.
* Process the help request
ENDIF.
‎2006 Mar 24 11:14 AM
There is a little Problem. A subcreen hat no SELECTION-SCREEN .
But a good idee.
‎2006 Mar 24 11:17 AM
You should use the following event in the flow logic -
PROCESS ON VALUE-REQUEST.
‎2006 Mar 24 11:13 AM
Hello Christian,
You can try doing something like this -
parameters p_carrid like spfli-carrid.
at selection-screen on value-request for p_carrid.
if sy-uname ne 'MILLER'.
call function HELP_VALUES_GET_WITH_MATCHCODE.
else.
exit.
endif.Regards,
Anand Mandalika.
‎2006 Mar 24 11:15 AM
Hi,
you need to check the user name in the event at selection-screen on value request.
at selection on value request for p_matnr.
if sy-uname EQ 'MILLER'.
"here you call the F4 fm."F4IF_INT_TABLE_VALUE_REQUEST
endif.
Regards
Vijay
‎2006 Mar 24 11:16 AM
Hello Christian,
There seems to be a small confusion here. Your subject line says "Matchcode". This means that we are talking about VALUE REQUEST and not HELP REQUEST.
F1 == Documentation == HELP REQUEST.
F4 == List of possible values == VALUE REQUEST.
Which one are you referring to ?
Regards,
Anand Mandalika.
‎2006 Mar 24 11:27 AM
I talk about the
F4 == List of possible values == VALUE REQUEST. Im sorry for my mistak.