There are two options to fill in bank details.
1. Enter the IBAN and SAP will fill in Bank Country Key, Bank key, Bank account number automatically
2. Enter Bank Country Key, Bank key, Bank account number manually
How to record a script for above scenario?
We have two options to create/change bank details in XK02, but we don't have positioning tool to use conditions on that rather we have Winshuttle defined RFM /WINSHTLQ/TRN_VENDOR_BANK which we can implement to get it recorded.
Create Direct script with implementing RFM- /WINSHTLQ/TRN_VENDOR_BANK
Option 1: Input bank details
Option 2: Input IBAN
For more details please see script attached