Problem with CD writer interaction!!!!
Hi! I'm trying to write a program that will interact with any CD writer which means the program supposed to be capable of burning data on a CD. Is it possible to interact with CD writer in Java? If it is can anyone point me to a online resource where it is explained clearly or can anyone explain it to me in plain English?
Thanks in advance.
--DM777
To burn CD's, you have to interact with the CD-burner on a pretty low level (hardware level). Java doesn't support this by default.
There may be 3rd-party libraries (probably based on JNI), which give you burner support, but I don't know of one.
Cheers,
--Arnout
Similar Messages
-
Problem with Grouping in Interactive Forms by Adobe
Hey Guys!
I have a problem using the group function for a table in Interactive Forms by Adobe and I have not found a solution yet, so I hope anybody can help me.
I've created the table in the LiveCycle Designer using subforms and I want to use the group function for a specific field of my table. Now the problem is that the entries of the table are not shown grouped for the same values of my specific field but there is still one row for each entry. How do I have to edit binding, flow etc. for the subforms of a group?
I hope anybody can help me or provide me a better solution.
Thanks in advance.
MartinHi Otto,
thanks for your reply.
I'm sorry the 'grouping function' I've announced is called 'control levels' in English I can set this function for a field of a table in the context of the form in the transaction SFP in SAP. Then in the hierarchy the field is displayed above the group of the other fields of the table. Usually in the form this should lead to a 'grouping' for the specific field so if you have identical values there is just one entry in the form and all the rows that have this value should appear behind. My problem is that there is still one entry in the form for every row.
Right now I'm using the solution you mentioned with the nested tables but i have some problems with the layout and page breaks (pagination).
Thanks for your help.
Martin -
I recently built a new machine with a P965 Platinum MB. I put in a Optiarc AD7170 DVD writer. Even though I was able to install windows XP with it, I immediately had problems once windows XP was up and running. The MSI utility CD wouldn't run. Windows explorer would hang up. I would also get some fatal windows errors. I replaced the DVD writer with a CD writer that I had laying around and everything was fine.
I put the DVD writer in my older machine and it works fine. I also had a friend try it in his and everything was OK.
I couldn't find anything on the web about this particular brand. There was some mentions in this forum about JMicron. Could there be some incompatibility with the writer and the motherboard or the JMicron controller?I have a similar but actually quite different problem. My p965platinum's BIOS won't even show my IDE drives, sometimes, well most of the time..
OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 3 Build 2600
OS Manufacturer Microsoft Corporation
System Name
System Manufacturer MICRO-STAR INTERNATIONAL CO.,LTD
System Model MS-7238
System Type X86-based PC
Processor x86 Family 15 Model 4 Stepping 1 GenuineIntel ~2999 MHz
BIOS Version/Date American Megatrends Inc. V1.8, 12/1/2007
SMBIOS Version 2.5
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "5.1.2600.5512 (xpsp.080413-2111)"
User Name
Time Zone Mountain Daylight Time
Total Physical Memory 2,048.00 MB (Corsair XMS2 DHX [matched pair] 2 x 2GB DDR2 6400C4DHX cas5) running 5,5,5,18
Available Physical Memory 1.43 GB
Total Virtual Memory 2.00 GB
Available Virtual Memory 1.96 GB
Page File Space 3.85 GB
Page File C:\pagefile.sys
I have reset the CMOS several times and once in a great while the IDE and the devices, 1 WD60GB HDD and 1 Asus 1814 DVDR/RW, will show and work. I have changed out the cables several times and It showed up one time. I just bought a new cable (24" rnd 80) and that hasn't helped. I have checked the power plugs to the devices and they have power. I have set the drives from IDE - SATA - etc. No go. The DVD's jumper is set to Master and is at the end of the cable, the HDD is set to Slave on the middle of the cable.
Can't see a correlation but Boot.ini running in PAE mode.
Could there be something wrong with the board or the BIOS?
Twice I have done a hard shutdown and it has showed up. But when I restart or shut it down for the night It won't show when it starts back up?? System Restore does nothing.
On other old BIOS' I could hit a key to "detect" drives, but this BIOS has no option for that. Everything it "Auto".
Any help would be appreciated -
Problems with ImageIO.write()
Well I am finding it very strange with ImageIO.write();
Consider the following code snippet:
BufferedImage img=ImageIO.read(new File("fw2.jpg"));
BufferedImage img1=new BufferedImage(img.getWidth(),img.getHeight(),img.TYPE_INT_ARGB);
for(int i=0;i<img.getHeight();i++)
for(int j=0;j<img.getWidth();j++)
img1.setRGB(j,i,img.getRGB(j,i));
ImageIO.write(img1,"jpg",new File("fwinv.jpg"));
So simply I am copying fw2.jpg to fwinv.jpg. fw2.jpg was also created
using ImageIO.write().
But the two files are having different pixel values.
i.e If I read fwinv.jpg again I will get different pixel value that it was written.
Why is this...Can any one please help me..Reading the written images back and displaying them in java works okay. The third image looks okay in RGB but wrong in ARGB when displayed by a native app. For more about this see reply 1 in Color problems and the linked bug report: Some Images written using JPEG Image Writer are not recognized by native applns.
import java.awt.GridLayout;
import java.awt.image.BufferedImage;
import java.io.*;
import javax.imageio.ImageIO;
import javax.swing.*;
public class WriteTest {
private JPanel getContent(BufferedImage src) throws IOException {
File fileOne = new File("fileOne.jpg");
ImageIO.write(src, "jpg", fileOne);
BufferedImage image1 = ImageIO.read(fileOne);
BufferedImage image2 = copy(image1);
JPanel panel = new JPanel(new GridLayout(1,0));
panel.add(new JLabel(new ImageIcon(src)));
panel.add(new JLabel(new ImageIcon(image1)));
panel.add(new JLabel(new ImageIcon(image2)));
return panel;
private BufferedImage copy(BufferedImage in) throws IOException {
int w = in.getWidth();
int h = in.getHeight();
int type = BufferedImage.TYPE_INT_ARGB; // problem in native apps
//BufferedImage.TYPE_INT_RGB; // this one works okay
BufferedImage out = new BufferedImage(w, h, type);
for(int y = 0; y < h; y++) {
for(int x = 0; x < w; x++) {
out.setRGB(x, y, in.getRGB(x, y));
File fileTwo = new File("fileTwo.jpg");
ImageIO.write(out, "jpg", fileTwo);
return ImageIO.read(fileTwo);
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("images/cougar.jpg"));
WriteTest test = new WriteTest();
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(test.getContent(image));
f.pack();
f.setLocationRelativeTo(null);
f.setVisible(true);
} -
Problem with http - serverlet interaction?
Hi. I'm having a bit of problem with a HttpURLConnection.
First of all, this isn't something I'm especially knowledgeable in, so..
Basically, I'm requesting a page that carries a token used for validating a form submission to prevent multiple posts. However, when I try to request said page, I get an internal server error. The same happens if I try to type the URL into my browser; the page only loads properly if I go to it via a link. However, checking the source of the page with the link shows nothing special about it, which has me a little confused. I tried making a new page and linking to the page I'm trying to load, and it loaded fine, so it seems that it will load as long as it was accessed by clicking a link.
I'm assuming this problem has to do with the serverlet needing to generate a token for the session, but since I'm requesting it from a HttpURLConnection, it's not able to get the token. I've been trying to think of a way around it, but I've got nothing.
Can anybody give me a hand here? Thanks.You are looking for the mouseEnabled property.
So, for instance, where image is the instance name of the image on the border:
image.mouseEnabled = false; -
Problem with Hyperlinks - Creating Interactive PDF from an In-design Book
Im working on producing a Interactive PDF from an In-design Book which consists of 9 Indesign Documents.
The problem I am having is with Navigation when I export the pdf
When I export out to 'Interactive' pdf the hyperlinks DONT link to other documents
When I export out to 'print' pdf the hyperlinks DO link to other documents but the buttons to 'Go to next page' no longer work
Cheers,
JamieThanks for the reply. I got the IT to upgrade to 5.5 and it now works. Rather an annoying bug for CS5 though
Cheers,
Jamie -
Problem with DATE in Interactive Report
Hello,
In Interactive Report when I click on the header of any column with DATE datatype, nothing happens due to Javascript error:
Line: 2
Char: 14838
Error: Expected identifier, string or number
Code: 0
Click on any other column works perfectly as well as sorting by DATE column from Action Menu.
I tried to set different format masks for my DATE column and for Application Date Format, but it didn't help.
Finally I found out that this error disappeared when in properties of my DATE column in "List of Values" section I set "Report Filter Date Ranges" = 'Past' instead of 'All'. In this case I get the list with values "Last 5 Years", "Last 2 Years", etc, but not with "Next Hour", "Next 2 Hours", etc...
Can someone help me on this issue, because this functionality might be usefull and also it's not very convinient to change this property for all date columns in all Interactive Report.
By the way, my database version is 9.2.0.5 - maybe it can cause such problem?
Best regards,
VladimirHi Marco,
1) French Canada (fr-ca)
2) This filter works
More informations about the error when I call the function gReport.controls.widget():
<h;div id="apexir_DT" style="text-align: center;" onclick="gReport.controls.widget(this.id)">h;Date de naissance<h;/div>h;
*************POST*************
flowid 48579
p_flow_step_id 5
p_instance 1412541985987586
p_request APXWGT
p_widget_action SORT_WIDGET
p_widget_mod CONTROL
p_widget_name worksheet
x01 5775894815382747091
x02 5775899227924757464
x03 apexir_DT
*************RESPONSE*************
{"dialog":{"id":"1966481623126322611","hide":["apexir_info","apexir_computation"],"coltype":"DATE","filter"
:false,"uv":true,{"dialog":{"uv":true,"row":[{"V":"Failure<br />ORA-20001: get_dbms_sql_cursor error
ORA-00923: FROM keyword not found where expected"}]}}
Louis-Guillaume
Homepage: http://www.insum.ca
Blog: http://insum-apex.blogspot.com -
Problem with native offline Interactive Forms in webdynpro java.
I have a java webdynpro project build like the one in this tutorial:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/how-to-guides-rig-official/netweaver-2004/web-application-server/how%20to%20create%20online%20and%20offline%20forms%20in%20web%20dynpro%20(NW2004).pdf
The "Online" part of the tutorial is working but in the offline scenario I get no data in WebDynpro from the Interactive form (all of Context Attributes have a value "null") after the use of "Submit to SAP" button. this is the button from the Web Dynpro Native Library in the LC Designer.
the versioning information:
Netweaver 7.0 WAS on SP13
ADS SP13
Lifecycle designer 7.1
We updated the ZCI template according to the SAP notes.
Does anyone know this problem and how to fix it ?Hi niru,
To work on adobe forms in webdynpro java you need to install ALCD(Adobe Life Cycle Designer) along with NWDS(NetWeaver Developer Studio).
To know about adobe forms in webdynpro check the following link
http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf
https://www.sdn.sap.com/irj/scn/elearn?rid=/webcontent/uuid/f5718380-0c01-0010-aebf-8786fb890302 [original link is broken]
For example check the follwoing link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
/docs/DOC-8661#section20 [original link is broken]
Regards,
Sam Charles J. -
Could you help me?
Thanks for the answer Sumit Singh,
sorry but my problem keeps.
I create a simple text area and then trasform it in interactive text area, set it, apply my paragraph/character style and at the end export it in PDF (interactive).
I open the file with Adobe Acrobat, but when I customize it, words inside text area have stylized with default paragraph/character style.
How could I keep my style on export interactive text area?
Thanks a lot. -
A problem with JTextArea.write()
hi, I'm writting some code about reading content of a TextArea by use the method JTextArea.write().
when the content is short, that will be ok, but the content is too long, my thread seems to be dead. and NetBeans's debuger shows nothing, just unresponse.
can someone to point out my problem in the code below?
textSource.write(bfw); //textSource is extends from JTextArea, when content in it is too large, dead here
private void output2textResult() {
Runnable myThread = new Runnable() {
public void run() {
// component.doSomething();
final String source = txtFldSource.getText();
final String destination= txtFldDestination.getText();
String tmp;
try{
PipedWriter pipOut = new PipedWriter();
BufferedWriter bfw = new BufferedWriter(pipOut); //I wrapped the pipOut with the BufferedWrite
PipedReader pipIn = new PipedReader(pipOut);
BufferedReader bfr= new BufferedReader(pipIn);
//problem line below
textSource.write(bfw); //textSource is extends from JTextArea, when content in it is too large, dead here
while(bfr.ready()){
tmp = bfr.readLine();
tmp.replaceAll(source, destination);
textResult.append(tmp+"\n");
bfr.close();
pipIn.close();
pipOut.close();
}catch(IOException e){
System.out.println(e);
SwingUtilities.invokeLater(myThread);This won't work. Pipes are for use between threads. The implication of what you're doing in a single thread is that the pipe is somehow capable of holding the entire source text (which it isn't). In other words you're just trying to buffer it, so you may as well just get all the source text as a String and do your magic on it directly.
-
Problems with transparency in interactive PDFs
Hi, I am creating a 40pp document in InDesign CS6. The document is created as CMYK and will be issued as a printed piece but also there is an interactive version. For revision control purposes, I have created one document for both purposes, and have created the interactivity (internal navigation as well as hyperlinks to external URLs). The interactive buttons are on a separate layer so that layer can be suppressed when output for press.
The printed piece exports just fine using Pass4Press settings.
However, when I export as an interactive PDF, I find that each page seems to render differently, despite being based on the same master page items.
I have tried everything – changing the transparency blend space from RGB to CMYK (and vice versa).
This is causing me a real headache as my client won't accept this and I have tried pretty much everything. There is very little to adjust in the interactive PDF settings.
The document has a photographic strip along the top of each page (master item). On top of this are coloured blocks with text in them with the name of each section. The blocks are set to "colour" mode, (except when that is the current section, when they become "normal"). This is all done on the master, yet each page renders differently despite it being the same master with no page over-rides on the items in question.
I tried exporting back to .IDML and using the export functions of CS4 and CS5.5. This solved the transparency issue, but caused a whole range of other problems such as text reflow, shifting images and incorrectly assigned button actions/bookmarks, so the problem would seem to be the CS6 interactive PDF transparency handling. Using an earlier version of InDesign clearly isn't a solution.
Can anyone help please?!!Hi, and thanks for your help. That would be a bit of a faff, as I have set the whole doc up for export as a Pass4Press compliant document for professional print. However, the client also wants a navigable PDF created from the same doc. Because of the length of the document, I don't want to have two source docs, as that would be a revision control nightmare.
However, I've been playing around with the master pages, as it is items from the masters that are being rendered inconsistently. It seems odd that one master can be rendered differently on various non-overridden pages.
Guess what? I just tried disassociating the items from the masters (Override All Master Page Items) and tried again. Now, although I now have lost the benefit of using master pages, it does actually render properly and consistently now! Go figure. Must be one of those freaky little bugs. It would be cool if this could be fixed, but at least overriding masters seems to be a workaround.
Hopefully, my document is approved, and I can export the final Press PDF, save the doc, Override All Master Page Items, export the interactive PDF and not save with the disassociated masters…
Thanks for all advice and hopefully this will help someone else, or trigger one of the devs to look into this odd bug. -
Problem with ImageIO.write
Hello I am trying to write to file. Here is my code
try
File file = new File("C://images//queryX.gif");
if (file.exists())
{file.delete();}
ImageIO.write(bi_new, "GIF", file); // bi_new is my bufferedImage
catch (IOException e)
e.printStackTrace();
}The file is being created but it is blank. The buffered image is fine because i am having it displayed to screen with an imageicon on a Jlabel.
Any ideas why the file is blank?
Cheers.The likely problem is that an encoder can not be found.
First check the return value from the ImageIO.write() method. If it is false it means that an appropriate
encoder could not be found. (This is quite likely as GIF encoders have some patenting problems and
Im not sure if SUN has included a GIF encoder.
Also it should not be necessary to delete the file if it already exists as the ImageIO.write method will
overwrite it anyway.
matfud -
Problem with posting write-ups in ABZU
Hello,
May I ask for your help on my concern about transaction ABZU? My asset was capitalized on 31.03.2009 and it has depreciated until last month. I would like to delete this asset because it should not have been recognized as ana sset, so my first procedure would be to derecognize the depreciated that was posted.
If I use transaction ABZU and use transaction type 700, I encounter an error that says "You cannot post write-ups". The long text explains that "None of the areas to be posted in accordance with the transaction type entered manages one of the depreciation types entered or cumulative values.".
If I use transaction type 710, I encounter the same error, but the long text says " According to the transaction type, you have to post to area 01. However, in this area, there is either no accumulated depreciation or the write-up depreciation type(s) are not managed in this area.".
I checked transaction OABU, and I could see that the depreciations areas allow unplanned depreciations. I cehcked the asset reports and the asset explorer and I can see that it contains accumulated depreciation.
What could be the reason for the error? Could it be some some settings in other customizing transaction other than OABU?
Thanks in advance for your advice.
Regards,
PeterHi peter
In the previous post you have mentioned that Depreciation is being Run from March - June.
iey i said 4 months.
Pass a JV means you post a document Crediting this Asset and Debitting any AUC(or any Expense G/L Account) for the Acquisition Amount.
After that you go and check in AW01N -->Asset Explorer, system will write the the Adjustment entries in all the periods of the useful life.
you then reduce the useful life for 5 months,then you will see the Total of the Depreciation posted for 4 months(it will be positive amount).
why 5months is 4months already Depreciation posted and 1month for running the Adjustment Amount(which is positive so that G/L Account Balances will also be adjusted).
You first try this scenario in test environment, you will be able to know clearly.
Hope you understand.
Regards
Venkat -
Problem with method "write" in POI Library.
Best regards, I have the following problem: I have a application in Oracle BPM 10g, that generates a file in Excel. First it upload a template, then query the data base, and storage this data in "POI Object" of type "XSSFWorkbook"; all of the this, at memory.
The problem is when I try to write this object "XSSFWorkbook", in the file(generate a Physical File), the file size is about 35 MB, usgin the method wb.write(out) of the "POI Library", my server spend about 15 minutes, generating blocks.
I' like that some help me to solve this problem, maybe making any setting in my server.
My Servers are:
Application Server: Oracle WebLogic 10.3.1
and File Server: Oracle Linux. Memoy: 32GB
I show you the code in java:
rsQuery = generarTablas(sStoredProcedure,xmlTableroControl);
InputStream inp = JExcel.cargarPlantillaLectura(sRutaOrigen + sNombreOrigen + ".bck");
XSSFWorkbook wb = new XSSFWorkbook(inp); //DESCOMENTAR
wb.setForceFormulaRecalculation(true);
int vnHoja = 0;
String vsTabla = "";
while(rsQuery.next()){
vnHoja = rsQuery.getInt(1);
vsTabla = rsQuery.getString(2);
outResultado = new BufferedWriter (new FileWriter("/tmp/"+String.valueOf(nOrden)+vsTabla+".txt"));
outResultado.write("vsTabla: "+vsTabla+" Hoja : "+String.valueOf(vnHoja)+ "\n"+String.valueOf(Util.getTodayTime()));
outResultado.close();
nOrden ++;
this.rsConsulta = consultar(vsTabla);
if(_getRowCount(this.rsConsulta)>0)
generarHoja(wb, 6, vnHoja);
this.rsConsulta = null;//agregado 12/06/2013
File tempFileXLS = File.createTempFile(sNombreDestino + this.sFechaFin + "_", ".xlsx");
ruta = sRutaDestino + tempFileXLS.getName();
OutputStream out = new FileOutputStream(ruta);
inp.close();
wb.write(out);//---------------------> PROBLEMBest regards, I have the following problem: I have a application in Oracle BPM 10g, that generates a file in Excel. First it upload a template, then query the data base, and storage this data in "POI Object" of type "XSSFWorkbook"; all of the this, at memory.
The problem is when I try to write this object "XSSFWorkbook", in the file(generate a Physical File), the file size is about 35 MB, usgin the method wb.write(out) of the "POI Library", my server spend about 15 minutes, generating blocks.
I' like that some help me to solve this problem, maybe making any setting in my server.
My Servers are:
Application Server: Oracle WebLogic 10.3.1
and File Server: Oracle Linux. Memoy: 32GB
I show you the code in java:
rsQuery = generarTablas(sStoredProcedure,xmlTableroControl);
InputStream inp = JExcel.cargarPlantillaLectura(sRutaOrigen + sNombreOrigen + ".bck");
XSSFWorkbook wb = new XSSFWorkbook(inp); //DESCOMENTAR
wb.setForceFormulaRecalculation(true);
int vnHoja = 0;
String vsTabla = "";
while(rsQuery.next()){
vnHoja = rsQuery.getInt(1);
vsTabla = rsQuery.getString(2);
outResultado = new BufferedWriter (new FileWriter("/tmp/"+String.valueOf(nOrden)+vsTabla+".txt"));
outResultado.write("vsTabla: "+vsTabla+" Hoja : "+String.valueOf(vnHoja)+ "\n"+String.valueOf(Util.getTodayTime()));
outResultado.close();
nOrden ++;
this.rsConsulta = consultar(vsTabla);
if(_getRowCount(this.rsConsulta)>0)
generarHoja(wb, 6, vnHoja);
this.rsConsulta = null;//agregado 12/06/2013
File tempFileXLS = File.createTempFile(sNombreDestino + this.sFechaFin + "_", ".xlsx");
ruta = sRutaDestino + tempFileXLS.getName();
OutputStream out = new FileOutputStream(ruta);
inp.close();
wb.write(out);//---------------------> PROBLEM -
Problems with RS232 write/read.
I have a serial device, device responds to ASCII messages:
Reguest string:
!1100/
Responce from device:
!1100/#xx$xxxx/
x - ASCII characters.
I need to communicate with devise using RS232. Device has RS485 port (2-wire). RS232/RS485 converter data direction is controled by RTS line.
In my program I do something like this( single read for now): configure serial port, delay, asserted RTS line, transfer string, delay, unasserted RTS, read string, close port. I use VISA serial. Now I receive garbage. Where the problem might be ?I tried other RS485 coverter ( with auto direction). My program works fine:
Request to device:
!1100/
Responce from device:
#00$xxxx/
Also using port monitor program I monitored data flow between original software (it comes with device) and device.
Reguest string:
!1100/
Responce from device:
!1100/#xx$xxxx/
x - ASCII characters.
So first is request echo and then responce from device.
Manipulating RTS line I only managed to receive request echo, but no responce.
Please see attached VIs: GIA10N - with no RTS control, and GIA10N_RTS - with RTS control ( I receive only request echo with it).
I am sure that my RS232/RS485 converter works standart way, because using serial comms software ( "Advanced serial port monitor") whitch dont know anything about my device I receive responce when I enable "RS485 interface mode". Then I get this:
Reguest string:
!1100/
Responce from device:
!1100/#xx$xxxx/
x - ASCII characters.
Attachments:
GIA10N.vi 61 KB
Maybe you are looking for
-
Hello guys. I have been trying to solve this by a long time now...but i cant solve it.... I have my main code in labview beying executed in one timed loop of 1second.....but now i need to pulse a lazer very fast than one second... my ideia was like e
-
Error in saving template and updating files
I'm using Dw CS3 on Windows XP. I have created a template I created from another page and then created my new pages from the template. I am still working on the site so it's all on my computer - not yet uploaded to the remote site. It was working fin
-
2nd MBP has messed up my home network--help please
I have a linksys wireless router. I have a MBP 1.83 gz and my MBP 2.2 GZ just arrived today. I turned them both on, both will get onto my wireless network (which is WEP protected) and then after two or three minutes neither computer can go online. In
-
Comment je peux faire pour imprimer plusieurs pages d'un pdf sur une même feuille ?
Bonjour a tous Je suis a la recherche Dun moyen qui me permettrai d'imprimer plusieurs diapo d'un pdf (ou autre) sur une même pages ? Je ne sais pas quelle application prendre ... J'ai déjà télécharger keynote , sans pouvoir utiliser mes pdf téléchar
-
Hi Guru's I would like to see P&L Statement report P&L wise, can anyone provide T.code for that. regards venkat.