‎2009 May 15 11:07 AM
Hi,
i have created a sub-screen and put a pushbutton on it and want to perform some pai event on pressing of pushbutton.
but when i press the pushbutton ; following error appears:
Requested function DISP is not available here
Message no. V0104
any suggestions?
thanks!
‎2009 May 15 11:09 AM
‎2009 May 15 11:12 AM
Hi Harsh,
You have created the button with pf-status right. So in the pf-status you might have missed the function code 'DISP' or may be its typed incorrectly. Just make a check on your pf-status.
Much Regards,
Amuktha.
‎2009 May 15 11:16 AM
Hi,
we have creating a function code(PUSH) for that push button, for that push button you have to write code in PAI event, like
WHEN 'PUSH'.
write logic
Regards,
Bhupal.
‎2009 May 15 11:18 AM
Hi,
Once you check the pf-status,so that the issue can be solved.
Thanks,
B.Sunil Reddy.
‎2009 May 15 11:42 AM
no i have not used pf-status just a simple button on the screen.
‎2009 May 15 11:44 AM
hi ,
did you write the coding in PAI of subscreen if so write it in the PAI of the normal screen where you have attached this subscreen.
or
check in the layout if you have given the function code to the pushbutton...
Regards,
Sid
‎2009 May 15 11:46 AM
check the attributes for Push button , going to attributes of push button and give function code as DISP.
Later in PAI check the function code SY-UCOMM or OK_CODE = DISP
‎2009 Jun 05 3:48 PM
Hi Harsh,
go to screen layout double click on the Push button.
and add FCT code to the Push button..
and write code for the Push button in the PAI or PBO.
Prabhu
‎2009 May 15 11:49 AM
‎2009 May 25 9:00 AM
in PAI :
Ex for prgram: SAPMIEQ0
and ok code: rm63e-fcode
If sy-comm eq 'DISP'
Code for your button ...
And After : Delete okcode_
DATA: OK_CODE LIKE SY-UCOMM VALUE '(SAPMIEQ0)rm63e-fcode'. "#EC NOTEXT
FIELD-SYMBOLS: <OK_CODE> TYPE ANY.
ASSIGN (OK_CODE) TO <OK_CODE>.
IF SY-SUBRC EQ 0 AND <OK_CODE> IS ASSIGNED.
CLEAR <OK_CODE>.
ENDIF.
Regards,
Eric.
‎2009 May 25 9:21 AM
Check have you assigned the function code to the push button attributes.