Ok I understtod thatyou want to fill the xref3 area during the valuation, you need a substitution for that. you need to find a logic before you start for exmple
company code = * and t-code = FBB1
subsitute xref3 = *
or you can go through the account itself too.