Skip to Content
0
Jan 25, 2021 at 06:10 PM

Cannot Get Column "Description" to Populate

74 Views

Greetings!

Yes, I am new at ABAP; apologies for the lack of knowledge in advance.

I'm hoping someone can help me get the description field for the Target Region to populate.

There is obviously more code, but here's what I have tried thus far:

TABLES : mara, marc, makt, mvke , t023t, tvprt.
* Class Definitions
TYPES : BEGIN OF gty_final,
          matnr             TYPE mara-matnr,
          maktx             TYPE makt-maktx,
          ersda             TYPE mara-ersda,
          matkl             TYPE mara-matkl,
          wgbez             TYPE t023t-wgbez,
          werks             TYPE marc-werks,
          vtext             TYPE tvprt-vtext,
          provg             TYPE mvke-provg,
          vkorg             TYPE mvke-vkorg,

SELECT vtext
FROM TVPRT
INTO TABLE @DATA(IT_TVPRT2).
&---------------------------------
SELECT SINGLE vtext
INTO TABLE @DATA(IT_TVPRT2).
FROM TVPRT

I should add that I already have the Target Region (two-digit) populating, but this one is in a different table (tvprt) and I'm not sure how to go about getting it out.

Thank you in advance.

Keega