Skip to Content
0
Former Member
May 20, 2010 at 02:36 PM

Problem to get KUNNR (Customer) with record of BELNR

158 Views

Hi,

How can i do for get the KUNNR with a record result of BSEG.

select * from BSEG into CORRESPONDING FIELDS OF TABLE wlt_vir where HKONT LIKE '0000511%' and GJAHR = p_annee and AUGDT in p_dat and BUKRS = '0010'.

This request get only data for the customer.

In my Internal table with result record i have a lot of record with BELNR, GJAHR.... but :

How can i do to get the kunnr ?

I try to use a join with BSAD and BSID but it doesn t work perfectly...

Thank you very much for you answer.