spro -> financial accounting -> financial accounting global settings->correspondence
you can use the SAP19 correspondence type (t-code OB77)
and assign a program, for example RFKORD50 (t-code OB78)
or create your z-type and z-program copying from standard and modify if needed.
then in FB70 you'll be able to use Environment-Correspondence