Need BAPI to update posting date for parked documents in transaction FBV2?

Hi All,
I am retrieving records from table VBKPF and I have to update the posting date for parked documents in transaction FBV2.
I am doing it with BDC , working fine in foreground, but it is not workung fine in back ground.I want to do this with bapi.
Can any one suggest me corrct BAPI?
TYPES : BEGIN OF It_vbkpf,
         bukrs LIKE vbkpf-bukrs,            "Company Code
         belnr LIKE vbkpf-belnr,            "document number
         gjahr LIKE vbkpf-gjahr ,           "Fiscal year
         budat LIKE vbkpf-budat,            "Posting date
         bldat LIKE vbkpf-bldat,            "Document date
         blart LIKE vbkpf-blart,            "Document type
         xblnr LIKE vbkpf-xblnr,            "Reference
         tcode LIKE vbkpf-tcode,            "Transaction Code
         bktxt LIKE vbkpf-bktxt,            "Document header text
         usnam LIKE vbkpf-usnam,            "User Name
         xwffr LIKE vbkpf-xwffr,            "Release necessary
         xprfg LIKE vbkpf-xprfg,            "Document complete
         xfrge LIKE vbkpf-xfrge,            "Release takes place
        END  OF it_vbkpf.
Thanks,
Suresh.

Hi ,
Thanks for your response.
PRELIMINARY_POSTING_UPDATE seems working good,But my requirement here , to update the posting date with last working day . how can i do this?
thanks,
Suresh.

