I am using ABAP code in SQ02 to getting Vendor partner from outbound delivery. i created a new field "Forwarding Agent" and adding Code below:
Select LIFNR from VBPA into ZLIFNR where VBELN = LIKP-VBELN
and POSNR = ''
and PARVW = 'CR'.
There's no error during generating Query, then i go to SQ01 to generate report, column field "Forwarding Agent" is blank.
i wonder, i go to check vendor partner of outbound delivery is exist, why it doesn't fetch data from table VBPA into report?