11-15-2016 9:58 AM
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,
Veena
11-17-2016 12:33 PM
11-18-2016 5:06 AM
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,
Veena
11-19-2016 5:04 PM
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.
11-21-2016 8:46 AM
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. 😞