To get the contact fax number in my form
I would like to get the fax number on the customer section of my smartform for BOL. How do i get the contact fax number in my form with following lines that i ahve for getting contact name.
data: l_parnr like vbpa-parnr, l_name1 like knvk-name1, l_namev like knvk-namev. "first name select parnr into l_parnr from vbpa where vbeln = g_sale_ord and * vbeln = is_nast-objky and parvw = 'AP'. exit. endselect. if l_parnr is not initial. select single name1 namev into (l_name1, l_namev) from knvk where parnr = l_parnr. concatenate l_namev l_name1 into g_contact separated by ' '. endif.