Validation on Document Currency for Finance Documents
We have process to maintain the order currency on LFM1-WAERS. This is maintained for different vendors with different currencies.
We are expecting when posting a document the document for that vendor, the system should check, whether the document currency (BSEG-PSWSL) entered on the document is matching with the currency on the vendor master data (LFM1-WAERS).
We tried to use the user exit in the validation, however, BELNR is not yet created, therefore, the validation is not getting triggered. However, we need this validation before BELNR (document number) is created.
Please let me know if there is a way to achieve this.
Any specific points would be much appreciated.