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

Complex ZTable ?

Former Member
0 Likes
570

Hi Gurus !

I would like to build following ZTABLE:

MANDT TYPE MANDT

MATNR TYPE MATNR

MATNR_1 TYPE MATNR

MATNR_2 TYPE MATNR

MATNR_3 TYPE MATNR

my goal would be , to see the output with material discription like this example:

100 1234 glass 3234 wood 3243 water 3223 fire

(Material Discription should come from makt !)

many thanks for your help !

4 REPLIES 4
Read only

Former Member
0 Likes
546

Hello,

I don't understand your requirement exactly.Do you want this to be done at database level or at prigram level?Can you pleae explaint it.

Thanks.

Ramya.

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
546

You have to add the descr field in the table .

Read only

Former Member
0 Likes
546

I would like to do it on database level ... but i dont want to save x - times the discription of the material in the database. I would like to make an multi connection to the texttable makt ... but i dont know how

Read only

0 Likes
545

For this you would need a database view joining your ZTABLE with n aliases of table MAKT (n = number of MATNRs in ZTABLE).

This cannot be done via the ABAP DDIC, as far as I know, so you have to go for a programming solution, e.g. using table maintenance events.

Thomas