How to get the Hyper-V version/hostname from a linux guest?
Hi,
I am running a custom Linux VM on Windows Server 2008 R2 Hyper-V.
I need to get the version/hostname of Hyper-V from the running custom Linux guest. How can I do that?
I am having Integration Service 3.4 installed. Is there any option I can configure using Integration Services code?
What is the Linux kernel version in which Integrations Services code is ported? I hope 2.6.32. Is this correct?
Any help is appreciated.
Saleem
Hiya,
I have never worked with Linux for HyperV, however this download from Microsoft might describe what you need?
Linux Integration Services 3.4 for Hyper-V Readme
http://download.microsoft.com/download/4/9/7/4972134C-483D-494D-9B7D-BA74CAE50B94/Linux%20Integration%20Services%20v3%204%20Read%20Me.pdf
Similar Messages
-
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
How to get the current logged in username from windows and put it into an AS var
Hello,
I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
Thanks in advance
MichaelJust for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
In the html page that publishes with the .swf file under the <head> section:-
<script language="JavaScript" type="text/javascript">
function findUserName() {
var wshell=new ActiveXObject ("wscript.shell");
var username=wshell.ExpandEnvironmentStrings("%username%");
return username;
</script>
The ActionScript:-
import flash.external.ExternalInterface;
var username:String = ExternalInterface.call ("findUserName");
trace (username); // a quick test to see it in output -
How to get the PDF Document version when using Digital Signature
Hi,
I have a form which contains two signature fields.
When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
I need to get the binary of the versions stored in the form.
Please suggest me the how to get the version data from the form.
Regards,
S.V.atish KumarHi Mithun:
I think I have run into a similar issue and have not been able to find a resolution.
I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
Earnings .............. Pre-Tax Deductions .........Taxes
<line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
<line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
<line 3 earnings> <line 3 pre-tax deductions>
<line 4 earnings> <line 4 pre-tax deductions>
<line 5 earnings>
<line 6 earnings>
The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
Check Writer (XML) - Issues with payroll check stub in rtf
As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
*** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
Thanks!
Edited by: RedLacey on Dec 17, 2009 11:48 AM -
How to get the Dynamic UI component value from JSFF page to any managedbean
HI ,
We have list of bean objects in jSF page we are iterating the list of bean using the forEach loop and displaying the value into Input type text (UI component) value filed .
If we try to get the UI component value in Managed bean we are not getting the dynamic values .
The below piece of code used to retrieve the dynamic values from the JSF page doesn't have any form :
UIComponent component = null;
FacesContext facesContext = FacesContext.getCurrentInstance();
if (facesContext != null) {
UIComponent root = facesContext.getViewRoot();
component = findComponent(root, componentId);
then component type casting to the based on UI component which we trying to access and getting the value as " NULL " ..Please let me know how to get the dynamic values form the JSF ?
Please let me know if any other approach or any changes required on above ?
ThanksHi,
the root problem is this
<h:inputText id="it3" value="#{familyList.ctn}" />
<tr:commandButton text="Save" id="cb3"Note how each row writes to the same managed bean property, thus showing the same data. Instead your managed bean should expose a HashMap property that you then apply values to using a key/value pair. The key could be the ID of the field, which then you also should dynamically define e.g. cb<rowIndx>. The command button could then have a f:attribute assigned that has the row HahMap key as a value. This way you truly create value instances for the object
Frank -
How to get the number of community members from outside the community
Hi everyone.
I need to know if there is any way to get the number of community members from outside the community, I mean, not using the "What's happening" webpart. I want to build up a page with a Webpart that summarize my three most visited communities indicating
number of members, three last messages in the newsfeed, and number of posts in blog, wikis, document libraries, etc.
Do I need statistics to get this kind of information? Should I use Sharepoint Object model instead?
Here is an example of what I need:
- Community name
- Number of members
- Community activity (messages, docs uploaded to library, etc)
- Number of posts in calendar, blog, wiki that belongs to community
Thank you all!Hi Thuan.
Thanks for your answer but it does not help me because these communities are Sharepoint Communities not external sites so I need to get that information using SP object model and BCS in this case is useless.
EDIT
I found the solution using the search objects but I was only able to get members, discussions and replies
using (ClientContext clientContext = new ClientContext("URL_OF_ENTERPRISE_SEARCH_CENTER"))
KeywordQuery keywordQuery = new KeywordQuery(clientContext);
keywordQuery.QueryText = "The_Name_of_the_Community WebTemplate:COMMUNITY";
SearchExecutor searchExecutor = new SearchExecutor(clientContext);
ClientResult<ResultTableCollection> results = searchExecutor.ExecuteQuery(keywordQuery);
clientContext.ExecuteQuery();
System.Collections.Generic.IDictionary<string, object> ret = null;
foreach (System.Collections.Generic.Dictionary<string, object> resultRow in results.Value[0].ResultRows)
Console.WriteLine("{0}: {1} ({2})", resultRow["CommunityMembersCount"], resultRow["CommunityTopicsCount"], resultRow["CommunitiyRepliesCount"]);
This is a Console Application.
I hope someone helps -
How to get the numeric value of DocTotal from UI API
When I hit the ADD button I need to get the DocTotal from the UI API !
All I have is the EditText which gives it in string and the problem is to double.Parse it
it's a pain to do it while there is CultureInfo related issue with it.
So It would be wise to get the numeric value directly from the UI API instead of getting the DocTotal by string and trying to convert it. So is there any way to get the numrci value of DocTotal from UI API ?Hello Marc,
Here is a function which considering the Culture Info and always working. You can speed it up by using extending admininfo to global vairables, and loading the values at startup of the addon.
Use the oEditText.value.ToString() to convert into into the doulbe number:
Public Function _string2double(ByVal s As String) As Double
Dim d As Double
' This part is fast, when regional settings equal to sap B1 settings:
Try
d = Convert.ToDouble(s)
d = Math.Round(d, 6)
Return d
Catch
End Try
' Speed up performance: extend CompaneService variables to global variables and query them at addon startup.
Try
Dim nfi As System.Globalization.NumberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat
Dim oCompanyService As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()
Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompanyService.GetAdminInfo()
Dim sbodsep As String = oAdminInfo.DecimalSeparator
Dim sbotsep As String = oAdminInfo.ThousandsSeparator
If s.IndexOf(Space(1)) > 0 Then
If oAdminInfo.DisplayCurrencyontheRight = BoYesNoEnum.tYES Then
s = s.Substring(0, s.IndexOf(Space(1)))
Else
s = s.Substring(s.IndexOf(Space(1)), s.Length - s.IndexOf(Space(1)))
End If
End If
Dim s1 As String = s.Replace(sbotsep, nfi.NumberGroupSeparator)
s1 = s1.Replace(sbodsep, nfi.NumberDecimalSeparator)
d = Convert.ToDouble(s)
d = Math.Round(d, 6)
Return d
Catch
Return 0
End Try
End Function
Regards,
J.
Edited by: János Nagy on Oct 7, 2009 8:55 AM -
I downloaded a music download app. I had to reset my phone I retrieved the app but cannot retrieve the full version I had already purchased. The pro version. How do I get the pro version back? I've tried everything
Downloading past purchases from the App Store, iBookstore, and iTunes Store
-
How to get the list of registered phones from RTMT
I need to get the list of the registered phones from RTMT in excel sheet or text file how i can do this ?????
The approach you need to take depends on your CM/CUCM version. In Windows based systems (3.3.3 to 4.2.3 at least, not sure about 4.3 actually) you can get data using devicelistx.asp. This is discussed in the thread that James provided (+5 James).
If you are dealing 5.x or later then you need to look at using RISport. It is a little more involved but more powerful than devicelistx.asp. Actually, I think RISport and the associated API was available in later 4x releases but was "hidden").
I have a brief intro here:
http://www.netcraftsmen.net/component/content/article/70-unified-communications/452-good-bye-devicelistxasp-hello-risport.html
I probably need to get some of my notes together and put some examples on my blog now that I think about it. Anyway, the above link is a quick intro with links to devicelistx.asp info and RISport API info.
HTH.
Regards,
Bill
Please remember to rate helpful posts. -
How to get the Open Order Qty value from Transaction Code RWBE?
Hello,
Recently I have a program that needs to extract the value of Open Order Qty value from RWBE.
My specific steps are as follows:
- I go to tcode <b>RWBE</b>
- I select the <b>material and plant</b>
- I tick the checbox for <b>"Also select special stocks"</b> and <b>"Also select stock commitments"</b>
- I execute the program double click one of the rows for the <b>Unrestricted Use coulmn</b> and view the <b>Open Order Qty</b>.
My question is how is this particlar variable attained? I tried Ekbe and the ELIKZ feild from EKPO and I still cant seem to get the right value.
Hope to hear from you soon.
Thank you and good day.check with FM :
CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY'
EXPORTING
x_matnr = t_matnr-matnr " TGA/4.6 Erw. Lot
x_meins = t_matnr-basme " TGA/4.6 Erw. Lot
x_matnr = prt_matnr-matnr " TGA/4.6 Erw. Lot
x_meins = prt_matnr-basme " TGA/4.6 Erw. Lot
x_elikz = space
x_loekz = space
TABLES
xtab = xtab
xwerks = r_werks.
above fm will get open order qty for given material in po -
How to get the currrent month and year from a new date object
If I create a new Date object as "d",
java.util.Date d = new java.util.Date();how can I format the date to get the current Month as 'Jan' and the current year as '2008'. So if I have something like d.getMonth() gets the current month as 'Oct' and d.getYear() gets '2008'
Thanks,
Zub[Read the flamin' manual you must. Hmm.|http://en.wikipedia.org/wiki/RTFM]
~~ Yoda.
Well no actually, he didn't say that, but he should have.
Cheers. Keith.
PS: Don't say that to a 7 foot pissedOff wookie when he's got his head stuck in a smoking hyperdrive, and you're being chased by a S-class battle cruiser... Ask Yoda how he got to be so short.
PPS: It is the SimpleDateFormat you seek ;-)
Edited by: corlettk on 14/10/2008 22:37 ~~ Also far to slow... but funny. -
How to get the first and second quarter from CRT
Dear Freinds,
I have one scenario , the Functional SPEC says Read the payroll results and from the CRT get all the 4 quaters
for the wage type /5UH and sum them and then pass on the to field in the main strucutre.
Iam using the FM HR_GET_PAYROLL_RESULTS
CALL FUNCTION 'HR_GET_PAYROLL_RESULTS'
EXPORTING
pernr = fp_v_pernr
permo = fp_v_permo
pabrj = fp_v_pabrj
pabrp = fp_v_pabrp
actual = 'A'
TABLES
result_tab = i_payresult
EXCEPTIONS
no_results = 1
error_in_currency_conversion = 2
t500l_entry_not_found = 3
period_mismatch_error = 4
t549q_entry_not_found = 5
internal_error = 6
wrong_structure_of_result_tab = 7
OTHERS = 8.
Iam collecting all the Actual Result (current result) values
on the selection screen iam passing for month april (04 2008)
so this falls in the second quater .
the internal table i_payresult is picking up only the second quater (01-04-2008 to 30/04/2008 ) ,but since on the selection screen iam pasing as other period (04 2008) the internal table i_payresult returing from the FM (HR_GET_PAYROLL_RESULTS) only picks the second quater,
could any one let meknow how i can pick up the first quarter as well and add the first and second quater to mee the requirement .
Please help me in this regard
Thanks & regards
maduriHi Manoj,
Thank you for giving me idea for going further regarding this problem , so my final question for this is
as per FS they said they are going to enter the payroll
area and the other selection as 04 2008
In order to achieve the first quarter , because 04 2008 means they are going to enter for the second quarter , the payroll results will come only for second quarter and not for the first quater , if they want to sum all the two quarters then they shouldnt pass on the selection screen the dates as 04 2008, instead they has to pas
01 01 2008 to 30 06 2008 , as there is no point in they passing as 04 2008 as we are going to consider from 01 2008 to 062008 . Please correst me if am correct regarding the dates passing on teh selection screen
or if the user enters on theslection screen still enter 04 2008 and will be able to acheive the first quarter ??
Please answer me this point before i can change the logic of the code and tell to my FO regarding this point.
thanks & regards
Madhuri -
How to get the output in EXCEL form from RIDC.
Hi,
I want the list of all views from UCM in EXCEL form. In RIDC code i am using GET_SCHEMA_VIEWS service to get
all the defined schema views.
But i want this list in EXCEL sheet. How can i do this in RIDC code?
Thanks,
SSJBut i want this list in EXCEL sheet. How can i do this in RIDC code?You can't. RIDC will help you to get data from UCM to Java (in a form of an object in memory). If you want to store this object persistently as a file (e.g. in Excel spreadsheet format) you have to use other Java techniques/libraries like this one: http://www.vogella.com/articles/JavaExcel/article.html or http://jexcelapi.sourceforge.net/
-
How to get the week number of year from a Date object?
Hi!
I would like to know the week number of the year from a specified Date.
I dont know how to set the first day of week, and set the minimum days of a week.
I want to use Monday for first day of week, and at least 4 days of month in a week.
For example if its 1st, January is Friday, then the first week starts on 4th, Monday.
Anyone can help?Sorry. I should think before I move.
public static int getWeekOfYear(Date date) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
calendar.setFirstDayOfWeek(Calendar.MONDAY);
calendar.setMinimalDaysInFirstWeek(4);
return calendar.get(Calendar.WEEK_OF_YEAR);
} -
How to get the service master long text from the AC03
Hi All,
we are using the FM READ_TEXT to read the long text for service master which is maintained in AC03 ,Please can any one suggest me how to do the same.
Get long description
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = LTXT
language = EN
name = '003000124'
object = 'ASMD'
TABLES
lines = litab_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Regards
cbHello
Try this:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'LTXT' " <- '' missed
language = 'EN' " <- '' missed
name = '000000000003000124' " <- 18 symbols must be here
object = 'ASMD'
TABLES
lines = litab_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Maybe you are looking for
-
Was muss man bei der Neuinstallation der Adobe Creative Cloud auf einem neuen PC beachten?
Muss man die Adobe Creative Cloud auf dem alten PC deinstallieren?
-
After playing show purchased through itunes or playing netflix for a approximately 1 hour the sound is garbled. The people speaking soung like robots. I restart/restore and it happens again. Software updated and all connections are fine. What is the
-
I generally use a 512MB SD card for photos. I routinely shot about 100 photos and then down load to iPhoto. I occasionally will save those photos on the SD card and the shot another 100 pics. When I down load the second batch of 100, iPhoto will ask
-
After approval AR is not released
Hi Friends, We have developed a workflow for approval of AR's. I am creating appropriation request thro' IMA11 , and then I am sending it for approval now status FAPP for approval in progress now it came in my workflow inbox now I am approving the A
-
"Waiting for output formatter"
Printing to network printers through a spool server has stopped working. Local front end printing still works fine but anything sent to one of the network printers waiting for spool server with the status text "Waiting for output formatter". There ar