Read Database before Archive : Program FI_DOCUMNT_WRI

Hi
               I use the program : FI_DOCUMNT_WRI
to read the database before archeiving Data but there are some error message after exceute .I would like to know meaning or condition for this program
the error message is "Withholding tax life (455 days) not reached". Please help me to explain this error .
Thanks for your help.
Wiboon

Hi Wiboon,
I believe you have not set the Residence Time and Retention time for FI documents.
Try increasing the days for Fi Documents Residence time so that the system considers the document for archiving.
Also go to FB99 and give the particular document number to find whether the document you are trying to archive is archivable.
Let me know if you want any help and reply if this works.
Regards,
Mallikarjuna G

Similar Messages

  • DBIF_REPO_SQL_ERROR with archive write program FI_DOCUMNT_WRI

    Hello community,
    we have a problem with the archive write program FI_DOCUMNT_WRI, it generates DBIF_REPO_SQL_ERROR on the table REPOSRC. We get a lot of dumps DBIF_REPO_SQL_ERROR, SQL-Error -913, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY DEADLOCK OR TIMEOUT. The dumps shows the error in FORM badi_write resp. get %_badi-implementations proxy of the method get_instance.  We use the FI_DOCUMNT_WRI program in 50 times parallel mode. The syslog shows error at select access on report source table REPOSRC in the kernel object package SBAC. The statement cache shows only valid SQL statements. Our database expert means these are timeout errors and the reason is the high number of the parallelism. The database is DB2 9.1.5 with SAP ECC 6.0. Does somebody knows this problem or in a similar way?
    Thanks for tips and hints.
    Cheers
    Stefan
    Edited by: Stefan Schnell on Sep 14, 2010 4:19 PM

    Hello community,
    after running RUNSTATS the problem exists no longer.
    Thanks and cheers
    Stefan

  • Program : FI_DOCUMNT_WRI

    Hi
                 I use the program : FI_DOCUMNT_WRI to read the database before archeiving but there are some error message.
    " Withholding tax life (455 days) not reached"
                 I would like to know the meaning or condition for program that make an error.
    Thank you for your help
    Wiboon

    Hi Wiboon....
    As Iam not worked with that report previously, I will suggest you one this.
    First you find the Message class name and ID name for that message.
    And now goto program...
    Try to search that message in program or in its includes..
    Put a break point there and debug...
    You can trace that error with this easily... also you can gain some additional knowledge on that area...
    Thanks,
    Naveen.I

  • Read some HR archive files (object PA_PIDX) using Abap report

    Hi experts,
    an ABAP program that is supposed to read some HR archive files (object PA_PIDX) but all we can read is the object, we cannot access the individual lines. Please help
    My code
    Output of the report as well as output of archive program
    Cycles comptab. archivés
    0000000038
    0000000040
    0000000044
    0000000045
    0000000047
    0000000050
    Cycles comptab. ignorés (pour détails voir protocole de job)
    0000000001  Simulation
    0000000002  Simulation
    0000000003  Simulation
    0000000004  Simulation
    0000000005  Simulation
    .....etc
    Please help
    Edited by: Blaiso on Apr 1, 2011 5:54 PM
    Edited by: Blaiso on Apr 1, 2011 5:59 PM
    Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Apr 2, 2011 9:59 PM

    Hi Ajay,
    1.  You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
    2. Can you give some more details for this question to be answered.
    3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
    4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
         . Spool Parameters
         (ii). Start date
         (iii). Archive selection of files.
        Unless you enter values for any one of these options , You cannot execute the batch job.
    Hope this would help you.
    Regards - Swarna.

  • How to recover database without archive files

    Hello,
    I've a test database without archive files and I need to know how to recover it without using archive files.
    What is SQL command to recover database wthout archives?
    Thanks in advance for your help.
    Regards,
    Carles

    There are serveral information missing in this posting and as a support personnel, I would like to find out more when I see postings like this.
    1. This person wants to "Test" his backup and recovery in NOARCHIVELOG mode.
    2. He/She did not say his database had already crashed or had a problem.
    3. He/She did not give any indication the kind of scenario he wants to recover from.
    4. He/She did not mention the state of his database at the time of he posting.
    5. He/She did not mention the Release of his Oracle Server or Platform.
    6. He/She did not mention the type of backup he already has in place (although provided later as Full COLD Backup). How "genuine" is the back?
    7. What actions has already been taken to attempt recovery.
    In my support experience, I normally would go through a list of questions witht he use/client to get the full picture of the current status of the database before I give answers that would worsen situations, especially in a Disaster Recovery sitaution.
    Personaly, I would suggest you have a look at the list above. One of the most important is number 3 (The Recovery Scenario), then number 4, number 6 and 7. Number 7 will determine the situation of your database. So, when you ask for SQL commands to use, there are different commands for different kind of recovery depending on what has gone wrong or what kind of file is damaged (Datafiles, Logfiles, Control Files, one tablespace, one table, entire database gone, etc).

  • Cloning 10g Database in archive mode - How add new created archive files

    Deat all
    I want to clone oracle 10g database using hot backup. database in archive mode.
    Database is running user data entry contifue, during hot backup there are aproximatly 3 to 5 new archive log created. Please guide me how add these new created archive log in cloning process.
    Thanks
    Alter system switch logfile;
    SQL> select max(first_change#) scn from v$archived_log;
    SCN
    8592924
    alter tablespace tablespace1 begin backup;
    alter tablespace tablespace2 begin backup;
    alter tablespace tablespace3 begin backup;
    alter tablespace tablespace1 end backup;
    alter tablespace tablespace2 end backup;
    alter tablespace tablespace3 end backup;
    select name from v$archived_log where first_change# >= 8592924 order by name
    NAME
    F:\ARCHIVELOGS\ARC00390_0664080689.001
    F:\ARCHIVELOGS\ARC00391_0664080689.001
    F:\ARCHIVELOGS\ARC00392_0664080689.001
    create pfile='init<new database sid>.ora' from spfile;
    alter database backup controlfile to trace as '/home/oracle/cr_<new sid>.sql'
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 453
    LOGFILE
    GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100M,
    DATAFILE
    Edited by: Naeem Sheeraz on Nov 15, 2008 12:54 PM

    When you attempt to startup the cloned database on the new server you will find that it needs recovery -- because it was taken in hot backup mode.
    That is why you need to copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first archivelog after the last "alter tablespace end backup".
    I see that you are also including a CREATE CONTROLFILE script.
    You would run that at the cloned environment.
    Then you would issue the RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL command to make the clone consistent.
    You can, of course, use the same method to copy these archivelogs as you use to copy database files -- tar, cpio, tape, etc.

  • Command line archive program to archive the target file

    Hello,
    I need to archive the target file in a ZIP file.
    I heard we need to use a command line archive program to do that.
    Can you guys provide me some info about command line archive program, where to place this program, command line to be executed? etc.
    Thanks in advance,
    Namadev

    below links will help you
    module to zip and unzip
    module to zip and unzip
    Zip or Unzip your Payload with the new PayloadZipBean module of the XI Adapter Framework
    Working with the PayloadZipBean module of the XI Adapter Framework
    SAP XI acting as a (huge) file mover
    The specified item was not found.

  • Effect of Updating Database statistics to program's performance

    Hi,
    What is the Effect of Updating Database statistics to program's performance?
    Will the program run's faster after the update/
    Thanks a lot!

    Hi,
    >
    freishz wrote:
    > What is the Effect of Updating Database statistics to program's performance?
    update the statistics the optizer uses for making an execution plan.
    The statistics contains values like:
    table statistics:
    - nr of rows of the table
    - nr ob blocks / pages of the table
    - nr of empty blocks / pages
    index statistics:
    - nr of distinct keys in the index
    - nr of leaf pages of the index
    - clustering factor of the index
    - height (levels) of the index
    column statistics:
    - nr of distinct values for a (indexed) column
    - low value and high value for a (indexed) column
    >
    freishz wrote:
    > Will the program run's faster after the update/
    with updated statistics the runtime of the program might be
    - higher
    - lower
    - the same
    it depends on the differences of the generated execution plan used after the update in
    comparison with the execution plan used before the update.
    In general the runtime will be the same or lower. But i have seen cases where updating
    statistics lead to higher runtimes, but these are very rare.
    Why are you asking this question? do you have slow sql with a inefficent execution plan?
    statistics is one of many things that need to be analyzed...
    Kind regards,
    Hermann

  • Oracle Database 2003 Beta Program: new JDBC/SQLJ/JPublisher features

    We are currently recruiting for the Oracle Database 2003 Beta Program, including new JDBC/SQLJ/JPublisher features. To learn more about this program, including how to apply, send me an email @ [email protected]
    Kuassi Mensah

    I suppose that is nice.
    It would be even nicer if the drivers actually conformed to JDBC so that one could for example reliably use blobs in a J2EE server with CMP.

  • Switching database to archive log mode

    1.When I switch the database to archive log mode,
    I have to do full offline(consistent) backup.
    2.When the database is working in archive log mode
    I can do inconsistent(online) backups.
    Why is there consistent backup needed after swiching
    to archive log mode, is there not inconsistent backup
    enough after switching (the databease operates
    in archive log mode and as in point 2 I can make inconsistent backups).

    Hello,
    Oracle recommands to do offline backup after switching to archivelog as an immediate crash-recovery procedure. Look at the following example:
    1/ You switch your base to archivelog.
    2/ Work is started right away.
    3/ Your DB crashes => You got your archived redo logs, but none of the other files.
    Now, let's put a
    1b/ Backup (offline) your database.
    Now, in 3, youg got everything you need to restore the base, because 3 can happen WHILE your are ONLINE Backing up the base.
    That's the point.
    Regards,
    Yoann.

  • Error in FI archiving program SAPF048

    Hi Experts,
        I am trying to schedule FI Archiving program # SAPF048.
        Here i have given the following inputs.
        Company Code : ABCD
        Fiscal year / Period  : 2011/1     to   2011/12
       after giving the above inputs while executing i am getting the following error.
          " For NN Fiscal variant, No period is defined for 01.01.1998 "
        We did not have a fiscal year in 1998. we have started operations in 2008.
       Please suggest what could be the reason for the above error.
    Regards,
    Shivaji

    I believe the issue could be around the fiscal year variant in the special purpose ledger the customer is using.
    It could be that a new Fiscal Year calendar was created.

  • How to read stdio of another program

    Hi,
    I have a program that reads data from PC serial port and prints that into the command prompt (stdio) in text format.
    The idea has been that the output is redirected to a file and then the file is analysed off-line with Excel or Matlab.
    Now I would like to make a front-end program with LabWindows that shows the data graphically in real-time.
    I don't want to change the original program that reads the port and prints the data to command prompt as it is needed as such also in the future.
    The question is how to read the stdio of another program in real-time with LabWindows?
    I have tried LaunchExecutable() to start the other program from LabWindows but cannot get hold of the data printed on the command prompt.
    There are examples of DDE-solutions for two programs to exchange data but this seems an overkill for my problem as there is only one-directional data that I want to read into the Labwindows program.
    I thought that it would be quite common to implement such a graphical front-end to display real-time graphics of some old text-based program. Amazing that there seems not to be good and easy solutions for LabWindows.
    (I did implement a quick solution with Qt but LabWindows would offer much better graphical elements for drawing the measurement data.)
    Thanks!

    Hi,
    Thank you for the link.
    I implemented those short programs in LabWindows and tried them. Yes, works perfectly!
    Write-program's output is redirected to a file with ">" and the Read-program can read the file even if the programs are running simultaneously.
    The bad news is that this does not work with the program that I need to use.
    There is a small difference in the behavior of the programs that write output to the command-promt. I don't understand why.
    1) The small Write-program implemented from the link opens a new command-prompt where the output goes if there is no redirection. And if there is the redirection ">" it still opens the new command-prompt but it stays empty as the ouput goes to the file. (And the Read-program can read the file; everything works okay.)
    2) The program that I need to use does not open a new command-prompt when started; it's output goes to the same command-prompt where it is started from. With redirection the output goes to the file; no new command-prompt this time either. But the problem is that the reading program cannot read the file. The Read-program can read the file if it has been created and written before. But not if it tries to read it at the same time that it is written by the other program.
    Maybe this is a simple problem if you know how to solve it... :-/

  • Read database and send it back to Workflow?

    hi all,
    is it possible to <b>read some data from database in workflow Program exit</b> and send this data <b>back to workflow task</b>( ie in task description).
    for example: Workflow takes only Vendor number as input and we have to read vendor address, vendor name etc...and display all the details in task description(ie of send mail).
    thanks,
    Subba

    Hi Prakash,
    there is a Program Exit available in Workflow tasks...and it says
    How do the program exits work? 
    You can execute additional methods that you have programmed when predefined events occur. Add the ABAP classes that contain these methods. The ABAP classes added must support the IF_SWF_IFS_WORKITEM_EXIT interface.
    i want to use this  program exits in my workflow...so that this exit(class) will take input from Workflow container and gives back processed data back to workflow.
    so how to go about with this exits.
    thanks,
    subba

  • Offset lvdt before running program

    Hi all,
    I am using an LVDT to measure the soil displacement. This has to take into account both the consolidation and swelling and thus requires the LVDT to move in both directions. Therefore the voltage has to be zeroed after the LVDT is pushed in so that it can record both negative and positive direction. So far, I have managed to do this by using a case structure which executes when the 'Zero out' button is pushed. However, it only comes into effect after the program is run. What I need is a 'zero out' button that can be used before the program is run. So i want to push in the lvdt, hit the 'zero out' button, then start running the program to avoid those initial voltages getting recorded onto the xy graph.
    I did find a vi file that does this but it was very complicated and used older version of labview. I am fairly new to labview and thus couldn't follow the coding on it.
    I have attached the vi file to make it easier to understand. Your help is greatly appreciated
    Cheers,
    Gurung 
    Solved!
    Go to Solution.
    Attachments:
    zero out with xy graph.vi ‏116 KB

    The two screen grabs show how I have done the same "Auto Zero" function when using an LVDT for displacement measurement, I was also recording force at the same time then graphing the results post recording.
    On the initial run the true/ False loop is set to TRUE, in this case the displacement is subtracted from zero to provide an offset, this offset value is then passed to the shift register where it remains as a constant for subsequent itterations of the main While Loop as the value is simply passed straight through the True/ False loop with nothing done to it on all iterations after the first.
    The offset value is then added to the data read from the LVDT to provide a displacement figure relative to zero from whereever the program was first run. There is a front panel "Record" button which is pressed to start and stop the recording of data - Hope this is of help - Mike
    Attachments:
    TRUE.JPG ‏64 KB
    False.JPG ‏66 KB

  • How to determine logical database in a program?

    Hello guys!
    How to determine logical database in a program on Eclipse?
    I have not found any options:
    Thanks!

    Welcome to SDN
    Check the table RSOSFIELDMAP
    Assign points if useful
    Regards
    N Ganesh

