08-27-2018 5:24 PM
Hi Experts
I have one scenario i need to pass ebeln to ekpo so we need to get bednr associated with it.then i need to pass this bednr to ekpo-bednr so we will get all po's assocaited with this bednr.
I ma getting error. could you please help me out to achieve this.
so i have write query like this
data: lv_po type ekpo-bednr.
select bednr from ekpo into lv_po where ebeln = po_number.(po_number is the attriubute
08-27-2018 9:48 PM
Read the Documentation - https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapselect.htm
Either you need to write SELECT SINGLE or Close the set using ENDSELECT.
08-28-2018 2:37 AM
08-28-2018 2:38 AM
select single bednr
from ekpo
into lv_po
where ebeln = po_number.
08-28-2018 6:20 AM