Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

extract data from data base

Former Member
0 Kudos

i want to extract the data from the data base using the following code,but is wrong kindly provide me the

right syntax

import tline to itext

from database stxl(tx)

client sy-mandt

id '0001' using

'vbbp' to stxl-tdobject

'0002965298000010' to stxl-tdname.

regards

krishna

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai.

According to my knowledge you can use selectstatements for data fetching from db in program and put it into internal table or workarea and use according to your requirement.

regards.

sowjanya.b.

2 REPLIES 2

Former Member
0 Kudos

Hi All,

the code provided above is syntactically also wrong.

please provide the right code.

regards

krishna

Former Member
0 Kudos

Hai.

According to my knowledge you can use selectstatements for data fetching from db in program and put it into internal table or workarea and use according to your requirement.

regards.

sowjanya.b.