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

Similar Messages

  • 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

  • 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.

  • 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

  • Error adding Sales order via DI-SERVER Posting Date deviates from the defin

    When adding a sales order via the DI-API we have started receiving the following error:
    Error: Posting Date deviates from the defined range. To complete the operation, define the posting period to match the entered Posting Date. [(----) 131-204]
    I have verified that the posting dates within the document exist within the defined posting periods in SAP and that the posting period in question is unlocked.
    I can add the document within the SAP B1 interface without any issues.
    This process and code was also working up until the start of the new financial year.  There have been no changes to the code or the financial periods in the new year.
    There is a  peculiarity with the financial periods for this company in that they have moved from calendar periods in the past to financial periods.  Has anyone come accross any issues with posting dates and the DI SERVER API?
    The dates in the XML document that we are trying to add are shown below.
    <Documents>
    <row>
    <DocDate>20100310</DocDate>
    <DocDueDate>20100310</DocDueDate>
    <CardCode>C9999</CardCode>
    The following are the financial period values from OFPR
    Posting Date From/To:       06.03.10     02.04.10
    Due Date From/To:            01.01.10     01.04.11
    Document Date From/To:  01.01.10     02.04.10
    Start of Fiscal Year:         01.01.10
    Regards,
    Sean

    Hi Gordon,
    Our customer has moved their financial year end from 1 April / 31 March using calendar months to a 4/4/5 financial period model with a year start date from Jan.
    This was necessary after the company was purchased by a US firm that wanted to align the reporting calendars.
    Under the 4/4/5 model their financial year start date does not start 1st January. Hence the 3/1/2010 being the first date of the January period.
    No matter how the periods are setup the financial year start date in SAP Business One cannot be anything other than the 1st of the month.
    All posting within SAP appears to be working fine, it is only via the DI SERVER requests that we seem to be having problems.
    However, we suspect that the issue may be unrelated to the posting periods due to some other testing performed.
    Regards,
    Sean

  • Purchase order Confirmation data from SRM to MM

    Hi,
    I am trying to send Purchase order Confirmation data from SRM to MM via PI. In SRM portal i am able to see that the data has been send successfully. But i am not able to receive any data in PI nor iam able to any messages going from  SRM in SXMB_MONI.
    Please help me.
    Thanks & Regards
    Kasturika Phukan

    Hi,
      In SRM check in sxmb_moni is there any queue is blocked.
      If not then,
      Check your proxy settings.Select Go To and check connection Test.
      Go to sm59 and check H type RFC destination is maintained.
      Go to sxmb_adm check the Global setting value,
      Application system,dest://RFC destination is maintained.
      In XI,
      Go to SLD.
      Check Technical system (client with logical system) maintained.
      Check Business System maintained with role of application system,Related integration engine
      maintained.
    Regards,
    Prakasu.M

  • Updating Batch classification data from MIGO for Purchase order

    Hi,
    I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
    1) Pass material and batch to MCH1 table to get CUOBJ_BM.
    2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
    3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
    4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
    I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
    Class type 023, object type MCH1, object RAW-6             0000001151
    Object is currently locked by user
    The assignment was not changed
    Please let me know how to do it. Is there any BADI or User Exit?

    Hi,
    As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
    I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
    Regards,
    Rafi

  • Pull Service tab data from Contract to Purchase order

    Hi All,
    I Just want to know if is possible to pull service tab data from contract to purchase order. When i create PO w.r.t Service Contract the data from the service tab is not pulled. So need help on how can I pull.
    Please help..
    Thanks,
    Ros

    Hi if u r referring service contract maintain it in the line item (Outline agreement no). All the other details will copied from Contract.
    Check it out
    Regards,
    Raman

  • 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

  • Date deviates from Due Date range??

    Hi All,
             When i'm trying to add a back dated A/R Invoice, I'm getting an error message that the date deviates from the due date range. I have selected the appropriate posting period for this and also have checked the document numbering. In the Journal entry, i can see that the due date is 02/04/09 where as in the A/R Invoice, i have given the due date as 29/03/09. Now is this the reason for this error? Any suggestions??
    Thanks in advance,
    Joseph

    Double check your period setting, Due Date From and To must cover the Due date for the document you are posting.  Document Date From and To range should be good too.
    Thanks,
    Gordon

  • Purchase Order released date field and table name

    Hi,
    Please tell me the  Purchase Order released date field and table name.
    Regards
    Deepak

    Hi,
    Table : EKKO.
    Fields : FRGKE,FRGZU.
    You can get release date of PO from CDHDR  table.
    give object value as your po number and check.dont forget to give leading zeros.
    The udate will be date field and transaction will be me29n for relaesed po.

  • Coding to calculate net purchase order value against the contract?.

    Hi ,
    Please help.
    Can any one send me the coding to calculate net purchase order value against the contract?.
    Thanks

    I got the below coding and information from SDN, would you please help me to fix this coding
    infomation from SDN
    For the above requirment I have coded a program in Endroutine but it is not populating cummulative Order value against Contract.
    DATA:
    WA_ty_t_TG_1 TYPE tys_TG_1.
    data: netsum type char15.
    types:begin of ty_net,
    netsum type /BI0/OINET_PO_VAL,
    V_EBELN TYPE /BI0/OIOI_EBELN,
    end of ty_net.
    data:t_net type standard table of ty_net .
    data:wa_net type ty_net.
    SORT RESULT_PACKAGE BY CONTRACT.
    loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.
    WA_NET-V_EBELN = <RESULT_FIELDS>-CONTRACT.
    AT END OF CONTRACT.
    netsum = WA_ty_t_TG_1-NET_PO_VAL + NETSUM.
    ENDAT.
    WA_NET-netsum = NETSUM.
    APPEND WA_NET TO T_NET.
    CLEAR:T_NET,NETSUM.
    ENDLOOP.
    loop at RESULT_PACKAGE assigning <RESULT_FIELDS> .
    READ TABLE T_NET INTO WA_NET WITH KEY
    V_EBELN = <RESULT_FIELDS>-CONTRACT
    <RESULT_FIELDS>-/BIC/YNET_VAL = NETSUM.
    CLEAR: WA_NET-NETSUM.
    endloop.
    <RESULT_FIELDS>-/BIC/YNET_VAL = netsum.
    CLEAR:NETSUM,<RESULT_FIELDS>-/BIC/YNET_VAL.
    ENDLOOP.
    I have coded above one..let me know what mistake I have done.in the bolded loop I have given INTO instead of Assigning, because I need all records which assigns to WorkArea, but while executing DTP its leading to shortdump.if I replace Assigning statement,its working fine. but zero values in output( I think wrong in logic part)
    Let me know the brief coding part if I am wrongly coded.

  • Purchase Order values are not reflecting in MIGO

    Dear Experts,
    I have changed standared Pricing Procedure from TAXINN to TAXINT because excise calculation was wrong. Now I have assinged new pricing procedure & reflecting in Purchase order & working as per requirement also.But when we are doing MIGO, excise values are not automatically coming in MIGO. So Is there any configuration or missing copy control because i have changed pricing procedure?
    Also I want to put a check, if purchase order value is not matching with vendor invoice value then stores person can't do the MIGO.
    Could any body guide me?
    Thanks
    Trupti

    Hi,                                                                               
    It is not like that you have to mandatory use the TAXINN rather it is recommended by SAP to use but if some business requirement doesnu2019t meet up with what is recommended that its business call to go TAXINJ from TAXINN, but right now we don't know at what circumstances they moved to TAXINJ but question is what are the settings missing while moving from TAXINN to TAXINJ and because of that system is not picking the Tax Values at the time of MIGO in excise capture & posting.
    So I have several questions in mind in order to understand your system behaviour.
    1) Are you using the correct Tax code at PO level?
    2) If using the correct Tax code then is't correct value maintained in FTXP for the Tax code used in PO.
    3) If correct Value maintained in Tax code then by clicking on Taxes button mentioned under PO item level details are you able to see the correct value against each applicable condition type in next screen by clicking over Taxes button in PO?
    4) if not then first check J1id - Material Chapter Id combination, vendor excise indicator mentioned, correct duties maintained in excise duty so check all master data related to CIN maintained in J1id
    So first give answer to above mentioned questions then we procees further but I am sure I can make your system to picked  the correct duties don't worry Just answer my questions hope things become fine in your system.
    Best Regards,
    Silky
    Note: Please assign valuable points in order to encourage contributors to each answer to queries...

  • KEY FIGURE: Effective purchase order value & K.F "No. of Purch.Orders"

    Yo my fellow Gurus,
    Got a problem, when executing listcube on the Info-Cube 0PUR_C01 - I see the data/amounts in the column for "Effective purchase order value" / 0ORDER_VAL. But when running the query with the Key Figure I just get "0"
    I tried the option of adding the Process Keys not allocated in the Routine list of keys, yet still nothing has popped in the query, and heres the routine after  additonal keys added:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    INCLUDE RS_BCT_MM_UPDATE_RULES.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0PUR_C04T-ORDER_VAL
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    IF ( COMM_STRUCTURE-PROCESSKEY = '001' or     "Bestellung
        COMM_STRUCTURE-PROCESSKEY = '011' or
    *change of keys
        COMM_STRUCTURE-PROCESSKEY = '015' or
        COMM_STRUCTURE-PROCESSKEY = '005' or
        COMM_STRUCTURE-PROCESSKEY = '025' or
        COMM_STRUCTURE-PROCESSKEY = '041' or
        COMM_STRUCTURE-PROCESSKEY = '051' or
        COMM_STRUCTURE-PROCESSKEY = '061' or
    *change of keys
        COMM_STRUCTURE-PROCESSKEY = '021' or
        COMM_STRUCTURE-PROCESSKEY = '004' or       "LP
        COMM_STRUCTURE-PROCESSKEY = '014' or
        COMM_STRUCTURE-PROCESSKEY = '024' )
        AND COMM_STRUCTURE-BWAPPLNM EQ 'MM'
        AND COMM_STRUCTURE-ORDER_VAL <> 0.
        perFORM LOC_CURR_CONVERT
               USING    COMM_STRUCTURE-ORDER_VAL
                        COMM_STRUCTURE-DOC_DATE
                        COMM_STRUCTURE-ORDER_CURR
                        COMM_STRUCTURE-LOC_CURRCY
                        COMM_STRUCTURE-EXCHG_RATE
               CHANGING RESULT.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 0.
    else.
        RETURNCODE = 4.
    endif.
    if abort is not equal zero, the update process will be canceled
    This seems to be also the issue with my other Key Figure "No. of Purch. Orders" except here it the just comes up blank / 0 . This is to some the number of pos per plant for the month. So it's not storing anything but running via an interface and then with the aid of the routine loading the count into the cube:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_HDR
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0PUR_C04T-NO_PUR_ORD
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      if COMM_STRUCTURE-HDRPROCESS = '01'         "Bestellung
         AND COMM_STRUCTURE-no_hdr <> 0.
    result value of the routine
        RESULT = COMM_STRUCTURE-no_hdr.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 0.
      else.
        RETURNCODE = 4.
      endif.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please advise the way forward.
    Thanks,
    Ishaam

    what do u want?

  • Purchase order Delivery date based on PO doc no and PO item no

    hi all
    we have a  requirement to bring Purchase order delivery date in to our report .
    it is in EKET Table - field EINDT.
    Is it possible to get this PO Delivery date in to our data source 2lis_02_itm which has PO Doc no(EBELN) and PO item.no (EBELP).
    In EKET Table the primary key is based on 3 fields. PO Doc no(EBELN), PO Itm.no(EBLEP) and delivery schedule line counter (ETENR).
    In EKET Table the data is like
    PO.NO/PO itm no/ schline counter/delivery date
    1000/10/1/1-1-2011
    1000/10/2/5-1-2011
    1000/20/1/2-2-2011
    1000/20/2/2-2-2011
    1000/20/3/5-2-2011
    so on...
    IF i enhance my datasource and populate the delivery date based on EBELN and EBELP we get only 1 delivery date for all the different schedule lines which is wrong.
    I know there is a separate datasource for schedule line data for purchasing BUT IS IT POSSIBLE TO GET the delivery date based on the different schedules by using some ABAP CODE, SINCE in our datasource 2lis_02_itm we dont have ETENR( SCHEDULE LINE COUNTER FIELD).
    if we use the standard data source  (2lis_02_SCL )it is not fair to pull all that data since we only need 1 field from it.
    Please suggest
    Thanks & Regards.
    Krishna

    Hi Krishna,
    Even though you plan to write some ABAP code or do any processing for a combination of PO document no. and Item no. you will always get multiple records with different schedule line items and it is really impossible to take the delivery date without knowing schedule line item no.
    And even when you said PO delivery date, it is actually means delivery date of any of the schedule line only. If you want to write some ABAP logic then you will have to decide like whether you want to display the First line item date or the last line item date etc. But which is again not a good idea.
    I think you can go for schedule line extractor.
    Regards,
    Durgesh.

