2012 May 22 9:06 AM
Hi,
I add a custom push button (name URL) in the dynpro "Additional data B" of transaction VA21/22/23 (Quotation). The button only needs to open the browser of internet.
I modified dynpro 8309, and I have inserted the module user_commnad in include MV45AIZZ.
When I push the button the standard program give me the message error "Requested function URL is not available here" (Message no. V0104).
I think is necessary maintain table T185 and T185F, but i don't know how.
Does anybody can't help me?
Thanks
George
2012 May 24 11:33 AM
Hi i think that include is not triggering & debug it then u can understand its triggering or not
2012 May 24 11:45 AM
Hi Quark,
Use function module PRGN_GENER_EXECUTE_URL or CALL_BROWSER in your progarm (PAI where you trigger )and call it.
call method cl_gui_frontend_services=>execute
exporting
document = 'http://www.sdn.sap.com'
exceptions
others = 1.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = 'http://www.sdn.sap.com'
WINDOW_NAME = 'New'
NEW_WINDOW = 'X'
* BROWSER_TYPE =
* CONTEXTSTRING =
* EXCEPTIONS
* FRONTEND_NOT_SUPPORTED = 1
* FRONTEND_ERROR = 2
* PROG_NOT_FOUND = 3
* NO_BATCH = 4
* UNSPECIFIED_ERROR = 5
* OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<removed by moderator>
With Regards,
Sudhir S