Hiwenjia wang,
I see that you want 2 payer account numbers to be displayed in the file i.e. file must be split based on payer account number i.e. FPAYH-HKTID? Is my understanding correct? Are both the account numners from the same house bank HBKID?
ZBNKN is Bank Account Number of the Payee. I see that you have defined this at level 2.
Where is the level distribution on this HKTID either on OBPM3 or sort key in this case? What is the level assigned to these node FcompanyInfo and Faccountno under Head. It would help if you map your requirement like a flow chart and then design your tree accordingly. So that the levels to be assigned would be more clearer.
Example:
Company code1
... Bank 1
....Account Number 1
.....Transaction details of txns done with this account number 1
....Account Number 2
.....Transaction details of txns done with this account number 2
With this Levels will be more clear and can be assigned easily.
Hope this helps.
Kind Regards
Soumya Rao