Skip to Content
0
Former Member
Dec 19, 2006 at 01:17 PM

Error in coding.

46 Views

Hi friends.. Good Evening to everyone.. Well am an BW Consultant... I dont know abt coding...

Actualy i have a written coding in BW Routine which implement to any kind of transformation that was coded in the ABAP Programing language...

<i><u>My Program is:-</u></i>

IF COMM_STRUCTURE-DOC_CATEG = 'M' AND

COMM_STRUCTURE-ITEM_CATEG = 'TAN' AND

COMM_STRUCTURE-BILL_CAT = 'L'AND

COMM_STRUCTURE-KINAK = " ".

IF COMM_STRUCTURE-CON_TYPE = 'ZBPM' OR COMM_STRUCTURE-KINAK = " ".

SRESULT = COMM_STRUCTURE-KNVAL.

ELSEIF NOT COMM_STRUCTURE-CON_TYPE = 'ZBPM' AND COMM_STRUCTURE-CON_TYPE = 'ZBPO'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZEXT'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZEXT' AND COMM_STRUCTURE-CON_TYPE = 'ZECX'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZECX' AND COMM_STRUCTURE-CON_TYPE = 'JECX'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZEXM'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'JMAN'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'JEX2'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZK04'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZK4A'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZK07'

SRESULT = COMM_STRUCTUE-KNVAL.

ELSEIF COMM_STRUCTURE-CON_TYPE = 'ZK7A'

SRESULT = COMM_STRUCTUE-KNVAL.

ENDIF.

ENDIF.

MY Error is : -Field "IF" is unknown. It is neither in one of the specified tables nor

defined by a "DATA" statement. "DATA" statement.

What was the meaning for that error.....

CHEERZ,

ALURI