I want to extract the Solaris media using "unpackmedia" option
pack and unpack options operates on only miniroot archives and not on whole Solaris media.
I want to extract the Solaris media using "unpackmedia" option.
unpackmedia option of root_archive internally extract miniroots and additionally it extracts X.cpio.bz2 and pkg_db.cpio.bz2 based on some manipulations.
man page of root_archive on solaris 11 still shows the information about these two removed options.
Please let me know is there other way to achieve operations same as provided by unpackmedia option?
Regards,
Umesh
When you intermix java/javascript code like this you have to realise the order in which this occurs.
1 - all java code is executed - produces a static html
2 - html is loaded, and javascript is run.
So you can't run java code from an onClick event on the page.
You have to submit a request (ie submit form/click link) to run java code, and it sends a response (new page) to the browser.
So what you would end up with is code like this on your page
Assuming you have three items in your list: {Item0, Item1, Item2} this will be the result:
var z=0
// for item0
c.options[z]=new Option("Name0",Id0)
z++
c.options[z]=new Option("Name1",Id1)
// for item1
c.options[z]=new Option("Name0",Id0)
z++
c.options[z]=new Option("Name1",Id1)
// for item2
c.options[z]=new Option("Item0",Item0)
z++
c.options[z]=new Option("Item1",Item1)Suggestions as to what is wrong with this code
1 - you only increment z once on each loop, but save two items.
2 - you aren't using your counter 'I' in the get method.
3 - you might need quotes around the values as well as the names.
Personally, I think you're going the entire wrong way about this.
Should you be using public static variable attributes? Are these values to be the same for every single user in the system?
I would prefer to use a jsp scope (application scope if it is for all users) and just generate the html for the select right onto the page, rather than generating javascript to run and build the list.
I would also use JSTL
ie
<select name="mySelect>
<c:forEach var="asset" items="${assetList}">
<option value="${asset.id}"><c:out value="${asset.name}"/>
</c:forEach>
</select>
Similar Messages
-
I want to update the Custom table using the data available in ITAB.
Hi,
I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
I want to update the custom table using the itab data How is it possible?
Is any possible by using Modify ?
DPK.example here
modifying datbase table useing internal table
advises before updating this datbase table plz lock that table to avoid incosistency
write the logic for modifying
Modify the database table as per new dunning procedure
MODIFY fkkvkp FROM TABLE lt_fkkvkp .
and finally unlock the table
example
*To lock table for further operations
constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
tabname = lc_tabname
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 0.
To fetch all the contract accounts for customers of the segment
Households/SME.
PERFORM fetch_contract_accounts using lc_tabname .
ENDIF. " IF sy-subrc EQ 0.
*wrote the logic
Modify the database table as per new dunning procedure from internal table
MODIFY fkkvkp FROM TABLE lt_fkkvkp .
*unlock the tbale
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
TABNAME = uc_tabname . -
I installed windows 7 using Boot camp, Then i wanted to install the support software using boot camp and it always stops at 50% i tried installing the software using internet it always gives me error when i start installing it on windows, What to do?
What is the error? Are you following the Bootcamp instructions? Where on the "internet" are you trying to install from? Did you try downloading from here http://www.apple.com/support/bootcamp/downloads/?
-
Want to sort the columns while using GROUP BY ROLLUP.
Want to order the below query using by "News' column in descending order and "Email address" column in Ascending order.
Note: Sorting should not bring Total value to top. It is happening now.
{code}
SELECT decode(grouping(NVL(Client, 'NA')),1, 'Totals', NVL(Client, 'NA')) "Email (Login ID)",
Location "Location",
SUM(News) "News",
SUM(Website) "Website",
FROM VW_FX_USERDATA
GROUP BY ROLLUP (((NVL(Client, 'NA')),Location,1, 'Totals', NVL(Client, 'NA')))
{code}
PLease let me know if you need any details.
Edited by: Nagaraja Akkivalli on Sep 23, 2011 4:04 PMThanks hm,
Let me explain bit clearly.
Say I am getting resultset as below.When I am executing above mentioned query.
Client* Location News Website Total
ABC YD 9 0 4
BCD HB 12 7 13
CDE SI 1 18 3
JNM BI 25 0 4
ZZZ TI 0 221 77
XYZ TT 0 1 1
Totals 47 247 435I want it to as below. Here records are sorted in the descending order of the News Count and then Client*
Client* Location News Website Total
JNM BI 25 0 4
BCD HB 12 7 13
ABC YD 9 0 4
CDE SI 1 18 3
XYZ TT 0 1 1
ZZZ TI 0 221 77
Totals 47 247 435If I order the column by News in the descending order, it is taking Totals value to the top. (Since I am using GROUP BY ROLLUP).
Note: Sorting should not be applied to Totals.
Hope this is clear to you. Let me know if you need any details.
Thanks and Regards
Nagaraja Akkivalli. -
Delta Problem while extracting the data by using function module
Hi Experts,
I have extracted the data by using Function module, for delta loads I have given Calday and additive delta in Generic delta settings, in BW side I have initialized the data after that I have given delta update option in infopackage and I made process chain also, every day process chain is running successfully but it is showing zero records, but there is a data in Data source (RSA3), means delta is not working.
What is the problem,
Is there any another settings for delta loads,
Please help me to do this,
Helpful answer will be appreciated with points,
Regards,
VenkatHi,
Try this delta type :NEW STATUS FOR CHANGED RECORDS.
More information from Nagesh, this information may help
1. New status for changed Records.
2. Additive delta.
New status for changed records means
New Order
order no quantity
1000 10
order changed to quntity 8. then 2 records will posted 2 BW in first case.
1000 -10
1000 8
if you come to Additve delta.
for the same case it will send the same record as
1000 10
changed records
1000 -2
this is the difference. New status with changed records should be used only in association with ODS not cube becoz we don't have overwrite option.
Additive delta we can use for ODS and Cubes with update mode Addition.
Regards,
Satya -
I want to change the email address used as rescue email for my security questions. But I can't remember the answers to the security questions and I dont have access to the rescue email anymore. Please help.
-If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com. Clicking the link will send the reset to your rescue email address (NOTE: This is not the same address as your Apple ID email)
-If there is no link on the page, then you didn't establish a rescue email address. Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security. You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
-If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
HTH -
i registered my user name before in gamecenter, but my daughter made the other nickname in the game center later that affect my other ipad and iphone to sharing the same application. i want to all the devices to use same username, can you tell me how to cancel my daughter's nickname on her ipad.
You are using icloud?
maybe your account is not whit icloud and thats the problem
o you dont have the same account in your iphone and ipad -
I want to know the function moulde used to convert the unit of measure
The whole process should be done in the Portugues login language.
For the login language PT( Portuguese). In table MARA, if i choose the menu settings-> use parameters-> and chek this field (conversion field exit) . Then for any material if i check the unit of measure (MEINS), is display of all the material its shows differently, but if i select one material and see all the fields of that material, the MEINS field is changed. For example when all the materials are show the MEINS is ST. but when i select one material and display it . it shows PEC in portugues language.
I want to know the function moulde used to convert the unit of measureHI,
There exits the conversion routine for that particular field in its domain level..
copy that conversion routine and search for that in SE37 your conversion routine
you will find the function module this gives you the internal and external formats
Fms are listed below for MEINS
CONVERSION_EXIT_CUNIT_INPUT Conversion exit for commercial (3-char) measurement unit INPUT
CONVERSION_EXIT_CUNIT_OUTPUT Conversion exit for commercial (3-char) measurement unit OUTPUT
For convertiung quantity into base unit of measure you can do this way
CALL FUNCTION 'ME_CONVERSION_MEINS' "#EC *
EXPORTING
i_matnr = "give material number"
i_mein1 = "Unit of measurement "
i_meins = "base unit of measure
i_menge = "quantity
IMPORTING
menge = "quantioty in your required measurement
EXCEPTIONS
error_in_conversion = 1
no_success = 2
OTHERS = 3.
HOpe this helps you
Reward if useful
regards,
nazeer
Message was edited by:
nazeer shaik -
How to extract the excel file using web dynapro
Hi Expert,
I want to know how to generate an excel file to extract the internal data. Please give me your help.
Thanks in advance.I think you you can use File download UI element. Refer following link for more info:
[FileDownload|http://help.sap.com/saphelp_tm60/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
Regards,
Saket -
If I want to transmit the audio infomation use my own format, how can I do?
In order to transmit the sound for secret, I want to change the default format by encrypting it.
Is it viable?
If it is viable, where can i find the correlative data?Seems like there are two directions you could go in. First, you could extend the Processor class to add support for transcoding a new audio format, and then you'd be able to encode/decode it the same way normal audio works. Good luck figuring out how to do that, and good luck find any sort of helpful documentation.
The second idea, which is going to be more documented, is to developed a custom RTP payload. You could then use any audio format, and just encrypt the actual packetized data with whatever data encrpytion scheme you wanted. Most hosts would simply reject the RTP payload if they intercepted the stream, and even if they did receive it, they would have to be able to decrypt it before they could play it.
For more information about creating your own RTP payload type, take a look at:
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/CustomPayload.html -
How to extract the data by using function module?
hi experts,
what are the steps i have to fallow to extract the data from R/3 by using FUNCTION MODULE.
thanks & regards
venkatHi,
Extracting data from R/3 extract structure thru function modules
You can proceed with create function module using SE37, thereu2019s sample in system RSAX_BIW_GET_DATA_SIMPLE,
You need to know the logic how to populate the structure,
after that RSO2, create datasource specify extract structure and
function module,
activate and replicate to bw.
Chheers
Raj -
Want To Capture The File name Using the SQL Loader
Hi,
I Am loading The Data To Staging Table Using The SQL*developer, The File That need to be Loaded Will be One Of The Input To the SQL*Loader Concurrent Program.
In One Of The Column Of My staging Table I want To Put The File name.
Can We do the Same.
thanks,
AnkitNot unless you generate the loader controlfile dynamically.. try this.. pass file name as $1 first parameter. Use the below example and modify as per your requirement
1) create table with following table structure
create table temp_table (x varchar2(20),file_name varchar2(30));
2) create data file - test.dat (contains only values for x)
abc
def
geh
ggg
fff
3) create a host file host file - test.sh with following content:
echo "load data
infile $1
append
into table temp_table
fields terminated by ','
(x,
file_name constant "$1")" > test.ctl
sqlldr <usr>/<pwd>control=test.ctl
4) run the host file from unix prompt with data file name as parameter (ensure test.sh has execute permissions)
test.sh test.dat
Hope this helps
Regards,
Bhadri -
I wanted to limit the usb drive use on my imac. but it turned out to be disastrous
i googled "how to disable external drives on mac" and got the best solution in this forum- http://forums.cnet.com/7723-6126_102-521447/disable-and-limit-the-extern-usb-dri ve-connect-to-mac/ . a user had written in code to be ran in terminal to get the result. i simply wanted to prohibit my mac from reading/mounting any device connected via usb as i didn't want to share my data with a specific person because of some personal reasons. i wrote this code in terminal and i got the result. this was the code-
cp /System/Library/Extensions/IOUSBMassStorageClass.kext ~/backup/
sudo srm -rf /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo touch /System/Library/Extensions
sudo reboot
now my mac cannot read/mount any device connected by usb, even my printer is not functioning because of this. i'm very worried about this problem. can anybody please help me as i'm unable to copy data to my pendrives and external HDs. can anybody help me witht his problem ?. it isn't even reading my ipad/ipod when i'm inserting them and am unable to sync them . i'm very worried. please give me a solution !! i simply want to revert the effect of this code.
Note- even restarting my mac doesn't helpModifying the system when you're not sure of the results isn't usually a good idea, but I guess I don't need to tell you that now. Restart your computer while holding Command-R and reinstall OS X. Password protect your user account and disable auto login.
-
Want to delete the history of used commands stored!!!
Need to start the history of used commands fresh. So i need to delete the old history. When i checked the fc command there is no option to delete the history. How can i do this?
can this be done by:
set history=0
to delete and again set this to higher number to start the history fresh!after a little research i could do what i need.
setting the history to zero.
$HISTSIZE=0;export HISTSIZE
this would permanently delete the history and does not store any commands in the history.
to invoke again:
$HISTSIZE=100;export HISTSIZE
Hope this would help others in the community. -
Extracting the RGB value using getPixelColor
I am hoping someone out there can tell me how to extract the numbers from what is returned by the getPixelColour method in the Robot class. At the moment this line :
robColor9 = myRob.getPixelColor(x-1, y+1);
of Code returns this ouput:
java.awt.Color[r=4,g=38,b=150]
mrRob being an object of class Robot and robColor being the variable the color is being stored in.
what i would like is the RGB value not the gumpf before it i.e java.awt.Colour, but just r=4,g=36,b=150.
if someone could help that would be of great help.What you get is an instance of java.awt.Color. In this class you find the methods getRed(), getGreen() and getBlue().
Maybe you are looking for
-
I have payed for Adobe acrobat pro for one year and it is valid to november 2015, but now i can not convert a pdf document to a word format, why ?
-
When using the new controls of CVI 7 in my DLL it crash on the DisplayPanel call
I have a CVI DLL that was build under CVI 6. When I recompile it in CVI 7 everything works fine when I load the DLL from my application. But If I add a button on my uir file with the new CVI 7 style (no event code associated, just a plain button) my
-
Missing Functionality: Trackingnumber in Goods return
Version: (Please provide the current version) SAP Business One 2005A - SP01 - PL41 Description of requirements: (Please provide a detailed description) We need the field "tracking number" in return deliveries to suppliers. This field is pro
-
CC 2014 brush has mind of its own
PS CC 2014.1.0 Windows 8.1 24GB RAM Dual GTX 560ti latest Nvidia.com supplied drivers Ever since the upgrade I had what I thought was a Clone Stamp tool issue, but in fact, it is a Brush issue (Clone stamp just utilizing a Brush of course). See attac
-
No HTTP connect. HELP! (as posted in kvm thread)
Hi there, I am trying to write a midlet in j2me for my masters thesis, but I haven't been able to make a simple http connection. I tried in forte and jbuilder with no luck, and also with no clue as to what was going wrong. all I got was that the prog