Regarding custom context menuitem click
Hi ALL,
On Repeatedly clicking on the same custom context menu item, the movie gets refereshed and re-launched in IE and Mozilla.Please given me an solution to overcome this problem.
Note:This Problem arises only for Popup Title window with custom context menuitem
Regards,
Karthik
Hi Pradeep,
I can see that the CreateTransactionUI class is part of sap.comcrmisaisacoredefault.jar.
We tried to deploy this jar into this path:
/usr/sap/FWX/JC91/j2ee/cluster/<server no>/apps/sap.com/home~cr_test/servlet_jsp/cr_test/root/WEB-INF/lib
We have placed this file in all server nodes of the given path.
But still error exists.
What could be the reason?
Thanks,
Satish.
Similar Messages
-
Regarding custom context created for CR_B2B application(Complaints&Returns)
Hi,
We have created a custom context for cr_b2b application.
We are able to login to the application, but we are getting some compilation errors on the left hand side page (genericsearch.jsp)
The errors are:
ISA Framework: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: [/usr/sap/FWX/JC91/j2ee/cluster/server1/apps/sap.com/homecr_test/servlet_jsp/cr_test/work/jsp_genericsearch1285932156290.java:163: package com.sap.isa.isacore.uiclass.b2b does not exist com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI l_ui = new com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI(pageContext); ^ /usr/sap/FWX/JC91/j2ee/cluster/server1/apps/sap.com/homecr_test/servlet_jsp/cr_test/work/jsp_genericsearch1285932156290.java:163: package com.sap.isa.isacore.uiclass.b2b does not exist com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI l_ui = new com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI(pageContext); ^ 2 errors ].
What would be the reason? Some pointers on this would be of great help
Thanks in Advance
Regards,
Satish.Hi Pradeep,
I can see that the CreateTransactionUI class is part of sap.comcrmisaisacoredefault.jar.
We tried to deploy this jar into this path:
/usr/sap/FWX/JC91/j2ee/cluster/<server no>/apps/sap.com/home~cr_test/servlet_jsp/cr_test/root/WEB-INF/lib
We have placed this file in all server nodes of the given path.
But still error exists.
What could be the reason?
Thanks,
Satish. -
Right-click (custom context) fails in Flash Player 10.1
With the release of Flash player 10.1 the right-click (custom context menu) functionality in the software simulations my company builds no longer functions properly. All files are published at Flash 8 in AS 2.0. After completing a right-click step the browser crashes (IE 8, Chrome, FF, and Safari). Anyone having similar problems?
We had issues with our right-click files when flash player 9 was released and implemented a solution (attached the custom menu to a movieclip vs. a button instance) from Adobe to correct the error...now that isn't working any longer.Thanks for the quick response! here is the file list (all file versions are 10.1.53.64):
C:\Windows\SysWOW64\Macromed\Flash:
Flash10h.ocx
FlashAuthor.cfg
FlashInstall.log
flashplayer.xpt
FlashUtil10h_ActiveX.dll
FlashUtil10h_ActiveX.exe
install.log
NPSWF32.dll
NPSWF32_FlashUtil.exe
uninstall_plugin.exe
C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerTrust:
Adobe Search For Help.cfg
AdobeFireworksCS5.cfg
AdobeXMPFileInfo.cfg
AdobeXMPFileInfoCS5.cfg
kuler.cfg
ServiceManager.cfg
I also made sure all the addson are enabled. Still doesn't work.
disabled hardware acceleration.Still doesn't work.
the last resort is will try to update the GPU driver - as ʇɐb ɹəuəllıʍ said.
I will keep you posted either way. thanks -
Creation of Custom context menu in CL_GUI_TEXTEDIT
Hello all,
I need to develop a custom context menu in the Text Editor.
I am using the <b>CONTEXT_MENU</b> event of the class
<b>CL_GUI_TEXTEDIT </b>for the same.
It is giving a short dump with an exception 'empty_obj' in the method
<b>CL_CTXMNU_MGR=>CREATE_PROXY</b>.
Please help.Hello Tejas
The following sample report ZUS_SDN_TEXTEDIT_CTXMENU shows how to trigger context menus in text editor. Please note that the editor must be set <b>enabled</b>.
If you inactivate subroutine <b>SET_REGISTERED_EVENTS</b> the new context menu function will no be displayed. Thus you need to <b>register</b> the event for context menu handling.
*& Report ZUS_SDN_TEXTEDIT_CTXMENU
*& Flow logic of screen 100.
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
REPORT ZUS_SDN_TEXTEDIT_CTXMENU.
TYPE-POOLS: cntl. " Types for Controls
DATA:
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_textedit TYPE REF TO cl_gui_textedit,
gd_name TYPE thead-tdname,
gs_header TYPE thead,
gd_langu TYPE thead-tdspras,
gt_lines TYPE STANDARD TABLE OF tline.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_context_menu
FOR EVENT context_menu OF cl_gui_textedit
IMPORTING
menu
sender,
handle_ctxmenu_selected
FOR EVENT context_menu_selected OF cl_gui_textedit
IMPORTING
fcode
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_context_menu.
CALL METHOD menu->add_function
EXPORTING
fcode = 'MY_FUNC'
text = 'My Function'
* ICON =
* FTYPE =
* DISABLED =
* HIDDEN =
* CHECKED =
* ACCELERATOR =
ENDMETHOD. "handle_context_menu
METHOD handle_ctxmenu_selected.
CASE fcode.
WHEN 'MY_FUNC'.
MESSAGE 'My function selected from ctxmenu' TYPE 'I'.
WHEN OTHERS.
ENDCASE.
ENDMETHOD. "handle_ctxmenu_selected
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
PARAMETERS:
p_pspnr TYPE prps-pspnr.
START-OF-SELECTION.
* Get the text object
gs_header-tdid = 'LTXT'. " long text
gs_header-tdspras = syst-langu.
CONCATENATE syst-langu p_pspnr
INTO gs_header-tdname.
gs_header-tdobject = 'PMS'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = gs_header-tdid
language = gs_header-tdspras
name = gs_header-tdname
object = gs_header-tdobject
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
lines = gt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Form SET_REGISTERED_EVENTS
* text
* --> p1 text
* <-- p2 text
FORM
set_registered_events .
* define local data
DATA:
lt_events TYPE cntl_simple_events,
ls_event TYPE cntl_simple_event.
TYPES: BEGIN OF cntl_simple_event,
eventid TYPE i,
appl_event TYPE c,
END OF cntl_simple_event.
ls_event-eventid = cl_gui_textedit=>event_context_menu.
APPEND ls_event TO lt_events.
ls_event-eventid = cl_gui_textedit=>event_context_menu_selected.
APPEND ls_event TO lt_events.
CALL METHOD go_textedit->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
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. " SET_REGISTERED_EVENTS
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'MAIN_0100'.
* SET TITLEBAR 'xxx'.
CLEAR: gd_okcode.
IF ( go_textedit IS NOT BOUND ).
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
* REPID =
* DYNNR =
* SIDE = DOCK_AT_LEFT
* EXTENSION = 50
* STYLE =
* LIFETIME = lifetime_default
* CAPTION =
* METRIC = 0
ratio = 90
* NO_AUTODEF_PROGID_DYNNR =
* NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 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.
CREATE OBJECT go_textedit
EXPORTING
* MAX_NUMBER_CHARS =
* STYLE = 0
wordwrap_mode =
c_textedit_control=>wordwrap_at_windowborder
* WORDWRAP_POSITION =
wordwrap_to_linebreak_mode =
c_textedit_control=>true
* FILEDROP_MODE = DROPFILE_EVENT_OFF
parent = go_docking
* LIFETIME =
* NAME =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 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.
CALL METHOD go_textedit->set_text_as_r3table
EXPORTING
table = gt_lines
EXCEPTIONS
error_dp = 1
error_dp_create = 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.
CALL METHOD go_textedit->set_enable
EXPORTING
enable = cl_gui_cfw=>true
EXCEPTIONS
cntl_error = 1
cntl_system_error = 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.
PERFORM set_registered_events.
SET HANDLER:
lcl_eventhandler=>handle_context_menu FOR go_textedit,
lcl_eventhandler=>handle_ctxmenu_selected FOR go_textedit.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards
Uwe -
How to call a custom form on click of a button?
We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
some sample code will help. Thanks in Advance,
Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053Hi,
I think you are working with Oracle EBS.
I don't think so that we can able to call the custom form on clicking button.
We can call the form from the standard form using both custom.pll and form personalization
In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
So please check further, and let me know if any i can help you any.
Regards
Sri . -
How to Get List Item in Custom Context Menu?
Hi,
I got this code from the net.
<CustomAction Id="SPTest.CustomMenuItem.ButtonClicked"
RegistrationType="ContentType"
RegistrationId="0x0101"
Location="EditControlBlock"
ImageUrl="/_layouts/IMAGES/DOCLINK.GIF"
Sequence="600"
Title="Click Me!"
Description="Shows an alert message for this content type."
>
<UrlAction Url="javascript:alert('Hello World!');" />
</CustomAction>
It creates a custom context menu. How can i get the selected item using that code..
Sorry for the tons of question. SharePoint newbie here (5 weeks in SP), Hehhehe!If you can redirect your request on context.....you can try this line of code
<UrlActionUrl=”~site/_layouts/ItemAudit.aspx?ID={ItemId}&List={ListId}”/>
The Idea is to send in query string parameter and get the ItemID in the Pageload Event of the page you want to redirect to.
Other tokens that are available
Token
Replaced By
~site/
SPContext.Current.Web.ServerRelativeUrl
~sitecollection/
SPContext.Current.Site.ServerRelativeUrl
{ItemId}
item.ID.ToString()
{ItemUrl}
item.Url
{SiteUrl}
web.Url
{ListId}
list.ID.ToString(“B”)
{RecurrenceId}
item.RecurrenceID
Srikant N , MCPD SharePoint Developer 2010 -
Dynamic Configuration of custom Context Objects: is it possible?
Guys,
is it possible to use Dynamic Configuration for custom Context Objects as we normally do to technical context objects?
Also, is it possible to use a context object in receiver determination, even if it is not assigned to a message interface?
My case: I need to use condition at receiver determination but I dont want to read a field from payload. Instead, I want to write that context object with dynamic configuration and use it at receiver determination runtime.
I want to do this in order to avoid having to extend the payload's message type because of this extra field for condition (actually, its not that I dont want to, its that I cant. The message type is defined by 3rd party and cant be changed). If it is possible to keep that information at header instead of payload, it'd be great.
Kind regards and thanks in advance,
Henrique.Hi,
>>>>>Just a last comment: do you need to deploy any code for the adapter on SDM or just the "fake adapter metadata file" is enough?
no SDM
just the metadata file as per my blog
glad this is what you wanted
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Custom context menu without separators?
The following code adds two custom items to a context menu.
However, they are separated into two different menu sections where
I need them to be in only one. What am I missing?
var cmiDrillIn:ContextMenuItem = new ContextMenuItem("Drill
in...", true);
var cmiDrillOut:ContextMenuItem = new ContextMenuItem("Drill
Out...", true);
cmiDrillIn.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
contextMenuItem_menuItemSelect);
cmiDrillOut.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
contextMenuItem_menuItemSelect);
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems = [cmiDrillIn,cmiDrillOut];
cm.addEventListener(ContextMenuEvent.MENU_SELECT,
contextMenu_menuSelect);Hi,
According to your post, my understanding is that custom context menu is not available to every user.
You can check whether you stop inheriting permsissions in the list setting.
In addition, you can add javascript code as simple as possible to check whether it works.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.
You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button.
https://forums.adobe.com/thread/304974?start=0&tstart=0
Sounds like it would work but I haven't actually tried it.
Good luck~! -
Implicitly Passing a Custom Context with EJB Invocations
Dimitri, this is most likely one for you.
We have a need to implicitly pass contextual information with EJB
invocations. I'd also like to be able to intercept/filter invocations.
The current approach autogenerates subclasses for the bean
implementations. In these subclasses, the methods take an additional
context parameter. From the client perspective, the business delegates
implicitly provide this parameter.
I'd like to solve this without code generation.
The current approach I'm considering is to have a generic command EJB.
This stateless session bean will take a method signature, method
parameters, and a context object. The command EJB will delegate these
invocations to the actual EJBs.
I will get the client to go through this command EJB by intercepting the
home lookups. I will wrap the initial context. Using dynamic proxies,
the new initial context will return a wrapped stub that will actually go
through the command bean, implicitly passing the thread local context.
So far as the command bean's configuration goes, I will set to the pool
size very high (the sum of all of the other stateless session bean pool
sizes perhaps). I will set the transaction type to Supports and pass on
any exceptions.
Can anyone think of a better way to go about this?
Thanks,
BobWhy do you need the custom context? I have worked with an application that held the SessionContext and wrapped all the methods of the EJB context. This was a maintenance problem because changes to the EJB spec caused the methods to change and therefore the calling code.
Are you trying to insulate your POJO code from EJB specific classes? -
i have created a custom infotype.when i click the maintain overview button for that infotype,iam getting the maintain overview screen.but the problem is that some invalid names are coming as the field names.how to change the field names or header of the values in the maintain overview screen.please give me a solution.
thanks.Hi Vadivel
Custom infotypes have maintenace screens with the name "<b>MPXXXX00</b>". 'XXXX' is the infotype number. The overview screen is the number '<b>3000</b>' included in program "MPXXXX00". You can modify this screen as you want. However, it may be still in context of repair.
Kind Regards
*--Serdar
[email protected] -
Doubt regarding custom controller binding
Hi,
I have an issue with Account plan after upgrading to CRM 7.0.
Certain fields are not populating in the overview page after inputing values in the edit page and when clicking on the 'BACK' button.I think its related to custom controller binding.I tried custom binding also.Still Its not working.
Can anyone help?
Regards,
PoojaHi,
Lets think of it logically. If you want to see something in lr_entity, then obviously the BOL entity must filled in first. Where is this happening? Check the context initialization methods where this is getting populated.
Regards
Prasenjit -
Help regarded customer down payment request
Hiii Guys, Actually I am facing a error when i run f-37. i.e Customer down payment request against sales order no... its gives a error"Maintain default revenue element in controlling area sfel" i clicked on more nfo.. but it goes to screen or t-code OKEP... actually i m confused in t-code OKEP.. i have create new cost element and revenue element..if yes ?? how ?? i have create a new gl for it? please help .. I am posting a pic of error aslo...
Regards,
AbhayHi Abhay
This is answered in forum many times
You need to assign a cost element in OKEP.. If you are using PS module. create a specific GL for the same.. Else, you can assign there any cost element
br. Ajay M -
Hi,
I did some modification to existing Org chart in PPOME tcode.
it was asking for customizing request.i have given wrong customizing request.
now i want to remove the that customizing request and i want to assign it some other request.
my question is if i delete the current customizing request number will it going to delete the original record.
if it won't delete then if the refresh the org chart will it going to ask the customizing request again .
Please can any one confirm this for deleting the customizing request.
regards
paveeegoto that custmising request.
click on the objects present in that request.
Delete the object from that request - Right click on the the object & clicl on delete.
goto the object again & edit something. it will again prompt for the transport request.
assign a correct customising request.
Reward points if helpful -
Display a custom message on click of a Top Level Navigation Object
Hi Experts,
when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.
Currently, on click of the top level navigation link a workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.
The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .
It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).
The goal is to warn the users before they they access the applications of the workset map.
Can someone please guide me on this???
Regards,
AnuragHi,
See some info regarding Portal Eventing:
http://help.sap.com/saphelp_nwce72/helpdata/en/a5/8d1e72c20f4db2b9f577b47c1a47da/content.htm
In the link above you can see that it's possible to raise an event and subscribe to it.
Each time you navigate in the portal, the portal raises the UpdateTLN event so all you need it to subscribe to it in an iview that is located on the same page.
Since the masthead iview is in the same window (above the TLN - see the following link) you can put your javascript function in it.
http://help.sap.com/saphelp_nw04/helpdata/EN/b4/771158e4cb4bf6af9974380948db86/content.htm
Regards,
Omri
Maybe you are looking for
-
Printing multiple format/language in one submission
I'm new to XML Publisher and want to bounce my understanding off of someone to see if I'm understanding things. I have been requested to have one concurrent manager request submitted that will print all of the days invoices in the proper language and
-
Getting while running the BPEL process from java
Hi All, We are using the following java code to run the BPM process. package callBPMProcess; import java.util.Hashtable; import java.util.UUID; import java.util.List; import javax.naming.Context; import oracle.soa.management.facade.Locator; import or
-
How to get icloud to open in chrome instead of IE on windows 8
Hi, i have windows 8 and in my apps i have - icloud, contacts and calender which clicking on them opens icloud on internet explorer is there a way to get them to open up on google chrome instead Thanks intelligent community =D Chrisdion Altoft
-
Dynamic action in column of classic report
Good day master! Hi im new in apex,, so im dynamic ondering if its posible to create a dynamic action in the column of classic report in apex? i'm trying but its not working my problem goes like this.. i have a classic report stock_replenish columns
-
It shows under the message, the following: C:\Program Files\Mozilla Firefox\res\dtd What do I need to do to fix this?