Skip to Content
0

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

Oct 03, 2017 at 08:24 PM

37

avatar image
Former Member

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.

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

1 Answer

Guilherme Montagner
Oct 12, 2017 at 09:11 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded