Date deviates from permissible range [journal entry - Document Date]

Hi, i have problem to add journal entry, when i creat journal document last year with:
Posting date: 06-02-09 (this date)
Due date: 06-002-09
and Document date: 20-11-08 (couse the document late to creat at the journal)
kindly, and thx for solution..
Regards,
Ani

Ani,
Take a look at this thread
Re: Delivery Date on Sale Order
Suda

Similar Messages

  • Date deviates from permissible range

    hi all,
    I need help for sales order entry.
    When I enter sales order entry then I get the error.
    Error Is:
    Date deviates from permissible range
    My Code is :
    Document doc = new Document();
                    _OrdSer = new OrdersService();
                    doc.Address = "ab";
                    doc.AgentCode = "ab";
                    doc.CardCode = "pmgweb2";
                    doc.CardName = "PMG Web Store Test Cust";
                    doc.DocDate = DateTime.Parse("2008-02-11");
                    doc.DocDueDate = DateTime.Now.Date;
                    //doc.TaxDate = DateTime.Parse("2008-02-11");
                    doc.DocType = DocumentDocType.dDocument_Service;
                    doc.DocumentStatus = DocumentDocumentStatus.bost_Open;
                    doc.BaseAmount = 1000;
                    doc.DocCurrency = "USD";
                    doc.DocNum = 1;
                    doc.HandWritten = DocumentHandWritten.tYES;
                    MsgHeader msgHeader = new MsgHeader();
                    msgHeader.SessionID = _SID;
                    msgHeader.ServiceName = MsgHeaderServiceName.OrdersService;
                    msgHeader.ServiceNameSpecified = true;
                    _OrdSer.MsgHeaderValue = msgHeader;
                    DocumentDocumentLine[] d = new DocumentDocumentLine[1];
                    d[0] = new DocumentDocumentLine();
                    d[0].ItemCode = "9786306243753";
                    d[0].ItemDescription = "abc";
                    d[0].UnitPrice = 10;
                    d[0].Quantity = 4;
                    d[0].SerialNum = "1";
                    d[0].LineNum = 0;
                    d[0].BaseLine = 1;
                    d[0].ItemDetails = "abdc";
                    d[0].TaxCode = "0";
                    DocumentDocumentLineSerialNumber[] dl = new DocumentDocumentLineSerialNumber[1];
                    dl[0] = new DocumentDocumentLineSerialNumber();
                    dl[0].SystemSerialNumber = 1;
                    dl[0].BaseLineNumber = 1;
                    dl[0].BatchID = "01";
                    d[0].SerialNumbers = dl;
                    DocumentDocumentLineBatchNumber[] db = new DocumentDocumentLineBatchNumber[1];
                    db[0] = new DocumentDocumentLineBatchNumber();
                    db[0].BatchNumber = "01";
                    db[0].Quantity = 4;
                    d[0].BatchNumbers = db;
                    doc.DocumentLines = d;
                    _OrdSer.Add(doc);
    Please Help Me.
    thanks.

    Rob,
    1st try to add the same sales order with out coding, with the same values. Add it directly frm the SAP UI, and then check for the result.
    I guess the problem is in the posting periods and settings related to it, actually there is one setting that tell if we can post documents with earlier dates, plz check that setting.
    Vasu Natari.

  • Date Deviates from permissible range [Purchase Order - Value Date]

    hello all,
    i want to add a Purchase Order (Services) Posting date 05/07/2008 and Delivery Date is 09/30/2008, it prompts me the Error "Date Deviates from permissible range [Purchase Order - Value Date]", now this is my question.
    what is the date range for PO posting date and delivery date that the system will allow(date difference)? can i set this one?
    Note: we need to make an advance PO for this since our BP required this time period for them to accomplished.
    Please help.
    Thanks.
    FIDEL

    FIDEL,
    All documents have 3 dates DocDate, DocDueDate, TaxDate.  The date ranges for these dates are taken from the Active Posting period definition.
    Open Administration  > System Initialization  > General Settings > Posting Periods
    Click on the Yellow link arrow next to the current posting period and check the Due Date From and To Range and expand the To date to cover 09/30/2008
    Posting Date From
    Due Date From
    Document Date From
    Suda

  • While adding PO "Discount deviates from authorized range [PO-Discount %]"

    Hello Experts,
    While adding PO I am getting an error "Discount Deviates from Authorised range [Purchase Order - Discount % per document]"
    Thanks

    Hi,
    When you goto the Administration > System Initialization > Authorisations and General Authorization, there need to select the user on the left and on the right hand footer, there is a field called 'Max. Discount'. Please check what discount percentage is mentioned in that field.
    Regards,
    Jitin
    Business One Forum Team

  • Discount deviates from authorized range

    Dear Experts,
    I am trying to add a GRPO document with 51% discount. But it gives the error message like "Discount deviates from authorized range".
    How can check it and where can i find that information.
    Thanks,
    Suresh Yerra

    Hi Suresh,
    Under Adminsitration> System Initialization> Authorization> general authorization> slect user who is facing this issue and see whats entered in Max. Discount filed. Check and update. Hope this helps you.
    Thanks,
    Joseph

  • Numeric value deviates from legal range

    Dear Experts,
    I am facing this error(Numeric value deviates from legal range (ODBC -1015)  [131-183]) while copying P.O. to GRPO.
    Plz help on this.
    Any suggestion will be highly appreciated.
    Regards,
    Ravi

    Hi,
    Please check SAP note:
    902123
    - Maximum Number in Numeric UDF
    Thanks & Regards,
    Nagarajan

  • Journal Entry/Document  headers

    In the journal entry layout, certain fields are coming in the header portions and I want to bring it to line item level so that I can enter the data against line item.
    For example I have ' Trading partner' field. Rather than coming in document header I need the same to come in line item, so that I can enter the trading partner detail against each line item level.
    This is specific situation in regard to manual adjustment for Intercompany related transaction.
    How to handle this? Appreciate the helpful answers...

    Stepanie,
    are you talking about the text for the Journal Entry or the actual entry configuration?
    We only have been able to set the text/description for the document, not the individual line items. 
    For the BCS experts - is it possible to do that?  There is no attribute for the line item text - would we need to create a new one and maintain it?
    thanks

  • Journal Entry Document List (Including Total Dr and Cr)

    Hi,
    Is there are report that I can run to give me all journal entries for a specified period, including the following information: User, Company Code, Document No., Doc type, Reference, Document Header, doc date, posting date and dr. and cr. values?  When I run TCode FB02 I get all the info except for the dr. and cr. values.
    Regards,
    Tracy

    Dear,
    Please use the table BSEG, where you give document type and period. Remember it is a primary table if your time period is vast then i dont suggest you to use this. You can make a query with table BKPF and BSIS to get the required details.
    Transaction code : SE16 or SE16N and give the above tables and check the data, before you make a query.

  • Create a payment based on a journal entry document

    Hello!
    In SBO 2007A PL44 I could add an incoming payment based on journal entry, but my code doesn't work in PL46.
    It's a bug?
    The Code:
            Dim oPay As SAPbobsCOM.Payments = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
            oPay.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
            oPay.DocDate = Today
            oPay.TaxDate = Today
            oPay.DueDate = Today
            oPay.VatDate = Today
            oPay.CardCode = "310000010"
            oPay.Invoices.DocEntry = 1882
            oPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry
            oPay.Invoices.SumApplied = 12000
            oPay.CashAccount = "38117000"
            oPay.CashSum = 12000
            oPay.DocCurrency = "Ft"
            If oPay.Add <> 0 Then
                Dim errCode As Integer = 0
                Dim errmsg As String = ""
                oCompany.GetLastError(errCode, errmsg)
            End If
    I got the following error:
    errCode: -10
    errMsg: Cannot pay partial down payment 
    Regards Csaba
    Edited by: Csaba Fülöpcsei on Apr 8, 2009 4:49 PM

    Dear Jane Jing!
    Yes I have a issue in B1 app for this payment:
    In Incoming payments windows select the customer doctype and select the customer (310000010), and the list of the invoices check the line (1882, journal entry) and type 10000 in the Total Payment column. And after 'Payment Mean' icon, I can add the payment.
    The problem is still on all payments of jourlnal entries from DI API.
    If I assign any value to oPay.Invoices.SumApplied field, I couldn't add the payment.
    Regards Csaba

  • Manual Document Number for Journal Entry

    I tried to upload invoices via DTW. I used manual doc. series for those invoices. SAP automatically creates a journal entry for every invoice but with it's auto numbering series. How can I use manual number for journal created by system? Thank's a lot.

    Hi,
    as far as I know, there is no manual option series like in document e.g. sales order.
    you could create new series and it is intended to manual operation of journal entry. By using this way, we can manage and differentiate the journal entry document numbering. Which one is for document accounting transaction journal and memorial journal (manual journal).
    Rgds,
    (http://tech.groups.yahoo.com/group/SBO_Knowledge_Village/ )

  • Mass Printing of Journal Entries

    Good Morning.
    I'm trying to figure out how to print a large number of journal entries without having to click on each one individually, but am having difficulty figuring this out.
    I need the Journal Entry/Document print out to match how the print out would look in FB03.
    I read on a previous thread that a Query can be created to do this. Is that the only way? If so, can someone walk me through how to create a Query for this?
    I've never created a Query in SAP before and am having difficulty figuring it out.
    Thank you for your help. Let me know if I need to clarify what I'm trying to accomplish.

    Hi,
    Sir.
    As far as concern there is no Tcode or BAPI avaliable for MASS Reversal of MIRO. Instead simply you
    can write LSMW for MR8M with appropriate data in .TXT format and run once.
    LSMW for MR8M is possible solution.
    I hope this helps you.
    Regards,
    Pankaj A Bhalerao.

  • How to reverse a manual Journal Entry Voucher created via Custom BO

    Hi All,
    I have created a custom BO for triggering a Journal Entry Voucher for each and every Customer Invoice created in the system.Normally all Customer Invoice will be having a corresponding Journal Entry document ,apart from the default JE document I have created an additional Journal Entry for each CI through a Custom BO because of the Business requirement.I am using the default JE as the source document for the newly created JE for the same CI.
    If a custom invoice gets cancelled only the default JE will get reversed.How to reverse the newly created JE too.I there a way to carry out this reversal process through PDI using ABSL.
    Please find below the code for details.
    Custom BO contains these lines.
    import ABSL;
    import AP.FinancialAccounting.Global;
    import AP.CustomerInvoicing.Global;
    var query;
    var selparam;
    var resultset;
    var query1;
    var selparam1;
    var resultset1;
    var query2;
    var selparam2;
    var resultset2;
    query = AccountingDocument.QueryByElements;
    selparam = query.CreateSelectionParams();
    selparam.Add(query.UUID.content, "I", "EQ", this.ZJEUUID.content);
    resultset = query.Execute(selparam).GetFirst();
    selparam.Clear();
    if (resultset.IsSet())
        var CI_ID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
        if (!CI_ID.IsInitial())
            query1 = CustomerInvoice.QueryByElements;
            selparam1 = query1.CreateSelectionParams();
            selparam1.Add(query1.ID.content, "I", "EQ", CI_ID);
            resultset1 = query1.Execute(selparam1).GetFirst();
            selparam1.Clear();
        if (resultset1.IsSet())
            foreach (var itemIns in resultset1.Item)
                var qty = itemIns.Quantity.content;
                var pid = itemIns.ItemProduct.ProductKey.ProductID.content;
                query2 = ZProductTax.QueryByElements;
                selparam2 = query2.CreateSelectionParams();
                selparam2.Add(query2.ZprdID.content, "I", "EQ", pid);
                resultset2 = query2.Execute(selparam2).GetFirst();
                selparam2.Clear();
                if(resultset2.IsSet())
                this.ZEnvTax.content = this.ZEnvTax.content + (qty * resultset2.ZtaxPrice.content);
                this.ZEnvTax.currencyCode = resultset2.ZtaxPrice.currencyCode;
                this.InvID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
    //Manual creating of Journal Voucher //
    var newJV = AccountingEntry.Create();
    newJV.CompanyID = resultset.Company.ID;
    newJV.Note.content = resultset.Note.content;
    newJV.AccountingDocumentTypeCode = "00047";
    newJV.BusinessTransactionTypeCode = "601";
    newJV.TransactionCurrencyCode = resultset.Item.GetFirst().BusinessTransactionCurrencyAmount.currencyCode;
    newJV.AccountingClosingStepCode = resultset.AccountingClosingStepCode;
    newJV.ZcustomerID.content = resultset1.BuyerParty.PartyKey.PartyID.content;
    newJV.PostingDate = resultset.PostingDate;
    var sob = newJV.SetOfBooks.Create();
    sob.SetOfBooksID.content = resultset.SetOfBooksID.content;
    //Making the Credit account of Original JE as Debit account in this JV//
    var debitAccIns = resultset.Item.Where(c => c.DebitCreditCode == "2").GetFirst();
    var debitAcc = debitAccIns.ChartOfAccountsItemCode;
    var newJVGL = newJV.Item.Create();
    newJVGL.DebitCreditCode = "1";
    newJVGL.ChartOfAccountsItemCode.content = debitAcc.content;
    newJVGL.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    // Posting the debited account to a new GL account//
    var newJVGL1 = newJV.Item.Create();
    newJVGL1.DebitCreditCode = "2";      
    newJVGL1.ChartOfAccountsItemCode.content = "101000";
    newJVGL1.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL1.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    Please respond ASAP
    Regards,
    Navin Kandasamy

    Hello Navin,
    There is an action "Cancel" in the Accounting Entry BO. Try calling that action from ABSL whenever the CI is canceled. But to do that you should have the reference of the created JEV through code.
    Hope this helps.
    Thanks & Regards,
    Meghna

  • How to find Delivery numbers for a range of Material Documents

    Hi,
    Could anybody please let me know how to find the delivery numbers from a range of material documents based on a given delivery date.
    Regards
    Kasi

    Hi,
    there is an index table for deliveries by material:
    VLPMA
    Select the delivery numers using the material range from VLPMA.
    Regards,
    Clemens

  • Pld on journal entry

    hello sap experts
    how can i track     Booking Document No.( SO & PO DOC NO's)     
                                 Document date     (SO & PO DOC date)
                                   Posting Date     (SO & PO DOC posting date)
                                 vendor name
                                 vendor address in journal entry pld  pls answer asap
    regards
    Jenny

    Hi Jenny,
    IF you need to get the SO (or) PO No, Doc Date & Posting Date(invoice based) on Journal Entry.
    Try this,
    When you add the invoice at that time
    you can add the SO (or) PO No, Doc Date & Posting Date in Journal Remarks Field in invoice.
    Journal Remark field value will be store to Remarks field on Journal Entry document.
    Table -> OJDT - Journal Entry.
    Column -> Memo - Details.
    Try this,
    ->> Open the Journal Entry(System) PLD and Save as the New PLD.
    ->> Open the New *J.E *PLD and Create Database Field then Assign the Journal Entry Remarks field.
    Table -> OJDT - Journal Entry.
    Column -> Memo - Details.
    Save the PLD and run Print Preview.
    Else,
    Try to Create QPLD
    Regards,
    Madhan.

  • BAPI or Function Module for FBCJ Posting of Parked Cash Journal Entries

    Hi Experts,
    A blessed day.
    We have one requirement that requires the creation of Batch Program that will post all the outstanding (status is set in yellow) Cash Journal Entries in transaction FBCJ.
    Hereu2019s the issue, to satisfy the requirement, we either use BDC/Call Transaction OR use a Function Module/BAPI. 
    I would prefer to use Function Module/BAPI.  However, currently thereu2019s only one BAPI available for FBCJ (BAPI_CASHJOURNALDOC_CREATE).  This BAPI can only create cash journal entries BUT DO NOT change the cash journal entry for posting.  The Function Modules (Function Modules of FCJ_POST* series) cannot be used for background processing because of GUI pop-ups. These FMs also donu2019t have the Exceptions functionality for error handling and would not report the Accounting document created from the Cash Journal Entry posting.
    The problem with using BDC/Call Transaction is that it should incorporate line item selection of the cash journal entries, which I havenu2019t tried yet.  Iu2019m not sure if this is possible and if itu2019s possible, how much complexity will it incur.
    If you have the availability, would it be possible if you can help us explore on the potential solutions for this requirement?
    Thanks so much.  God bless!
    Cheers,
    ianne

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

Maybe you are looking for