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

ALV Edit Field with error

Former Member
0 Likes
518

Hi!

I'm trying to enter data into a few fields of my ALV but when I press save or double click or try to do any action I'm getting and error and I can't go into my gode to get the data and save it into my tables.

I declarated my ALV table like

DATA BEGIN OF it_output OCCURS 0.

DATA:

kunag TYPE s901-kunag,

zbuilder TYPE s901-zbuilder,

kunnr TYPE s901-kunnr,

zdepbal TYPE s901-zdepbal,

zdepret TYPE s901-zdepret,

zretbal TYPE s901-zretbal,

zretret TYPE s901-zretret,

zdepadj TYPE s901-zdepadj,

zretadj TYPE s901-zretadj,

zdisdel TYPE s901-zdisdel,

zchpdel TYPE s901-zchpdel,

  • fields to be filled

returned TYPE s901-zdepbal,

scrapped TYPE s901-zdepbal,

comments(30),

bstkd TYPE bstkd,

trmtyp TYPE trmtyp,

werks TYPE werks,

END OF it_output.

the last 6 fields are the ones that I need to fill.

The error that I'm getting is into a pop up and it says :

Field T_output_trmtyp is not in the apab dictionary.

Did someone has this problem before? I'll keep looking for the solution.

thanks.

Hi!

I'm trying to enter data into a few fields of my ALV but when I press save or double click or try to do any action I'm getting and error and I can't go into my gode to get the data and save it into my tables.

I declarated my ALV table like

DATA BEGIN OF it_output OCCURS 0.

DATA:

kunag TYPE s901-kunag,

zbuilder TYPE s901-zbuilder,

kunnr TYPE s901-kunnr,

zdepbal TYPE s901-zdepbal,

zdepret TYPE s901-zdepret,

zretbal TYPE s901-zretbal,

zretret TYPE s901-zretret,

zdepadj TYPE s901-zdepadj,

zretadj TYPE s901-zretadj,

zdisdel TYPE s901-zdisdel,

zchpdel TYPE s901-zchpdel,

  • fields to be filled

returned TYPE s901-zdepbal,

scrapped TYPE s901-zdepbal,

comments(30),

bstkd TYPE bstkd,

trmtyp TYPE trmtyp,

werks TYPE werks,

END OF it_output.

the last 6 fields are the ones that I need to fill.

The error that I'm getting is into a pop up and it says :

Field T_output_trmtyp is not in the apab dictionary.

Did someone has this problem before? I'll keep looking for the solution.

thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
478

Hi,

Long time back I faced a little similar kind of error. But not exactly for this scenario. I don't remember what the issue was but it was solved when I changed the variable type declaration. I mean, earlier I had declared it as

werks TYPE werks_d.

But later I changed it as

werks LIKE T001W-werks.

And this solved my problem. Hope this may help u...

Read only

0 Likes
478

Sorry!!

Didn't work this time!

Any other suggestion?

Thanks.