Skip to Content
0
May 26, 2016 at 08:41 AM

SQ02-Getting vendor partner of outbound Delivery

301 Views

Dear All,

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:

++++++++++++++++++

Clear ZLIFNR.

Select LIFNR from VBPA into ZLIFNR where VBELN = LIKP-VBELN

and POSNR = ''

and PARVW = 'CR'.

endselect.

+++++++++++++++++++

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?

please help...

Regards,

Rtn