Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Display Material Description on a Screen

Hi All,

I have custom table maintainance screen and it has change contents tab to change the contents of the table. It is working fine but in the screen when the record shows up it comes with Matnr and Amount, here I have to display Material Description. In my PBO I have my Itab as my ztable ZSDCOOP. How should I include description here.

I do not have Maktx in my ztable. I have to get it from MAKT. In the change screen Input/Output field should I define it as MAKT-MAKTX. I just want to display the description of the material here.

Please help me.

Thanks,

Veni.

DATA: ITAB LIKE ZSDCOOP OCCURS 100 WITH HEADER LINE.

MODULE status_0400 OUTPUT.

SET PF-STATUS 'ZCHG'.

SELECT * FROM zsdcoop INTO TABLE itab where cmponum = 0.

SORT itab by pfnum descending.

READ TABLE itab INTO zsdcoop INDEX cnt.

DESCRIBE TABLE itab LINES lin.

ENDMODULE. " STATUS_0400 OUTPUT

Tags:
Not what you were looking for? View more on this topic or Ask a question