Posting in future date

Dear expert,
    In our client , one of our user has accidently posted certain document in future date. Since the period are open for 2 months so any one can post the document in any of the date. I want to restrict user so that he will not be able to post the document in future date.
Regards,
Kapil.

Dear sir,
For that u  have to use the BADI.
Badi to control the future posing date in migo : MB_MIGO_BADI.
create in this badi it will work. in that interface you have to use is : STATUS_AND_HEADER.
and write below code in the interface : STATUS_AND_HEADER.
method IF_EX_MB_MIGO_BADI~STATUS_AND_HEADER.
data : v_date like is_gohead-budat.
if sy-tcode = 'MIGO'.
v_date = is_gohead-budat.
check v_date GT sy-datum.
message : 'posting Date is future than system date' type 'E'.
endif.
endmethod.
if any clarification please let me know.
regards
jrp

Similar Messages

  • SAP Posting to Future Date

    Dear Gurus
    SAP as an standard allows posting to a future date. Our client requirement is that we need to restrict the same so that  no user can post to a future date. What is the setting required to be done for the same?
    Regards
    Rahul Taneja

    Hello,
    There is no setting as such, unless you open 365 posting periods, which is not feasible, due to high maintenance.
    You can write a validation in the system GGB0 saying that (at document header)
    Posting data not greater than system date, say otherwise give ERROR.
    Assign this validation in OB28 for your company code.
    Hope this will solve your issue.
    Regards,
    Ravi

  • Restrict posting in future date

    Dear All,
    During VL01N,VF01 system is allowign me to post documents in future date than the current system date.
    i want to put validation in system that it should not allow future posting date than current system date.
    pls guide.

    1)  To implement lock in Delivery
    The BADI definition name is LE_SHP_DELIVERY_PROC method name is CHANGE_DELIVERY_HEADER.  Here consider the field "Actual GI Date"
    2)  To implement lock in Billing
    Go to VTFL, select your item category for the combination of your delivery type and billing type and assign routine 11  for the field "Data: VBRK/VBRP"
    thanks
    G. Lakshmipathi

  • Invoices posted for future dates could not shown in Outgoing Payment table

    Hi, Experts,
    We posted an A/P invoice for the future date (next month), and then we'd like to pay it under Banking -> Outgoing Payment -> Outgoing Payment the current date. But when we selected the vendor account, we could not find the invoice listed in the table.
    Would this be anyway to show all the invoices posted with a future post date in the outgoing payment table?
    Thanks!
    Lorrie

    Hi,
    As it seems to be the current behavior of the system, the best option could be Payment on Account.
    You can create a Payment on Account for payment on currenct date and when the AP Invoice is added you can Link the same to the Invoice afterwards.
    Look out for other options if provided here by the experts.
    Regards,
    Jitin

  • Forward scheduling auto post to future date

    Hi all,
    I have got a problem about post goods issue. When post to a past GI date, the system said "Delivery date cannot be met, forward scheduling to delivery date 10.07.05 00:00 Message no. VL127" and post to today date automatically. It should not allow to post.
    Anyone know what is the problem?
    Thank you.

    See transaction OVM1
    Also, check SAP Note
    - Note 150576 - Error message VL127 on creating delivery from project.
    - Note 154824 - Error in Customizing of controllable error msgs
    Thanks & Regards
    JP

  • RWDPOSUP For future date articles postings.

    Hi All,
    Currently we are running the program RWDPOSUP for sending articles from sap to third party.
    I have a query.the system will pick articles which have a valid date from today or a specified number of days for example 30 days
    all the validity is stored in the field DATAB of table A073 for instance(Pricing condition tables)..
    So if the pricing has to be changed on march first then it takes the data on feb first and runs the idoc and data is sent to third party.
    So if i post a document today i.e., 21st march 2010with date of validity as march first 2011. then ideally it should not pick and create an IDOC.
    It should pick on feb first or jan 29th(30days before) and then create idoc. will the program RWDPOSUP run as desired.
    for me if the DATAB is more than 30 days it should not create an IDOC only articles withing 30days are to be sent to third party.
    Can you please suggest on this. i am searching where it looks for date validation but not succesful in that search.
    Any help would be appreciated.
    Thanks,
    RK.

    Hi,
    I have changed it from W to E and saved , still  system is prompting any message at all
    document is getting posted for future date also .
    in MB1B screen posting date is changeble field and if i try to put tomorrow date and try posting its getting posted
    please help
    please try at your  end once .
    regards,
    madhu kiran.
    Edited by: madhu kiran on Apr 24, 2009 11:19 AM

  • Posting period is showing in future date

    Hi,
    This is issue am facing in my IDES system.
    The error it is showing is as below:
    Posting only possible in periods 2015/03 and 2015/02 in company code z001  and message number M7053
    other inputs: MMRV :  Current peiod   : 03 2015
                                           Previous period: 03 2015
                                       Last period in previous .year 12 2014
    And one more input about this is, in my system  the system timing was showing 2011, this i did not recogbise, and when i tried to do the post goods issue(PGI) system shown some Posting error then i cloed the periods through MMPV t code, and closed upto 02 2015, then i reliazed why still system is allowoing to close the periods. then i checked the sytem timing and corrected it to current date.(13 th July 2014).
    In OB29 my Fiscal year variant is K4 (number of posting periods 12 and no of Special periods 4) is assigned to my company code z001 in t code ob37
    In OMSY "also showing the 2015 3
    Now even after changing the sytem date to correct date still system is showing the periods problem, when i tried to initialize the periods in t code MMPI sytem is showing the below message "Follow the instruction note 487381 before initialiazation"
    I found many treads similar to this issue, but all of them faced past date, needs to be closed the periods until current date, where as in my case the periods alredy open in future date.
    am not much familiar with this periods problem as am SD consultant.
    Please help to resolve this issue.
    thanks,

    Nobody needs help of an ABAPer to close or open periods, this is just normal customizing.
    Goto service.sap.com/notes and read the content of the OSS note mentioned in your message and just follow it, as it is the only way to run period initialization. It does not matter it you rolled it to far into the future or if you still have stone old periods like in the hundreds of other discussions on the same issue.
    And since this is that often discussed I am locking this thread.

  • Purchase order error with future date

    Hi,
    Here one scenario like
    We have created a sales order VA01-->Pur. Order ME21N with current date i.e., 05.09.2008. System able to post perfectly and post MIRO, cutomer invoice and finally released to accounting.
    Now, same sales order VA01-->Pur. Order ME21N with future date i.e., 05.09.2009. System threws error message "Account requires an assignment to a cost object".
    Here my question is, why system is asking this assignment if i gave future date(05.09.2009) and why system is not asking if i gave current date(05.09.2008) ? remaining all are same except date
    Looking forward your comments/thoughts
    thansk
    anifi

    Hi,
    Thanks for your reply
    regards
    Edited by: Anifi on Sep 22, 2008 6:18 AM
    Edited by: Anifi on Sep 29, 2008 2:05 PM

  • Future date not to be allowed in the tabular form

    Hi,
    I have a tabular form with 3 columns.. the first column name is DATE, the user is not allowed to enter a future date or a date greater than the sysdate, so as soon as the date value is entered I have to generate a javascript/dyanamic action that throws error... I don't want the alert message to pop up when the submit is pressed, when the user moves the cursor to the next column, error should be shown. Is this possible. I am using APEX 4.0

    Hello Suzi,
    I’m afraid I won’t be able to walk you through this issue as I need to leave the office, however I have some remarks for you.
    First, if you intend to practice JavaScript you should really find the time to learn and understand it. I can promise you it will worth your while, otherwise you’ll just waste a lot of time.
    Secondly, The values of the APEX items you are retrieving using JavaScript are strings. So, in your current code you are actually comparing two strings and not dates.
    Next. When you are validating your data using JavaScript you have to make sure that the user will take the necessary measurements to fix the problem. For example, you must place the cursor back in the offending field. Using the following:
      wwv_flow.f04[1].focus(); will set the cursor in the first cell of the ‘f04’ column. This code also suggest that wwv_flow.f04 is actually a JavaScript array that holds references (object pointers) to all the cells in the ‘f04’ column. You can go through them using a simple loop.
    You should also not use the onchange event in this case. Imagine that after your first error alert, and setting the cursor back to the offending field, the user just press tab to move to the next field. This time around, the onchange event will not be fired (as the value of the field has not changed) and you lost your validation effect. To force the JavaScript validation to fire every time you should use the onblur event.
    That’s all for now :)
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Author of Oracle Application Express 3.2 – The Essentials and More

  • O4NM or O4TEN  Create & Actualize a Ticket with future date

    Hi,
    I would like to create a ticket with future date; in the tab 'Movement Details'....'Start Date', 'End Date' & 'Posting Date'.
    Example: Ticket to be created with the start & end date as 05/20/02008.
    System throws error : Cannot actualize a ticket for a future date or time.
    Please suggest.
    Thanks
    Parveen

    Hi Sandil,
    During the ticket creation, when I'm entering the 'Start Date' and 'End Date' with a future date eg 05/30/2008; getting the error.
    The requirement is to create & actualize the ticket with dates 'Start Date', 'End Date' and the 'Posting Date' with future date.
    FYI, there is a significant number of tickets that are booked using end of the month date in order to avoid several fees. We also have to do closing and reconsolidations end of the month. These activities create a significant stress to complete tasks before deadlines. Along with that, we also have to complete ticketing that we scheduled for end of the month. Therefore, resolving the issue of been able to ticket and actualize tickets ahead of time would substantially make processes and procedures easy when we are stretched for time which we don't have towards the end of the month.
    Please suggest.
    Thanks
    Parveen

  • Goods Receipt in future Date

    Hi,
    Please tell me if i can restrict the production order for doing GR for a future date???
    If today is 22/10/2009, and i am trying to give the posting date in MIGO as 25/10/2009 then system should restrict it.
    Thanks

    HI
    Check this Badi   WORKORDER_GOODSMVT
    In REM  i have achieved the same with the help of BAdi RM_BFLUSH_GOODSMVT.
    Check the first one with the help of ABAPer
    Regards
    Anupam Sharma

  • F110 - execute/clearing in future date

    Hi friends,
    How can I schedule that F110 just run in a future date, I mean, which is the field that I need to set up to determine that F110 will just run in one week, for exemple?!
    Thanks

    Hello,
    I have tested and it is working fine.
    For example posting date you give 23.05.2009
    Documents entered upto: 19.05.2009
    Document items due by: 23.05.2009
    Next payment run: 24.05.2009
    Make sure there are some items due for payment.
    If you make the payment run, the payment document will be created on 23.05.2009.
    You can get this in FBL1N (pick up the posting date from hidden fields to visible fields)
    Regards,
    Ravi

  • Payment order to pick lineitems due on future date then run date

    When we use payment order option for any payment method defined it means that :Where a payment order is to be carried out at some time in the future, the line items are not cleared very much earlier than the date on which the payment is made.
    However i have a question
    Point 1 :Should i run the payment run on a future date.
    Ex: If there is an invoice dated 03.03.2010 and due on 15th March 2010,should i run it as on 3rd March and will still the line item be picked up to be paid inthe future.
    or Should i run the payment run as on 15th March to get the item picked.
    I have another question here ,if i run as on 15th March ,will it pick up lint items which are due on 16th or any date after that.
    Where do i define to system ,if i run a payment run it should ppick up line items due upto so and so date and create the payment order.
    Please advice.

    OK The posting run date is a reference date -
    The posting date is when the actual payment posting date will be and the date of the clearing of open items
    Docs entered up to field - looks at when documents have been posted i.e. entry date
    Items due by - is the due date of documents to be included in the payment run.
    Further to this you need to enter the next payment run date. This is used for cash discounts, if a Vendor has a cash discount payment term it will include the invoice for payment if the date used in the next payment run would mean cash discount would not be available.

  • GL assignment for future date?

    Hi everybody,
    We have an issue is as follows:
    - We have created a sales order for 08-09-2008
    - We have created PO for 08-09-2008, here system will able to post everything fine.
    - Again we are creating one more PO for 08-09-2009, here system threws error message like GL a/c needs cost assignment.
    My question is why system is asking assignment for future date only and why system is not asking assignment for current date?
    Looking forward your best thoughts
    regards
    vk

    Hi Raj,
    Thanks for your reply
    Yes, we have assigned only cost element in TC: OKB9. But, for that cost element we have created 2 analysis periods.
    - GL 100115            01.01.2008 to 31.12.2008
    - GL 100115            01.01.2009 to 31.12.9999
    I think validity period is perfect still system threws error message like gl acc needs cost object assign.
    regards
    vk

  • Document Date as any future date

    Dear Experts,
    We know thre are three dates in SAP FI Modules:-
    Document Date :- Any Reference Date
    Posting Date - This hits the FI Ledger
    Entry Date - Date of actual entry
    Our user in some cases in advertantly put future date as the year 2208 instead of 2008.
    How to put the system check so that no one can put the Document Date as any future date.
    Regards,
    Alok

    Hi
    You need to write a validation rule in GGB0
    Prerequisite
    Company code = XXXX
    Check
    Document Date <= System Date
    Message
    Set an error message
    Now assign this validation rule to your company code in OB28
    What essentially this means that for your company code, system would check if document date is less than or equal to the system date. If this check fails, system would flash the error message specified by you
    Thanks & Best Regards
    Sanil K Bhandari

Maybe you are looking for

  • WebService with multiple methods

    Hello to everybody. I need an help with the develop of a WebService that it comes with 2 methods: I have already created a lot of WebService in JCAPS6 with only one method and everything was gone well. I tried to implement a WebService with 2 or more

  • Populating value in idoc segment E1EDP02 for INVOIC01- incoming invoice

    Hi Friends, I am working to get the incoming freight invoice posted to MIRO, using IDOC : INVOIC01 message type: INVOIC process code: INVL function module : IDOC_INPUT_INVOIC_MRM Vendor does not send the PO number only send the bill of lading number(

  • Please fix Nokia Mail powered by Yahoo

    The Nokia Mail powered by Yahoo causes browser error messages (in computer with IE), because it does not have program for httpss protocoll... I.E It looks that someone has entered there by accident such a link that have one extra S in the https addre

  • Ssl properties

    hello, i have a web application deploy in a application server (WAS 4.0). this application connect to a server with SSL. when the application init, I configure the ssl properties: private URL url; init()   System.setProperty("javax.net.ssl.keyStore",

  • Do you and the person u speak to need to have a .mac account?

    i dont like the idea that i have to dish out more $$ to use i chat. is there a way around it. I want to use the video chat