Issues while archiving Invoice documents

Hi all,
While archiving Invoice documents using MM_REBEL(using company code only), it was found that the write job is picking up certain open Invoices also. ie the subsequent Accounting document was not cleared/archived.
My understanding was the system will check for retention periods and whether the subsequent documents are archived or not.
I just wanted to know if there are any extra checks , which it looks for , as the criterion for archiveablility.
Please let me know if anyone knows about this or if any of you have faced similar issues .
Regards,
Shail.

hi,
Dependencies
The status of the document determines whether it can be archived:
·        Documents with the status Closed or Deleted can be archived.
·        Documents with the status Unchecked, Checked and Errors Found, or Checked and No Errors Found cannot be archived.
Financial accounting documents generated when invoice documents are posted are not archived with the object MM_REBEL. They are archived in Financial Accounting.
Residence Time/Retention Period of Data in the System
The retention period for invoice documents can be configured in the Customizing system. The posting date contained in the invoice document header is the key date for the retention period.
If a retention period has not been set in Customizing, the system takes the minimum retention period as 9999 days.
Presettings
In Customizing for Invoice Verification you can set the retention period for invoice documents per company code under Define Document Lives.
Hope it helps..
Regards
Priyanka.P

Similar Messages

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Archiving invoice documents

    Hi,
    I am working on Billing documents( T Code VF02).
    I am working on two programs the first one uses SCRIPTS.
    and the second is SMARTFORM.
    The reqquirement is for the o/p type i have assigned the
    ARCHIVE ONLY mode. Here I am suppose to get the
    archived document as an attachemnt for the perticular invoice.
    for the script in the 'START_FORM' I passed the paramenter
    'ARCHIVE_INDEX = TOA_DARA'. And it is working fine.
    Where as for the smart form I am providing the same parameter. But it is not working. Please give me an idea to overcome this issue.

    hi,
    Dependencies
    The status of the document determines whether it can be archived:
    ·        Documents with the status Closed or Deleted can be archived.
    ·        Documents with the status Unchecked, Checked and Errors Found, or Checked and No Errors Found cannot be archived.
    Financial accounting documents generated when invoice documents are posted are not archived with the object MM_REBEL. They are archived in Financial Accounting.
    Residence Time/Retention Period of Data in the System
    The retention period for invoice documents can be configured in the Customizing system. The posting date contained in the invoice document header is the key date for the retention period.
    If a retention period has not been set in Customizing, the system takes the minimum retention period as 9999 days.
    Presettings
    In Customizing for Invoice Verification you can set the retention period for invoice documents per company code under Define Document Lives.
    Hope it helps..
    Regards
    Priyanka.P

  • Performance issue while selecting material documents MKPF & MSEG

    Hello,
    I'm facing performance issues in production while selecting Material documents for Sales order and item based on the Sales order Stock.
    Here is the query :
    I'm first selecting data from ebew table which is the Sales order Stock table then this query.
        IF ibew[] IS NOT INITIAL AND ignore_material_documents IS INITIAL.
    *     Select the Material documents created for the the sales orders.
          SELECT mkpf~mblnr mkpf~budat
                 mseg~matnr mseg~mat_kdauf mseg~mat_kdpos mseg~shkzg
                 mseg~dmbtr mseg~menge
           INTO  CORRESPONDING FIELDS OF TABLE i_mseg
           FROM  mkpf INNER JOIN mseg
           ON    mkpf~mandt = mseg~mandt
           AND   mkpf~mblnr = mseg~mblnr
           AND   mkpf~mjahr = mseg~mjahr
           FOR   ALL entries IN ibew
           WHERE mseg~matnr      = ibew-matnr
           AND   mseg~werks         = ibew-bwkey
           AND   mseg~mat_kdauf   = ibew-vbeln
           AND   mseg~mat_kdpos  = ibew-posnr.
          SORT i_mseg BY mat_kdauf ASCENDING
                         mat_kdpos ASCENDING
                         budat     DESCENDING.
        ENDIF.
    I need to select the material documents because the end users want to see the stock as on certain date for the sales orders and only material document lines can give this information. Also EBEW table gives Stock only for current date.
    For Example :
    If the report was run for Stock date 30th Sept 2008, but  on the 5th Oct 2008, then I need to consider the goods movements after 30th Sept and add if stock was issued or subtract if stock was added.
    I know there is an Index MSEG~M in database system on mseg, however I don't know the Storage location LGORT and Movement types BWART that should be considered, so I tried to use all the Storage locations and Movement types available in the system, but this caused the query to run even slower than before.
    I could create an index for the fields mentioned in where clause , but it would be an overhead anyways.
    Your help will be appreciated. Thanks in advance
    regards,
    Advait

    Hi Thomas,
    Thanks for your reply. the performance of the query has significantly improved than before after switching the join from mseg join mkpf.
    Actually, I even tried without join and looped using field symbols ,this is working slightly faster than the switched join.
    Here are the result ,  tried with 371 records as our sandbox doesn't have too many entries unfortunately ,
    Results before switching the join  146036 microseconds
    Results after swithing the join        38029 microseconds
    Results w/o join                           28068 microseconds for selection and 5725 microseconds for looping
    Thanks again.
    regards,
    Advait

  • Random Issue while printing a document

    Hi All,
    I'm facing a very typical issue where the alignment of the layouts gets changed randomly while taking printouts. For ex. whne we print Invoices, we require 4 copies, the user prints 1 copy first and then prints 3 copies. At times, there is alignment issue (distorted lines) during the first print out and at times there is issue in the copies.
    This issue is purely random. We might get the issue say for invoice no. 3, but if we try to print it later, it gets printed without any issue.
    What might be the cause of this??
    Thanks,
    Joseph

    Hi,
    In our case, since every printer have different settings we created PLD for each printers.
    Example in you case.
    PLD for HP Laserjet 1022.
    PLD for HP laserjet 1010  AND
    PLD for Sharp 5316 printers.
    Thats the only option you have left.
    Or you may convert to PDF then print which is very long process already
    Thanks,
    Clint

  • Strange issue while printing invoice *** delivery challan

    Dear experts,
    I have a strange prob while taking out the printout of invoice ***/delivery challan.
    We have two different locations (plants) A and B.
    In sapscript layout we have defined GRN no and truckno in bottom windows and
    type of invoice on upper part windows.
    We are able to see complete output on preview in DEV,QAS,PRD
    but on PRD when we take printout , part of output gets skipped on printing
    though visible otherwise on preview.
    What could be reason ?

    Aditya,
    Generally you face such problems in HP Printers.
    Are u using HP laser Jet Printer .
    Ok let me generalise the issue , you gotta ask ur basis guy to istall the latest driver for that printer
    this will most probably solve ur problem.
    Remember that once u get the print preview right , its either problem with the Basis or the printer.
    If its a Z layout then ask ur Basis guy to check the internal setting as to at what height he is giving the page skip.
    Regards,
    Ravi Kiran

  • Issue while uploading the document with VA02 and VA03

    Hello Experts,
    Can any body please help me out from this issue, as while uploading the PDF's, docs from VA02, VA03 in ECC6 EHP7 system.
    Steps to reproduce the issue - TX. VA02 --> service object --> create an attachment then we are facing like below
    Thank you in advance,
    Bhaskar N.

    Hi Bhaskar,
    Please check Tcode: SKPR08 - Category for Document Class) contains the Content server repository settings
    change the category of SOFFPHIO class to R/3, then you will able to attach any documents
    I hope it will help.
    BR
    AKJ

  • Issue while posting FI document

    Hello Gurus,
                      While working in the FI, one of the FI document encountered error while processing in BW. The text 'TCode-I2//Rec.Typ-CO' in Reference Key 3 field for withholding tax having // is creating problem.
    Has anyone encountered such an issue Pl. can you help me at this.

    Hi Lakshman,
    1. For activation/deactivation of Cost of Sales Accounting, the path is IMG - Financial Accounting - Finacial Accounting Global Settings - Company Code - Cost of Sales Accounting - Activate COst of Sales Accounting for Preparation
    2. You can derive Funcational Area by maintaining Substituation Rules and Activating them. Follow the path  - IMG - Financial Accounting - Finacial Accounting Global Settings - Company Code - Cost of Sales Accounting -  Set up Substitution for Cost of Sales Accounting - Define Substitution.
    After define substitution, activate the same.
    Hope this will help you.
    Thanks & Regards

  • LO 26315 - ODBC Drivers issue while generating LO Document

    Hello folks,
    LO 26315 - We got this error code while we were trying to generate a live office document on Universe ( Built on SQL Server with ODBC Connectivity) The complete error message was " Failed to get the document information (LO 26315) Database error: [Microsoft] [ODBC Driver manager] data source name not found and no default driver specified. (IES10901) (LO 26315)".
    We assume this was due to the ODBC Drivers (Prob. caused due to the creation of ODBC drivers on client machine to establish connection while creating universe on the SQL Server) and how to specify Default ODBC Driver or how to create/configure these drivers to the BO Server ? Kindly help us, your inputs are highly appreciated.
    Kr,
    Sathish.

    Which OS is your BO server installed on?
    Regards,
    Stratos

  • Issue while creating PI document BAPI_MATPHYSINV_CREATE_MULT

    Hi All,
    I am using BAPI_MATPHYSINV_CREATE_MULT to create physical inventory documents, i have an issue like.
    If iam trying to create a document for 4 materials, in which two of the materials are not satisfying the conditions(are in error), even though BAPI returns the error in the return table, the Physical Inventory Doc.number gets incremented  even if the document is not saved.
    Please let me know if there is any thing which can be done to avoid this.
    Thanks in advance.
    Murthy .M

    Hello,
    Try this way
        CALL FUNCTION 'BAPI_MATPHYSINV_CREATE_MULT'
          EXPORTING
            HEAD     = HEAD
            MAXITEMS = MAXITEMS
          TABLES
            ITEMS    = ITEMS
            RETURN   = RETURN
          EXCEPTIONS
            OTHERS   = 1.

  • Issue while querying invoices

    HI,
    While we are querying(with date) invoices from one user it is getting... But for another user it is not querying...
    What is the problem here i am facing...
    Thanks in advance...
    Edited by: 875417 on Aug 26, 2011 6:38 AM

    Make sure they are using the same responsibility.
    Check if the 2nd user has a default folder with a saved query.
    Using sysadmin > administer folders, delete the default folder and retry.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • Dump error while creating Invoicing document

    Moderator note - this is the same problem as identified in thread Error is generated in Print workbench function ISU_INV_BILL_PREPARE.  Thread locked and poster notified of rules violation.
    Hi Experts,
    I am new to ISU application.Please provide solution for below mentioned dump error.
    The error is generated in Print workbench function ISU_INV_BILL_PREPARE which is called from application form IS_U_BILL (/1PWB/SAPL20020100218092657) when I'm trying to generate invoice for the bill in EASIBI.
    Error analysis                                                                               
    Short text of error message:
    Unexpected ELSE case: field sy-subrc with value 0 (/1PWB/200201002180926
    57  )
    Long text of error message:
    Something has occurred in a CASE or IF construct which the
    developer did not expect, or which is not permissible here.
    System Response
    Procedure
    Note the field name and field value from the message as well as the
    data pattern which lead to the error. Create a problem message.
    Technical information about the message:
    Message class....... "E9"
    Number.............. 898
    Variable 1.......... "sy-subrc"
    Variable 2.......... 0
    Variable 3.......... "/1PWB/20020100218092657"
    |    Variable 4.......... " "                     
    Thanks in Advance.
    Vaseem
    Edited by: William Eastman on Mar 9, 2010 2:34 PM
    Edited by: William Eastman on Mar 9, 2010 2:36 PM

    Hi Experts,
    Please reply..... It's very important.
    Thanks
    Vaseem
    Moderator note:  DO NOT beg for answers, or suggest that you need an immediate reply.  Read the rules of engagement here Research Resources and Rules of Engagement
    Edited by: William Eastman on Mar 9, 2010 2:24 PM

  • INOB Issue while archiving WBS and Networks

    Hi All,
    I am using PS_PROJECT archiving object for archiving WBS Elements and Networks. But during Write phase, below error message was dislplayed:
    Error Message
    There is no entry for instance 000000000001489184 in either INOB or IBase
    Job cancelled after system exception ERROR_MESSAGE
    Could you please help me when this error occurs and how to solve this problem.
    Version: SAP R/3 4.7
    Regards,
    Sandeep

    Check tcode CUTABLEINFO and insert the instance number you have into the Instance(CUOBJ) field.
    Be sure to check at the very least at the bottom of the screen the check boxes for IBINOBS and IBINOWN.
    The owner of the configuration is the object that originated the instance.
    An observer of the instance is simply an object that needed a copy of the characteristic values in the instance. If any transaction can find your instance's owner, it's this one.
    Or
    You can also refer SAP 1470060 - Error CX 074 (There is no entry for instance XXX in either INOB or IBase)
    Hope it can assist you.
    Thanks & Regards
    JP

  • MM_REBEL checks while archiving

    Hi all,
    While archiving Invoice documents using MM_REBEL(using company code only), it was found that the write job is picking up certain open Invoices also. ie the subsequent Accounting document was not cleared/archived.
    My understanding was the system will check for retention periods and whether the subsequent documents are archived or not.
    I just wanted to know if there are any extra checks , which it looks for , as the criterion for archiveablility.
    Please let me know if anyone knows about this or if any of you have faced similar issues .
    Regards,
    Shail.

    hi,
    Dependencies
    The status of the document determines whether it can be archived:
    ·        Documents with the status Closed or Deleted can be archived.
    ·        Documents with the status Unchecked, Checked and Errors Found, or Checked and No Errors Found cannot be archived.
    Financial accounting documents generated when invoice documents are posted are not archived with the object MM_REBEL. They are archived in Financial Accounting.
    Residence Time/Retention Period of Data in the System
    The retention period for invoice documents can be configured in the Customizing system. The posting date contained in the invoice document header is the key date for the retention period.
    If a retention period has not been set in Customizing, the system takes the minimum retention period as 9999 days.
    Presettings
    In Customizing for Invoice Verification you can set the retention period for invoice documents per company code under Define Document Lives.
    Hope it helps..
    Regards
    Priyanka.P

  • Runtime error:  RAISE_EXCEPTION while release invoice doc to accounting

    Hi guys,
    System going to dump (Run time error:  RAISE_EXCEPTION) while releasing  invoice document to accounting.
    In VF02 screen after giving billing document as input value and if you try to release it to accounting then system is going dump and giving the above error. I have checked accounting document number ranges also, apart from this could you pls let me know any clue(functional point of view).
    Thx in advance....regards.......Divakaran.....

    Hi,
    please check whether the latest version (Version 6 from 28.07.2008)
    of SAP Note 1039154 is contained in your system.
    You can check this via transaction SE37 for the function module:
    FI_WT_COPY_DOWNP_INFO.
    The source code should look as follows:
    CALL FUNCTION 'FI_WT_READ_WT_INFO'
      EXPORTING
        I_BUKRS     = i_bukrs
        I_BELNR     = i_belnr
        I_GJAHR     = i_gjahr
        I_BUZEI     = i_rebzz
      TABLES
        T_WITH_ITEM = l_with_item
      EXCEPTIONS
        NOT_FOUND   = 1
        OTHERS      = 2.
    Please ensure that the coding in your system is the same as per the
    source code in note 1039154 if changes cannot be done via snote, then
    the code should be manually added.
    This has solved this issue for others in the past.
    The dump might also caused by FI validation.
    Could you try to deactivate the FI validation by transaction OB28 and retest on the
    issue.
    Cheers,
    Alex

Maybe you are looking for