Get selected in the interview...
In RMI, server object first loaded into the memory and then the stub reference is sent to the client ? or whether a stub reference is directly sent to the client ?
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
What is serialization ?
Can you load the sTo a server method, the client wants to send a value 20, with this value exceeds to 20,. a message should be sent to the client ? What will you do for achieving for this ?
What are the benefits of Swing over AWT ?
Where the CardLayout is used ?
What is the Layout for ToolBar ?
What is the difference between Grid and GridbagLayout ?
How will you add panel to a Frame ?
What is the corresponding Layout for Card in Swing ?
What is light weight component ?
Can you run the product development on all operating systems ?
What is the webserver used for running the Servlets ? erver object dynamically? If so, what are the major 3 steps involved in it ?
What is difference RMI registry and OSAgent ?
Questions:
Why do you keep posting these?
Have you been asked these questions?
Do you intend to ask applicants these questions?
If someone asked you what to do with a test-and-set instruction would you have any idea what they were talking about?
Similar Messages
-
Default hierarchy not getting selected in the GOTO report.
Hi friends,
I am facing a weird problem in a jump query(GoTo query). I am giving an input for the main query. The input values are week and Organization(it is a hierarchy). I am executing the report and after that i am going into the jump query through the main query.
In the GoTo Query, when i right click on the Organization -> properties -> Chacteristics -> i could find that the hierarchy is not getting selected by default. I need to go and select from the dropdown manually.
If i execute the same GOTO report directly without going through main query, I am able to see the default hierarchy. I would like to see the same in my first case as well(i.e when i run the query through the Main Query).
Can somebody help me in achieving this.
Thank you
Sunil@ is a default value as per ALV internal process. This is used in icons .
I think this is causing the confusion.
Check in the fieldcat if there is any adjsutment to be made to handle this.
Br,
Vijay -
The ToC node is not getting selected although the help result pane displays the correct help page
I have followed steps given below for a merged project system:-
1. I created 3 projects Module_1 and Module_2.
2. Created the CHM output for the above 2 projects.
3. Created a Main project.
4. Merged the above 2 CHM in the project.
5. Created a new window and added Main.hhc in the TOC option under advance properties.
6. Generated html output for entire project Main.chm.
7. Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
8. For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as Main project and with reference to ‘Main.hhc’.
9. Again generated html output for all the modules and copied both the CHM at the same place.
10. Now regardless of my entry point I am able to see entire ToC.
Issue: When I open Module_1.chm, the chm is displayed as follows, but Main book is highlighted instead of module 2 Book. As I have selected both the options, i.e. Auto-synchronize ToC and Always Show Selection option (when generating chm), Module 1 book should get selected.
Is there a way to control the selection in the LHS pane? I am working on a project which has 15 module chms and the chms are integrated with the application. When I press F1 on a module, the default topic is getting displayed and the respective module is not selected in the LHS pane.
Best regards,
/VikasI have followed steps given below for a merged project system:-
1. I created 3 projects Module_1 and Module_2.
2. Created the CHM output for the above 2 projects.
3. Created a Main project.
4. Merged the above 2 CHM in the project.
5. Created a new window and added Main.hhc in the TOC option under advance properties.
6. Generated html output for entire project Main.chm.
7. Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
8. For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as Main project and with reference to ‘Main.hhc’.
9. Again generated html output for all the modules and copied both the CHM at the same place.
10. Now regardless of my entry point I am able to see entire ToC.
Issue: When I open Module_1.chm, the chm is displayed as follows, but Main book is highlighted instead of module 2 Book. As I have selected both the options, i.e. Auto-synchronize ToC and Always Show Selection option (when generating chm), Module 1 book should get selected.
Is there a way to control the selection in the LHS pane? I am working on a project which has 15 module chms and the chms are integrated with the application. When I press F1 on a module, the default topic is getting displayed and the respective module is not selected in the LHS pane.
Best regards,
/Vikas -
My Mac Pro is acting wonky all of a sudden. This all began after someone in my family spilled water on the keyboard and tried to clean it up while still turned on. I bought a new keyboard but now I cannot select just one file in a folder, all get selected. Same thing happens in Lightroom 3 when editing in the filmstrip mode, I cannot just select one photo, they all get selected. Plus, after awhile I cannot type in small letters either, just capitals. If I restart it is ok for about 15 minutes then the problems start. I did a reinstall of the OS but it is still happening. I zapped the pram, fixed permissions, etc but no luck. I am on a 2x2.4 GHz Quad-Core Intel Xeon machine with 900 gigs unused. Any suggestions?
Try also resetting smc.
Also check your keyboard preferences. And just to possibly reset some keyboard related caches and prefs you might go through the "Change Keyboard Type..." (Keyboard tab in the Keyboard preferences). -
Fixed vendor getting selected in the Shopping cart by mistake
Hi,
We are on SRM_SERVER 550, SP07 and SAP R/3 - 4.7.
We are on classic scenario.
Our Scenario: When users order the cart with preferred vendor, the cart will go through approval and once the approval WF gets completed and cart item moves to sourcing cockpit (carry out sourcing). Here the buyers create the PO in the backend.
But we observed one issue recently. For one particular material id, there is a fixed vendor getting chosen. User enters the preferred vendor, system chooses a fixed vendor--> So the cart doesnt go to sourcing and the PO gets created after the approvals are over.
I checked if there were any Purchase info records maintained in SAP for this vendor material combination, but there were none.
There are also no vendor lists maintained.
Is there any other way a fixed vendor can be picked up in a shopping cart?
Please let us know .
Regards,
SrivatsanHi Srivatsan,
1) create a new SC and set on hold.
2) set a breakpoint in the function B45A_SOURCEDETERMIN_GETSOS at the point:
CALL FUNCTION 'BAPI_SOURCEDETERMIN_GETSOS' <----- here
DESTINATION destination
3) execute the FM BBP_PD_SC_TRANSFER with the GUID of the SC (from the step 1)
If you have a dialog user in the bakcend, you can debug the SOS find in the backend. If you just need the result, doubleclick on the sources_of_supply:
CALL FUNCTION 'BAPI_SOURCEDETERMIN_GETSOS'
DESTINATION destination
EXPORTING
material = material
mat_grp = mat_grp
plant = plant
deliv_date = deliv_date
quantity = quantity
unit = unit
item_cat = item_cat
acctasscat = acctasscat
purch_org = purch_org
fixed_vend = fixed_vend
pckg_no = pckg_no
unit_iso = unit_iso
TABLES
sources_of_supply = sources_of_supply <--- check the result here
return = return
EXCEPTIONS
communication_failure = 1 MESSAGE msg_text
system_failure = 2 MESSAGE msg_text
OTHERS = 3.
Kind regards,
Peter -
BDC for MM01 - Views not getting selected
Hi,
I have recorded the MM01 transaction and have developed the BDC code. While recording I selected the following views - Basic Data 1, Basic Data 2, Purchasing, Accounting 1 and Accounting 2.
I run the BDC program by call transaction method. I selected the processing mode as 'A'. Now when I execute the program I get the Select view screen. In that Basic data1, basic data2 and purchasing views are getting selected automatically but Accounting 1 and accounting 2 views are not getting selected. When I click ok, the Plant in organization level is not picked up from excel file.
While selecting views when I scroll the views screen then Accounting 1 and accounting 2 views are getting selected and the plant detail is picked from the excel.
Please help.
Regards,
SriramHi,
Use this BDC okcode to get the Accounting tab selected.
T MM01
SAPLMGMM 0060 X
BDC_CURSOR RMMG1-MTART
BDC_OKCODE /00
RMMG1-MTART FERT
SAPLMGMM 0070 X
BDC_CURSOR MSICHTAUSW-DYTXT(02)
BDC_OKCODE =P+
MSICHTAUSW-KZSEL(01) X
MSICHTAUSW-KZSEL(02) X
SAPLMGMM 0070 X
BDC_CURSOR MSICHTAUSW-DYTXT(08)
BDC_OKCODE =ENTR
MSICHTAUSW-KZSEL(07) X
MSICHTAUSW-KZSEL(08) X
Hope this may be useful
Thanks,
Archana -
Get selected value from a select one choice in the bean
I'm trying to do with the SelectOneChoice valueChangeListener and this is the code of my method, I'm using jdeveloper11g if alguin can help as I need the value you selected in the bean
public void cambioCombo(ValueChangeEvent valueChangeEvent) {
CoreSelectOneChoice csoc = (CoreSelectOneChoice) valueChangeEvent.getSource();
List childList = csoc.getChildren();
for (int i = 0; i < childList.size(); i++) {
if (childList.get(i) instanceof CoreSelectItem){
CoreSelectItem csi = (CoreSelectItem) childList.get(i);
if (((String)csi.getValue()).equals((String) valueChangeEvent.getNewValue()) ){
System.out.println("------------>"+csi.getLabel());
I get the following error when running the application and selecting in my select one choice
oracle.adf.view.rich.component.rich.input.RichSelectOneChoice cannot be cast to org.apache.myfaces.trinidad.component.core.input.CoreSelectOneChoiceThis is an example of some code that i wrote.
public void changeDesc(ValueChangeEvent valueChangeEvent) {
// Add event code here...
System.out.println("value "+ valueChangeEvent.getNewValue().toString());
//System.out.println("old value "+ valueChangeEvent.getOldValue().toString());
if (valueChangeEvent.getNewValue().toString().equals("Area Uno")){
this.descripcion.setValue("RR.HH");
} else {
this.descripcion.setValue("Finanzas");
AdfFacesContext.getCurrentInstance().addPartialTarget(this.descripcion);
For get the Value select in the "SelectOneChice" component i use this: valueChangeEvent.getNewValue().toString()
cheers -
Could you please tell me why as a Brit resident in Japan therefore having a billing address that is Japanese is forced to only get service from the Japanese online store? Is there not some way of allowing me to select movies and music to buy and download from other stores. Why do am i forced to try to nread Japanese when I have selected English as my language. The price for Downloads is no different and even if it was I am happy to pay. This also applies to Movie rental which is crazy and extremely restrictive. I a supposed GLOBAL community why does Apple do this.
You can buy ONLY from the itunes store of your country of residence (As proven by valid billing address of credit card) and ONLY while inside the borders of that country.
These are the terms of the itunes store. -
How to get rid of the loop in ALV output from At selection screen event?
I have several push buttons on a selection screen.
Clikc on a button, then it pops up an editable ALV report. (This gets triggered AT SELECTION SCREEN event.). REUSE_ALV_GRID_DISPLAY_LVC..
On the ALV output, I enabled F4 for a couple of fields. Once I click on the F4 button, ONF4 method gets triggerd and a pop up appears with custom search helps.
choose a line and it fills the cell.
Upto this it works fine.
Now I click on the BACK button at the ALV output, it takes me to the selection screen. I click on the button again, it show the editable ALV. Now when I click on the F4 button, the pop up comes up twice and the cell gets filled from the second pop - up.
How to control this?
Probably I am not refreshing something?
(I am using REUSE_ALV_GRID_DISPLAY_LVC and tooks ome code for ONF4 event from BCALV_*DATATYPES (forgot the exact name) program.)
Thanks,
VenHi,
FORM refresh_grid USING pw_grid TYPE REF TO cl_gui_alv_grid.
*Work area
DATA : wal_stable TYPE lvc_s_stbl.
CHECK NOT pw_grid IS INITIAL.
wal_stable-col = c_check.
wal_stable-row = c_check.
*Method to refresh grid
CALL METHOD pw_grid->refresh_table_display
EXPORTING
is_stable = wal_stable
i_soft_refresh = c_check
EXCEPTIONS
finished = 1
OTHERS = 2.
ENDFORM. " refresh_grid
Thanks,
Sree. -
I suddenly have a "Bing" screen when I sign onto Firefox---and I want to get rid of it. The support section of Firefox says
1. "From the menu at the top of the Firefox window, seledt Tools and then select the Add-ons menu item."---but I see no "menu item" nor Tools, much less Add-ons.
2. "In the Add-ons window, click on the Extensions panel."---but how do I find the Add-ons window?
3. Find the Bing Bar and Search Helper Extension in the list and click Disable for each of them."---but what and where exactly is that?
At the top of the screen is only a Yahoo icon on the left and to the right of it a search box, "Web Search,", "My Apps," Yellow Pages," "Weather," "Updates," and "Skype." to the right of those there is a green cross saying "Add more apps. to your toolbar" and to the right of that a sort of gear shift looking icon saying "toobar settings."
So, in short, how do I get rid of the Bing screen and how do I access those Tools?
Thanks.To get rid of Bing Search Window..............
Click on View tab / Tools and un-check 'Search' (alias for 'Bing') -
wow, this is taking forever to communicate with anyone, I just want my $4.99 back from the movie rental I paid for. I paid for a rental, we were watching it, had to pause it, accidentally hit 'menu' on the apple remote, tried to get back into the movie, wouldn't let us, apple said ' go to settings, click downloads, select the rented movie from there',( not really a quote, but, close enough). So, we went to 'Settings' on main menu, but, there is no 'downloads' icon....I guess it is true: Do Not Rent from Apple TV'.
FionaWelcome to the Apple Community.
You are looking at outdated instructions, you can find the "check the downloads" option under settings > iTunes Store. You may also wish to look on the movies > rentals. -
Dear Expert,
I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
I am using portal 7.0.
Thanks & Regards,
PatralekhaHi Expert,
I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
INavigationService is available there.
But didn't get any proper discussion on this interface for the same requirement.
Can you please help me.
Thanks & Regards,
Patralekha -
Get selected rows using the fm REUSE_ALV_GRID_DISPLAY_LVC
FYI ... for all those developers trying to select multiple rows in an ALV report, and get the selected rows - without using the OO approach to display to ALV, and without using checkboxes in the function module approach. First off, you need to use the function module REUSE_ALV_GRID_DISPLAY_LVC instead of the standard REUSE_ALV_GRID_DISPLAY. This allows you to select multiple rows using the toggle, line selection buttons, at the start of each row (with 'select all' button). See the sample code below. If you are converting from the one fm to the other, you will have to change the type of 2 of the structures to the 'LVC' structures and make minor code changes. The example code below was initially using the REUSE_ALV_GRID_DISPLAY fm, and was converted to use REUSE_ALV_GRID_DISPLAY_LVC to allow for multiple row selection. The next step is to create a custom status, with a new custom button, that will start the processing of the selected rows. Go to tcode SE41, press Copy Status, and copy program SAPLKKBL, status STANDARD, to your custom program (same name as the custom ALV rpt) and a new status name (ie STANDARD1). In the new STANDARD1 status for the custom ALV program/rpt (tcode SE41), add a new button ('&EXE') at the end of the std buttons (items 29-35). Assign the new button a Text, Icon and a Function Key. Thats it!
Here's the code:
FORM display_data.
DATA:
wa_callback_program LIKE sy-repid,
wa_layout TYPE lvc_s_layo, "was slis_layout_alv, "D01K913690
t_fieldcat TYPE lvc_t_fcat, "was slis_t_fieldcat_alv, "D01K913690
wa_fieldcat TYPE lvc_s_fcat, "was slis_fieldcat_alv, "D01K913690
t_excluding TYPE slis_t_extab,
wa_excluding TYPE slis_extab,
wa_variant LIKE disvariant.
* Setup Field Catalog
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZBUKR'.
wa_fieldcat-ref_field = 'ZBUKR'.
wa_fieldcat-ref_table = 'REGUT'.
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'BANKS'.
wa_fieldcat-ref_field = 'BANKS'.
wa_fieldcat-ref_table = 'REGUT'.
APPEND wa_fieldcat TO t_fieldcat.
* Setup other ALV fm parameters
CLEAR wa_excluding.
wa_excluding-fcode = '&F12'.
APPEND wa_excluding TO t_excluding.
CLEAR wa_excluding.
wa_excluding-fcode = '&F15'.
APPEND wa_excluding TO t_excluding.
* Callback program
wa_callback_program = sy-repid.
* List layout
wa_layout-zebra = 'X'.
wa_layout-sel_mode = 'A'.
* variant
wa_variant-variant = p_var.
* Display the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' "D01K913690
EXPORTING
i_callback_program = wa_callback_program
i_callback_pf_status_set = 'SET_PF_STATUS' "D01K913690
i_callback_user_command = 'USER_COMMAND'
is_layout_lvc = wa_layout "D01K913690
it_fieldcat_lvc = t_fieldcat "D01K913690
it_excluding = t_excluding
i_save = 'A'
is_variant = wa_variant
TABLES
t_outtab = t_regut
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
ENDFORM. " DISPLAY_DATA
FORM user_command
USING
r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: wa_text(80) TYPE c.
CASE r_ucomm.
WHEN '&EXE'. "User pressed custom Execute button
DATA ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
DATA: lt_index_rows TYPE lvc_t_row,
lt_row_no TYPE lvc_t_roid,
lw_row_no TYPE lvc_s_roid.
CALL METHOD ref1->get_selected_rows
IMPORTING
et_index_rows = lt_index_rows
et_row_no = lt_row_no.
LOOP AT lt_row_no
INTO lw_row_no.
*** CODE TO PROCESS EACH RECORD FROM MULTIPLE SELECTED***
ENDLOOP. "loop at lt_row_no
WHEN '&IC1'. "User double-clicked on row
*** CODE TO PROCESS SINGLE RECORD SELECTED ***
WHEN '&F03' . " back
SET SCREEN 0. LEAVE SCREEN.
WHEN '&F15' . " exit
SET SCREEN 0. LEAVE SCREEN.
WHEN '&F12' . " cancel
SET SCREEN 0. LEAVE SCREEN.
ENDCASE.
ENDFORM. " USER_COMMAND
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD1'.
ENDFORM. " set_pf_status
Hope this helps ...
Regards,
Kevin
Moderator message - Welcome to SCN.
However, as you can see, the forum software was unable to format this because of the 2,500 character posting limit. since this looks interesting, would you please try to edit to conform to that limitation? You may try to split it into an initial post and a response.
Edited by: Rob Burbank on Jul 8, 2009 1:39 PMHi ,
Make it use in your code and let me know if u have any concerns...
Use "Subtotal_text" in events table.
here GTOTAL is field in itab on which we sortindf data, and use your own field on which field u want to sort...
refresh gt_event.
clear gw_event.
call function 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = gt_event.
Subtotal
read table gt_event with key name = slis_ev_subtotal_text into gw_event.
if sy-subrc = 0.
move 'SUBTOTAL_TEXT' to gw_event-form.
append gw_event to gt_event.
endif.
form subtotal_text using uw_subtot_line type ty_main
uv_subtottxt type slis_subtot_text. "#EC CALLED
if uv_subtottxt-criteria = 'GTOTAL'.
uv_subtottxt-display_text_for_subtotal = 'TOTAL'.
endif.
*FORM build_sort .
refresh gt_sort.
gw_sort-spos = 1.
gw_sort-fieldname = 'GTOTAL'.
gw_sort-tabname = 'GT_MAIN'.
gw_sort-up = 'X'.
gw_sort-subtot = 'X'.
APPEND gw_sort TO gt_sort.
CLEAR gw_sort.
Reward points once its useful.. -
I can get video on airplay anytime but i cannot get audio all the time. in sound output i select airplay but it only reverts back to internal speakers. same if i try earbuds. the only way to fix it is to restart computer. what do i do to fix it,
In case anyone has had the same problem as me, I have just managed to fix this by doing the following:
Switch off Mac
Switch back on in Safe Mode (Hit power button, then hold Shift key until a loading bar appears at the bottom of the screen).
Switch off Mac again
Remove power cord and wait 15 seconds
Plug power cord back in and hold down the keys alt, cmd, p, r all at the same time until you hear Starting chime for a second time and hopefully your audio will back. -
How do I get rid of the Red Thing that's obstructing my selection tools?
I have just installed Elements 12 (on a Mac using OS 10.9.5). Every time I use the selection tools I get a rectangular red window that covers the selected area. This serves no purpose that I can see and is a disruptive annoyance. How do I get rid of the $%^&&* thing???
It looks like this. MH
Maybe you are looking for
-
Printing Greek Language in Hyperion 8.5
<p><span style=" font-size: 12pt;"><font size="3" face="Times New Roman">I am using Hyperion 8.5 (SQR Report).</font></span></p><p class="msonormal"><span style=" font-size: 12pt;"><font size="3"face="Times New Roman">I need some information about re
-
Opening balance for FIFO method
Dear all, My inventory method is FIFO and I'm going to do invenotory opening balance. Please kindly suggest me step by step how to manage FIFO item because there is many lot of each item. Moreover, about outstanding A/R
-
The ink levels are no longer viewable since I installed windows 7. Any help Thanks
-
Error exception when testing Adapter
Hi all 1.I am doing XML to File and I am getting error when I am testing the scenario with my input.dat xml file...FYI when I do XML2XML in the same scenarion - the Flag is OK and everything looks great ! I also Do Message Mapping Test and I have OK
-
How can I put a colored border around the whole page?
I just want to know how to pur a colored border around the whole page?