Create popup - Makes user to enter a valid date
I need to create a popup menu and I must make the user enters a valid date in order to continue processing.
Thanks In-advance!
JeffG
use FM 'HELP_START' to display calender popup, with this use will always enter a valid date and in right user format.. see below example
REPORT zpwtest.
DATA : i_sel TYPE TABLE OF dselc ,
i_value TYPE TABLE OF dval .
DATA : w_help TYPE help_info .
DATA : value TYPE help_info-fldvalue .
PARAMETERS p_dat TYPE char10 .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dat .
w_help-call = 'T' .
w_help-tabname = 'SYST' .
w_help-fieldname = 'DATUM' .
w_help-spras = sy-langu .
w_help-dynprofld = 'P_DAT' .
w_help-report = sy-repid .
w_help-dynpprog = sy-repid .
CALL FUNCTION 'HELP_START'
EXPORTING
help_infos = w_help
IMPORTING
select_value = value
TABLES
dynpselect = i_sel
dynpvaluetab = i_value.
p_dat = value .
Similar Messages
-
RFC_ERROR_LOGON_FAILURE: User account not in validity date
Dear All
We are trying to upgradfe one of our ECC system to EHP4. We created a system in the solution manager. However, it had some problems and we tried to delete it. During deletion, we are receiving an ABAP dump as "CALL_FUNCTION_REMOTE_ERROR". Detailed dump mentioned the error as :-
RFC error text: "RFC_ERROR_SYSTEM_FAILURE"
CPI-C error text: "Server repository could not create function template for
'FM_DIAGLS_NOTIFY_JAVA' caused by: com.sap.mw.jco.JCO$Exception: (103) "
We checked on the java trace file and we found this error occuring repeatedly.
Exception thrown [Fri Feb 18 12:25:14,057]:Server repository could not create function template for 'FM_DIAGLS_NOTIFY_JAVA' caused by: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User account not in validity date
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User account not in validity date
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1025)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)
at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4725)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6180)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6135)
at com.sap.mw.jco.JCO.getClient(JCO.java:8803)
at com.sap.mw.jco.JCO$Repository.getRepositoryClient(JCO.java:20461)
at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20541)
at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:20649)
at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:19687)
at com.sap.mw.jco.JCO$Server.getFunction(JCO.java:7471)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2260)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1738)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8182)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8302)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8249)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
Can anyone please help. Our complete upgrade is struck due to this.
Thanks in advance
Regards
LokeshHi Sven
Thanks for the update. I checked and found 3 communication users to have expired. I increased their expiry date to 31.12.9999.
However, now when i tried to perform the deletion action, I am receiving a different dump as
RFC state: " "
RFC error text: "RFC_ERROR_SYSTEM_FAILURE"
CPI-C error text: "Bean FM_DIAGLS_NOTIFY_JAVAnot found on host a2ms00015,
ProgId =WEBADMIN: Object not found in lookup of FM_DIAGLS_NOTIFY_JAVA."
The Java Trace file shows this error :-
Exception thrown [Fri Feb 18 16:46:06,657]:Exception thrown by application running in JCo Server
java.lang.RuntimeException: Bean FM_DIAGLS_NOTIFY_JAVAnot found on host a2ms00015, ProgId =WEBADMIN: Object not found in lookup of FM_DIAGLS_NOTIFY_JAVA.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Please help
Regards
Lokesh -
Enter a valid date error for ECM
Dear Sir
in our scenario any changes to be done in material bom ecm to be created,but when i m trying to do chnages with that no. it gives enter a valid date error.
regards
kunalDear
When ever any changes done in BOM , it can be captured in the same ECM number generated during the creation of bom under a valid date either u have entered or it will take current date as default date .
Now , if you forget that date , you should goto CC03-Engineering number and then check date from which it is valid .In CS02 , you should give that date along the same ECM number .Generally , it automatically pop up or else if it takes the current date during CS02 txn , u need to change the valid from date of ECM number
hope it is clear
Regards
JH -
Error messege- Please enter a valid date in Background Job
Hi all,
background job which is scheduled in sm37 is giving error for dated 01.01.2009 to 30.01.2009.
But before 31.12.2008 it was working fine
error messege-
This is happening in Production and developement client.
While running the report it showing the error messege- Please enter a valid date
One function module is used in the report for geting fiscal year from date.
it is showing the following error messege for perticular date range- 01.01.2009 to 30.01.2009.
GM_GET_FISCAL_YEAR
Error
Fiscal year variant V3 not defined or maintained for date 01.01.2009
Thanks
SusantaHi,
Did you put the date fields to be dynamic in your variant? i.e if in your variant you specified date range of last year, this will not work for this year and eventually give you an error message that the date is not valid...
Dev. -
Error messege in Background Job(SM37) - Please enter a valid date
Hi all,
background job which is scheduled in sm37 is giving error for dated 01.01.2009 to 30.01.2009.
But before 31.12.2008 it was working fine
error messege-
This is happening in Production and developement client.
While running the report it showing the error messege- Please enter a valid date
One function module is used in the report for geting fiscal year from date.
it is showing the following error messege for perticular date range- 01.01.2009 to 30.01.2009.
GM_GET_FISCAL_YEAR
Error
Fiscal year variant V3 not defined or maintained for date 01.01.2009
Thanks
SusantaHi,Because this datein the past
-
RSPLAN - User account not in validity date
Hallo,
when I open the TA RSPLAN and jump into the planning modeler, I get the error message "User account not in validity date" in the web-browser.
I've checked the validity period of my SAP user in the SU01 (... also in the backend of the Netweaver portal) - The date is valid (01.10.2009 - 31.12.9999)! So, why I get this message?
Thanks in advance...Hi,
If you run the support desk tool, note 937697. It will most likely tell you where the problem is, my guess is that one of the users defined in the JCo destinations of the Web Dynpro Content Administrator are not in validity date in SU01.
thanks,
Michael -
ESW : User account not in validity date
hi team,
i'm trying to log in to the system " HU2" with the id P1047788 and for which i'm getting the error as " User account not in validity date".
i have already registered again in the page " http://www.sdn.sap.com/irj/sdn/soareg" using my P-id and the password.
but, unfortunately i didn't receive any mail communication since 2pm totay.
could you please help me to activate my account ?
thanks in advance,
AlokHELLO ALL,
I am also facing the same problem, can any one helps us out to solve this problem. -
USER ACCOUNT NOT IN VALID DATE
Hello folks,
Could you pls help me out with this error
USER ACCOUNT NOT IN VALID DATE
I have checked it in SU01..its shows the correct validity date..
but still i am facing this problem
Thank,s
Srini>
Narendra Reddy C wrote:
> Hi prasad,
>
> USER ACCOUNT NOT IN VALID DATE means ur id has been locked by BASIS people ie authorization people.
> so check with ur BASIS team.
>
> REDDY
Really?
Gp -
User Exit for VA41 Validity Date
Hi,
I am giving order type in VA41 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract created with validity date lessthan today's date(in Contract Tab).For Example i created a Contract xxxxxx with 'valid to' 9.12.2008. When I am giving this contract and clicking on 'Copy' button a Warning message is getting generated 'The sales document is only valid until 09.12.2008'. Now i have to change this into Error message instead of Warning Message.
i used User Exits mv45afzz,MV45AFZA,MV45AFZB. But the debugger is getting started only after Warning message got generated.Is there any User Exit for which debugger gets started when i give the Contract and then Click on 'Copy' button. Please Suggest.
Thanks
K SrinivasHi,
Create a file say breakpoint.txt file as follows:-
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
Once you come to the screen of 'Create with reference' where you are giving the contract, from second session drag the above mentiuoned file to the session where you are running VA41, & drop it here. Now debugger has been activated. Proceed with debugging. This method you can use for any of the 'POP UPs'.
I hope this helps,
Regards
Raju Chitale -
Do not allow user to enter non-number data.
Hello
For some reason the have used the TEXT FIELD object for numeric data input field.
Actually, user has to always enter numeric data ONLY.
No decimals, no commas, no alphabetical characters allowed except numbers.
(Syststem should not allow user enter non-allowed data at all....i mean to say, when we achive by using Numeric field/object.... or If user trying to enter any non-allowed data i hv to throw an error and CLEAR the field immediately)
Pls. let me know How to get my requirement? Do i need to use JavaScript or Pattern or Validation Pattern in object pallette or ALL 3?
I am newbie, pls. provide me the code (if JavaScript)
Thank youhttp://forums.adobe.com/message/4265578#4265578
-
How do I create a new user account and migrate my data to it?
I have problem with Adobe Bridge crashing when I exit Camera Raw. I was advised by my local apple service store to create a new user account and test Bridge using the new account. It works fine. So what do I do now? I don't know what in my account is causing the conflict but assume that the solution might be e newly setup user.
Checking the behaviour in another user account is a TEST, not a solution! You don't need to move everything over. Otherwise, every time you get a user account problem, you'll keep moving to a new user account again and again.
If the problem does not occur in a new user account, then the cause is something IN your user account. This is usually a Preference file. Adobe Bridge seems to crash a lot, and it can usually be fixed by deleting the Bridge folder in <user>/Library/Application Support/Adobe/
You can also try deleting the Bridge preference file, which will be in <user>/Library/Preferences, and called com.adobe.bridge5.plist (or similar).
If that doesn't work, you can test removing a whole bunch of the various Adobe files in those folders. You can always put them back if they don't change anything. And you've got a backup, haven't you? ;-) -
Create a specific user profile to Material master data
Dear colleagues.
We need create on R/3 4.6 a specific user profile for material master data, to create or modify (MM01/MM02) only the following views: 'Sales org. data 1', 'Sales org. data 2' and 'Sales:General/Plant data'. The problem is that when I use the SAP gui functions, I can create the profile, but also with the views 'Foreign trade: Export data' and 'Sales text'. Someone know how create this profile without this last two views? Thanks.See:
http://technet.microsoft.com/en-us/library/cc262327(v=office.15).aspx#create
And a more complex, in-depth example leveraging MMS:
http://www.sharepointsteve.com/2010/10/making-custom-user-profile-properties-searchable-in-sharepoint-2010/
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
I have a custom list form created in SPD based on EditItem form. I then set field validation in Validation setting and entered a user message to display when the validation did not pass.
The validation works in the custom form but the user message never show up.
I see a similar question posted in 2012:
https://social.technet.microsoft.com/Forums/en-US/cd292b50-856f-4dfa-8cfe-aeb688ee7185/validating-fields-on-a-sharepoint-2010-custom-list-form?forum=sharepointgeneralprevious
Is this still a known bug? What is the easiest workaround?Hi ,
From the
above link you mentioned, have you tried using the code line in your custom form?
Please try the code suggested by sp-achiever and hamish, and see if it could help solve the issue.
<SharePoint:ItemValidationFailedMessage ControlMode="New" runat="server" ID="checkform" />
Have you installed hotfix KB245789 or CU contained this kb?
Please check if KB245789 has fixed this issue as KP2011 suggested in the same post, and please try it in a test environment firstly.
http://support.microsoft.com/kb/2405789
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
How to "force" user to enter a valid value in a TextBox
How can one create a TextBox in which the user is not able to leave (commit the value, change focus, or perform the action of another control) unless a valid value (the value to be committed) is displayed?
The following is the best I've come up with so far.
Good: It doesn't permit a value to be committed unless it is valid.
Good: It doesn't permit the focus to be changed when TAB is pressed unless it is valid.
Bad: It permits the user to perform the action associated with a button at any time.
In the following code pressing on the button prints "I've been pushed", no matter the value of the TextBoxes. Can I stop this (in general, not for specific buttons)?
class ValidTextBox extends TextBox {
public-init var validValue:String = "";
function isValid():Boolean {
return (rawText == validValue);
var isFocused = bind focused on replace {
if (not focused and not isValid()) {
requestFocus();
override function commit():Void {
if (isValid()) { super.commit(); }
else {};
var string1:String = "" on replace { println ("String1 = '{string1}'") };
var string2:String = "" on replace { println ("String2 = '{string2}'") };
def textbox1 = ValidTextBox { text: bind string1 with inverse; promptText: "String1: enter abc"; columns: 20; validValue: "abc"; }
def textbox2 = ValidTextBox { text: bind string2 with inverse; promptText: "String2: enter def"; columns: 20; validValue: "def"; }
def aButton = Button {
text: "Push me";
action: function():Void { println("I've been pushed!"); }
Stage {
scene: Scene {
width: 250
height: 300
content: [ VBox { spacing: 10; content: [ textbox1, textbox2, aButton ] } ]
}It sounds like you are looking for a concept of validation that groups items together. In days long gone Oracle used to have a product called Oracle Forms - that had field validation, record validation and block validation. So in your example if string1 and string2 were in the same persistable data object then the equivalent concept would be 'record validation'. The code in your button would say "if the record is valid print". A record is only valid if all its fields are valid.
JavaFX really provides a 'GUI toolkit'. I think you are looking for a fairly advanced binding framework - a framework that builds on the concept of field level validation. You can approximate such a thing by creating a 'validation group' class. This class would be able to have nodes added to it and have an 'isValid()' function which only returns true if all the node items are valid. -
Is there any way to create fields reports users can enter data into?
I am using Crystal XI to develop reports for my company and have not received any formal training on it. I'm learning it fairly well through the help files.
One of the reports I need to create summarizes our scrap, rework, and additional incurred expenses for our monthly quality reports. Most of the information is stored in the main program used by all employees, a very small amount of it is not. I have created sub-reports for each of the different types of costs that are tracked in the system.
Is there any way to create an area on the report that our QA people can use to enter the items not tracked in the main system? I am imagining that it would be through another sub-report of some kind, but do not know how to create the fields needed.
Thank you very much for any assistance you can provide, even if it is to tell me "You can't do that, ma'am..." At least then I would know and wouldn't beat my head against the desk trying to figure out how to do it.Is defining parameter prompts in the Crystal Report and displaying it in the report a possible workaround?
If you define parameter prompts, then Crystal will query the user before running the report - so this would be problematic if the user needs to reference data in the report to enter appropriate values (one possibility then is to use interactive parameters feature available in CR 2008).
Sincerely,
Ted Ueda
Maybe you are looking for
-
hi- i have a class that loads external images one by one. After one is complete, it begins loading the next till they are all in. Works fine....next, after the first image is "ready", a timer starts at intervals of 4000 mls. Each event of the timer,
-
hi when i using digital media crad ,it says very slow response and called not not responding and after 2-3 min its ok and i if i try to move another picture it say the same . i m very fed up to hp pavillion g6 1159 laptop , pls tell me if any sol
-
CS6: Fonts not showing up in Indesign or other adobe programs
There are missing fonts in several of our files due to moving our marketing inhouse. I have installed the Avenir complete font family into C:\Windows\Fonts and a lot of them aren't showing up in InDesign or the other Adobe programs. After looking at
-
Result states and interactive forms
Hello, I am currently building a process that solely uses interactive forms routed via email to the processors. Some of the forms include multiple buttons (i.e., "Approve" and "Reject") and based on the button pressed, the process must be routed to
-
Running a RFC Function in SE37
People, is there a difference between to run a RFC function using SE37 and when the external system calls it? I´m trying to run the Function BAPI_SOURCEDETERMIN_GETSOS in SE37, but I don´t know if I have to fill the field "RFC target sys". If I fill