11-04-2016 5:07 AM - edited 01-21-2024 10:03 PM
SELECT * from V_T001D into TABLE lt_vt001d .
This statement is giving an error " V_t001D is not defined in the ABAP Dictionary as a table"
lt_vt001d is an internal table of V_T001D.
System is right, V_T0001D is not a table, did you check with SE11 - Also read online help on SELECT statement for FROM clause.
Actually this is a maintenance view (usable in SM30/SE54 or with FM VIEW_GET_DATA) as an alternative, look with SE11 at the definition of the view, and build a select from actual table with required join and where criteria.
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
select t-field1 t-field2 gb-field2 gb-field2 gbt-field1
from T001D as t
into TABLE lt_vt001d
inner join GB93 as gb
on gb-mandt eq t-mandt and
gb-valid eq t-valid
inner join gb93t as gbt
on gbt-mandt eq gb-mandt
and gbt-valid eq gb-valid.
Create a record with transaction SPRO, look for 'Validation' (e.g. OB28, OKC7, etc.) or call transaction SM30 on the view V_T001D, then execute the transaction or navigate to Customizing options behind.
Regards,
Raymond
Until you understand the difference between T001D and V_T001D, you'll have very little luck in resolving your issue.
I believe transaction code OB28 can be used for populating the table
Regards
Arden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The maintenance view is only used for the table maintenance program. If you use select it wont allow you .You can use the underlying table directly for your purpose (T001D).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.