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

Hi All

Former Member
0 Likes
707

I wanted to select

delevery number (vbeln-likp)

shipment(vttp-tknum)

shipment cost(vfkk-fknum)

into one table I could able to connect vttp and likp but couldn't able to connect vfkk

pl suggest me how to select for all entries

or any other option

pl its very urgent

Regards

Shashikant

1 ACCEPTED SOLUTION
Read only

ak_upadhyay
Contributor
0 Likes
689

Hi,

Check Tables & links....

http://www.erpgenie.com/abap/tables.htm

Reward points if useful....

Regards

AK

I wanted to select

delevery number (vbeln-likp)

shipment(vttp-tknum)

shipment cost(vfkk-fknum)

into one table I could able to connect vttp and likp but couldn't able to connect vfkk

pl suggest me how to select for all entries

or any other option

pl its very urgent

Regards

Shashikant

3 REPLIES 3
Read only

ak_upadhyay
Contributor
0 Likes
690

Hi,

Check Tables & links....

http://www.erpgenie.com/abap/tables.htm

Reward points if useful....

Regards

AK

Read only

Former Member
0 Likes
689

hi this is your solution...

report .

tables:likp .

data: begin of it_final occurs 0,

vbeln like likp-vbeln,

tknum like vttp-tknum,

fknum like vfkk-fknum,

end of it_final .

data: begin of itab occurs 0,

vbeln like likp-vbeln,

vbtyp like likp-vbtyp,

end of itab .

data: begin of itab1 occurs 0,

vbeln like likp-vbeln,

tknum like vttp-tknum,

end of itab1 .

data: begin of itab2 occurs 0,

vbtyp like vfkk-vbtyp,

fknum like vfkk-fknum,

end of itab2.

select-options:s_vbeln for likp-vbeln .

select vbeln

vbtyp

from likp

into table itab

where vbeln in s_vbeln .

select vbeln

tknum

from VTTP

into table itab1

for all entries in itab

where vbeln = itab-vbeln.

select VBTYP

fknum

from vfkk

into table itab2

for all entries in itab

where vbtyp = itab-vbtyp .

loop at itab .

it_final-vbeln = itab-vbeln.

read table itab1 with key vbeln = itab-vbeln.

it_final-tknum = itab1-tknum.

read table itab2 with key vbtyp = itab-vbtyp.

it_final-fknum = itab2-fknum .

append it_final .

endloop .

loop at it_final.

write:/ it_final-vbeln,

it_final-tknum,

it_final-fknum.

endloop.

regards,

venkat.

Read only

0 Likes
689

Hi Venk

My problem is solved but the thing is that i hv to use some other table

answer is rewared

Thank u very much

Regards

Shashikant