Skip to Content
Aug 27, 2018 at 04:24 PM

select query


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