Skip to Content
0
Former Member
Aug 03, 2010 at 04:35 AM

ALV Report

9 Views

Hi

guru's,

I want to take material text , and payment term text also plant text when ever my user enters input the PO number, in the selection screen.

Here I am posting the code. I am unable to find what went wrong with this s ection of code.

Please need help.

CONCATENATE it_itab-INCO1 '-' it_itab-INCO2 INTO it_itab-INCO SEPARATED BY SPACE.

READ TABLE IT_MAKT WITH KEY MATNR = IT_ITAB-MATNR.

IF SY-SUBRC = 0.

it_itab-MAKTX = IT_MAKT-MAKTX.

ENDIF.

read table IT_T001W WITH KEY WERKS = IT_ITAB-WERKS.

IF SY-SUBRC = 0.

it_itab-NAME1 = IT_T001W-NAME1.

ENDIF.

READ TABLE IT_TVZBT WITH KEY ZTERM = IT_ITAB-ZTERM.

IF SY-SUBRC = 0.

it_itab-VTEXT = IT_TVZBT-VTEXT.

ENDIF.

Thanks in Advance