Skip to Content
0
Former Member
Oct 25, 2006 at 12:28 PM

How to fetch the data to the internal table with out using mandt

290 Views

Hi all,

Iam giving my code please observer... and give me the reasonable solution.

-


t_mar LIKE STANDARD TABLE OF z_mar.

SELECT mandt

werks " Plant

lifnr " Vendor

FROM z_mar

INTO TABLE t_mar

where sal = 2000.

-


By removing MANDT from select query, it is going to dump.

ex:

---

SELECT

werks " Plant

lifnr " Vendor

FROM z_mar

INTO TABLE t_mar

where sal = 2000.

-


> Now it is going to dump ( here i removed the mandt field ).

Please give me a solution to fetch the data by removing mandt in select statement, with out chaning the internal table structure.

Thanks,

Ravi