How to get ESB's runtime?
How to get exact ESB's runtime,when i replicate data in one table on one database to table on another database.
thank you advance!
lemon...
you need to create Runtime intsance ESB in oralce home,that will work on the same instance for tranfering the table to anthor database ,
You need to cluster the OC4J.
Please gothrough the following document .
http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/webapp.htm#CHDFEBBE
please see the 3.13 section for Installing the Oracle Enterprise Service Bus Runtime Instances on two virtual Hosts ,
please see the 3.19 section Deploying the Oracle Enterprise Service Bus Repository Instance on two virtual Hosts and see the 3.20 Configuring Service
Thank you
Venkat Bollineni
Similar Messages
-
Q1. How to get version of runtime libraries
Hi,
I am not a developer but this seems like the best place to ask this question.
I want to find out what version of the Sun C++ runtime libraries are being used on a machine. They are using the runtime version (there is no compiler installed). The SUNW* directories that are under /opt are:
SUNWexplo
SUNWconn
SUNWebnfs
SUNWits
SUNWrtvc
SUNWspro
Which command do I need to run against what to find the version? I want to find out if they are using 5.0, 5.5 or 5.7.
Thanks in advance,You need to know exactly which libraries are in linked => use ldd on the executable.
Normally, /usr/lib/libCrun.so.1 (and /usr/lib/libCstd.so.1 if any of the standard library is used) are the ones that get linked.
However, depending on how the application was built and some environment variables (LD_PRELOAD, LD_LIBRARY_PATH) it is possible for applications to use other versions of these files.
In the standard case, the C++ runtime libs are in the packages SUNWlibC (and SUNWlibCx for 64bit) => pkgchk -l -p /usr/lib/libCstd.so.1 to see which package the lib is in
To see which patch is applied, try
showrev -p | grep libC
This should show something like
Patch: 108434-10 Obsoletes: Requires: 109147-07 Incompatibles: Packages: SUNWlibC
Patch: 108435-10 Obsoletes: Requires: 108434-10 Incompatibles: Packages: SUNWlibCx
Lastly, you could try
elfdump -v /usr/lib/libCrun.so.1
which will show you some version info (which should match what ldd indicates the application needs)
Paul -
Hi Experts,
In my report i use for dipaly button:
I have 3 button in my report
below my dispaly button code:
selection-screen function key 1.
selection-screen function key 2.
selection-screen function key 3.
INITIALIZATION.
MOVE 'DISPLAY' TO SSCRFIELDS-FUNCTXT_01.
MOVE 'DELETE' TO SSCRFIELDS-FUNCTXT_02.
MOVE 'UPDATE' TO SSCRFIELDS-FUNCTXT_03.
when programn run i have to disable the update:
through this coding :
AT SELECTION-SCREEN OUTPUT.
APPEND 'ONLI' TO itab.
APPEND 'FC03' TO ITAB.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
now what i want when i click on display button then my update button is enable on the screen. in Itab i have value of update but how can i get this value.... from itab...
Pl give me suggestion.........
JigarHi Ashish,
below my code:::
just refer it.................
REPORT ZFI_DLC_DESKCODE_DELETE.
DATA DECLARATION
TABLES : ZDESKDLC,SSCRFIELDS.
selection-screen function key 1.
selection-screen function key 2.
selection-screen function key 3.
DATA: LW_SELECT TYPE zdeskdlc,
LW_UPDATE TYPE ZDESKDLC,
W_ANSWER(20).
clear: lw_update, lw_select.
data: begin of itab occurs 0,
sy-ucomm like sy-ucomm,
end of itab.
*DATA itab TYPE TABLE OF sy-ucomm.
*DATA ITAB type SY-UCOMM OCCURS 0 WITH HEADER LINE.
DATA: P_REPID LIKE SY-REPID.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: CCOD LIKE ZDESKDLC-CCODE MODIF ID ABC.
PARAMETERS: DESKCODE LIKE ZDESKDLC-DESK_CODE MODIF ID ABC.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-001.
PARAMETERS: CCOD1 LIKE ZDESKDLC-CCODE MODIF ID DEF,
DESKCD LIKE ZDESKDLC-DESK_CODE MODIF ID DEF,
SR_MANAG LIKE ZDESKDLC-SR_MANAGEMENT MODIF ID DEF,
LASTNAME LIKE ZDESKDLC-LAST_NAME MODIF ID DEF,
FIRSTNM LIKE ZDESKDLC-FIRST_NAME MODIF ID DEF,
DEPART LIKE ZDESKDLC-DEPARTMENT MODIF ID DEF,
ADM_SYS LIKE ZDESKDLC-ADMIN_SYSTEM MODIF ID DEF,
RACF_ID LIKE ZDESKDLC-RACF_ID MODIF ID DEF,
OPEN_DT LIKE ZDESKDLC-OPEN_DATE MODIF ID DEF,
CLOSE_DT LIKE ZDESKDLC-CLOSE_DATE MODIF ID DEF,
SAPUSRID LIKE ZDESKDLC-SAP_USER_ID MODIF ID DEF.
SELECTION-SCREEN END OF BLOCK B3.
START-OF-SELECTION
INITIALIZATION.
MOVE 'DISPLAY' TO SSCRFIELDS-FUNCTXT_01.
MOVE 'DELETE' TO SSCRFIELDS-FUNCTXT_02.
MOVE 'UPDATE' TO SSCRFIELDS-FUNCTXT_03.
AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
APPEND 'ONLI' TO itab.
APPEND 'FC03' TO ITAB.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
AT SELECTION-SCREEN.
AT SELECTION-SCREEN.
clear lw_update.
LW_UPDATE-SR_MANAGEMENT = SR_MANAG.
LW_UPDATE-LAST_NAME = LASTNAME.
LW_UPDATE-FIRST_NAME = FIRSTNM.
LW_UPDATE-DEPARTMENT = DEPART.
LW_UPDATE-ADMIN_SYSTEM = ADM_SYS.
LW_UPDATE-RACF_ID = RACF_ID.
LW_UPDATE-OPEN_DATE = OPEN_DT.
LW_UPDATE-CLOSE_DATE = CLOSE_DT.
LW_UPDATE-SAP_USER_ID = SAPUSRID.
SELECT SINGLE * FROM ZDESKDLC
INTO lW_SELECT
WHERE CCODE = CCOD1 and
DESK_CODE = DESKCD OR CCODE = CCOD AND DESK_CODE = DESKCODE.
IF SSCRFIELDS-UCOMM = 'FC01'.
*MOVE: P_REPID TO GLOBAL-PROG.
*MOVE ITAB(2) TO 'SCRH'.
*MOVE ITAB(2) TO SSCRFIELDS-FUNCTXT_03.
*MOVE P_REPID TO GLOBAL-PROG.
move itab-fc03 to SSCRFIELDS-FUNCTXT_03.
*move 'FC03' TO SSCRFIELDS-FUNCTXT_03.
*append itab to 'FC03'.
*CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
*MOVE 'UPDATE' TO SSCRFIELDS-FUNCTXT_03.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
clear lw_update.
CLEAR LW_SELECT.
lw_update-ccode = ccod1.
lw_update-desk_code = deskcd.
LW_UPDATE-SR_MANAGEMENT = SR_MANAG.
LW_UPDATE-LAST_NAME = LASTNAME.
LW_UPDATE-FIRST_NAME = FIRSTNM.
LW_UPDATE-DEPARTMENT = DEPART.
LW_UPDATE-ADMIN_SYSTEM = ADM_SYS.
LW_UPDATE-RACF_ID = RACF_ID.
LW_UPDATE-OPEN_DATE = OPEN_DT.
LW_UPDATE-CLOSE_DATE = CLOSE_DT.
LW_UPDATE-SAP_USER_ID = SAPUSRID.
SELECT SINGLE * FROM ZDESKDLC
INTO lW_SELECT
WHERE CCODE = CCOD1 and
DESK_CODE = DESKCD OR CCODE = CCOD AND DESK_CODE = DESKCODE.
move lw_select-ccode to ccod1.
move lw_select-desk_code to deskcd.
move LW_select-SR_MANAGEMENT to SR_MANAG.
MOVE LW_SELECT-Last_name TO LASTNAME.
MOVE LW_SELECT-FIRST_NAME TO FIRSTNM.
move LW_select-DEPARTMENT to DEPART.
move LW_select-ADMIN_SYSTEM to ADM_SYS.
move LW_select-RACF_ID to RACF_ID.
move LW_select-OPEN_DATE to OPEN_DT.
move LW_select-CLOSE_DATE to CLOSE_DT.
move LW_select-SAP_USER_ID to SAPUSRID.
CLEAR LW_SELECT.
if sy-subrc <> 0.
MESSAGE S002(zjig)." WITH 'NO RECORD FOUND'.
clear: ccod, deskcode.
endif.
ENDIF.
IF SSCRFIELDS-UCOMM = 'FC02'.
if sy-subrc <> 0.
MESSAGE S002(zjig)." WITH 'NO RECORD FOUND'.
clear: ccod, deskcode.
else.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'Warning'
text_question = 'Are you sure want to delete this record'
text_button_1 = 'YES'
text_button_2 = 'NO'
DEFAULT_BUTTON = 1
display_cancel_button = ' '
start_column = 25
start_row = 6
IMPORTING
answer = W_ANSWER.
CASE W_ANSWER.
WHEN 1.
DELETE from zdeskdlc where
CCODE = CCOD AND
DESK_CODE = DESKCODE.
IF SY-SUBRC = 0.
MESSAGE S001(zjig)." WITH 'Data Delete successfully'.
clear: ccod, deskcode.
clear: CCOD1,DESKCD,SR_MANAG,LASTNAME,FIRSTNM,DEPART,ADM_SYS,RACF_ID,OPEN_DT,CLOSE_DT,SAPUSRID.
ELSE.
MESSAGE S002(zjig)." WITH 'NO RECORD FOUND'.
clear: ccod, deskcode.
ENDIF.
ENDCASE.
endif.
endif.
IF SSCRFIELDS-UCOMM = 'FC03'.
UPDATE zdeskdlc SET SR_MANAGEMENT = LW_UPDATE-SR_MANAGEMENT
LAST_NAME = LW_UPDATE-LAST_NAME
FIRST_NAME = LW_UPDATE-FIRST_NAME
DEPARTMENT = LW_UPDATE-DEPARTMENT
ADMIN_SYSTEM = LW_UPDATE-ADMIN_SYSTEM
RACF_ID = LW_UPDATE-RACF_ID
OPEN_DATE = LW_UPDATE-OPEN_DATE
CLOSE_DATE = LW_UPDATE-CLOSE_DATE
SAP_USER_ID = LW_UPDATE-SAP_USER_ID
WHERE CCODE = CCOD1
AND DESK_CODE = DESKCD.
IF SY-SUBRC = 0.
MESSAGE S003(zjig)." WITH 'data modified successfully'.
ENDIF.
CLEAR LW_UPDATE.
ENDIF. -
How to get Repeater's runtime height
Hi,
I have a Repeater that may contain several 'Text' UI components at runtime.
Now I need the total height occupied by these collective text UI elements.
Please let me know how to do it.
Thanks,
AmeyHi,
Thank you for reply.
But this gives me compile time error that -->
Multiple markers at this line:
-1120: Access of undefined property skillGroupsVBOX.
-1046: Type was not found or was not a compile-time constant: UIComponent.
In Script: -
private function clickHandler(item:Object):void {
var cName : String = item.sgname;
item.textDecoration = "underline";
if(cName == "Grp1"){
selectedSkill = 1;
spacerHeight = 0;
}else if(cName == "Grp2"){
selectedSkill = 2;
spacerHeight = 1;
}else if(cName == "Grp3"){
selectedSkill = 3;
spacerHeight = 2;
for each (var component:UIComponent in skillGroupsVBOX.getChilderen()) {
repeaterTotalHeight += component.height;
In MXMX: -
<mx:HBox id="skillHbox" horizontalAlign="left" >
<mx:VBox id="skillGroupsVBOX" horizontalAlign="left" verticalGap="0">
<mx:Repeater id="rptSkillGroups" dataProvider="{SkillGroups}">
<mx:Text text="{rptSkillGroups.currentItem.sgname}"
click="clickHandler(event.currentTarget.getRepeaterItem());"
mouseOver="clickHandler(event.currentTarget.getRepeaterItem());"
buttonMode="true" useHandCursor="true"
/>
</mx:Repeater>
</mx:VBox>
<mx:VBox id="skillDescVBOX" >
<mx:ViewStack id="skillDescViewStack" selectedIndex="{selectedSkill}" >
<!-- child 0 -->
<mx:VBox id="emptyVBox" showEffect="{wipeRight}" hideEffect="{wipeLeft}">
</mx:VBox>
<!-- child 1 -->
<mx:VBox id="Act_A_VBox" showEffect="{wipeRight}" hideEffect="{wipeLeft}" >
<mx:Spacer height="{spacerHeight}"/>
<mx:Repeater id="rptAct_A" dataProvider="{Act_A}">
<mx:Text htmlText="{rptAct_A.currentItem.act}" width="90%" />
</mx:Repeater>
</mx:VBox>
<!-- child 2 -->
<mx:VBox id="Act_B_VBox" showEffect="{wipeRight}" hideEffect="{wipeLeft}">
<mx:Repeater id="rpt_B" dataProvider="{Act_B}">
<mx:Text htmlText="{rpt_B.currentItem.act}" width="90%" />
</mx:Repeater>
</mx:VBox>
<!-- child 3 -->
<mx:VBox id="Act_C_VBox" showEffect="{wipeRight}" hideEffect="{wipeLeft}">
<mx:Repeater id="rpt_C" dataProvider="{Act_C}">
<mx:Text htmlText="{rpt_C.currentItem.act}" width="90%" />
</mx:Repeater>
</mx:VBox>
</mx:ViewStack>
</mx:VBox>
</mx:HBox> -
How to get ESB instance invoked from BPEL instance
In BPELConsole, if i go to the flow diagram and click on the activity which invokes an ESB service, I am able to see a link "Click here to see this instance in the ESB Console." which then takes me to the particular ESB instance. I noticed that the URL is like - http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=50018. So essentially, using the BPEl instanceId, it is able to go the ESB instance.
I want to understand how it happens ? Does ESB metadata stores this ?
Thanks.Well I would like to say this is rocket science but it really isn't.
BPEL knows the instance number it invoked by using the header of the SOAP message. As BPEL know the instance number then it's just a matter of appending this instance number to the string http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=.
As you will notice this is the url for all the esb instanceses minus the instance number so if you want to go to instance 1234 this is the url.
http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=1234
If you are in the console itself just you the link, it should be the same.
cheers
James -
How to get the Form runtim diagnostics log file
Hi,
I followed the instruction of Metalink Notes:
R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications http://ID 438652.1
Option 1: Obtain FRD Trace Using Profile Options
Method 1: Using profile option 'ICX: Forms Launcher'
I was not able to get the log file.
Any suggestionsYes, I follow the instruction, set profile at user level, and bounce Apache.
When I log in to application, I do see a message that the low level trace is enabled.
the directory is:
/u1/dev/inst/apps/apps/dev/logs/ora/10.1.2/forms -
How to get return value from Java runtime.getRuntime.exec?
I'm running shell commands from an Oracle db (11gr2) on aix.
But, I would like to get a return value from a shell comand... like you get with "echo $?"
I use a code like
CREATE OR REPLACE JAVA SOURCE NAMED common."Host" AS
import java.io.*;
public class Host {
public static int executeCommand(String command) {
int retval=0;
try {
String[] finalCommand;
finalCommand = new String[3];
finalCommand[0] = "/bin/sh";
finalCommand[1] = "-c";
finalCommand[2] = command;
final Process pr = Runtime.getRuntime().exec(finalCommand);
pr.waitFor();
catch (Exception ex) {
System.out.println(ex.getLocalizedMessage());
retval=-1;
return retval;
/but I do not get a return value... because I don't know how to get return value..
Edited by: user9158455 on 22-Sep-2010 07:33Hi,
Have your tried pr.exitValue() ?
I think you also need a finally block that destroys the subprocess
Regards
Peter -
How to get the PRIMARY KEY of a table at runtime ???
Hi everybody,
My requirement is to update a z-table at runtime according to the data given ata runtime. So the main difficulties for me is that whenever I tried to update the table based on the data given in UI many rows are getting updated as these fields are not unique. So I think if I can get the PRIMARY KEY along with these given fields then I can update only one row at a time.
So Can anyone suggest me how to get PRIMARY KEY of a table based on the data in UI..??
Any suggestions will be appreciated..
Thanks,
SekharU will get primary keys of transparent tables using FM "REUSE_FIELDCALATLOG_MERGE".
pass tyour table name and u will get fieldcatalog filled. In tht their is a field called "KEY" if it has 'X' then tht field is a primary key of transparent tables & if it has "space" then it is not a primary key...
Or else you can try with 'DDIF_TABT_GET'
Or try this code
PARAMETERS: p_table TYPE tabname OBLIGATORY.
DATA: go_strucdescr TYPE REF TO cl_abap_structdescr,
gt_tab_fields TYPE ddfields.
FIELD-SYMBOLS: <gwa_tab_field> TYPE dfies.
TRY .
* Get the details of the DDIC table
go_strucdescr ?= cl_abap_elemdescr=>describe_by_name( p_table ).
CATCH cx_sy_move_cast_error .
MESSAGE 'Error while casting' TYPE 'S'. RETURN.
ENDTRY.
* Check if input is a DDIC table
CHECK go_strucdescr->is_ddic_type( ) = 'X'.
* Get the details of the table fields
gt_tab_fields = go_strucdescr->get_ddic_field_list( ).
* Display the Key fields of the table
LOOP AT gt_tab_fields ASSIGNING <gwa_tab_field> WHERE keyflag = 'X'.
WRITE: / <gwa_tab_field>-fieldname.
ENDLOOP. -
How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info
Hey Debbiered1,
Follow the steps in this link to resolve the issue:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
When you uninstall, the items you uninstall and the order in which you do so are particularly important:
Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
iTunes
Apple Software Update
Apple Mobile Device Support
Bonjour
Apple Application Support (iTunes 9 or later)
Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
Let us know if following that article and uninstalling those components in that order helped the situation.
Welcome to Apple Support Communities!
Take care,
Delgadoh -
How to get start and end time of an ESB instance in SOA 10.1.3.4
Hi All,
I am using soa 10.1.3.4 and want to track the esb instance start and end time. (For example, in case of bpel we can query the cube instance table to get creation and modify time of an instance. )
How to get that in esb?
Thank you.
Regards,
SatishHi Satish
You may enable instance tracking option on the ESB Console and track the instances audit information and also from the logs(log.xml) when ESB loggers are set to DEBUG mode.
Regards
A -
How to get the field name of an internal table during runtime?
How to get the field name of an internal table during runtime?
Hi Sudhir,
Declare and Use Get Cursor Field in Your Prm to get the field Name of the Intenal Table
Example Code:
<b> DATA: v_field(60). " Insert this code.
GET CURSOR FIELD v_field. " Insert this code.</b>
<b>CHECK v_field = 'ITAB-KUNNR'. " Insert this code. (or)
Write: v_field.</b>
Regards,
Ramganesan K. -
Better way how to get list of all classpath URLs in runtime
Hello everyone,
How to get list of all classpath items (URLs) in runtime from Java code?
I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
Does system property "java.class.path" contain ALL loaded JARs?
Does it contain items (JARs, class directories) loaded by bootstrap classpath?
What about JARs loaded in runtime?
Is the separator ":" always same on all operation systems?
I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
But there is nothing like this in ClassLoader, Class, Runtime or System classes.
For curious, here is code I use.
String classpath = System.getProperty("java.class.path");
StringTokenizer st = new StringTokenizer(classpath, ":");
while (st.hasMoreElements()) {
System.out.println(st.nextElement());
}For curious, here are output prints for all 3 methods:
1) parsing system property
2) tschodt
3) overcast SystemClassLoader to URLClassLoader
/home/espinosa/workspace/jboss_embedded_test1/target/test-classes
/home/espinosa/workspace/jboss_embedded_test1/target/classes
/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
package com.thoughtworks.qdox.directorywalker
package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
package java.util.jar, Java Platform API Specification, version 1.6
package org.testng.internal.thread
package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
package java.net, Java Platform API Specification, version 1.6
package sun.reflect.misc, Java Platform API Specification, version 1.6
package esp.ejb.samples1.test
package sun.security.provider, Java Platform API Specification, version 1.
file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
It prints not absolute paths but logical Java names. -
On runtime, how to get EventDispatchThread and clear EventQueue?
On runtime, how to get EventDispatchThread and clear EventQueue?
My programer throws following exception on runtime, I want to get EventDispatchThread to stop event dispatch and clear EventQueue on runtime.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTableUI$Handler.repaintLeadCell(BasicTableUI.java:721)
at javax.swing.plaf.basic.BasicTableUI$Handler.focusGained(BasicTableUI.java:735)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:162)
at java.awt.Component.processFocusEvent(Component.java:5354)
at java.awt.Component.processEvent(Component.java:5221)
at java.awt.Container.processEvent(Container.java:1961)
at java.awt.Component.dispatchEventImpl(Component.java:3933)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Component.dispatchEvent(Component.java:3781)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:827)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:478)
at java.awt.Component.dispatchEventImpl(Component.java:3819)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Component.dispatchEvent(Component.java:3781)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)See Recover your iTunes library from your iPod or iOS device.
tt2 -
SRM7 - how to get clipboard content at runtime
Hello gurus,
not sure this is the proper section as my question is kinda technical and ABAP-related, anyway.... SRM 7.0 has a Copy/Paste option on items of a document (purchase order or contract): once the user selects an item, the "Copy" button uploads the item on the clipboard, while the "Paste" one gets clipboard's content and generate a new item with that data.
I have to check at runtime which data are in the clipboard in a WDDOMODIFYVIEW post-exit enhancement.
For a specific customer desiderata, I have to check the "copied" position w.r.t. the item that is selected at runtime in order to enable/disable the "Paste" button.
So the question is: how can I get the "copied" item? I need to check some fields in it in order to eventually disable the "Paste" button dinamically.
I assume this question could be equivalent to the following: how can I access the clipboard area and get the "copied" item(s) ?
I'm working on the item main area (/SAPSRM/WDC_CTR_DOTC_IT web dynpro) and tried as follows:
DATA: lv_FILLED Type abap_bool.
DATA: facade_clip TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
* check clipboard
CALL METHOD wd_this->MO_DODM_CTR_ITEMS->/sapsrm/if_cll_do_mapper~is_clipboard_filled
RECEIVING
rv_data_contains = lv_filled.
IF lv_filled EQ abap_true.
CALL METHOD wd_this->mo_dodm_ctr_items->get_clipboard
* EXPORTING
* iv_cross_tx =
receiving
ro_clipboard = facade_clip.
Unfortunately, the second method (get_clipboard) seems to be private/protected. Is there any other way to get info on the copied positions?
Thanks in advance
EDIT: moreover, I noticed also that IS_CLIPBOARD_FILLED is not relevant for my task, as it returns always abap_true even though no item was copied. I guess that clipboard can be filled with every kind of data... I have anyway a workaround which is based on a post-exit on the COPY_ITEM method, in which I mark a custom field in the context ("copy_pressed"), so I know in WDDOMODIFYVIEW whether the "Copy" button has been pressed.
Edited by: Matteo Montalto on Mar 2, 2012 3:53 PMHi all,
back on the argument as I probably found a way to achieve the desiderata... only a little tile missing, hope someone could provide me an help.
Basically, in WDDOMODIFYVIEW, I coded as follows:
DATA: clipbrd TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
clipbrd = wd_this->mo_dodm_ctr_items->/sapsrm/if_cll_do_mapper~get_clipboard( iv_cross_tx = 'X' ).
This gives correctly the clipboard object, that is however not usable as object of type /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
I should then use a method to retrieve the content of the clipboard in an usable format; I found out that the method
CALL METHOD (of /SAPSRM/IF_CH_WD_SETF_CLIPBRD) get_clipboard_content
EXPORTING
io_set_facade =
receiving
rt_clipboard_content = test (type ref DATA).
is exactly what I'm looking for.
The problem is: what's that io_set_facade intended for? As it's a mandatory parameter I have to pass it in order to retrieve clipboard's content, but don't have idea on how to get it in WDDOMODIFYVIEW as it seems an private attribute of the interface IF_CLL_DO_MAPPER.
Any help is welcome.
Thanks. -
How to get object-path at runtime
Hi, In my application paths of particular controls(radio buttons and links) get changed at runtime. Therefore I cant access those objects. It would be helpful if somebody guide me how to get paths of objects(controls) at runtime. To be more specific following are the paths procured on different time ie. on different runs.
"window(name='incident173747')[1].window(name='ifrmTabWindow')[1].input(name='generateQuote')[1]"
"window(name='incident173750')[1].window(name='ifrmTabWindow')[1].input(name='generateQuote')[1]"
One can see only first window name is changed here.In first case it is :
name='incident173747'
while in the second one it's:
name='incident173750'Hi Vivek555,
How do you know which radio button or link you want to click on? If each one is called generateQuote, what is in on the page that says "This is the one I want to click on".
Please give a snippet of the html for the page so that we can help you out.
Thanks,
Kevin Gehrke
Empirix, Inc.
Maybe you are looking for
-
Downloading ALV to EXCEL - in some fields the last character is missing ...
Hi, I am experiencing this kind of problem when downloading ALV report into Excel :- "You are downloading an ALV result to an EXCEL file. In some fields the last character is missing." For example, if MATNR is 0000234567 in display but after download
-
Not sure what ive done but i can no longer get the master and preview image at the same time on the filmstrip or viewer. probably something simple i know but. v2.1.4
-
What do i need for windows?
What do i need to be able to run windows on my mac? Im currently on OS X 10.6
-
How do I get iTunes to stop downloading old tv shows.
I have a bunch of old tv series that I've watched. delete them from itunes. then itunes starts downloading them again every time I open my computer again. help
-
How do I get the serial number from Adobe CS5 Master Collection that is already installed on my computer?