Control User Input - xRPM Project ID
Hi,
What is the simplest way (that is to say if it can be done only by customizing it's fine !) to control user inputs ?
Indeed, in xRPM, when creating a Proposal, it is possible to enter a project ID with the '-' caracter. This is causing quite a lot of problems with BW. Therefore, we would like to be able to restrict possible values.
Are the following possible solutions :
- implement a regular expression on the field
- modify the BAPI used in xRPM Backend (BAPI_DXPROJECT_CREATE ?)
Thanks in advance for your answers.
Best regards
hi,
no, i don't want from anybody to do my homework.
i've wanted only to get some help.
bye, Tuci
Similar Messages
-
How to control user input with a button?
How do I control a user input from a dialog box by activating it with a button. I am saying "press zero", then when the user does press zero, it should zero the scale.
The user has only one button they can press. You should enable the cancel so that the dialog can output an F.
What you have works, but the zero will not occur until the case is activated. If the insides of the case do not work, that is another story. Put a pop up in the active case to convince yourself that the case is being entered.
This, what you have, always returns T.
Mark Ramsdale -
How can i control user to input number to the JTextField only?
i want to control user to input the number only in the JTextField
how can i do it?Add an actionListener to the textfield and then when someone enters a key into the textfield check and see if it is a number, if it is not send an alarm and remove it.
-
A week ago, I downloaded the sample code examples. Then I extracted the reverse sample code, loaded it and ran it. All was well.
I was just using it as a resource for example code, so no code changes. Now, when I open the project, I get nothing loaded.
Solution explorer displays Solution 'Reversi' (0 Projects). Below that
"The project requires user input. Reload the project for more information."
This message shows for all three sections Reversi, ReversiGameComponet, and ReversiComponentTests.
Ok, so I figure I must have accidently changed something. So, I re-extract. Same message.
The only thing I can think of is that in the options, I changed the startup location for my projects. I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8. I've always done this so that when I create a new project,
it does it in my project directory by default. Didn't change anything else such as the templates dir.
I did set this back to the c:....projects, as where templates are, but that didn't help. So, I reset to my projects directory.
My project that I created loads ok.
Suggestions?A week ago, I downloaded the sample code examples. Then I extracted the reverse sample code, loaded it and ran it. All was well.
I was just using it as a resource for example code, so no code changes. Now, when I open the project, I get nothing loaded.
Solution explorer displays Solution 'Reversi' (0 Projects). Below that
"The project requires user input. Reload the project for more information."
This message shows for all three sections Reversi, ReversiGameComponet, and ReversiComponentTests.
Ok, so I figure I must have accidently changed something. So, I re-extract. Same message.
The only thing I can think of is that in the options, I changed the startup location for my projects. I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8. I've always done this so that when I create a new project,
it does it in my project directory by default. Didn't change anything else such as the templates dir.
I did set this back to the c:....projects, as where templates are, but that didn't help. So, I reset to my projects directory.
My project that I created loads ok.
Suggestions?
Hi there,
Can you provide the link for the sample code example so I can download and try on my machine?
Regards, -
How to give user input in flsh animation??
i m a student of engineering and my project is to create animation of dc motors whose parameters can be controlled by user input
means current,voltage and speed of the rotor...how con i do it...
m totally new iin this field and learning flash...
and can i make these type of animation in flash professional CS5???What you should probably consider is using Slider components to control each of the parameters. There should be examples of how to use them in the help documentation.
-
Asking for user input in the middle of a function
Here's my issue.
I need to launch and input window in the middle of a function for user input. Before I can continue through the function I need a response back from the user first. Psuedo code below:
function
function begins
pop up window is launched to ask for user input
function continues after users submits input
user input from pop up window is used in function return value
Let me know if you need more clarification but this is essentially what I'm attempting to do.The way actionScript works it isn’t really designed to work that way
Is there any reason why you have to only use one function as you have written
I think you really do need to split up your code into sections that a, set up the pop-up with event listeners waiting for the input to be completed, trigger the pop up with user input, then have a handler function that then interprets the results of the user action.
Trying to force the system into a closed loop while waiting will be a bad idea.
By using a pop-up or an alert window that is set to be modal, you are effectively stopping your application doing anything else until the user input has been completed, but still not locking the app into a closed loop. Imagine what would happen if you did put the system into a closed loop, the mouse movement wouldn’t be updated, the screen wouldn’t refresh and the system wouldn’t be able to handle your user input. the reason for using async model is you are able to let the system still do all its background task (move the mouse, give inputs focus, keep the screen drawn etc) but still tell a part of your app to ‘wait for input’ before carrying on it execution of your logic
Do you come from another programming language? Maybe one that uses less of an OOP approach? I only ask, as the method you are describing is much more like how I had to program when I worked on computers years ago as an assembly programmer.
In actionscript and most other modern languages and Oss you don’t have total control of the system and cant lock it into an action as you describe.
You need to have an asynchronous approach to situations like you describe and let the system run in the back ground while you are waiting for input (or date from a server for that matter)
Please excuse me if I am telling you things you already know.
What exactly is your use case for this? Maybe if we knew exactly what you are working on I might be able to offer a solution that would make sense for your particular situation.
Hope all is going well and please feel free to contact me if you are stuck -
Enable and encourage user input in PDFs (viewed with Adobe Reader)
with FrameMaker-to-Acrobat TimeSavers + Form Assistant
Half-hour webinar (free; no fluff, no hype, no nonsense)
Wednesday, June 5, starting 9am PDT
Register at: https://www3.gotomeeting.com/register/157658438
Enabling PDFs for various types of user input can strengthen the interaction between users and the content, and improve satisfaction due to greater user involvement/control. In addition, designated avenues for user input can contribute to documentation quality and provide outlet for frustration, for example by sending inputs regarding the documentation or the product directly from within the PDF.
Techniques demonstrated in this webinar include features that are all embedded in PDFs that are viewed with the free Adobe Reader:
• text fields where users can record data values and options
• checkboxes to track progress
• page marks and notes (optionally e-mailed)
• embedded grading/feedback forms
• storing of useful search queries within the PDF for future use
Shlomo Perets
MicroType, http://www.microtype.com
FrameMaker/Acrobat/Captivate training & consulting • FM-to-Acrobat TimeSavers/Assistantshttps://crash-stats.mozilla.com/report/index/bp-0a0b872f-5127-4ee1-a355-ca3cb2120721
https://crash-stats.mozilla.com/report/index/bp-9cd87dd7-205f-4844-9e6d-3ce262120721
https://crash-stats.mozilla.com/report/index/bp-8c07c846-b2ed-4535-8db4-4ee072120720
https://crash-stats.mozilla.com/report/index/bp-f29a89ed-f8b1-4a62-ba3e-983e22120720
https://crash-stats.mozilla.com/report/index/bp-e16d2b91-0f7d-4e5a-9e25-255852120718
https://crash-stats.mozilla.com/report/index/bp-1226c709-5f87-41c6-95d3-4310d2120718
https://crash-stats.mozilla.com/report/index/bp-4de2a0da-dd36-4ec8-8e53-c42742120714
https://crash-stats.mozilla.com/report/index/bp-e16d2b91-0f7d-4e5a-9e25-255852120718
https://crash-stats.mozilla.com/report/index/bp-4de2a0da-dd36-4ec8-8e53-c42742120714
https://crash-stats.mozilla.com/report/index/bp-eac1c5a5-2dce-4415-b645-07a1f2120714
https://crash-stats.mozilla.com/report/index/bp-1ede5bd3-8c72-4362-8d79-4f29c2120714
https://crash-stats.mozilla.com/report/index/bp-d4fd5dae-dacd-45f8-9549-2c3702120722
https://crash-stats.mozilla.com/report/index/bp-ca510991-de29-44b3-be02-0255a2120722
https://crash-stats.mozilla.com/report/index/bp-8600c221-3fd3-4eaa-a5af-a602b2120722
With Hardware Accelaration in Flash turned off. Still crashing. -
Some offerings are missing user input, some are not mapping to activites
Seemingly out of the blue my system has stopped mapping request offering answers to (manual) activities (mapping to the SR itself works), neither OotB properties or custom properties. This only happens when submitting them from the portal (ALL
offerings)
Also, some requests are even missing user input (and obviously no mapping is possible).
This issue seem to affect all users. Even admins
I have tried restarting the web content server and also the website on the sharepoint server. I have also tried creating a brand new template and offering in a brand new MP.
I have been able to track down a ca. point in time this issue arose, but not found anything in logs anywhere (except SMPortalTrace). Checked web content server event log and website log, SQL log, event log on both management servers.
I have checked the SMPortalTrace.log and for every request submitted I get an error (not visible in the portal) - some is in danish, so I have translated at the best of my ability:
Failed to parse the description with links., System.ArgumentNullException: [ArgumentNull_Generic]
Ressourcestrings for troubleshooting is not available. Keys and arguments often contains enough information to start the troubleshooting a problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30214.00&File=mscorlib.dll&Key=ArgumentNull_Generic
ParameterName: input
At System.Text.RegularExpressions.Regex.Matches (String input)
At Microsoft.Enterprisemanagement.ServiceManager.Portal.RequestOfferingSilverlightModule.UriParser.ParseDescription(string description)
The system is SCSM 2012 R2 UR2 (except the SP part of the portal)
Update:
I found that if the user input is missing even from the SR then the error does not present itself in the SMPortalTrace.log, only if the user input goes through (but is not mapped to activities).
http://codebeaver.blogspot.dk/The issue seems to be related to a syntactically valid type projection in the Service Request form (customized) - I added a component to the existing projection. As the template that a request offering is based on has a reference to this projection I guess
the code that creates the Service Request submitted from the portal somehow ignores the "unwanted" type projection component, and instead of not submitting the request it continues but is unable to map into child activities. I will try and reproduce
this in more detail.
Solution: Revert to original type projection in the SR form and everything went back to normal.
http://codebeaver.blogspot.dk/ -
User input in JDeveloper IDE not working?
We just started to use JDeveloper. so the problem may be very basic, I could not figure it out what is wrong:
I have a java class which is calling a third part application (Lotus Notes, domino server). The task of the class is to open a database on domino server(or local machine). When calling domino, there is a user(calling) authorization. So I must input the password for the domino server for authorization. When I input the password in input panel and hit return, nothing happened. It looks the Domino still wait for the password. It waited and waited and the process can not be stopped itself.
when I copied the same code and ran in other IDE or Sun's JDK. It worked fine.
So it looks that my JDeveloper could not pass user' input to the process?
Any helps are highly appreciated.
GeorgeHi George,
Let me make sure I understand what you are saying.
You want to run (or debug) your program which reads input from System.in?
If so...
Have you checked the checkbox in the Project Settings Dialog - Runner - Options panel "Allow Program Input"? Then when you ran (or debugged) your program, did you see a text field labeled "Input:" in the Log window for your running process?
Did you enter the password in that text field and press Enter on your keyboard?
If that wasn't the problem, can you give us step by step what you are doing?
Thanks,
Liz -
Resource control assignment failed for project
I've setup a new project (we run sap), and keep getting the following msg
pam_unix_cred: project.max-sem-ids resource control assignment failed for
project "PAB"
I know you can get this sort of msg if you have wrong syntax in your project, but it all looks well to me. Any ideas gratefully received. cheers Lou
/etc/project >
PAB:1000:SAP System PAB:orapab,pabadm::
process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-i
ds=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny)Hi
The original entries were created with projadd.
I've just done a projdel and another projadd (as below) and watching out for error msgs - will post again when I get the error msgs - cheers Lou
root@sappab # projadd -p 1000 -c "SAP System PAB" -U pabadm,orapab \
root@sappab > -K "project.max-sem-ids=(priv,1024,deny)" \
root@sappab > -K "process.max-sem-nsems=(priv,2048,deny)" \
root@sappab > -K "project.max-shm-ids=(priv,256,deny)" \
root@sappab > -K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
root@sappab > PAB
root@sappab # more /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
PAB:1000:SAP System PAB:orapab,pabadm::process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-i
ds=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny) -
Can I capture crystal report user input in my web application?
Folks, I have a report that has a input paramter named "AccountKey". Crystal report launches its own input parameter capture screen where user can type in the AccountKey value and hit OK button. Subsequently the crystal report gets renedred in crystal report viewer.
I have a requirement of rendering the report in PDF not in crystal report. How do I do that.
I am able to do that when there is no user input needed in the crystal report or, if I can somehow supply needed input from code-behind, but the moment I has a parameter that expects user-input I loose control.
Is there anyway I can capture what value user has entered in Crystal Report Input paramagter capture form? or, any alternate that can help me acheive the result?
Thanks.Hi,
To capture the values of Parameters the best thing you can do is to code for parameters and take values from it through text boxes, so that you can capture it.
here some sample code for it - try it
I would like you to know the following code that I have tried at my end using Viewer Object model:
// Object Declaration
ParameterFields boParameterFields = null;
ParameterField boParameterField = null;
ParameterValues boParameterValues = null;
ParameterDiscreteValue boParameterDiscreteValue = null;
ParameterRangeValue boParameterRangeValue = null;
// loading the report
CrystalReportViewer1.ReportSource = Server.MapPath("ReportWithSubReport.rpt");
CrystalReportViewer1.RefreshReport();
// passing database credentials...
foreach(CrystalDecisions.Shared.TableLogOnInfo boTableLogOnInfo in CrystalReportViewer1.LogOnInfo)
ConnectionInfo boConnectionInfo = boTableLogOnInfo.ConnectionInfo;
boConnectionInfo.UserID ="sa";
boConnectionInfo.Password="sa";
// Parameter Country
boParameterFields = CrystalReportViewer1.ParameterFieldInfo;
boParameterField = boParameterFields["Country"];
boParameterValues = boParameterField.CurrentValues;
boParameterDiscreteValue = new ParameterDiscreteValue();
boParameterDiscreteValue.Value = "Argentina";
boParameterValues.Add(boParameterDiscreteValue);
// Parameter Sales
boParameterField = boParameterFields["Sales"];
boParameterValues = boParameterField.CurrentValues;
boParameterRangeValue = new ParameterRangeValue();
boParameterRangeValue.StartValue = 25000;
boParameterRangeValue.EndValue = 100000;
boParameterValues.Add(boParameterRangeValue);
// Parameter @percentage in subreport named SubReport
boParameterField = boParameterFields["@percentage", "SubReport"];
boParameterValues = boParameterField.CurrentValues;
boParameterValues.Clear();
boParameterDiscreteValue = new ParameterDiscreteValue();
boParameterDiscreteValue.Value = 75;
boParameterValues.Add(boParameterDiscreteValue);
Please note that I have used Range and Discrete values as parameter in the above code.
Also if you want to use the ReportDocument Object model then you can use:
ReportDocument.SetParameterValues("Parameter name", value)
Note:- This code is valid for only discrete values of Parameters.
or
boParameterFieldDefinitions = boReportDocument.DataDefinition.ParameterFields;
boParameterFieldDefinition = boParameterFieldDefinitions["@percentage","SubReport"];
boParameterValues = boParameterFieldDefinition.CurrentValues;
For getting output in PDF you can export the report to PDF throug viewer or from code fro e.g.-
boReportDocument.ExportToDisk(ExportFormatType.portabledocumentformat,"c:\\temp\\myrpt.pdf");
To download sample code click [here|https://boc.sdn.sap.com/codesamples].
You can also take help from [Dev library|https://boc.sdn.sap.com/node/7770]
Hope this helps!!
Regards,
Amit -
How to create an user input variable for customer exit variable? - BW3.5
Hi Guru,
I have a requirement for the selection period of my reports. There are 3 possible reporting periods which should be user selectable:
1. Month: Current reporting month
2. Fiscal Year to Date
3. Project Year to Date
Here I need 2 variable to do these, 1 customer exit and 1 user input variable. I have created a variable customer exit to calculate all these requirement. But can any1 tell on how to create the user input variable for my customer exit? I need a user input variable with drop down list like below.
01-Current month
02- Fiscal Year to Date
03-Project Year to Date
I have create a new master data for this variable, but it's not working. What I need now is a standalone master data which do not need to link to any exiting records. Can any1 tell me how to create this?Just go to the definition of the variable for which you have created a customer exit. There you will find a check box for "Ready for Input". Just tick that checkbox and the variable will be available as a selection variable in the reports selection screen.
Regards,
Yogesh -
How to save User input into DB using webdynpro abap
Hi,
Im trying to create an application using webdynpro abap.
I want to know how to save the data input by user, into a database table.
In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.hello,
u can do it by reading ur context node.
we bind our UI elements to context attributes of appropriate type .
we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
eg suppose u have created a context node " cn_table"
reading context node cn_table
DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
lo_el_cn_table TYPE REF TO if_wd_context_element ,
ls_cn_table TYPE wd_this->element_cn_table.
* navigate from <CONTEXT> to <CN_TABLE> via lead selection
lo_nd_cn_table = wd_context->get_child_node(
name = wd_this->wdctx_cn_table ).
** get element via lead selection
lo_el_cn_table = lo_nd_cn_table->get_lead_selection( ).
lo_el_cn_table->get_static_attributes( IMPORTING
static_attributes = wa_table ).
here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
in ur
now ur wa_tablecontains value
u can nw use appropriate FM to update , delete and modify the DB table using the value
u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
rgds,
amit -
Date difference calculation with user input variable
Hi,
I have the following requirement in BEx:
The user inputs a date value and I have to calculate the difference between the date entered by the user with the Due Date in the cube, to determine the number of backlog days. Basically, I need to calculate Past Due in number of days. I need to display the Amount due for the Time buckets like 1 -10 days, 11 -30 days.
The report output has to be in the format below:
Columns:
1 u2013 10 days Past Due $100.00
11 u2013 30 days Past Due $15.00
Rows:
Customer#
The cube has data from Jan 2005 to June 2008.
For Eg: User Input Date = 04/30/2008.
It should compare the input date to the due date for each record in the cube.
Any suggestions are appreciated.Hi Kumar,
We have developed simar reports in our previous projects.
You need to follow the following steps.
1. Create a new restricted key figure globally on Past Due $100. Restriction details I will let you know in the ensuing steps.
2. Create another restricted key figure globally on Past Due $15. Restriction details I will let you know in the ensuing steps.
3. Create a Z varuable on Calday and offset it -1 (use the button next to exclude button).
4.Create another Z varuable on Calday and offset it -10 (use the button next to exclude button).
5. Create another Z varuable on Calday and offset it -11 (use the button next to exclude button).
6. Create another Z varuable on Calday and offset it -30(use the button next to exclude button).
7 Restrict the RKF past due 100$ (defined in sl 1)between the variable range defined in 3 and 4.
8. Restrict the RKF past due 15$ (defined in sl 2) between the variable range defined in 5 and 6
Now drag and drop those two RKF to column and you will get the desired result in C1 and C2 as follows:
Columns:
C1 :1 u2013 10 days Past Due $100.00
C2 :11 u2013 30 days Past Due $15.00
If the above info serves your purpose, please reward me with the point.
Regards,
Subha -
Selecting user input from Select option into smart form
Hi,
when i use parameter then i wil show company code in smart-form output
but when i use select option then its throwing error parameter specified here is different
what should i do in this case i want to design a big select option screen for taking user input
REPORT ZMM.
TABLES BSEG.
DATA : V_FORMNAME TYPE TDSFNAME VALUE 'ZPUR_REG',
V_FMNAME TYPE RS38L_FNAM.
*PARAMETERS SO_BUKRS TYPE BUKRS.
SELECT-OPTIONS : SO_BUKRS FOR BSEG-BUKRS.
DATA : Z_CONTROL TYPE SSFCTRLOP, "Smart Forms: Control structure
Z_OPTIONS TYPE SSFCOMPOP. "SAP Smart Forms: Smart Composer (transfer) options.
MOVE 'X' TO : Z_control-no_dialog, "SAP Smart Forms: General Indicator
Z_options-tdnewid, "New Spool Request (Print Parameters)
z_control-PREVIEW. "Print preview
MOVE 'LP01' TO Z_options-tddest. "Spool: Output device
MOVE space TO Z_options-tdimmed. "Print Immediately (Print Parameters).
MOVE 'PRINTER' TO Z_control-device. "Output device
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = V_FORMNAME
IMPORTING
FM_NAME = V_FMNAME.
CALL FUNCTION V_FMNAME
EXPORTING
CONTROL_PARAMETERS = Z_CONTROL
OUTPUT_OPTIONS = Z_OPTIONS
USER_SETTINGS = ''
BUKRS = SO_BUKRS.
pls help me in this regards.
ketan..hi
thnx for your reply
can u pls elaborate in my code
now i changed code BUKRS = SO_BUKRS-low.
either i can give low or high but how to select from range
REPORT ZMM.
TABLES BSEG.
DATA : V_FORMNAME TYPE TDSFNAME VALUE 'ZPUR_REG',
V_FMNAME TYPE RS38L_FNAM.
*PARAMETERS SO_BUKRS TYPE BUKRS.
SELECT-OPTIONS : SO_BUKRS FOR BSEG-BUKRS.
DATA : Z_CONTROL TYPE SSFCTRLOP, "Smart Forms: Control structure
Z_OPTIONS TYPE SSFCOMPOP. "SAP Smart Forms: Smart Composer (transfer) options.
MOVE 'X' TO : Z_control-no_dialog, "SAP Smart Forms: General Indicator
Z_options-tdnewid, "New Spool Request (Print Parameters)
z_control-PREVIEW. "Print preview
MOVE 'LP01' TO Z_options-tddest. "Spool: Output device
MOVE space TO Z_options-tdimmed. "Print Immediately (Print Parameters).
MOVE 'PRINTER' TO Z_control-device. "Output device
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = V_FORMNAME
IMPORTING
FM_NAME = V_FMNAME.
CALL FUNCTION V_FMNAME
EXPORTING
CONTROL_PARAMETERS = Z_CONTROL
OUTPUT_OPTIONS = Z_OPTIONS
USER_SETTINGS = ''
BUKRS = SO_BUKRS-low.
ketan..
Maybe you are looking for
-
I have a question that I think I know the answer to, but am looking for confirmation. I have a desktop computer at home that has clip art loaded onto it. I recently got an iPad and am looking for something similar. I assume I need to get an APP fo
-
How do I set the initial servlet pool size in WL 5.1
In WL 4.5, I can set the initial servlet pool size using the weblogic.httpd.servlet.SingleThreadedModelPoolSize. I tried to set this property in WL 5.1, and get an "Found undeclared property..." message when booting WL. Is this fe
-
I need to modify the Host (NOT the VM's) VMSwitch VLAN settings via Powershell for automation purposes. In Server 2012 (NOT R2), this can be done via modifying MSVM_VLANEndPointSettingData However, it seems in Server 2012 R2, that class is gone. I've
-
Won't charge or turn on...Please help
Hi, I was out last night and not able to charge my Iphone 5 so it completely died. I came home and plug in phone to a wall charger. Got up and went to turn it on and nothing, so I tried holding the power buttonand home button for 30 second and stil
-
LinMot Ethernet IP six axis servo communication
I have a project I am controlling three LinMot linear rotary motors (PR01 84x240F-C-100). Each motor requires two drives( B1150-ML-IP), one for the linear axis and one for the rotary axis. So in all I have six servo drives connected to one control