cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference b/w MSEG and *MSEG

Former Member
0 Kudos
655

Hi,

Can any one tell me whats the difference between mseg and *mseg.

I am trying to add few more fields in goods issue form WASCHEIN like KOSTL and SAKTO but i am not getting the values and i am not even able to debug the form. Can any one suggest on this.

Thanks.

View Entire Topic
Former Member
0 Kudos

Lakshmi,

I am not sure about the form, but as far as the tables are concerned *MSEG is something internally used by SAP. I would suggest you go with MSEG.

Regards,

Ravi

Former Member
0 Kudos

Hello guys , one of confusion in answer that, if we are going with this way

Tables : MSEG,*MSEG .

Then it will be affected for your program because we r using here select * mesg .

So you guys please sort out my confusion.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

In this following statement...

TABLES: MSEG,

*MSEG.

These are two different work areas of the same structure(MSEG). So you can do two select statement into each one of these work areas.

Select * from mseg where ...

and

Select * from *mseg where ...

now MSEG and *MSEG can be accessed and could have two totally different records.

Just remember that saying

 Tables: MSEG, *MSEG.

is just like saying...

Data: wa_mseg1 type mseg,
      wa_mseg2 type mseg.

Make sense?

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Please award points for helpful answers and close if answered completely, Thanks.

Regards,

Rich Heilman