Winrm input field
Hi,
I have a lame question. What character or input command do I use with
Winrm after executing a successful command. I get the >> prefix. What is the help command. I've tried all the ones that I can think of. It's like it's expecting more input. Detail: whenever I issue a valid winmr command the >> characters
are returned. Similar to nslookup, but I can get help with nslookup. Example; To recreate the issue: 1) open powershell in administer mode;2) enter
Winrm delete "http://schemas,sunhills.local/wbem/wsman/1/config/plugin?Name="event forwarding plugin"
3) powershell returns >> as follows:
PS: c:\windows\system32> Winrm delete "http://schemas,sunhills.local/wbem/wsman/1//config/plugin?Name="event forwarding plugin"
>>
What follows the >> or is there a help command. I'm upgrading from windows server 2008 R2 to server 2012 R2. I can get around the problem by exiting powershell and reinstantiating it. I get the desired results.
Thanks in advance.............. Steve
Hi Steve,
The command is recognized as incomplete because you missed the close quote:
Winrm delete "http://schemas,sunhills.local/wbem/wsman/1//config/plugin?Name="event forwarding plugin"
Please try the command below instead:
Winrm delete 'http://schemas,sunhills.local/wbem/wsman/1//config/plugin?Name="event forwarding plugin"'
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Similar Messages
-
Unable to capture Input field value on BSP page
Hi
I have copied ROS (SRM) standard application ROS_PRESCREEN3 into custom and added one input field .
Now when user enters some value in it , i am not able to get that value in my back-hand code.
I have treid the availble code on Fourm , its not working .
Regards
RaulHi ,
I am getting the input field values in my back hand using MVC .
Regards
Raul -
How to use one pop up window for multiple buttons and input fields?
Hi Experts,
I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window. How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
Thank you,
DonHi,
Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
Eg:
On Button 1 click set value "B1", Button 2 value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
else...{
Hope this helps you.
Regards,
Poojith MV -
Want the data store values to be displayed in input field of form
Hi,
I wanted to know wether is there possibility of displaying the data in a input field instead of expression field.
In our model i have used a form which has material type,plant and Vendor connected to data service1 in turn gives the out put in chart and i also have the second input form which has To(0CALMONTH) combo box which is connected to Data service2 and gives the data in table.
But what i wanted is to i also want to use the input fields of first form to second Data service2 and get the data based on on inputs of form1 and form2i.e also To field.
We can connect the port from form1 to DS2 but problem is we need to click the submit of form1 and form2 and it doesnt gives the output according the input of form1 and form2 as it gives the output of that form when we click that submit button.
I have followed help.sap for data tore procdure.
So i have used a datstore where i will store the values of form1 and call it in expression field which i will add and hide it in form2(hide because user should not see that input fields).
Formula used in data store for expression field.
IF(CONTAINS(STORE@matltype,@Material_Type),STORE@matltype,STORE@matltype &(IF(LEN(STORE@matltype)>0,'; ',''))&@Material_Type)
But whats happening is the value is getting concatenated when i goon change the values in input field, so i wanted to get the values to be replaced as soon as i change input field of form1(if use replace function its not working) and also it would be more preferrable if we use input field instead of expression field.
I would also like to know is there any alternate solution for the above requirement instead of datastore.
Thank You
K.SrinivasHi,
I have Form1 connected to Data service1 displays the data in a Chart and i have another Form2 connected to Dataservice2 displays the data in table.
In form1 there are Material Type,plant, and Vendor and form2 i have To (0CALMONTH)SO now i want also Form1 inputs for Table which gets teh data from Dataservice2.
What i have said earlier is connecting Form1 to Dataservice doesnt fetch the data correectly,its because if i click submit in form1 i get the data of those 3 inputs and i need to click the submit button in form2 after giving input which shows the data accordingly where it doesnt fulfill the requirement.
So i wanted some solution for that.For that reason i have used the data store and the procedure i have followed the help.sap as i said in my above mesage.
If Data store is also suggestable than i want to display the data in Text input Field instead of Expression field which should replace the previous values as soon as values change in data store.
Hope i have tried to be clear if still it is not i am ready to explain again.
Thank You
K.Srinivas -
Hi all,
i gt problem to gt the value from the input field:STUDENT-OBJECT_ID, STUDENT-FILE_NAME into my sql statement. I using module. When i delcare a static value objectid = stud. My sql statement can regnoize. How can i gt the objectid base on my input field in the module?
MODULE VALUE_FNAME1 INPUT.
<b>*objectid = STUDENT-OBJECT_ID.
*filename = STUDENT-FILE_NAME.</b>
<b>objectid = 'STUD'.
filename = 'STUDFILE'.</b>
SELECT FIELD_NAME
FROM STUDENT
INTO CORRESPONDING FIELDS OF TABLE values_tab1
WHERE OBJECT_ID = objectid and FILE_NAME = filename.
endmodule.Hi Gary,
Check the below code.
tables: t001k.
For Identification Number
DATA: BEGIN OF it_bwkey OCCURS 0,
bwkey LIKE t001k-bwkey,
END OF it_bwkey.
data: v_bukrs(4).
For Run date
DATA: BEGIN OF it_bukrs OCCURS 0,
bukrs LIKE t001k-bukrs,
END OF it_bukrs.
DATA it_ret LIKE ddshretval OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS: p_bukrs(4) TYPE c.
SELECT-OPTIONS s_bwkey FOR t001k-bwkey NO INTERVALS.
SELECTION-SCREEN END OF BLOCK main.
Validation Section
INITIALIZATION.
SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_BUKRS'
value_org = 'S'
TABLES
value_tab = it_bukrs
EXCEPTIONS
parameter_error = 1
no_values_found = 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.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bwkey-low.
TABLES: t130r.
DATA: BEGIN OF dynpfields OCCURS 0. "Hilfsstruktur zum auslesen des
INCLUDE STRUCTURE dynpread. "Feldwertes vom Dynpro bei >F4<
DATA: END OF dynpfields.
DATA : sy_repid LIKE sy-repid,
sy_dynnr LIKE sy-dynnr.
CLEAR dynpfields.
REFRESH dynpfields.
dynpfields-fieldname = 'P_BUKRS'.
APPEND dynpfields.
Lesen des akt. Wertes von Dynpro
sy_repid = sy-repid.
sy_dynnr = sy-dynnr.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy_repid
dynumb = sy_dynnr
TABLES
dynpfields = dynpfields
EXCEPTIONS
OTHERS = 01.
IF sy-subrc = 0.
READ TABLE dynpfields WITH KEY fieldname = 'P_BUKRS'.
IF sy-subrc = 0.
v_bukrs = dynpfields-fieldvalue.
ENDIF.
ENDIF.
SELECT bwkey FROM t001k
INTO TABLE it_bwkey
WHERE bukrs = v_bukrs.
DELETE ADJACENT DUPLICATES FROM it_bwkey.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BWKEY'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_BWKEY'
value_org = 'S'
TABLES
value_tab = it_bwkey
EXCEPTIONS
parameter_error = 1
no_values_found = 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. -
Input Field: Value Range in IP Web Layout
Hi Experts,
I've created a Web Layout based on IP with a copy function (e.g. from actual 2008 to plan2009) over 12 calendar months. For choosing the months to be copied, I created a Variable (calmonths) and added an Input Field into my layout to enter the the months to be copied. I referred the variable to the input field and it's working...
When I want to select several months to be copied, I can type in " 1; 2; 3; " into the input field, execute the planning function and only month 1, 2, 3 (i.e. Jan, Feb, Mar) are being copied. But when I want to copy all 12 months, i have to enter 1; 2; 3; 4;...11; 12 which is kind of anoying! Has somebody some experience whether I can use a value range like 1-12 (or something like that) to avoid entering all the months individually? (I tried 1-12; 1- 12; 1 - 12; 1:12 etc but nothing like this is working)
It would be very helpful if someone has an idea
All the best,
NorbertHi Mayank, hi Srinivas.
Thanks a lot for your valuable input! Unfortunately I was not able until today to test your recommodations.
I tried your Interval variable but then faced the problem that I cannot enter multiple months anymore (e.g. 5 - 8 worked, 1; 3; 5 not). Then I inserted both variables, multiple values & interval, into the planning function as well as in the button group in WAD for executing the PF but was not able to execute the following example: 1; 8; 4 - 6. After trying out for some time I figured out that one has to type in the figures in the following order: 4 - 6; 1; 8. Only then I am able to execute the planning function for the months April-June & Jan & August. So, if you're facing the same problem in the future, maybe you have the solution
Best regards,
Norbert -
Input Field of Type Time Unable to Keep Input Value
Hi,
I am facing the following problem:
I am using an input field of type time that initially its value comes from a BAPI call. I want though to be able to change its value and use the same field as import parameter for another BAPI. The value of the field is populated correctly from the first BAPI but when I try to change it, the value disappears and it does not keep what I type within the field i.e. the field remains empty.
Could you please let me know how to resolve this problem?
Thank you in advance.
Kind Regards
Michaelwhich runtime do you use?
which version of VC? -
How to get Input field value?
Hi All,
I have some problem in getting of input value from View to customcontroller.
My problem is I have created a Input field in the view and if Iam giving the value to that field I can capture the value from View to customcontroller and send it as BAPI input.But My input filed is in the view Context.
How can i capture InputFiled value from View to CustomController.
Advance thanks
Nageswara.
Message was edited by: nageswar mandapatiThanks for your response Patrick,
In my customcontrollerView all my BAPI mathods instances and execute methods are declared.All the attributes directly getting from model class.
But I have two views , in first view I created a input field(for that i created valueAttribute in that context).
Here I want give the conditions If the input field is empty then directly call the execute method of BAPI.
Otherwise give any input to the inputfiled then capture that value and send it input to BAPI from view to BAPI.
In my customcontroller
BAPI b = new BAPI();
b.Param1();
b.param2();
and
execute BAPI()
I done like this.
How can i capture the view input value how to send as a b.parama();
Please guide me .
Any snippests appriciate.
Thanks
nageswara. -
How to clear input field value on back
Hi All,
I have developed an application, in which user put sales order on first page and press a button then its detail display on second page using restAPI. Now when I press back button on second page then it takes me to first page with holding previous sales order value in input field. And when I change its value and press that button again then it shows me previous sales order detail.
Please suggest me, how to refresh cache and input fields value on back button?
Thanks & Regards
ShubhanshuHi Viren,
My code is,
First view
sap.ui.jsview("uitest2.first", {
getControllerName : function() {
return "uitest2.first";
createContent : function(oController) {
var text = new sap.m.Label({
text: 'Dealer Code',
layoutData: new sap.m.FlexItemData({alignSelf: sap.m.FlexAlignSelf.Center })
var input = new sap.m.Input("CUSTOMER",{
type: sap.m.InputType.Text,
placeholder: 'Enter Dealer code...',
layoutData: new sap.m.FlexItemData({growFactor: 1, alignSelf: sap.m.FlexAlignSelf.Center})
var Dealer = new sap.m.HBox({
items:[ text,input
// new sap.m.Label({
// text: 'Dealer Code'
// new sap.m.Input("CUSTOMER",{
// type: sap.m.InputType.Text,
// placeholder: 'Enter Dealer code...'
height : "6em"
var button = new sap.m.Button({
text: "Submit",
press: function(oEvent) {
oController.loadData();
app = sap.ui.getCore().byId("myApp");
app.to("idsecond1");//, sap.ui.getCore().byId("CUSTOMER").getValue());
layoutData: new sap.m.FlexItemData({alignSelf: sap.m.FlexAlignSelf.Center})
return new sap.m.Page({
title: "Sales Dealer Info",
content: [ Dealer,button
First controller
sap.ui.controller("uitest2.first", {
loadData: function() {
var oParameters = ({
"CUSTOMER" : sap.ui.getCore().getElementById('CUSTOMER').getValue(),
console.log(oParameters);
var url = "http://###########:8000/sap/bc/zrst_customer?sap-client=800/";
var oModel = new sap.ui.model.json.JSONModel();
$.ajax({
url : url ,
dataType : "jsonp",
type : "POST",
data: oParameters,
success: function(data,textStatus,jqXHR) {
data = JSON.parse(data);
console.log(data);
oModel.setData(data);
sap.ui.getCore().setModel(oModel);
Second View
sap.ui.jsview("uitest2.second", {
getControllerName : function() {
return "uitest2.second";
createContent : function(oController) {
var oTable = new sap.m.Table("table",{
headerText: "Dealer data",
columns: [
new sap.m.Column({
header: new sap.m.Label({text: "NAME"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "CITY"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "COUNTRY"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "COUNTRYISO"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "STREET"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "PST_CODE"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "TELEPHONE"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "EMAIL"}),
demandPopin : true,
minScreenWidth : "Tablet",
items: {
path: "/KEY",
template: new sap.m.ColumnListItem({
cells: [
new sap.m.Text({ //new sap.m.ObjectIdentifier
text: "{NAME}"
new sap.m.Text({
text: "{CITY}"
new sap.m.Text({
text: "{COUNTRY}"
new sap.m.Text({
text: "{COUNTRYISO}"
new sap.m.Text({
text: "{STREET}"
new sap.m.Text({
text: "{PST_CODE}"
new sap.m.Text({
text: "{TELPHONE}"
new sap.m.Text({
text: "{EMAIL}"
return new sap.m.Page({
title: "Dealer Info",
showNavButton: true,
navButtonTap:function(){
app = sap.ui.getCore().byId("myApp");
app.to("idfirst1");
sap.ui.getCore().getElementById('CUSTOMER').setValue("");
oModel.refresh();
content: [ oTable
Index.htm
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m,sap.ui.commons"
data-sap-ui-theme="sap_bluecrystal">
</script>
<!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->
<script>
sap.ui.localResources("uitest2");
var app = new sap.m.App("myApp",{initialPage:"idfirst1"});
var page = sap.ui.view({id:"idfirst1", viewName:"uitest2.first", type:sap.ui.core.mvc.ViewType.JS});
var page1 = sap.ui.view({id:"idsecond1", viewName:"uitest2.second", type:sap.ui.core.mvc.ViewType.JS});
app.addPage(page).addPage(page1);
app.placeAt("content");
</script>
</head>
<body class="sapUiBody" role="application">
<div id="content"></div>
</body>
</html>
Thanks
Shubhanshu -
Assign a value from dropdownlist to input field value on BSP page
Hi,
I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
Now, coming to my problem: I have a input field with
value = "//BTAdminH/HeaderInfo"
This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
How can I now set the field as readonly (this should be the easier part) and
how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
If I set it directly like this
value = "//BTActivity/Priority"
it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
Please help me.
EnjaHello Gokul,
test was only for test purposes! I am using as a separator the plus sign!
But this is not the problem!
In debugging, the local variable has the concatenated value! So, this is working!
oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
endif.
If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
lv_headerinfo =ls_ddlb1-value.
So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
Regards
Enja -
Setting input fields to an empty string BIG PROBLEM
Hi Rob, thanks for your rerply, It makes sense alright, but I am using 2 seperate input fields. I have discovered what is causing the problem .
After the user types into the inputfield and moves on to a different frame, I have set the input field to an empty string and this is what is causing the problem.
I have tried setting the input field to an empty string in a movie script and on individual sprites and the first right answer is not excepted.I have to type in the right answer twice to get get a right response. I am actually using three seperate input fields in total, each with a different name and behavior. Even If I use one input field I still have the same problem. Its driving me crazey. Any Ideas.
AnneI believe that the FIM Service always does trims on string, so you may be out of luck.
What is your scenario / what are you trying to accomplish by setting a space in an attribute? A space is not an empty string in my definition.
Regards, Soren Granfeldt
blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt -
How to make numbers in message text input fields left aligned?
Hi Friends
I have completed one of my task .but getting result right side of the field.
how to make numbers in message text input fields left aligned?
Thanks
AravindaHi ,
Sorry for late replay i am trying this alos not set that page....
pageContext.forwardImmediatelyToCurrentPage(null, true, null);
and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
Regards,
Srini -
Input fields vanishing with mouseover
This bug seems to have started around FF14 and still persists to the latest version.
In forms, all input fields will show as expected on page load. Then, when you move your mouse across the fields, some (but not all) will vanish and reappear, seemingly randomly. This occurs with both input text and select form elements. You can still type in the text field or select options from the drop-down but it is challenging to do so as the elements do not appear properly.
Some possible, but inconsistent, fixes are applying styles with specific pixel font sizes, and setting background colours on the form elements.I'm having the same issue as JennyWren. I've tried the suggestions by cor-el, unfortunately nothing has worked for me either.
Are there any other suggestions out there?
I will keep on working on this and update this thread when I come across some sort of solution... I have this strange suspicion that the answer lies in some dark CSS. -
How can I create a text input field?
Ok, I found the solution by a lot of searching and trial and error:
sym.$('#nickname').val("XXX");
..., where "nickname" is the id of the input field. -
Text Input field return char problem
I have a multiline text input field used as a message area on a form (sending mail through a PHP doc). When I hit return to start new paragraph in that field and the form content is send and received at other end everything after that return is lost? Any ideas would be fantastic...
Marccopy the code between the dotted lines and attach it to the same timeline that contains your submit button:
var sendLV:LoadVars=new LoadVars();
var receiveLV:LoadVars=new LoadVars();
receiveLV.onData=function(src){
trace("received");
trace(src); // or use a textfield to see the return if you're not able to see trace output when testing
// and you should attach code to objects. assign an instance name to your submit button (say submitBtn) and use:
submitBtn.onRelease=function(){
sendLV.name = form.nameTF.text; // assign properties to sendLV that your php is expecting. assign values to those properties using the form data
sendLV.email=...
sendLV.message=...
sendLV.sendAndLoad("email.php",receiveLV,"POST");
trace("sent\n"+sendLV.message)
and change your email.php file to:
<?php
echo $_POST['message'];
?>
Maybe you are looking for
-
Hello Background: We had Oracle 11.1.0.7.0 32-bit EE on Windows 2003 32-bit EE and now migrated to 64-bit (both OS and DB) and everything worked brilliantly ok except... Problem: We used to be able to connect to an external application (Postcode Plus
-
HT4437 Apple Tv, 2 years plus old,been working well,cannot get reception on Tv
Hi asking for_ airplay device password-unknown. I have Updated apple Id_password and E-mail address. result_no picture or audio_ no reception. Need advice. Thank u Knowlegdable
-
Apache version in OracleAS 10.1.3.1 (SOA?)
Can anyone tell me what version of apache is embedded into OracleAS 10.1.3.1? It only shows up as Oracle-Application-Server-10g/10.1.3.0.0 Oracle-HTTP-Server Server at <hostname> Port <port> I am having a problem with it loading a third party DSO (na
-
I updated to 25.0 yesterday. now when I got to a web page, the font's change colors, size and some times even white out! I've tried reset it 3 times, all with the same results!
-
I'm unable to register my Mac Mini (Late 2012). Says serial is invalid.
I'm trying to register my Mac Mini (late 2012) so I can get support for another issue with it. I grabbed my serial from the "About This Mac" window, and attempt to register using that. However, I get an error saying "We're sorry, but this serial nu