Populating the date field
Hi All, I am trying to populate the "datefield" (cv58) when the "validated" field (cv55) is set to a specific string from the dropdown menu. I have used the following code in the change event of (cv55). if (form1.P1.client.variable_option_client.cv55.rawValue == "Validated") then form1.P1.client.variable_option_client.cv58.rawValue = num2date(date(), "YYYY-MM-DD") endif if (form1.P1.client.variable_option_client.cv55.rawValue == "Pending" OR form1.P1.client.variable_option_client.cv55.rawValue == "Not Validated" OR form1.P1.client.variable_option_client.cv55.rawValue == "null") then form1.P1.client.variable_option_client.cv58.rawValue = "null" endif This does not pupulate anything into my datefield. I need the datefield to populate with today's date when (cv55) is set to "Validated" else it should not not set the date to anything. Please help Joey
Hi,
the rawValue is only applied when you exit the drop down box.
Use xfa.event.newText instead.
if (xfa.event.newText eq "Validated") then
form1.P1.client.variable_option_client.cv55 = Num2Date(date(), "YYYY-MM-DD")
else
form1.P1.client.variable_option_client.cv55 = null
endif
Similar Messages
-
Needed Enhancement in IW31 for populating the date fields
Hi,
We need to populate the date fields like RELEASE DATE, TECHNICAL COMPLETION DATE via Enhancement for the Transaction IW31.
We are using LSMW to upload the data.
Can anyone provide more insight in this.
Vijayanand.hi
This exit is available for IW31..
Exit Name Description
IWO10012 Maintenance order: Priority handling on central header
If this is not applicable you would have to go for badi's
To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
double click on method get_instance, get a break point on case statement.
execute and start the required transaction in new session.
look for variable <b>exit_name.</b> It would show the available badi's.
Hope this helps
if it helped, you can acknowledge the same by rewarding
regards
dinesh -
How to validate the field when i am populating the data cursor to block
Hi,
I am populating data cursor to multi record block.
Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
If user enter negative values and decimal points in quantity filed i need to display message to user item level.
Please do the needful how to do it.902434 wrote:
Hi,
I am populating data cursor to multi record block.
Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
If user enter negative values and decimal points in quantity filed i need to display message to user item level.
Please do the needful how to do it.If you want to validate at entry level then use When-Validate-Item trigger and check the input and show message. Like
If :quentity <0 then
message('do not enter negative value');
message('do not enter negative value');
raise form_trigger_failure;
end if;Why u open same thread again ? not closing one.. check this one
</a>
How to validate the field when i am populating the data cursor to block
Hopes this helps
If someone's response is helpful or correct, please mark it accordingly. -
Populated the new field with historic data
HI,
I have a data for 2 years now I am enhancing the data source how can I populated the new field with historic data.Is it by
1)deleting all the data in BW side and the doing an init then setting up a regular delta
2)running a repair full request with selection condition.
or is there any other option available? which is the best scenario to load these historic data?
Regards,
RaviHi,
I think your datasource is already in production, and you want to data only from today onwards for enhanced fields, i.e. historical data is not required for enhanced fields..
1.Fix ECC down time for 20 to 30 munities
2. Keep all objects on Qty system in ECC and BW.
3.Run Delta laods in BW for 2 to 3 times.So with this step you can clear SMQ1 and RSA7. Check the entries in RSA7, if it is ZERO then it is fine.
4. Move DS from ECC Qty to ECC PROD .
5. Replicate in BW.
6. Move all BW objects from BW Qty to BW Prod.
7. Delete Init load in InfoPackage level (Not in ODS/CUbe).
8.Load Init without DataTransfer.
9.Then Run Delta.
10. Next day on wards deltas will come as usual.
If you need Historical data also.
1.Delete data in Cube.
2.Fix Down Time and load Init then Delta.
Check
SAP Note 328181 - Changes to extraction structures inCustomizing Cockpit
Thanks
Reddy -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK -
populating the data to the data base table .... which i created using only reports ...
can any body tell the approach ....... if possible coding also plz help me out ..
but using only general reports ..Are you talking about loading data to an internal table from a database table or poplulating a database table?
If the former, the previous response is correct.
If you are attempting to load data into a database table, there are a number of approaches, including CATT and BDC.
I have frequently used BDC.
Both approaches have the data initialing in a flat file, such as a tab-delimited file output from Excel with the data to be loaded into the table.
The program then loads the data from the PC and creates a BDC session, which simulates data input into the appropriate transaction for updating the table in question.
You can also use a more straightforward technique if you are loading a Z table that does not require the standard edit checking and control you get with CATT or BDC.
Please clarify your request.
Good luck
Brian -
When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?
It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.
-
Problem with the date field in Table Control
I have created a table control in my module programming. One of the column in the table control is a date field which is I/O field.
Now if I enter a value in date field column and hit enter the date field is reset. I dont want the field to get reset and accept valid date field.
I have set type of the column as DATS and I havent used any dictionary fields. The column is from the internal table in the program.
Please suggestIn your PAI, in the LOOP AT <itab> did you
- check date validity
- update internal table
* Sample
LOOP AT itab.
FIELD itab-field MODULE checkfield.
MODULE updateitab.
ENDLOOP.
Look also at SAP documentation like [Table Controls|http://help.sap.com/abapdocu/en/ABENTABLE_CONTROL1_ABEXA.htm] or [Table Controls in ABAP Programs|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac9f35c111d1829f0000e829fbfe/frameset.htm]
Regards,
Raymond -
Strange error in online Adobe form for the date field
Hi Experts,
I am facing strange problem with online Adobe forms. I could able to save data when i click save button on the form.
But some times in the form the date field is throwing error message 'MMDDYYYY field is invalid' when i click on save button.
Is this the problem with versions of Adobe liveCycle designer, Adobe reader or GUI?
Thanks in advance,
RamHi
Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
Hope this helps
Regards
Amita -
Viewing and Removing the Time part of the Date field
Hi,
I have Date field in a table.
but in SQL plus when I do
select date from table
this gives me only the Date values and not the timestamps in the date.
I believe Oracle stores 'Date' and 'Time' in fields with Data Type 'Date'.
How do I print the timestamps also in the SQL query?
Moreover, if I have to extract the date field, reset the timestamp to 00:00:00, and store back the date field (with 00 time), how do I do that?
Thanks in advance
- ManuHi,
If you want to retry date and time you can:
SELECT TO_CHAR(DATE,'YYYY/MM/DD HH24:MI:SS') FROM TABLE;
If you want truncate time when inserting in a table simply use TRUNC function
INSERT INTO TABLE (DATE) VALUES (TRUNC(YOUR_DATE));
To extract and insert with time 00:00:00
INSERT INTO TABLE1 (SELECT TRUNC(DATE) FROM TABLE2);
I hope this help you. -
The date field does not appear on my form
On my saved form, the date fields do not reveal the calendar icon to select a date like it does on the test form. The date field is instead a free text field. Can somebody explain what happened to the date field?
Thank you.Hi,
If the form is saved as pdf, the date picker is not support in pdf.
Regards,
Perry -
File extension exclusions for System Center Endpoint Protection are at
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Exclusions\Extensions
and consist of a REG_DWORD value, named as a file extension such as .mdf, and a corresponding Data element, which always appears to be 0x00000000
Can this data value ever be anything else, and if so, what are the possible values and their meanings? If not, I'm curious why not just make it a REG_SZ and leave it blank, rather than a data type that requires a value.The data field is always 0x00000000. I think other values would be ignored. Only the Name field seems to be important.
The funny thing is that the exclusion entry can be a REG_SZ and it will work just the same. In fact, if you use the tool that creates a GPO to deploy EP policy instead of using ConfigMgr, the entries are created as REG_SZ instead of DWORD.
I'm not sure why both methods are used, but the antimalware engine seems to interpret them the same. -
How to set the data fields column wide at sqlplus
Dear Sir/Madam
I would like to know how to set the data fields column wide at sqlplus
Thanks
Francissee
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
and the FORMAT clause of the COLUMN command in
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF -
Extracting Year from the date field
Hi,
I want to extract year from the date field... I've tried following code but got the error
SELECT to_char(a.A_EXPIRY_DATE,'yyyy') as EXP_YEAR from Table_A a
Please advice
Thanks in advanceuser12863454 wrote:
SELECT to_char(a.A_EXPIRY_DATE,'yyyy') as EXP_YEAR from Table_A aThis should work and returns a string.
What error did you get?
maybe your column name is wrong? Is it really A_somthing? This is possible but slightly unusual.
also possible
select extract(Year from sysdate) from dual;
/* with your table and column */
SELECT extract(year from a.A_EXPIRY_DATE) as EXP_YEAR from Table_A a;Edited by: Sven W. on Aug 18, 2010 6:41 PM -
How do i insert a drop down calender to insert the date field.
How do i insert a drop down calender to insert the date field i my create a form
Hi,
You can use the date object FormsCentral provides. When you test the form in browser, the date field will show a pulldown calendar when clicked upon.
Thanks,
Wenlan
Maybe you are looking for
-
Multi Touch not supported in Adobe Air for IOS?
Hi, I've just started developing my first app for my iPhone which is an iPhone 3GS. I'm using CS5 to make these apps. I did a simple test game where there are two arrows on the screen and a fire button. The screen also has a ground and the player sta
-
Text keeps disappearing when I select it to make type at all / make changes / edit. Type tool is not working. I am running CS6 on a Macbook Pro Retina (which I am hating!) 10.9.4 - wish I'd never upgraded. Photoshop General Discussion
-
Query using progressive relaxation take more time for execution
HI Gurus, I am creating a query using context index and progressive relaxation I had started using progressive relaxation after getting inputs from forum {thread:id=2333942} . Using progressive relaxation takes more than 7 seconds for every query. Is
-
Display the status of the production order
Hi Friends, I have a task which should display the status of the production order. If an order number(AUFNR) is given, it should display whether the order is available or not. Also it should display the status of the order whether it is delivered, co
-
UDID deprecated, what to do now?
In our application we are planning to use UDID to manage data subscription per device. I got to know that UDID is deprecated by Apple. Now my question is can we still use UDID or will Apple reject the app if we still use UDID in our application? If