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

Customized Table

Former Member
0 Likes
796

Hi Guru,

Here am using one customized table like z_mkpf_mseg

It having fields both from mkpf, mseg and also some other tables..

My issue is when i try to execute my customized table the data s not coming..

Pl tel me how to link my customized table to tht standard table..

Pl guide me..

Regards:

Manoj

1 ACCEPTED SOLUTION
Read only

former_member242255
Active Contributor
0 Likes
772

you cannot link your Ztable to standard tables..

you have to incorporate the logic in some of the program for the Ztable to be filled.

8 REPLIES 8
Read only

former_member242255
Active Contributor
0 Likes
773

you cannot link your Ztable to standard tables..

you have to incorporate the logic in some of the program for the Ztable to be filled.

Read only

0 Likes
772

Sarvan Kumar wrote:

> you cannot link your Ztable to standard tables..

But we can link,

Make sure that there is a link, I think here it would be MBLNR,

If there are common contents in both table for your key field, it will deffenately fetches data.

if not,

Check entries at table level.

Declare your internal table in proper way...i mean field order...of your output internal table..if you are using INTO TABLE...syntax.

Check SY_SUBRC for that select statement...trace the error.

All the best.

Naveen Inuganti.

Read only

0 Likes
772

Hi all,

Am using customized table only not an internal table..

I write corresponding select queries also..

eg:

select * from zmm_mkpf_mseg

into corresponding fields of table itab

where bukrs in s_bukrs and werks in s_werks

and lifnr in s_lifnr

and budat in s_budat

and bwart = '122'.

select * from zmm_mkpf_mseg into corresponding fields of table itref

for all entries in itab

where mblnr = itab-LFBNR

and zeile = itab-lfpos

and mjahr = itab-LFBJA.

Note: in tht above code zmm_mkpf_mseg is my customized table..

Table level mseg,mkpf having data but i cant get the data in my customized table..

Pl guide me..

Read only

0 Likes
772

Hi all,

Am using customized table only not an internal table..

I write corresponding select queries also..

eg:

select * from zmm_mkpf_mseg

into corresponding fields of table itab

where bukrs in s_bukrs and werks in s_werks

and lifnr in s_lifnr

and budat in s_budat

and bwart = '122'.

select * from zmm_mkpf_mseg into corresponding fields of table itref

for all entries in itab

where mblnr = itab-LFBNR

and zeile = itab-lfpos

and mjahr = itab-LFBJA.

Note: in tht above code zmm_mkpf_mseg is my customized table..

Table level mseg,mkpf having data but i cant get the data in my customized table..

Pl guide me..

Read only

0 Likes
772

Do you have data in zmm_mkpf_mseg table

and how u r maintaining the data in zmm_mkpf_mseg.

first check whether you have data there or not

Rajnesh

Read only

0 Likes
772

hi ,

my intention was to tell that simply if we have some link field in out custom table we will not get the data.

we should have the data filled in our custome table..

that is wat i wanted to say..i think i have said the same in the second line.

Edited by: Sravan Kumar on Mar 3, 2009 10:03 AM

Read only

Former Member
0 Likes
772

Hi Manoj

Please be clear, if it is an internal table or database table and how you are getting the data you can also post your code.

Regards

Rajnesh Dharmat

Read only

Former Member
0 Likes
772

Hi,

Make use of common fields, if possible common key fields.

Thanks,

Asit Purbey.