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

Adding custom fields to MB51

Former Member
0 Likes
1,199

Hello dear experts,

I need to add the field MARC-MMSTA to the output screen. I copied the report and created a new z..... one. Now,

DATA: BEGIN OF list OCCURS 0.

INCLUDE STRUCTURE itab.

DATA: maktx LIKE makt-maktx,

name1 LIKE t001w-name1,

btext LIKE t156t-btext,

pspid LIKE prps-posid,

mmsta like marc-mmsta,

vornr TYPE vornr,

"215929

color_line(03) TYPE c,

"n555

color TYPE slis_t_specialcol_alv,

longnum TYPE /sappspro/longnum.

DATA: END OF list.

DATA: BEGIN OF header OCCURS 0,

matnr LIKE makt-matnr,

maktx LIKE makt-maktx,

werks LIKE t001w-werks,

name1 LIKE t001w-name1,

mmsta like marc-mmsta,

END OF header.

But still ı couldnt see my new column in the subscreen which ı open to select the colums to display in the report. What is the problem? help please...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
796

Hi,

Go to Data Dictionary ( Transaction code : se11), display MARC table and find append keyword and click on the button then you will get new window there you have to enter fields according to what you are expecting.

Good Luck

3 REPLIES 3
Read only

Former Member
0 Likes
796

By the way, ı m trying to see my new column in the alv grid after clicking of Detail list button.

Read only

Former Member
0 Likes
797

Hi,

Go to Data Dictionary ( Transaction code : se11), display MARC table and find append keyword and click on the button then you will get new window there you have to enter fields according to what you are expecting.

Good Luck

Read only

0 Likes
796

My column marc-mmsta is already from marc table???? why to append it one more time???