Skip to Content

Override standard rule for posting dates of invoices

Nov 15, 2016 at 09:58 AM


avatar image

Hello Experts,

As per standard rule, If a parked document is in previous period and the period is open then while posting it takes the date as posting date of the parked document and not the current date.

We are passing the current date in the posting date field but still this is happening. FM used to post invoices is "PRELIMINARY_POSTING_POST_ALL"

Please provide some inputs to override the standard rule and put the posting date as current date every time.

Thanks in advance,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ashok Mohan Nov 17, 2016 at 12:33 PM


Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Ashok,

Posting date is getting changed to current date using BDC on FBV4. But when the parked document is in previous period and if the previous period is open, then posting date automatically changes to the date in previous period. It is overwriting the current date that we pass based on standard rule. Please let me know if we can bypass this rule.

Thanks & Regards,



Hi Veena,

There is a BTE to bypass the standard rules when using the BAPI BAPI_ACC_DOCUMENT_POST. For eg, to change the posting key. Check the below link. Use this for changing the date.



We had tried this BAPI and it was not working as expected. That's why we are using BDC on FBV4 to change posting date and then FM "PRELIMINARY_POSTING_POST_ALL" to post. I tried with BTEs 00001020, 00001025, and 00001030. Whatever value we pass in these BTEs are getting overwritten outside BTEs (In FM OPEN_PERFORM of these BTEs) with the original values. :(