Reputation: 43
My problem is the following: I was creating an ALV view and eventually needed data from a GAMNG field in the CAUFVD structure. I researched to try to extract data from the GAMNG field and from what I understand structures are like models to facilitate table creation but I'm not sure.
So my question is:
Is it possible to use data that references structures and place it as a new column in the ALV view? And how I do it ?
*(the process I did was go to transaction co03 -> enter the material code -> press f1 on top of total quantity -> and see which field this data was in, which in this case is GAMNG)
Upvotes: 0
Views: 276
Reputation: 10621
CAUFVD
structure is used mainly in table CAUFV, which is in turn a View linking tables AFKO
and AUFK
. The former contains your field GAMNG
that you need to get. Depending on your requerement and the list of other fields you need you may query the base view CAUFV or the table AFKO directly. I hope that helps.
I understand structures are like models to facilitate table creation but I'm not sure
kinda. The structure in SAP is a type definition (list of columns, their types, lengths, constraints) which defines how the table will look like and how it behaves.
Upvotes: 0