cancel
Showing results for 
Search instead for 
Did you mean: 

How to put a custom validation in SRM on posting date from locked period in ECC?

Former Member
0 Kudos

Hi experts,
We are working on SRM 713 extended classic scenario.
Can anyone please let me know how can we put a custom validation/check so that an error comes up whenever the posting date in the header tab while posting the confirmation is changed to a past date which belongs to a locked period in ECC?
As right now posting confirmations with posting date from locked period do not get replicated to ECC and end up in error.
For now we only get the error "Posting only possible in periods 2017/09 and 2017/08 in company code 1424" when the current period (present month) is locked in ECC and the error does not go away even while changing the posting date to 08 or 09 month date.
Please let me know if any custom validation can be done in SRM to get an error in SRM only for confirmations with posting date from locked period.
Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Navray,

You can use BBP_DOC_CHECK BAdi to validate the posting date of confirmation header and return a custom message to block the confirmation post. See the wiki for more information about the BAdi:

https://wiki.scn.sap.com/wiki/display/SRM/Documentation+BBP_DOC_CHECK_BADI

Best Regards,

Guilherme Montagner