Dear Oscar.
- Here:
IMG -> Financial Accounting (New) -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Method/Bank Selection for Payment Program -> Define Payment Groupings (tr. OBAP)
you can enter fields and payment programm will group you documents according this field.
- Make fields "Contract Number" and "Contract Type" as Optional entry.
IMG -> Financial Supply Chain Management -> Cash and Liquidity Management -> Cash Management -> Master Data -> G/L Accounts -> Create Field Status Group (tr. OT32)
Fields "Contract Number" and "Contract Type" will be filled as soon as you run TBB1 for your transaction.
Then F110 will group documents according Payment Groupings parameters.
It was working on one of my projects. I don't remember is it all or i missed some steps - but you can try.