Code: Alles auswählen.
lv_tknum = me->ms_nast-objky.
CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW'
EXPORTING
shipment_number = lv_tknum
option_tvtk = abap_true
option_ttds = abap_true
option_items = abap_true
option_export_data = abap_true
option_partners = abap_true
option_packages = abap_true
IMPORTING
f_vttkvb = me->ms_transportkopf
f_ttds = me->ms_trdipost
TABLES
f_vttp = me->mt_transportpos
f_trlk = me->mt_lieferkopf
f_trlp = me->mt_lieferpos
f_vbpa = me->mt_partner
f_vbadr = me->mt_adressen
f_vtfa = me->mt_vtfa
f_vbplk = me->mt_hu_kopf
f_vbplp = me->mt_hu_pos
f_vbpls = me->mt_hu_sum
EXCEPTIONS
not_found = 1
OTHERS = 2.