Application Development and Automation 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: 
Read only

basic select

Former Member
0 Likes
606

SELECT SINGLE

shkzg zfbdt zbd1t zbd2t zbd3t rebzg

FROM bseg

INTO CORRESPONDING FIELDS OF bseg

WHERE

belnr = int_cond-value.

I am not getting any values in bseg.but If I am manually looking at the table of bseg...I am able to see the entries..

is there some thing I need to take care..?

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
581

what will be the sy-subrc value ?

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
582

what will be the sy-subrc value ?

Read only

0 Likes
581

its always 4 and I am not getting values from select statement.

Read only

0 Likes
581

Is int_cond-value variable is same as belnr?

Try for testing just hardcode the value


where
belnr = '0000001234' " Your table available value padded 
" with zeros and check

Read only

Former Member
0 Likes
581

When use INTO CORRESPONDING FIELDS OF bseg , you must use same bseg filednames in the program.

check it once.