Skip to Content
0
Jul 22, 2020 at 06:55 AM

how to fetch data from cobl structure

132 Views

Hi seniors

i have to fetch the cost center (KOSTL) from Cobl Structure and how can i get this structure inside the program.

in another way my input is (vendor,company code , date) i tried from bseg its fine and i can fetch the data from bseg but when i give without vendor only giving company code and date an error occurs that " No Space Left On Device ".

1. Taking input from both the table Bsak and Bsik for some document we don't have cost center value so we fetch it from bseg

2. if i give the in put as vendor , date , company code its working and i can fetch the cost center from bseg

3. if i give the in put as vendor as empty , date , company code its not working an error occurs that " No Space Left On Device ".