I didn't find function module to get both tables.
But you can use function module SD_VBFA_SELECT for getting data from VBFA table.
There are couple of other function modules, they can be used based on your required.
Message was edited by: Ramakrishna Prasad Ramisetti
There is no function module available for VTFA shipment document flow.
But you could easily link table VBFA and VTFA as follows.
... CLEAR I_VTFA. REFRESH I_VTFA. SELECT * INTO I_VTFA FROM VTFA WHERE VTFA-TKNUM = VBFA-VBELN AND VTFA-VBELV = VBFA-VBELV. ...
Hope this will help.