When implicit conversion takes place
hi all,
I have two queries say
sql>SELECT * FROM EMP WHERE HIREDATE BETWEEN '20-FEB-81' AND '20-FEB-82';
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 10 deleted MANAGER 7839 09-JUN-81 2450 10
7839 10 deleted PRESIDENT 17-NOV-81 5000 10
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7900 JAMES CLERK 7698 03-DEC-81 950 30
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7934 10 deleted CLERK 7782 23-JAN-82 1300 10
AND
sql>select '17-SEP-2010'+1 from dual;
ERROR at line 1:
ORA-01722: invalid number
now in the first case i have passed a string and that got converted into a date
but in the second case i am trying to add one day to the entered date it is not getting converted in the second case.
when actually is implicit conversion done.
thanks and regards,
sri ram.
I'd like to recommand you NEVER to rely on IMPLICIT conversion. It depends on the NLS_DATE_FORMAT parameter. If you supply a VARCHAR that can be converted to a date, it will use this default format to try and convert the date. But this can result of weird result if you don't know what is the NLS_DATE_FORMAT ;-)
So, as an advice, always pass DATE to function that accept dates by converting them yourself (TO_DATE(a_date, 'the format you want')...
Cheers,
Similar Messages
-
Accounting Entries when Invoice Verification takes place before GR
Hello All,
I have some difficulty in understanding the accounting entries when Invoice Verification takes place before Goods Receipt.
The scenario is as below: - (It is taken from one of the SAP documentation - AC530 - Actual Costing & Material Ledger- pg.No.2-8)
1) Stock of material available u2013 50 units / Value Rs.125 /Moving average price in the material master Rs.2.50 per unit
2) Invoice receipt takes place before goods receipt u2013 100 pc @ Rs.4.00 pc
3) System does internal stock coverage check. As per SAP document, the stock shortage is 50 pieces.
4) So the price difference arise i.e.Rs.100 (How this amount is arrived at? u2013 Not understood)
5) The price difference of Rs.100 is only partially debited to the material (Rs.50). The rest is posted to price difference account (Rs.50)
The accounting entry u2013
GRIR A/c Dr 300
Inventory A/c Dr. 50
Price Diff. A/c Dr. 50
To Vendor A/c 400
Question u2013
- I have not understood how Rs.100 is calculated & on what Moving average price the calculation takes place.
- As per the calculation in the document, the moving average price of the opening stock is Rs.2.50.the stock is 50 units. (50*2.50=125)
- The Invoice receipt happens at 100 pcs @ Rs.4.00 (100*4=400)
- So the new moving average price will be Rs.3.50 (Rs.125 + {100*4=400})=Rs.525. Rs.525/(100+50)pcs = Rs.3.50
- So how the price difference & posting to Stock account is calculated in the accounting entry?
Please help,
Thanks & Regards,
GovHi,
Check below mentioned thread to understand posting to price difference account..
Logic of price difference posting
you missed one aspect of this and that is PO qty and PO price.
GR/IR will get debit at IR Qty * PO Price.
rest all calculations are in the link provided..
- So the new moving average price will be Rs.3.50 (Rs.125 + {100*4=400})=Rs.525. Rs.525/(100+50)pcs = Rs.3.50
Moving avg. will be calculated on stock value / qty in stock. new MAP will be stock value = (125 +50) = 175 and stock qty = 50 units so MAP will be 175/50 = 3.5.
Since, GRN has not been done yet stock value (100*4) will not be there..
Regards,
Sayujya -
Purchase Change Message when Goods Receipt takes place
Hello,
Is it possible configure a Purchase Order Output determination when Goods Receipt is posted? We want to send ORDCHG IDOC message to a third party system when Goods Receipt takes place.
Thanks,
VenuUSE the message type WMMBXY.. its sends the material document each time it is posted
-
Converting WMA to MP3: Controlling When Conversion Takes Place?
Hello. I have a 4GB Nano.
When I load a few WMA files into the iTunes software library, I am immediately asked whether to convert them, or skip them. I choose Convert.
However, I noticed I cannot load additional WMA files during the conversion process. I have to wait until the process is complete before loading more files.
I'd like to know if there is a way to configure iTunes so I can fully load all of my WMA files into the library at once, instead of a few at a time, and choose when I want the conversion to take place.
This isn't an absolutely critical question, because I have db Power Amp and can convert files from WMA to MP3 at my leisure. I just want to know if iTunes can be controlled in this way.
Thank you!
JdiTunes cannot use wma files so it needs to convert them.
They will not get added to iTunes until they are converted so you cannot choose to convert them later.
I noticed I cannot load additional WMA files during the conversion process. I have to wait until the process is complete before loading more files.
Why not add them all at once?
File -> *Add folder to library* and pick the top level folder where the wma files are. -
When does the RAW conversion take place in Aperture?
Hi, could anyone tell me when Aperture makes the RAW conversion of files?
is it upon import to Aperture or upon export to an external editor for retouching? i'm just wondering when to import my files into Aperture from Bridge.before i start using Aperture full time.is it ok to do it now or will i get better results when 1.1 arrives?
thanks, AidanYou can do it now and then pick the new RAW engine after upgrading to 1.1. If your RAW images are the originals from Bridge, you will have nothing to loose by converting all of them using the new 1.1 engine. Of course, I would play with a test project to better understand the new engine's capabilities, presets, and features.
Sam -
How to add one component when some action take place
Hi,
i created a GUI using Netbeans Ide, In that i want add a component when i click some button
i showed it here see the diagram
[click here to see|http://www.mediafire.com/imageview.php?quickkey=jtgzjrfenwm]
my sample code
public class ProcessFiles1 extends javax.swing.JFrame implements ActionListener,
PropertyChangeListener{
private JProgressBar progressBar;
/ Creates new form ProcessFiles1 */*
* public ProcessFiles1() {*
* initComponents();*
* /** This method is called from within the constructor to
*initialize the form.*
WARNING: Do NOT modify this code. The content of this method is
*always regenerated by the Form Editor.*
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {====================================>here i am not adding Progress bar
to GUI
jToggleButton1 = new javax.swing.JToggleButton();
jToggleButton2 = new javax.swing.JToggleButton();
jComboBox1 = new javax.swing.JComboBox();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jComboBox2 = new javax.swing.JComboBox();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Admin@localhost");
setIconImage(Toolkit.getDefaultToolkit().getImage("c:\\Logo.PNG"));
jToggleButton1.setText("Select File");
jToggleButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FileChooser(evt);
jToggleButton2.setText("Run Files");
jToggleButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
addComp(evt);
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
jComboBox1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jComboBox1ActionPerformed(evt);
jLabel1.setText("Success");
jLabel2.setText("Faild");
progressBar = new JProgressBar(0, 100);
progressBar.setValue(0);
progressBar.setStringPainted(true);
jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
jTextArea1.setColumns(20);
jTextArea1.setEditable(false);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());=================>from here i am adding components
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(26, 26, 26)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 965, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jToggleButton1)
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jToggleButton2)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(32, 32, 32)
.addComponent(jLabel2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)))))
.addContainerGap(29, Short.MAX_VALUE))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jToggleButton1)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel1)
.addComponent(jLabel2)
.addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(26, 26, 26)
.addComponent(jToggleButton2)
.addGap(18, 18, 18)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 583, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(20, Short.MAX_VALUE))
pack();
}// </editor-fold>
private void addComp(java.awt.event.ActionEvent evt)---------------------------------------->when 'runfile' button clicked i am
trying to add progressbar component it is not adding
layout.addLayoutComponent("Progress", progressBar);
pack();
}how can i add progressbar when runfile button clicked
please any one focus some light on this
Thanks in advance,
Nagaraju.
Edited by: uppala on Dec 18, 2009 11:33 AMWell, normally the code would be:
panel.add( someComponent );
panel.revalidate();But since you are using the IDE to generate your code you need to learn and understand how to use the GroupLayout and all its constraints to add the component.
My advice is to get rid of the IDE generate code and create the GUI yourself. -
In what steps does currency conversion take place in BW?
Hi Experts,
could someone explain me in what steps BW performs the currency conversion making use of the TCUR.... tables.
E.g. we have a certain rate and ratios in TCURR table but these are overruled by settings in TCURF (alternative exchange rate) table.
We did an SQL trace but I did not understand why various steps are done.
Thanks.Hi,
Pls check
http://help.sap.com/saphelp_nw04/helpdata/en/ec/076f3b6c980c3be10000000a11402f/frameset.htm
Re: currency translation
Currency conversion questions
BW Currency Conversion Keys
Eddy
PS. Which type of SDN Ubergeek/BPX suit are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>? -
How do I stop a different iphones information loading onto my iphone when a sync takes place?
Everytime I update my phone or my husbands phone our phone information is wrongly loaded onto each others phone. For example, I've just updated my phone to the latest software, my husbands Apple ID is now showing as my id on my phone - how do we stop this from happening? I'm sure there is a very simple and easy solution to this but I just don't know what it is. Please help
In iphoto go to preferences > general and al the bottom will be a drop down menu that will say connecting camera opens: just change this from iphoto to no application
-
I have Mozilla Firefox 10.0. When I open it, it correctly opens on the homepage in the first tab. Once I have another, or several, tabs open, no matter which tab is active, any google search I do immediately takes place in tab No 2. It doesn't seem to matter how many times I go to e.g. tab 4 to do a search (because I wish to compare with the webpage open in tab 2), yet it always now does the search in tab 2. This is very irritating. There must be some setting that has gone pear-shaped, but where/which? Any suggestions? Thanks.
Try the Firefox SafeMode to see how it works there. <br />
''A troubleshooting mode, which disables most Add-ons.'' <br />
''(If you're not using it, switch to the Default Theme.)''
* You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
* Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
''Don't select anything right now, just use "Continue in SafeMode."''
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
'''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
''When you figure out what is causing that, please let us know. It might help other user's who have that problem.'' -
Hi everyone. I am trying to download ML on my iMac and when I click the download button, I am asked for my PW which I provide and then the ML icon launches in launchpad but nothing takes place. Have been trying for 2 days and this is driving me nuts. Help
Yes it does and there is an indication that the software is downloading but after a few hours, it just stops without any error message. Everything simply disappears and I need to start over again. I have a superfast connection so it should no be this slow. Everything worked fine on my MBP and I am in the same place. Any ideas
-
When I try to update my applications I just get sent directly to the application site and no updating takes place. I have accumulated 11 update notices so far, waiting to be activated.
Hello Echo7021,
After reviewing your post, it sounds like you have updates for apps and want to update them. I would recommend that you read this article, it may be able to help the issue.
If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
Make sure that you're using latest version of iOS.
Open the App Store and tap Updates.
If updates are available, tap Update All.
If asked, enter your Apple ID password.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
Where does the processing take place when using a remote front panel?
Hi,
I am considering upgrading my LabView software from 6i to 6.1 for the new "two click" remote front panel feature. I have already seen a demo of this feature but have just a few questions before I get the upgrade:
My setup consists of several pieces of equipment connected to Labview via GPIB, to aid in the evaluation of a new microchip.
1. I wish to grant control of the setup to anyone with a web browser, Is the remote monitoring feature compatible with both Netscape and IE?
2. The VI which controls the setup is currently located on the PC beside my setup. When I embed a VI in a remote front panel, where does the processing take place, is the local VI still controlling the setup? and
the remote panel just sending and receiving data from the local VI.
Thanks, Troy> I am considering upgrading my LabView software from 6i to 6.1 for the
> new "two click" remote front panel feature. I have already seen a demo
> of this feature but have just a few questions before I get the
> upgrade:
>
> My setup consists of several pieces of equipment connected to Labview
> via GPIB, to aid in the evaluation of a new microchip.
>
> 1. I wish to grant control of the setup to anyone with a web browser,
> Is the remote monitoring feature compatible with both Netscape and IE?
>
Yes. Provided they are resonably modern versions.
> 2. The VI which controls the setup is currently located on the PC
> beside my setup. When I embed a VI in a remote front panel, where does
> the processing take place, is the local VI still controlling the
>
setup? and the remote panel just sending and receiving data from the
> local VI.
>
The computer which we refer to as the server, the one with the GPIB card
in your case, will execute as it does now. In fact, its window will
even be open. The remote client computer, the one with the web browser
will be running the runtime engine and processing user events, value
change and property/method events from the server. So in reality, both
computers will be sharing the load a bit. This allows for very small
packets to be sent between the computers. It is in fact quite similar
to publishing the data between the computers using datasocket.
One thing to keep in mind. Standard LV includes a license for one
connection. If you want to allow for multiple web browsers to view at
the same time, additional licenses are available. Also, only one user,
remote or server may be in control of the panel at a time. That means
that if you want to be able to operate the panel, changing kn
obs or
flipping switches, the others will become viewers only until you give up
control. Hopefully this isn't a surprise, but I thought you might want
to hear about it now.
Greg McKaskle -
My Imac 's fan goes haywire when screensaver and/ or shutdown takes place
My 14 month old apple Imac's fan goes crazy when the screensaver and /or shutdown takes place.. otherwise it works beautifully and does not normaly make any noise at all.
Thank you..Hi Gillal,
If your the fans in your iMac fans are running frequently it may be that your computer is overheating for any number of reasons. This article should help you understand how they work -
Learn about the fans in your Mac
If the iMac seems to be using the fans when it should not be, you may want to reset your iMac's System Management Controller. See this article for the steps to do so -
Intel-based Macs: Resetting the System Management Controller (SMC)
Thanks for using Apple Support Communities.
Best,
Brett L -
Assignment to feature TRVFD did not take place errro when using PR05 TCD
Mates,
whilst trying to create travel expense PR05 TCD,system throws "Assignment to feature TRVFD did not take place
Assignment to feature TRVFD did not take place error message
when using TCD PR05--travel expense manager
to give a primer ,V_T706Z i have miantained as 99-V_T706Z-TRIPF and my trip provision variant is 66 .Im quite not sure what is the screen ,field name default value that need to be maintained.
t706z1(single field control for dialog) is dependent on the one we maintaain in the previous table,isnt it ?kndly crct me if my understanding is wrong.
Intially i was not able to find the trip schema -FITVFELD TCD and then as suggested by our mates in one of the threads went to PRCO TCD and copied 99 and assigned it to the trip provision variant i had maintaained.
In TRVCD irrespective of what i maintain in return value it shows the same error .I tried UGR as 99,i tried giving trip variant and tried return as 99 (one maintained in t506z) still shows the same message.It looks like im missing something.
Kindly share your valuable inputs to fix this .
No Worries
KG
Edited by: SAPenjoy:) on Apr 27, 2011 9:00 AMHi Sally
Thanks for elucidating that for me.I was thinking the other way around i suppose:).
Well,TRVFD has lets say Molga -99,trvug -99->return value as USERGROUP_01
I suppose USERGROUP_01 need to be entered in the trip schema isnt it ?
as suggested when FITVFELD is executed i choose the trip provision variant and expand the tree with schemas
Trip schema:01 bussiness trip
trip schema :99 travel calendar
trip schema :pl travel planning
trip schema :sp weekly report
trip schema :vs trip advances
trip schema:xx KT trip
could you kindly let me know in which schema the value need to be entered .plz correct me if my understanding is wrong.In the meanwhile i will also try to explore ,appreciate your help.
No Worries
KG -
Do not condense requests into one request when activation takes place
hi all
In process chain ods activation step, we have one option like
"<b>do not condense requests into one request when activation takes place</b>"
can anyone let m eknow what exactly it is
regards
baljiduring ODS activation,if there are more than one requests which are unactivated,then..
if this checkbox is ticked..after activation..each request will appear individually(with its unique request ID) in the requests tab of ODS..
if this checkbox is not ticked,then during activation..multiple requests will be activated at one go..and will appear as a single request ID in the requests tab of the ODS..
example..unactivated request ID's 2,3 and 4.
checkbox ticked..after activation..in requests tab..2,3,4.
if checkbox not ticked..in requests tab..no 2 or 3.shows only one request ID(4)..no. of records of 2,3 and 4 get added up in 4.
Vishvesh
Maybe you are looking for
-
PO number generate ( but in Hold) for unreleased PR
Hi Experts, I need a help on this Hold PO issue. If the PR is unreleased and if we convert this unreleased PR to Purchase Order system will through the error as PR noXXXXXX not released for ordering like that. But when you press the Hold button syste
-
No records in Azure databrowser viewing tables with many columns.
Yesterday I encountered an issue while browsing a table created in Azure. I created a new database in Azure and in this database I created and populated several tables, containing one very big table. The big table has 239 columns. I succeeded in popu
-
10.5.7 No More Accounts w/o Homes?
hi, with 10.5.7 server, i've noticed that one can no longer authenticate to OD accounts unless those accounts have a home directory associated with it. one used to be able to create an account w/o a home and the system would create a "99" folder on t
-
Project run smooth when compiled but run slow in flash player
Hey guys, I have an interactive clip i made for a band. The clip is compound of mini games and videos. When I compile the project is FlashDevelop - everything runs smooth and nice at 24 fps. When I run the swf through the flash player (10.1 r52) the
-
Ayuda porfa quiero descargar canciones y me da unas respuestas y no las recuerdo