Maybe you are looking for

  • HDMI output doenst work

    Hi,  I have a z930 ultrabook and im dying to get the hdmi output work.  It works fine when i connect to a TV.  However, doesnt work at all when i connect it to a VGA screen and use the VGA to HDMI converter.  I tried to use it on a normal laptop, wor

  • Snow Leopard (10.6.8) Web Browser, App Store, iTunes Store image won't finish loading.

    Hello, I've recently upgraded from Leopard to Snow Leopard by clean installing. Once I upgraded to Snow Leopard (10.6.3) everything seemed to work perfectly except for the new keyboard that I purchased (requires upgrade to 10.6.8). So as I upgraded t

  • Function Module Syntactically errors

    Dear Experts,  This is function module for Extracting the data from Payroll cluster, it is throwing an error. can any one look into this.. Types : Begin of LS_STR,      PERNR type P_PERNR,      SEQNR Type  CDSEQ,      MOLGA Type  MOLGA,      LGART Ty

  • Doubt on simple select query

    Hello experts, please check this code. CHECK NOT T_DELIVERIES[] IS INITIAL.   SELECT MANDT VBELV POSNV VBELN POSNN INTO TABLE T_VBFA FROM VBFA     FOR ALL ENTRIES IN T_DELIVERIES     WHERE VBELN EQ T_DELIVERIES-VBELN       AND POSNN EQ T_DELIVERIES-P

  • IPhoto library file unrecognizable

    I moved iPhoto library file without quitting iPhoto first. The library file is now unrecognizable. What should I do to fix this?