Awaiting 4 Ur Help...
Hello Friends,
I've Landed Up in an Odd Problem....
Wat I need is to Get a List of Column Names And their types In a database...
Without Using ResultMetaData..
My problem is that....
By following in traditional approach of executing a query
"SELECT * from TABLE_NAME"
getting the data into the resultset
and then getting columnnames & types by the methods rsmd.getColumnName() & rsmd.getColumnType().
But by following this approach there is a shere case of OVER HEAD and Redundancy.
Because of the below reasons....
--->What if the Table contains millions of records
--->Through we can manage it by specifing rowid's in few of the databases It wud Not b recommended to write a platform independent code....
By keeping my requirements in my mind i was Going through JDBC API...
I found an Inteface called DatabaseMetaData which is cud match problem specification and there was a method called getColumns in it....
i tried to googling abt the methods implementation... But was not able to find out a suitable example(Simple) to implement it.
It wud Be glad If someone.. can help me out in this regard.... (By helping me out with a simple example of how to use it...)
Thanks In Adavnce....
REGARDS,
RAHUL
DatabaseMetaData dmd = conn.getMetaData();
ResultSet rs = dmd.getColumns(null,null,"TABLE_NAME",null);
System.out.println("Name\tjava.sql.Type");
while(rs.next()){
System.out.print(rs.getString(4));
System.out.println("\t"+rs.getInt(5));
rs.close();Please in future take the time to fully type out all words like "please" and "you" it makes your posts more readable on an international forum and the effort is appreciated by all.
Similar Messages
-
Flash player problem plz help .
Dear All
We are a travel company Ecolodge Adventures , we have a problem of flash player on our website
the problem is when we put Youtube code to add our vedio on our *about us* page , the vedios keep asking for installing the new version of flash player
we have installed it and set it up but the vedios doesnt work even all
please note that the slideshow *photos galleries * are working perfectly without problems , but the youtube vedios are not .
awaiting for a helpful answer
regards
AlexanderI cannot find any Flash content on the website you linked.
-
Hi Allm
I want do a POC on B2B.
As I am new to this, please can someone help me on this how do I move forward to do POC.
Can you share your suggestions regarding
1.What is B2B and why do we choose B2B?
2.What are the advantages when we compare with Other webservice realted products?
3.Why do we go for this B2B? Are there any other products which has same like application level support to Customer?
4. For what type of project we go for B2B?
5. when we use B2B?
Please share your ideas and share some documents or any PPTs.
Pls send any of the help on [email protected]
Awaiting for your help on this.
Many thanks.
ReddyTry this , If this can help you in setting document editor HL Segment:
In the X12 transaction 856, Advanced Ship Notice, the HL loop structure contains multiple hierarchical levels. Use the Advanced Settings to differentiate between Shipment, Order, and Item levels.
1.Select the entire HL loop and paste it as a sibling to the original loop.
2. Repeat, pasting the third loop as the sibling of the second loop.
3. Expand the first HL loop node to reveal the HL segment, and then expand the HL segment to reveal the elements.
4. Select the Hierarchical Level Code segment.
5. In the Advanced Settings section, in the Key Type box, click Value.
In the Key Value box, type S (Shipment).
Click Apply.
6. For the second HL loop, repeat steps 3, 4, and 5, using a value of O (Order), and then click Apply.
7. For the third HL loop node, repeat steps 3, 4, and 5, using a value of I (Item), and then click Apply.
Rgds,
Nitesh Jain -
Issue on Hyperion Financial Reporting Services -URGENT
Hi Gurus,
I would like to know the steps to be performed to take the back up of the Financial reports when all the Financial Services are stopped running.
Production server is down and noticed that all the services are running fine except the Financial Reporting services.
I need your advice on how to bring back the Financial reports server to work.
1) Do I need to take back up of all the Reports before going for server reboot? If yes, can you give me the detailed steps on how to take the back of these reports.
2) If I go and raised the request to restart the server, is there any effect to the Reports?
Can you please tell me the procedure/process on how to deal with this kind of issues?
Awaiting for your help..
Regards,
Upendra.Hi,
What happens when you try and start it? Is there anything in the logs or the event viewer ?
Financial report information is stored in the database repository, so restarting the server is not a problem.
Reports are usually backed up by exporting them or backing up the database (though you have to back up all hyperion databases at the same time so they can be put back into sync)
Cheers
John
http://john-goodwin.blogspot.com/ -
Qosmio X300 64 bit vista ultimate upgraded to windows 7 64 bit ultimate - issues
Hi there,
Hoping you can help me, any help would be greatly appreciated. I cannot find my laptop amongst the given models - first issue.
Second issue: given gratis CD voucher for upgrade to windows 7 ultimate with purchase of laptop, whihc i have redeemed and loaded to laptop. below are my laptop specs. And below that the consequent issues awaiting resolve PLEASE HELP!!!!!
OS Name Microsoft Windows 7 Ultimate
Version 6.1.7600 Build 7600
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name SUZIQQOSMIO
System Manufacturer TOSHIBA
System Model Qosmio X300
System Type x64-based PC
Processor Intel(R) Core(TM)2 Extreme CPU Q9300 @ 2.53GHz, 2534 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date TOSHIBA V1.50, 23/12/2008
SMBIOS Version 2.5
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume2
Locale Australia
Hardware Abstraction Layer Version = "6.1.7600.16385"
User Name SuziQQosmio\Suzanne
Time Zone Cen. Australia Standard Time
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.75 GB
Available Physical Memory 2.10 GB
Total Virtual Memory 8.63 GB
Available Virtual Memory 6.48 GB
Page File Space 4.88 GB
Page File C:\pagefile.sys
Hi there,
Specs: as per Qosmio X 300. SSD 110GB, pentium core 4 extreme, 4 Gb RAM, plenty free storage on SSD (29GB), NVidia drivers with primary being GE Force 9800 M GTS, Direct X10. there is also a note down the bottom saying that if i have linked graphic cards (whihc i do i believe there are three), that i can expect better perfomrance with some software.
Ok I aplogise from the outset, i am a layman and not that techie. K. So the issue that I upgraded recently (last week) from vista ultimate 64 bit to windows 7 64 bit. ultimate. For the main, I am reasonably happy with the outcome in most areas - except gaming that is. I have increased speed and agility and the processor is now rated at 7.2. WEI. overall the laptop is rated at 5.8. however, getting back to teh reason for writing, I have nothing negative to say about windows 7 (as compared to its predecessor) apart from wishing to resolve my game crash issue. which usually occurs about 15 mins - 20 mins into a game and comes in the form of a shutdown ? BSOD from whence the laptop reboots when prompted at on/off and wants to know if to start normally or in various safe modes. I have noticed that the laptop does become very hot at the back (around the fans) prior to teh shutdown, and i am wondering if this is an overheating issue, and how to resolve if this is the case. the only other thing i have noticed that seems untoward is that i have apparently lost a wireless jump start driver from the upgrading process which i cannot find anywherre, and may be totally unrelated to this issue anyway.
All i want to do is play the games i could play on windows vista ultimate 64 bit. these include: Sims 3, sims 3 world adventures, sims 3 ambitions, highloft end stuff, and Bioshock. Oddly enough, i have played sid meyers civillisations revolutions IV (the latest one) with no crashes, and i havent tried ANNO 1404, but fear a similar fate may await this game as some of the others.
Addditional information:
everything is as i described it above, however the screen does not go blue but black,and the laptop shuts itself down, laptop acts as if hibernating mode? (these are guesses) or some mechanism geared at preventing over heating - the back becomes very hot. the machine can be rebooted from normal mode but comes up firstly with a screen suggesting that the laptop was incorrectly shutdown, and offers options as to safe mode, normal etc. i have been starting normally with no adverse effects. This is scenario one.
scenario two ends up similarly at teh reboot stage, but gets there differently. i play the game and the screen freezes, unable to move touchpad curser, unalbe to use ctrl alt del to get up task manager. end up having to crash to reboot.
I am quite frustrated and very reluctant to mess around with things that i dont understand (dont want to make the problem worse!). I am happy to attemtpt to follow your good explicit advice.
the only other negative thing i am expereinceing is screen flicker on internet. I have changed my power mode from high performance to balanced to try to nullify the overheating issue but i now am noticing this screen flicker which is irriating and appears on keystroke, or cursor movement.
Please note well: I am a layman, not a technician! Please explain in easy to (dummy) terms! Thanks!
kind regards
S
(Im Game)Hi there,
I would recommend taking a look at the troubleshooting steps found in the article below.
Trouble installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
-Griff W. -
Hi Gurus,
I got an issue which I am uable to analyse.......please have a look and tell me how to approach
There are two cases----
first one is Inter company PO
In a purchase order, there is a fright condition type(ZCCQ) which was given thrice
for first two , whatever the value was given , the system has taken for whole quantity ordered for the line item (for say u have given 718,920)
for third condition type the value which u entered is multiplied by the ordered quantity ( say we have given condition value 20, the total value was shown as 20 multiplied by the order quantity)
Second one is stadard PO
In standard PO----
the third condition type amount was entered in the header level and this amount was splitted into the line item level that to there is no proper proportionate ratio i between the line items. for one line item the condition value is more and for another it is very less ( even though the ordered quantity is same)
my question is how the same condition type will act differently (once it is fixed....... after it is multiplied...... and after it was splitted....)in the same PO????????
I tried it in the testing server of the client by giving the condition type 3 times in the PO......., but it always multiplying wih the ordered quantity. I was not faced that problem
could you please analyse and tell me what could be cause the differences in aove cases
I tried my best to tell the problem .......In case u r unable to understand at any point, please let me know, i will give in detail ifo
I am waiting for ur help
Thanks & Regards,
SubbuHello gurus,,,
I am awaiting for ur help
Please look into this issue
Regatrds,
Subbu -
Delivery tolerance at header and item level in sales order
Dear All,
My client wants to maintain delivery tolerance at both header and item level. NOTE: The tolerance at sales order header is different than the delivery tolerance at sales order item.
eg if i maintain 3% plus and minus tolerance at item, the header level tolerance can be 2%.
Also if there are more than 1 line items, the system should give warning message, when it finds that the delivery tolerance at item level can be maintained but that of the header level cannot be maintained and vice varsa.
Awaiting an early help and thankful for the same in advance.
Regards,
Avnesh KamdarHi Avnesh,
Delivery tolerance can be made in the customer master,sales org data ---delivery tab.
Delivery tolerance is always at item level.
Reward points if it helps.
Regards
Karan -
In which table the initial balances will be stored when loading via api
Hi all,
I am doing initial balances migration...
In which table the initial balances will be stored when loading though an api.. (pay_balance_upload.process).
First I have loaded data in to pay_balance_batch_headers and pay_balance_batch_lines tables..
Then called the api pay_balance_upload.process. and the data was reflecting correctly in front end.
But we need to reconcile the loaded data.. for that, can anyone please tell me in which the loaded balances would be stored..
I have identified two tables, pay_assignment_latest_balances
and pay_latest_balances
when I try to create a balance from frontend I can see the data in pay_latest_balances table..
But when I load via api I am not able to find it in any of these tables..
In addition to that can anyone please tell me when the data will be populated in pay_assignment_latest_balances and pay_latest_balances tables.
Awaiting for your help and quick response..
Thanks and Regards
KishoreYou have followed the correct process..As Vignesh said, you can use pay_balance_pkg.get_value to make sure you have the correct values uploaded but otherwise if you are able to see the values in the front end I wouldn't worry about the latest balances tables. These tables, as the name indicate, hold only the latest values and if a payroll (ran post the initial balance upload) has been rolled back, these are deleted since they are no longer available.
You can refer the below Metalink notes for a detailed explanation:
The Secret Life of Initial Balance Upload with Screenshots Example [ID 60057.1] -
Any timecode window plug-ins for older versions of FCE?
Hey - thanks in advance for any help on this.
I use FCE version 1 on a G4 running OSX 2.9. The most commonly recommended Free timecode plugin doesn't seem to work in my version. I install it, but it's not visible in the bins where it's supposed to show up. I tried saving it as a unix and/or unicode and all that other gobbly gook that you're supposed to try if it doesn't install properly. Anyhow, none of that helped. I can only assume it's because of my earlier version of FCE or my OSX.
I need a timecode window visible on my finished project because I'm sending to a closed captioning place. Thanks again.
G4 Mac OS X (10.2.x) Also Have PCWow - I had no idea my question would be such a great source of joy for those of you who enjoy making yourselves feel better by putting other people down. I'm glad I could help.
For anyone else who is actually interested in helping and can refrain from insulting me, I'm still eagerly awaiting some friendly, HELPFUL, advice.
And for the rest of you, by the way - I am a professional and as professionals know, you don't have to rely on the latest and greatest technology to get great results (if you're any good, that is). I humbly called myself a struggling artist, but my resume would put you to shame, so please, no more childish remarks.
G4 Mac OS X (10.2.x) Also Have PC -
Creating of Notes for Transaction Code RECN(Using Classes and Methods)
Hi Experts,
I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically.
I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be created by using this class and how this can be created for the Tcode RECN........
I am using the Real Estate Module.....Plz help me....awaiting for ur helpful answers....
Thanks in Advance.....!
BrahmaHi kanagaraja,
Thanks...!
The BADI which u have given is not existing in my system...i had gone through the se18 and se19 tcodes....
Awaiting for ur response......!
Thanks,
Brahma... -
Adapter framework failing to send message
Hi,
I am facing an issue in XI, where the adapter framework is getting failed to send the message. The message is also not getting reflected in SXMB_MONI,
"Transmitting the message to endpoint http://server:8080/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404 : Not found."
No service using the ICM port 8080 is working though active. No XI service, even the ping service in sap/bc/ping is not working.
I have checked the following:
1) SLDCHECK (browser opening properly). In ABAP part i am getting error
Use transaction SLDAPICUST if you wish to maintain
Launching the SLD GUI in a separate browser window.
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 3
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
for troubleshooting the above error i have gone through the link
http://help.sap.com/saphelp_nw04/helpdata/en/78/20244134a56532e10000000a1550b0/content.htm
Still the problem persists while calling function LCR_LIST_BUSINESS_SYSTEM
2) Then i checked the ping (path - http://server:8080/sap/xi/engine?type=entry ) -- its also not running and showing error :
Service cannot be reached with error code 404 not found.
3) The RFC XIINTEGRATION_SERVER is showing also showing error 404.
4) Checked ICM port - its 8080
Inspite of working hard over this issue, still unable to resolve this issue.
Please help me. Awaiting for your helping suggestions
Thanks in advance..> Still the problem persists while calling function LCR_LIST_BUSINESS_SYSTEM
> 2) Then i checked the ping (path - http://server:8080/sap/xi/engine?type=entry ) -- its also not running and showing error :
> Service cannot be reached with error code 404 not found.
>
> 3) The RFC XIINTEGRATION_SERVER is showing also showing error 404.
> 4) Checked ICM port - its 8080
>
have a look for LCR_LIST_BUSINESS_SYSTEM in the below link
http://help.sap.com/saphelp_nw04/helpdata/en/78/20244134a56532e10000000a1550b0/content.htm
Regards,
Sarvesh -
Using offline data sync in Mobile Services
Hi All,
I am working on offline data sync in Mobile Services . Followed the below URL
http://azure.microsoft.com/en-gb/documentation/articles/mobile-services-windows-store-dotnet-get-started-offline-data/#enable-offline-app
Have an issue at store.DefineTable<TodoItem>();
when i run the method i am getting any exception as
System.ArgumentException was unhandled by user code
HResult=-2147024809
Message=An item with the same key has already been added.
Source=mscorlib
StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore.DefineTable(String tableName, JObject item)
at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store, MobileServiceJsonSerializerSettings settings)
at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store)
private async Task InitLocalStoreAsync()
if (!App.MobileService.SyncContext.IsInitialized)
var store = new MobileServiceSQLiteStore("localstore.db");
store.DefineTable<TodoItem>();
await App.MobileService.SyncContext.InitializeAsync(store);
await SyncAsync();
Need help.
Thanks,
Sai.Hi,
The Azure Mobile Services forum is here:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=azuremobile&filter=alltypes&sort=lastpostdesc
Don't retire TechNet! -
(Don't give up yet - 13,225+ strong and growing) -
Want to insert a record using the updatable view object..
Hi, i am trying to create a new record in my first page using the updatable entity..I set the form in creat mode by default so that it will show empty fields for the first time.It works but want to know the following details..
1.Want to set default values to some fields ,so how do i override the create method and where(i mean the view object or entity).
2) internally it is using update query but not insert to insert a new record.
3) if it uses insert internally, how do i manipulate the insert statement at run time.
Guys please share ur experience and knowledge with me.I am awaiting for ur help....
thanks in advance..From my perspective, you basically have 2 issues going here, the back end (database) and the front end (web page).
To simplify your life, test your overridden methods using the built-in tester. You can use it by right-clicking on your application module and selecting test. You can insert/update/delete rows in any updateable view object you have available in your data model. The only down-side is that you can't step through your code (so far as I've been able to determine, anyway).
As for the web side, there's a commit action in the data control palette. You can drop that onto a page as a button. There's also some tricks you can play so it saves and commits on the same button click, but I don't recall how specifically you do that. I know I've found it searching in here though. -
Adding new field in customized table ZPM_QMEL_EXT
Hi all,
My requirement is to add a new field in ZPM_QMEL_EXT table numeric field no of months due (ZZ_CO_MON_DUE) .
Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
WHERE GPART EQ WA_QMEL-KUNUM AND
VKONT EQ WA_QMEL-ZZ_VKONT.
SORT IT_DU_DT BY FAEDN ASCENDING.
READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
MOVE WA_DU_DT-FAEDN TO DUE_DT.
CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = SY-DATUM
I_DATUM_VON = DUE_DT
IMPORTING
E_MONATE = NO_MT.
IF NO_MT IN P_DU_MT.
WA_QMEL-DUE_MONTHS = NO_MT.
Awaiting your kind help .
Thanks
hariom.Hi,
There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
For Customizing tables we can use Append structure as well as Include Structure.
Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
Delivery class option and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
For that you should maintain the those properties when data base table creation.
i hope the above information may helpful to you.
Best Regards
Sreenivas Pachva -
Service PO and Service Entry Sheet / MIRO
*Dear SAP Gurus
We have created Service PO - Repairing of AC Machine. and Service Tab we maintained 10 line items of Parts Qty with Rate.
and we maintained Local Frieght Charges in Header Condition. upto This stage ALL OKey.
while making MIRO / Service Entry Sheet. the Local Fridht charges calulating on no of Line Items.
Example ; Local Frieght : 10000/- no of line item 10 then showing 10000 x 10 = 10,0000/-
how it will be solved. please guide me...
NOTE : NOT ONLY LOCAL FRIEGHT IF I PUT OCTORI IT ALSO SAME HAPPENING.
PLEASE AWAITING FOR YOUR HELP
REGARDS,
*RAJESH **Hi Rajesh,
Your question is not clear, if you can explain the requirement little more clearly.
Delivery costs are generally not supported in external services
management and in case of blanket purchase orders, item category D or B.
Instead of representing delivery costs via conditions, in case of
service documents, freight costs and other, SAP recommends to add in
additional service lines. Check the OSS Note: 381030 and Note 499575
There is no problem to post
invoice for different vendor for particular SES created for service
line that constitutes delivery costs.
Cheers
Kris
Maybe you are looking for
-
Since uploading OS 4.3.2, I can no longer sync my Outlook Calendar to my 3GS iPhone. Any suggestions?
-
How do I place on ID a halftone image made in PS and keep the halftone?
I'm really not finding anything about this, so i'm starting to think I can't do it. I'm using CS5. Here it goes: I'm making a magazine layout as a college excercise. I want to use halftone images in one or two ink (some only black, others only cyan,
-
i have a JTable with 2 columns, what i want is to disable one column while allowing editing in the other column. Now how can i disbale my fisrt column ? Pls help...
-
[solved] make xconfig
hi somehow i cant make xconfig anymore CHECK qt * Unable to find the QT3 installation. Please make sure that * the QT3 development package is correctly installed and * either install pkg-config or set the QTDIR environment * variable to the correct l
-
I would like to populate the billing address with the street address when the yes radio button is selected. Is the possible in Adobe Pro XI?