0% found this document useful (0 votes)
39 views1 page

Zak User Defined Types Mara

Uploaded by

naveen441
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Zak User Defined Types Mara

Uploaded by

naveen441
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

*&---------------------------------------------------------------------*

*& Report ZAK_USER_DEFINED_TYPES_MARA


*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT zak_user_defined_types_mara.
*-- User defined type
TYPES : BEGIN OF t_mara,
matnr TYPE matnr,
mbrsh TYPE mbrsh,
mtart TYPE mtart,
END OF t_mara.

DATA : ls_mara TYPE t_mara.


*Populate data in the structure

ls_mara-matnr = '12344'.
ls_mara-mbrsh = 'M'.
ls_mara-mtart = 'ROH'.

ls_mara-matnr = '5678'.
ls_mara-mbrsh = 'M'.
ls_mara-mtart = 'FERT'.

WRITE : / ls_mara-matnr , ls_mara-mbrsh, ls_mara-mtart.

You might also like