Skip to Content
0
Former Member
Aug 10, 2011 at 10:05 AM

Condition table assignment to Field symbol

381 Views

Hi all,

I am facin the issue while assigning the internal table to the field symbol.

This is my code in BADI ME_PROCESS_PO_CUST in one of the method "CHECK"

ia am accessing the taxes from program SAPLV69A

lv_prg = '(SAPLV69A)XKOMV[]'.

ASSIGN lv_prg to <fs>.

while executing the above code i am getting the error lv_prg and <fs> are type in compatible.

Declarations are : In program SAPLV69A

DATA: xkomv TYPE STANDARD TABLE OF komv WITH HEADER LINE

INITIAL SIZE 50.

Whereas in BADI method i declared field symbol tried in 3 different ways

types : ty_komv TYPE STANDARD TABLE OF komv.

FIELD-SYMBOLS : <fs> TYPE ty_komv,

<fs> TYPE STANDARD TABLE,

<fs> TYPE ANY TABLE.

But still i am getting the same error.

Help me out...

Regards,

Satishreddy