A specific writer

I've looked, but I cannot find a writer that lets you write to a specific line of a file. Like:
blabla.write("text",lineNumber);Is there such a writer?

ok :-)
import java.util.*;
import java.io.*;
- read the file using a buffered reader.
File yourFile = new File("...");
byte[] buf = new byte[file.length()];
try {
FileInputStream fis = new FileInputStream(yourFile);
fis.read(buf,0,file.length());
fis.close();
} catch(IOException e) { e.printStackTrace(); }
- localize the CRs (carriage return, symbol that indicates a line change) (you can do that very easily (but not very efficiently) with a StringTokenizer.
String str = new String(buf, "US-ASCII"); // or whatever charset
StringTokenizer stk = new StringTokenizer(str, "\r\n", false);
- Load a java.util.Vector with every "line" (each line now becomes a element in the Vector).
Vector lines = new Vector();
while (stk.hasMoreTokens()) {
lines.add(stk.nextToken());
- You can now add and remove lines by using insert and remove from the Vector.
System.out.println(lines.get(10)); // prints line 10
lines.add("Hi how are you"); // appends a line
lines.insert(10, "Hi how are you"); // adds this line at line 10
- When it is time to save, iterate thru the Vector and concatenate every elements of the Vector into a StringBuffer.
StringBuffer strb = new StringBuffer("");
for (Enumeration e = lines.elements() ; e.hasMoreElements() ;) {
strb.append(e.nextElement());
- Finally overwrite the original file with the new data.
try {
FileOutputStream fos = new FileOutputStream (yourFile, false);
fos.write(strb.toString("US-ASCII")); // or whatever
fos.close();
} catch(IOException e) { e.printStackTrace(); }
Tell me if it's better.
Anthony

Similar Messages

  • Trigger oscillosco​pe on specific write to I2C EEPROM?

    My only experience with hardware and LabVIEW is controlling instruments using visa. I have an I2C problem I am trying to debug and maybe someone knows if NI makes hardware that will work for me.
    I want to trigger an oscilloscope on an I2C write to a specific 24C32 EEPROM address so I can look at the activity preceding that. Could one of the DAQ cards do this and would I need LV Real Time?
    I have a Total Phase I2C monitor and I can log the transactions. But some of the transactions are corrupt and there are mysterious erroneous writes to a few different EEPROM memory locations. Interestingly it writes the address of the I2C device to these locations. So I need to look at the waveform immediately preceding one of these unexplained writes.
    Maybe the DAQ card can be the scope if I use analog inputs. If I capture the clock and data is there a vi that already exists that will decode the bit stream?
    The way I might go about this is with a PIC microcontroller. I can write a program for that which I can send commands to through LabVIEW. I could tell the PIC to make a digital line go high when it sees a particular bit stream and use that to trigger the scope.
    =====================
    LabVIEW 2012

    Please use the forum post located here.
    Kareem W.
    National Instruments
    Web Product Manager

  • Trigger oscillosco​pe on specific I2C write?

    Apologies for cross posting this from the Automotive and Embedded forum but there just doesn't seem to be much "traffic" there (no pun intended) I did a search and only found about four posts that even mention I2C. Most are about CAN.
    My only experience with hardware and LabVIEW is controlling instruments using visa. I have an I2C problem I am trying to debug and maybe someone knows if NI makes hardware that will work for me.
    I want to trigger an oscilloscope on an I2C write to a specific 24C32 EEPROM address so I can look at the waveform preceding that. Could one of the DAQ cards do this and would I need LV Real Time?
    I have a Total Phase I2C monitor and I can log the transactions. But some of the transactions are corrupt and there are mysterious erroneous writes to a few different EEPROM memory locations. Interestingly it writes the address of the I2C device to these locations. So I need to look at the waveform immediately preceding one of these unexplained writes.
    Maybe the DAQ card can be the scope if I use analog inputs. If I capture the clock and data is there a vi that already exists that will decode the bit stream?
    The way I might go about this is with a PIC microcontroller. I can write a program for that which I can send commands to through LabVIEW. I could tell the PIC to make a digital line go high when it sees a particular bit stream and use that to trigger the scope.
    What would you do?
    =====================
    LabVIEW 2012

    On a specific write
    That makes it more challenging and could be a pile of work used just one time.
    A continuous acq at a high rate to catch the issue then go back through it manually can get you there but a lot of manual scrolling and decyphering.
    I think there are some FPGA examples available that support low levl protocols. You may be able to start with there work, not sure.
    I'll process this challeng in the background and if I have more ideas I'll share.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I write to multiple daisy-chained network serial addresses through a single COM port?

    I have a VI to write to 3 PI Mercury motor controllers using daisy chained RS232 connected via a Prolific USB-to-Serial adapter. I know that it is possible to talk to the individual controllers because the PI terminal that I have recognises the addresses of multiple controllers and designates them Device 1,2,3. The VISA resource name when configuring the port just comes up as COM5 most of time, with seemingly no way to specify an address on that COM port. Occasionally the VISA resource is ASRL5::INSTR and as this is disconnected and re-connected, this address moves up a number (e.g ASRL7::INSTR). Can anybody tell me how I can configure my serial communication to allow me to individually communicate with the different devices through a single COM port?

    What does the manual say about addressing? RS-232 is not multidrop, the resource name is correct, and there is no additional configuration needed. There would have be a specific write in order to address a certain controller.

  • Really need help on how to write this program some 1 plz help me out here.

    i am new to java and i confused on how to be writing this program.
    i have completed the Part 1 but i am stuck on Part 2 & 3 so it would would be really great if any 1 could help me out on how to write the program.
    Part I
    An algorithm describes how a problem is solved in terms of the actions to be executed, and it specifies the order in which the actions should be executed. An algorithm must be detailed enough so that you can "walk" through the algorithm with test data. This means the algorithm must include all the necessary calculations.
    Here is an algorithm that calculates the cost of a rectangular window. The
    total cost of a window is based on two prices; the cost of the glass plus the cost of the metal frame around the glass. The glass is 50 cents per
    square inch (area) and the metal frame is 75 cents per inch (perimeter).
    The length and width of the window will be entered by the user. The
    output of the program should be the length and width (entered by the user)
    and the total cost of the window.
    FORMULAS:
    area = length times width perimeter = 2 times (length plus width)
    Here is the corresponding algorithm:
    read in the length of the window in inches
    read in the width of the window in inches
    compute the area
    compute the cost of the glass (area times 50 cents)
    compute the perimeter
    compute the cost of the frame (perimeter times 75 cents)
    compute the total cost of the window (cost of glass plus cost of frame)
    display the length, width and total cost
    The next step would be to "desk check" the algorithm. First you would need to make up the "test data". For this algorithm, the test data would involve making up a length and a width, and then calculating the cost of the window based on those values. The results are computing by hand or using a calculator. The results of your test data are always calculated before translating your algorithm into a programming language. Here is an example of the test data for the problem given:
    length = 10
    width = 20
    area = 200, glass cost= 100.00 (area times 50 cents)
    perimeter = 60, frame cost = 45.00 (perimeter times 75 cents)
    total cost =145.00
    Once the test data is chosen, you should "walk" through the algorithm using the test data to see if the algorithm produces the same answers that you obtained from your calculations.
    If the results are the same, then you would begin translating your algorithm into a programming language. If the results are not the same, then you would attempt to find out what part of the algorithm is incorrect and correct it. It is also
    necessary to re-check your hand calculations.
    Each time you revise your algorithm, you should walk through it with your test data again. You keep revising your algorithm until it produces the same answers as your test data.
    ?Now write and submit a Java program that will calculate the cost of a rectangular window according to the algorithm explained. Be sure to prompt for input and label your output.?
    Part II
    Write, compile and execute a Java program that displays the following prompts:
    Enter an integer.
    Enter a second integer
    Enter a third integer.
    Enter a fourth integer.
    After each prompt is displayed, your program should use the nextint method of the Scanner class to accept a number from the keyboard for the displayed
    prompt. After the fourth integer has been entered, your program should calculate and display the average of the four integers and the value of the first integer entered raised to the power of the second integer entered. The average and result of raising to a power should be included in an appropriate messages
    (labels).
    Sample Test Data:
    Set 1: 100 100 100 100
    Set 2: 100 0 100 0
    Be sure to write an algorithm first before attempting to write the Java code. Walk through your algorithm with test data to be sure it works as anticipated.
    Part III
    Repeat Part lI but only calculate the average, not the power. This time, make sure to use the same variable name, number, for each of the four numbers input. Also use the variable sum for the sum of the numbers. (Hint: To do this, you may use the statement sum = sum + number after each number is read.)
    For Part 1 this is what i got
    import java.util.Scanner;
    public class Window
         public static void main(String[] args)
              double length, width, glass_cost, perimeter, frame_cost, area, total;
              Scanner keyboard = new Scanner (System.in);
              System.out.println("Enter the length of the window in inches");
              length = keyboard.nextInt();
              System.out.println("Enter the width of the window in inches");
              width = keyboard.nextInt();
              area = length * width;
              glass_cost = area * .5;
              perimeter = 2 * (length + width);
              frame_cost = perimeter * .75;
              total = glass_cost + frame_cost;
                   System.out.println("The Length of the window is " + length + "inches");
                   System.out.println("The Width of the window is " + length + "inches");
                   System.out.println("The total cost of the window is $ " + total);
         Enter the length of the window in inches
         5
         Enter the width of the window in inches
         8
         The Length of the window is 5.0inches
         The Width of the window is 5.0inches
         The total cost of the window is $ 39.5
    Press any key to continue . . .
    Edited by: Adhi on Feb 24, 2008 10:33 AM

    Adhi wrote:
    i am new to java and i confused on how to be writing this program.
    i have completed the Part 1 but i am stuck on Part 2 & 3 so it would would be really great if any 1 could help me out on how to write the program.Looks like homework to me.
    What have you written so far? Post it.
    Part I
    An algorithm describes how a problem is solved in terms of the actions to be executed, and it specifies the order in which the actions should be executed. An algorithm must be detailed enough so that you can "walk" through the algorithm with test data. This means the algorithm must include all the necessary calculations.
    Here is an algorithm that calculates the cost of a rectangular window. The
    total cost of a window is based on two prices; the cost of the glass plus the cost of the metal frame around the glass. The glass is 50 cents per
    square inch (area) and the metal frame is 75 cents per inch (perimeter).
    The length and width of the window will be entered by the user. The
    output of the program should be the length and width (entered by the user)
    and the total cost of the window.
    FORMULAS:
    area = length times width perimeter = 2 times (length plus width)
    Here is the corresponding algorithm:
    read in the length of the window in inches
    read in the width of the window in inches
    compute the area
    compute the cost of the glass (area times 50 cents)
    compute the perimeter
    compute the cost of the frame (perimeter times 75 cents)
    compute the total cost of the window (cost of glass plus cost of frame)
    display the length, width and total cost
    The next step would be to "desk check" the algorithm. First you would need to make up the "test data". For this algorithm, the test data would involve making up a length and a width, and then calculating the cost of the window based on those values. The results are computing by hand or using a calculator. The results of your test data are always calculated before translating your algorithm into a programming language. Here is an example of the test data for the problem given:
    length = 10
    width = 20
    area = 200, glass cost= 100.00 (area times 50 cents)
    perimeter = 60, frame cost = 45.00 (perimeter times 75 cents)
    total cost =145.00
    Once the test data is chosen, you should "walk" through the algorithm using the test data to see if the algorithm produces the same answers that you obtained from your calculations.
    If the results are the same, then you would begin translating your algorithm into a programming language. If the results are not the same, then you would attempt to find out what part of the algorithm is incorrect and correct it. It is also
    necessary to re-check your hand calculations.
    Each time you revise your algorithm, you should walk through it with your test data again. You keep revising your algorithm until it produces the same answers as your test data.
    “Now write and submit a Java program that will calculate the cost of a rectangular window according to the algorithm explained. Be sure to prompt for input and label your output.”
    Part II
    Write, compile and execute a Java program that displays the following prompts:
    Enter an integer.
    Enter a second integer
    Enter a third integer.
    Enter a fourth integer.
    After each prompt is displayed, your program should use the nextint method of the Scanner class to accept a number from the keyboard for the displayed
    prompt. After the fourth integer has been entered, your program should calculate and display the average of the four integers and the value of the first integer entered raised to the power of the second integer entered. The average and result of raising to a power should be included in an appropriate messages
    (labels).
    Sample Test Data:
    Set 1: 100 100 100 100
    Set 2: 100 0 100 0
    Be sure to write an algorithm first before attempting to write the Java code. Walk through your algorithm with test data to be sure it works as anticipated.So this is where you actually have to do something. My guess is that you've done nothing so far.
    Part III
    Repeat Part lI but only calculate the average, not the power. This time, make sure to use the same variable name, number, for each of the four numbers input. Also use the variable sum for the sum of the numbers. (Hint: To do this, you may use the statement sum = sum + number after each number is read.)Man, this specification writes itself. Sit down and start coding.
    One bit of advice: Nobody here takes kindly to lazy, stupid students who are just trying to con somebody into doing their homework for them. If that's you, better have your asbestos underpants on.
    %

  • Enable exception handling in trigger

    Hello-
    I am fairly new to Oracle, and have written a simple audit trigger to insert old values into an audit table upon updates to an existing table. I am trying to incorporate some exception handling in case there are errors. Is there a way to 'enable' or call out the oracle predefined the errors, or do I have to specifically write conditions for all the exceptions I want to capture?
    Thanks!

    Hi
    There are two types of expections exists in oracle, i.e. internal & external exceptions. Internals are oracle defined and externals are user defined.
    Internal
    When no_data_found
    when too_many_rows
    when divide_zero (read oracle documentation for more)
    example:
    declare
    begin
    select ename,sal from emp where empno=0;
    exception
    when no_data_found then
    dbms_output.put_line('No such employee exists');
    end;
    external
    =======
    you define in the declaretive part
    example:
    declare
    MyException exception
    begin
    if .... then
    raise MyException;
    end if;
    exception
    when Myexception then
    do_action
    end;

  • User Profile DS_Export

    I have been following
    this guide. Unfortunately, I am unable to get the sync from SharePoint to Active Directory. I get the following error in FIM: permission-issue, Insufficient access rights to perform the operation.
    I get successes for MOSS_EXPORT, MOSS_DELTASYNC, DS_DELTASYNC, MOSS_DELTAIMPORT, DS_DELTAIMPORT. I am sure it has something to do with my sync account. Any help would be much appreciated!

    Write all properties on what type of objects? :-) Go through the Delegation Control wizard...
    Create a custom task to delegate
    Only the following objects in the folder: User objects
    Show these permissions: Property-specific; Write thumbnailPhoto
    That should be it. Make sure the user you're writing back is covered by this permission set, and of course you're delegating permission to the service account performing the sync (and not say, the farm admin account).
    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.
    Why isn't this listed on TechNet? It seems like the addition of this step would be nice, or at least, a clarification. Thanks for your help!

  • An error was detected on device \Device\Harddisk0 during a paging operation.

    Hi
    I have a Dell PE 2850 running Windows Server 2003 which is attached via SCSI to a Power Vault 220 SCSI disk enclosure.
    The server is beeping and in the eventvwr I see the following message:
    An error was detected on device \Device\Harddisk0 during a paging operation.
    There are no disk failure lights on the server so what is causing these errors in the Event Viewer?
    Thanks
    Paul

    The "error" doesn't have to mean that the disk is faulty, it's just that that specific write operation might have failed (for unknown reasons).
    That's all the light I can shed on it after looking through my event logs, I have a few of those too, but no errors anywhere else.Best regards
    Joachim Nässlander
    IT-Expert, Knowledge Factory
    (http://www.knowledgefactory.se)
    MVP Cluster
    Member of Microsoft Extended Experts Team (MEET)
    Blog: http://www.nullsession.com

  • Data warehousing /Business intelligence

    Does anyone have a list of data warehousing /Business intelligence interview questions?
    or can share the Data warehousing/BI interview experience with me?

    I've included links to them.
    Don?t over index your OLTP tables, as every index you add increases the time it takes to perform INSERTS, UPDATES, and DELETES. There is a fine line between having the ideal number
    of indexes (for SELECTs) and the ideal number for data modifications
    Too many indexes on frequently updated (inclusive of inserts, updates and deletes) tables incur extra index maintenance
    overhead. Generally, OLTP database designs should keep the number of indexes to a
    functional minimum, again due to the high volumes of similar transactions combined with the cost of index maintenance.
    Unused indexes incur the cost of index maintenance for inserts, updates, and deletes without benefiting any users. Unused
    indexes should be eliminated. Any index that has been used (by select, update or delete operations) will appear in sys.dm_db_index_usage_stats. Thus, any defined index not included in this DMV has not been used since the last re-start of SQL Server.
    I generally start to get concerned when I see more than about five or six relational indexes on a volatile table. Having too many relational indexes
    has a negative effect on insert, update, and delete performance. Ultimately, it is a judgment call, based on your workload, your hardware and I/O subsystem, and on your experience.
    Standard practices call for indexing strategies in OLTP systems to target an increase in concurrency versus query support; however, more indexes have to be created than is
    desired to reach acceptable query performance. The lower the proportion of write operations is in the system, the higher the level of indexing that can be tolerated, unless the timing of specific write operations is critical ref.http://www.bidn.com/blogs/TomLannen/bidn-blog/2625/indexing-strategies-for-oltp-databases
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • Photoshop CS 2 installation problem

    CS2 kept freezing on my new Mac Pro system so I deleted the program and the adobe directories from my library and am now trying to reinstall CS2. Everything goes fine until it starts installing and then I just get the message, "There were errors installing the software. Please try again."
    Any ideas why this is happening and what I can do? I tried running disk utility, rebooting.
    thanks
    todd

    Hi Mitch,
    I remember the issue, I ran into it as well.
    While the patch from ExtremeZ-IP did temporarily fix my issues, the issue returned. I used the correct PhotoShop plugin and still the problem persisted.
    Low and behold, the issue was when using the command-S save feature. When the files your working on have already been saved with the older AFP spec and you try to save them with the newer AFP spec, they'll error out in OSX 10.4.6. This was related to PhotoShop CS2 files.
    The solution is to either save the files to your desktop or change the name of the file. Once this was done the problem doesn't return on the file, even if you do a command-S.
    I believe it's the process of cleaning up the commenting changes for the AFP spec on 10.4.6.
    You will want to check your destination drive if you are getting a specific "Write Denied" error and see if some restrictive permission hasn't propegated it's self where it shouldn't have.

  • Photoshop CS 2 VBScript problem

    Hi everyone,
    I need to mofify color balance of an ArtLayer using its 'AdjustColorBalance' method. Can anyone tell me what might be wrong with the following VBA code ? (It doesn't work yet, at least for now)
    'Declare 3 arrays of numbers and a flag
    Dim lngShadows(1 To 3) as Long
    Dim lngMidtones(1 To 3) as long
    DIM lngHighlights(1 To 3) as Long
    Dim fPreserveLuninosity as Boolean
    'Initialize the arrays
    lngShadows(1) = -10
    lngShadows(2) = 0
    lngShadows(3) = 10
    'Repeat for other 2 arrays
    'Make sure document is in RGB mode
    appRef.ActiveDocument.ChangeMode 2 'RGB/8 (psConvertToRGB)
    fPreserveLuminosity = False
    'Make the changes
    appRef.ActiveDocument.ActiveLayer.AdjustColorBalance (intShadows, intMidtones, intHighlights, fPreserveLuminosity)
    'NOTHING HAPPENS...
    Any pointers or other suggestions about what might be wrong with this code will be greatfully received :)
    Many thanks again,
    Lars

    Hi Mitch,
    I remember the issue, I ran into it as well.
    While the patch from ExtremeZ-IP did temporarily fix my issues, the issue returned. I used the correct PhotoShop plugin and still the problem persisted.
    Low and behold, the issue was when using the command-S save feature. When the files your working on have already been saved with the older AFP spec and you try to save them with the newer AFP spec, they'll error out in OSX 10.4.6. This was related to PhotoShop CS2 files.
    The solution is to either save the files to your desktop or change the name of the file. Once this was done the problem doesn't return on the file, even if you do a command-S.
    I believe it's the process of cleaning up the commenting changes for the AFP spec on 10.4.6.
    You will want to check your destination drive if you are getting a specific "Write Denied" error and see if some restrictive permission hasn't propegated it's self where it shouldn't have.

  • Photoshop CS 2 - Another problem !

    Hello all,
    OK I've had the 10.4.6 issue with PSH crashing on save, I found the Disable Get Info Plugin so now at least we can do a save as without crashing when saving to the server...
    NOW... I can do a save as but if we do an edit (like even as simple as a crop) and hit command S to save, I get a new error - "Could not save "XXX.tif" because write access was not granted."
    I went straight to a machine with CS 1 opened the same file and did an edit and saved straight away !
    The macs are Dual Proc G5's 10.4.4 (this one - others 10.4.6), the server is a Unix box running Helios ethershare with (I have been told) all the latest patches, Cisco networking and PSH CS 2 with all the patches.
    Sorry guys, I should have searched first - others have this issue also - I'll do some reading but if anyone wants to reply with info please do !
    Mitch

    Hi Mitch,
    I remember the issue, I ran into it as well.
    While the patch from ExtremeZ-IP did temporarily fix my issues, the issue returned. I used the correct PhotoShop plugin and still the problem persisted.
    Low and behold, the issue was when using the command-S save feature. When the files your working on have already been saved with the older AFP spec and you try to save them with the newer AFP spec, they'll error out in OSX 10.4.6. This was related to PhotoShop CS2 files.
    The solution is to either save the files to your desktop or change the name of the file. Once this was done the problem doesn't return on the file, even if you do a command-S.
    I believe it's the process of cleaning up the commenting changes for the AFP spec on 10.4.6.
    You will want to check your destination drive if you are getting a specific "Write Denied" error and see if some restrictive permission hasn't propegated it's self where it shouldn't have.

  • I edited RAW files as DNG's and need the xmp files- are they embedded in the DNG files?

    I was editing for someone else and the like the xmp files to see the RAW adjustments- I edited them as DNG because that is how I'm used to doing it. Now I know but they want me to supply the xmp files which did not write. Is there a wat to do this or do I need to re edit them as RAW's?

    DNG files don't have XMP sidecar files. Everything is written to the header of the DNG. And as far as Lightroom goes, It will be necessary for you to specifically write the data to XMP files. Otherwise the adjustments will only be stored in the catalog.

  • The impact of java.ext.dirs and XMX settings to a JVM

    Hello,
    I've been using a XMX setting of 3800M for a particular JVM running a particular task.
    However, if I pass the -Djava.ext.dirs option, and point it to some directories, the JVM fails for the same task I've been running in my first run.
    truss output appears to show the failure occurring during mmap() resulting in ENOMEM.
    The question is, under what condition would java.ext.dirs change the behavior of my XMX setting? If it take it out, it runs fine.
    Java version: 1.4.1, SunOS Sparc

    This sounds like a problem I had a while ago that stumped me for several days.
    If your class with the "main" method is loaded from the extensions directory (java.ext.dirs), it appears that a special classloader is used to do that, not the standard classloader that looks in the classpath. This special classloader appears to ignore the classpath and look only in the extensions directory. Also, the JVM appears to try this classloader before the standard classloader.
    Now, when one class wants to load another class, it always uses the classloader that loaded it to load that other class (unless you specifically write your program to use some other classloader). So what is happening to you is this: The "extensions classloader" loads your class with the "main" method, because it can. Then your "main" method tries to load another class, but it uses the "extensions classloader" to do that. And the "extensions classloader" doesn't look in the classpath, and what you saw is what you got.
    At least the answer to your problem is clear: Don't do that.

  • Archiving objects

    Hi,
    Can you please send me 'step by step process Archiving data objects and how we can extract archived data from R/3?'. If possible please send me with screen shots to my mail-id [email protected] or plese attach to this thread.
    Thanks & Regards
    Venkata Rao.

    Hi,
    Creating Archiving Objects
    Prerequisites
    The programs you enter must already exist in the system.
    Procedure
    Call transaction AOBJ.
    Choose New Entries and enter the following data:
    General Information
    Object Name
    Name of the archiving object
    Text
    Short description
    Application Area
    Organizational category for assigning archive files
    Application Component
    Used for assigning archive files
    Programs and Functions
    Write Program
    Name of the program that writes the archive files
    Interruption Possible
    Setting this indicator means the archiving object supports Interruption and Continuation of an Archiving Session. If you set this, the write program must also handle the interruption request. This indicator must not be set if the Do Not Start Before End of Write Phase is set.
    Delete Program
    Name of the program that deletes the data from the database after the write program has finished
    Do Not Start Before End of Write Phase
    If this indicator is set, the delete programs do not start until the write program is finished. To actually start the delete phase immediately, the Start automatic. indicator must be set in archiving-object-specific Customizing.
    This indicator should not be set for most archiving objects. Before you set this indicator, decide whether you actually need to use this indicator or can do without it.
    Reload Program (optional)
    Name of the program with which the data can be loaded from the archive back into the database.
    Prohibit New Session During Reload
    If this indicator is set, no new archiving session is generated when reloading archiving sessions. The reload program is not authorized to call the function module ARCHIVE_SAVE_OBJECT.
    Preprocessing Program (optional)
    Name of the program with which data is to be prepared for data archiving.
    Postprocessing Program (optional)
    Name of the program with which data is to be processed after it has been archived. If, for example, the data is only marked for deletion in the delete program, the actual deletion can be executed in the postprocessing program.
    Index Build Program
    Name of the program for building indexes
    ArchiveSelect.Active
    If this indicator is set, the Archive Selection pushbutton is displayed in transaction SARA for building and deleting indexes. If you select archive files using variants, do not set this indicator.
    Index Delete Program
    Name of the program for deleting indexes
    Index Build Allowed
    If this indicator is set, an index can be created for this archiving object. For more information, see Creating ADK Indexes and Using Them to Access Archive. The actual index creation can be controlled by a Customizing entry.
    "Invalid" Indicator Cannot Be Revoked
    If this indicator is set, the "Invalid" indicator for archiving sessions cannot be reset in archive management once it is set.
    Archiving Object Generated
    Indicates the archiving object was generated.
    As of SAP Web Application Server 6.10 write and delete programs can no longer be generated at runtime.
    Cross-Client
    Archiving is client-independent.
    End Dialog
    Dialog mode must stop before archiving can begin. Only set this if collisions may occur during data archiving. In general, this should not be set as it was primarily designed for older archiving objects where parallel operation was not able to be guaranteed between online operation and data archiving.
    Documentation
    Info for Write Program
    Name of the document containing information about the object-specific write program
    Info for Delete Program
    Name of the document containing information about the object-specific delete program.
    Info for Reload Program
    Name of the document containing information about the object-specific reload program.
    Info for Preprocess Prog
    Name of the document containing information about the object-specific preprocessing program.
    Info for Postproc Prog
    Name of the document containing information about the object-specific postprocessing program.
    Info for Read Program
    Name of the document containing information about the object-specific read program.
    You create the documents using the documentation maintenance transaction (SE61).
    Save your entries and return to the initial screen of transaction AOBJ.
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap123.htm
    http://sapabapinterviewquestionsjobs.blogspot.com/2007/11/sap-abap-interview-questions-jobs.html
    http://www.sap-basis-abap.com/sapta009.htm
    http://blog.danmcweeney.com/8
    http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa043a493111d182b70000e829fbfe/frameset.htm
    Regards,
    Chandru

Maybe you are looking for

  • Using my widescreen tv as display

    using my widescreen as a display , works well but i can t get the top menu bar or the bottom dock options to fit into the screen. i m guessing this is a format problem with my tv but i can t seem to get anything to work with that either. any suggesti

  • I'm losing all my recent work and back-ups in Time Machine as well!?

    Hi, I've only recently started having this problem with my G5 Dual 2 GHZ PowerPC. I'm running Mac OS X 10.5.8. It has only recently started to freeze - sometimes when I open up applications for the first time of the day. I'm a cartoonist and working

  • HP ENVY DV7-7212nr Possible Motherboard Failure?

    HP ENVY DV7-7212nr Windows 8 (Factory) upgraded to Windows 8.1 Pro thru Windows Store. 8 GB DDR3 RAM NVIDIA GeForce GT 650M 2GB GDDR5 750 GB HDD with 32 GB mSSD Cache Ralink RT3290 WiFi Card (Starting dropping connections a few days before this happe

  • Import cycle-exchange rate/local currency

    Dear Gurus, In Import cycle,we have followed following cycle. 1)  Created PO. 2) Released the PO. 3) Now we have done MIGO. NB: We have maintained exchange rate USD in the PO.exchange rate in PO is 148(local currency) = 1 USD. In OB08 we have exchang

  • Dual-boot Lion/SL, Mac App Store has Conflict

    I decided to dual-boot my MBP17" (8,3) with SL to add OS Lion. In Lion when I signed in to the Mac App store, it recognized apps on the SL partition, and wouldn't let me download them for Lion! It only allows for updates! Suggestions on dealing with