Maybe you are looking for

  • How can i use a purchased version of Lion on a new Air to install on an existing iMac?

    I have just bought a new Macbook air today which comes with Lion. I also have an iMac 27" at home already running Snow Leopard. Do I have to buy another copy of Lion for the iMac or am I entitled to use the installation I have with the Air? How would

  • SAP CRM 7.0 Webclient - Product Identification (IBase or IObject)

    Dear SAP IC-Experts , I am new in the configuration of the SAP Interaction Center (SAP CRM 7.0) and have a process orientated question. In my proyect the company is producing bathroom products which are installed in hotels, private homes, etc.. They

  • Use of unicode in forms 10g

    Can anyone guide through steps to use unicode in forms 10g. i have set computer environment variable NLS_LANG. and settings in default.env and nls_lang in regedit all to 'AMERICAN_AMERICA.UTF8 '

  • Does 6th gen Nano buzz or have built-in speaker?

    I was thinking of using the Nano as a watch. I see myself using the timer and stopwatch functions while it is sitting on my wrist. But, I won't always be wearing my headphones. Does anyone know if the Nano has a built-in speaker or at least a buzzer,

  • Report painter - summary/ detail option

    Dear Experts, In report painter i have developed report. My user wants two reports one like summary (cost element group) detail(detail cost element) please advise how to get two different reports.  I have developed two reports but both are showing de