Similar Messages

  • OSS note 495160 - update posting date on parked invoice documents

    Hi, my question is about an OSS note; 495160.  I searched for other hits on this, and the problem, and didn't find much in the SCN so far.
    Problem:
    I am trying to find a solution to the issue where the posting date for parked documents is currently trying to post to the day that the document was originally parked.
    This is causing issues for prepaid inventory as documents might be parked and then not posted for 3 months. Since SAP only allows 2 periods to be open, it gives an error that says invalid posting period when you try to post a prepaid invoice that was parked and the period that it was parked in is now closed. Ex. Parked the prepay document and made the payment 6/30/2013. If the product arrives on 8/01/2013 and we try to post the parked document on 8/01/2013, the error will say that it can't post because June period is no longer open.
    Researched possible OSS note:
    I have researched how to change the posting date of parked documents (invoices) and we have OSS note 495160 identified.  This note seems to shed light on the function called, and in high-level terms talks of inserting a new custom function module.
    Question:
    The note appears to be incomplete, however, in the specifics of what code should go in the new Function Module and where exactlyin the parent FM, it should be inserted.
    In addition, some internet lookups have shown that it may be possible to leverage the method SET_POSTING_DATE in BAdI WRF_PREPAY_INVOICE to change the posting date.
    Does anyone have more info on the specifics of what code needs to be inserted and where?  Perhaps this OSS note is incomplete, or still in progress?
    Thanks
    Jeremy

    We did find a way to get this to work.
    In SE38 in SAPLMR1M, we added enhancements to the following:
    In includes:
    1)
         LMR1MTOP  - at the bottom of this top-include,  at enhancement point LMR1MTOP_02, we added
               include /nfm/lmr1mdat.  
    Shortly after, in the PBO sections
    2)   LMR1MO10-->LMR1MO1N-->LMR1MO2O-->LMR1MO2O (document read),  we added
           a new enhancement implementation that was named  ZMIRO_ES_SAPLMR1M 

  • Implications of Changing Posting date of parked document.

    Hi,
    I have changed the posting date, document date & translation date to current period
    of an already parked document in a closed period.
    (e.g) Document parked in month of 28.04.2009(closed period) & i have changed the dates to
           28.05.2009(current period)
    I need to know what are the implications of the changes in dates for (posting date, document date & translation date) induvidually for both the periods(closed & current).
    Thanks
    Kenn

    Hi,
    There is no implications of change the the posting date of parked document because parked documents are not affected in financial.When you post the doucment then it will affect in finance.so there is no problem. You can change the posting date or document date only in a Fiscal year.

  • Is there any BAPI exists for parking document (FBV1 transaction)

    Hi experts,
    Is there any BAPI for parking document (FBV1 transaction).
    Thanks in advance,
    Viven

    Hi,
    <b>BAPI_INCOMINGINVOICE_PARK</b>...is one of the BAPI for parking the incoming invoice.
    Sushil.

  • Need BAPI to update 'Payment terms' for service contract

    Hi ,
    I need to update 'Payment Terms' for a large set of Service contracts. Can you pls suggest me a BAPI to do this. Can I use CRM_ORDER_MAINTAIN function module for my requirement. If yes, what are the parameters need to be passed?
    Thank you,
    Regards,
    Rajesh.

    Replace the
    LT_BAPISDITMX-CUST_MAT35 = 'X'.
    by a
    LT_BAPISDITMX-PMNTTRMS = 'X'.
    Regards,
    Raymond

  • Posting Limits for Parked Documents

    In our office, user X is having a posting limit set in (using OBA4 and OB57 ) is Rs 1000 only and he is parking a document. Another user Y who is having authorisation to post the parked document using FBV0 has a posting limit of Rs 800 only. Whereas user Y is able to post user X's parked document.
    Why is the posting limit of Y is not restricting him to post the parked document of X since his posting limit is less when compared to that of X ?
    One more thing, while Y is trying to reverse the same document using FB08, system is giving a posting limit error.
    How to correct this situation ??
    Thank you all for your replies.
    Gemini

    But in the real world, the posting access is considered to be superior than the parking access. And person authorize to post the document is of higher rank in the organization than that of the parking person.
    So logically, the person posting the parked document should have the limit higher than the parking person limit.
    Yes, it is true that difference users can have different posting limit, and thus a posting access person might have HIGHER limit then that of the parking person limit.
    So your office need to increase the access of user Y to at least 1000 or reduce the access of X to 800.
    Regards,
    Gaurav

  • Posting date for MB52 and MB58 transactions

    Hi,
    I want to add posting date on the selection screen of standard transaction MB52 and MB58 for selecting the stocks within the posting period. I want the table name and the field name for the posting date.
    Helpful answers will be rewarded.
    Thanks and regards,
    Kiran kumar K

    rgsdf

  • How to change Posting Date in Accounting Document

    Dear All,
    Query: While Releasing Invoice Document (BL) for Account Posting, How can we change the Posting Date for Accounting Document (AB)?
    Explanation: User has created one Invoice on 26.02.2009. that time, Because of Missing Foreign Trade Data, No Accounting Document had been generated. Now, if today i.e. 10.03.2009, I maintain Foreign Trade Data and Release Invoice for Account Posting, The Accounting Document will be posted as on Today's Date, i.e. 10.03.2009.
    User's requirement is the Invoice Document (BL) Date and Accounting Document (AB) Date must be same, i.e. 26.02.2009.
    It shouldn't be like Invoice is getting generated on 26.02.2009 and Accounting Document is getting posted on 10.03.2009.
    Thanks in Advance.
    Amit

    Dear Michael,
    It was a User confusion with Creation Date of Invoice, Billing Date of Invoice and Posting date of Accounting Document.
    User had created Invoice on some 01.03.2009 but Kept Billing Date as 26.02.2009. So, while released Accounting Doc. on 10.03.2009 (Releasing date and not Posting Date), It gets Posted on 26.02.2009, only, and not on 10.03.2009.
    The whole confusion was:
    When User refers Document Flow (for Invoice in VF02), System shows Invoice Date as 01.03.2009, against Accounting Posting Date 26.02.2009.
    Whereas,
    When I showed FBL5N to user, BL Document and AB Document both get posted on 26.02.2009 only.
    Its Clear now.
    Best Regards,
    Amit

  • Reconciliation account update for parked document

    Hi,
    I have created a Customer parked document in FB70.
    Now If I go and check the FBL5N for customer account which is the part of the parked document, the transaction is appearing.
    But when I check the FBL3N for reconciliation account which is assigned for the above customer master, no transaction updated.
    is it standard SAP behaviour?
    is there any SAP Note on this?
    Rgds
    Murali. N

    Hi Murali,
    The standard SAP treats parking as tempararly parking i.e tempararly storing the data for posting the transation its nothing but a template so it wont updated the financial statements so if you see the FBL3N without selecting the parked check box it wont appear. just select the check box and check the report.
    For recon accounts normally the line item check box wont be selected (FS00), so the line item display is not possible for the recon accnts, check the master record too. its not suggestable to select the line item check box for the recon accounts because normally we check the reports with the subledgers only (for vendors , customers and assets) not with the gls. if we select tha line item option for recon account the data will be stored in both gl and subledger tables, because of the this the performance issues will arise.
    so its not suggestable to view the gl reports for the recon accounts.
    Thanks & Regards,
    Shashi Kanth.

  • Change Posting Date of Parked Invoice on Approval

    Hi,
    I have a scenario where one user creates a parked invoice in FB60 and is routed to another user as a workflow item to release the parked invoice.
    I need to change the posting date according to some business requirements, upon release of the parked invoice by the approving officer. For e.g. if invoice is created in last fiscal year but approved in new fiscal year, the posting date shld be changed to last day of the last fiscal year. and all these needs to be coded somewhere. Which means I can't use the standard SAP config to set posting date to System Date or the original Date entered- as these are not what I want.
    Does anyone know of a user exit, BTE, BAdI to accomplish this? I tried some BAdIs, but the posting date is always being reset to the procedure for setting the posting date in T001-PP_PDATE. and i do not want this.
    Your help is greatly appreciated! Thank you!

    Hi,
    Can you please provide any documentation or any links regarding the Workflow approval process for the parked documents. As you have already dealt with it can you  atleast share the knowledge...
    any help is greatley appreciated...
    thanks

  • Change Posting Date of Parked Invoice on Release

    Hi,
    I have a scenario where one user creates a parked invoice in FB60 and is routed to another user as a workflow item to release the parked invoice.
    I need to change the posting date according to some business requirements, upon release of the parked invoice by the approving officer. For e.g. if invoice is created in last fiscal year but approved in new fiscal year, the posting date shld be changed to last day of the last fiscal year. and all these needs to be coded somewhere. Which means I can't use the standard SAP config to set posting date to System Date or the original Date entered- as these are not what I want.
    Does anyone know of a user exit, BTE, BAdI to accomplish this? I tried some BAdIs, but the posting date is always being reset to the procedure for setting the posting date in T001-PP_PDATE. and i do not want this.
    Your help is greatly appreciated! Thank you!

    hi,
    You have to cancel the Parked invoice and again you have to verify using the new date
    G.Ganesh Kumar

  • Post an InterCo parked document for another Company Code

    There are two (2) users with authorizations only to their company codes (CC):
    User1 can create/save/delete park/post a doc in CC1.
    User2 can create/save/delete park/post a doc in CC2.
    User1 can create and park an InterCo doc in CC1/CC2.
    User2 can create and park an InterCo doc in CC2/CC1.
    <Q1> How can I restrict User1 to post ONLY the parked InterCo doc, but not post any other doc in CC2?
    <Q2> How can I restrict User2 to post ONLY the parked InterCo doc, but not post any other doc in CC1?
    I have looked into the Auth. Object F_BKPF_BUK, but it doesn't cover me!!!

    Hi Kedar, thanks for your reply, again!
    That won't work. here is the scenario:
    1) UserCC1 will park an InterCo doc with 2 lines (credit to CC1, debit to CC2)
    2) UserCC2 should go ahead and post this newly park document
    3) UserCC2 should be able to post ONLY the InterCo park documents associate with his/her CC.
    4) UserCC2 should NOT be able to post any other doc on any other CC.
    Is it clear what the goal is?
    I have concluded that in oder to control it, I need an Auth. Object for CC (which I have already) and another Auth. Object that conttols 'Docyment Type'.
    Do you know what Auth. Object controls 'Doc.Type'?
    Best regards,
    Tom

  • How to update posting date in WINVE idocs

    Hi Expert,
    Is there any function module OR BAPI available to update posting date in physical inventory documnet (WINVE03) idocs.
    Regards
    Rajesh

    Hi,
    Please check whether BAPI_MATPHYSINV_POSTDIFF is useful in your case.
    With regards,
    Gokul

  • System error: NO posted data for 4_CPR_OBJGEXTID 4 (Include LCATS_ITSF10)

    Dear experts!
    I use internet service transaction catw in release 6.0 and the following error occurs:
    System error: NO posted data for 4_CPR_OBJGEXTID 4 (Include LCATS_ITSF10) .
    Thank you in advance!
    Vana Sounta

    CATw is not supported in ECC 600 , You need to use new service of CATS, called record working time
    Please read the note 870126 and also refer help.sap.com about record working time

  • Display stock on posting date for a consignment stock

    Dear guru.
    I want to display the stock on posting date for a consignment stock (special stock indicator = "W" ) to display this stock and the linked movements  for a specific customer.
    MB5B donu2019t have the field customer in the selection view.
    What transaction can I use ?
    Thanks in advance.

    Hi,
    In MB5B in special stocks indicator you select W
    and select special stock
    You will get it
    BR
    Diwakar
    Edited by: diwakarnd deshpande on May 20, 2008 7:02 PM

Maybe you are looking for