Skip to Content
0
Aug 04, 2016 at 07:33 AM

Any other way to read this statement

19 Views

Dear All,


I am new to this form. Please help me in the following...


As i want to know how to read the fields of the same structure defined in abap program.

I am modifing the program which has already done by one of the senior consultant.

Can any one please help me to know the solution

as the program is reflected for BDC and report



LOOP AT IT_DATA INTO WA_DATA.

READ TABLE IT_LFBK INTO WA_LFBK WITH KEY LIFNR = WA_DATA-LIFNR.

IF WA_DATA-BANKS IS INITIAL. WA_DATA-BANKS = WA_LFBK-BANKS. ENDIF.

IF WA_DATA-BANKL IS INITIAL. WA_DATA-BANKL = WA_LFBK-BANKL. ENDIF.

IF WA_DATA-BANKN IS INITIAL. WA_DATA-BANKN = WA_LFBK-BANKN. ENDIF.

IF WA_DATA-KOINH IS INITIAL. WA_DATA-KOINH = WA_LFBK-KOINH. ENDIF.

ENDLOOP.