07-24-2013 11:44 AM
Hello all,
I was wondering if it is possible to perform additional checks when a bank account is changed (in transaction BP, tab "payment transaction").
So for example when there is still an outgoing document (with that account number on it) that needs to be paid to the business partner that you will get an error that it is not allowed to change the bank account. And that the bank account changes cannot be done / saved / reversed.
Is this something that can be done in standard SAP, if not what would be the best place to add this kind of logic?
Thanks a lot,
Lukas Molenaar
07-31-2013 2:57 PM
Hello,
In the end i've used transaction BUS3 - Views. Then for view BUS500.
In the additional function i've added an extra PAI function module where the check has been buildin.
So thanks all for the answers 🙂
Greetings Lukas
07-24-2013 12:54 PM
Hi Lukas,
I am new to posting on SCN and I am not sure if I understand youre requirement correctly, but maybe you can use an event (fqevents)? For example event 1050 where you can include your additional check(s) beside the standard depenency checks.
Regards,
Bob
07-25-2013 1:45 AM
Hi Lukas,
You can plugin a custom FM in the event DSAVC which would check if there is any outstanding amount that needs to be paid to the BP using the old bank account number.
This event gets triggerred when you are trying to save any changes in the BP.
Go to T.code BUS7 and then click on the event DSAVC.
Replace the FM BNK_BUPA_EVENT_DSAVC in item 2800000 by the custom FM.
Apart from that you can also use event 1050, but you have to first make the following configuration settings-
SPRO--->Financial Accounting--->Contract Accounts Receivable and Payable--->Technical Settings--->Activate Performance Improvement for Mass Runs
Check the BP dependency column.
Hope it helps...
Thanks,
Amlan
07-31-2013 2:57 PM
Hello,
In the end i've used transaction BUS3 - Views. Then for view BUS500.
In the additional function i've added an extra PAI function module where the check has been buildin.
So thanks all for the answers 🙂
Greetings Lukas