Skip to Content
0
Former Member
Jul 31, 2007 at 03:12 AM

Problem in calling Subroutine from script

18 Views

If i hardcode the value like 'Input tax' out_par-value is taking the value

READ TABLE OUT_PAR WITH KEY 'RF140-VTEXT'.

OUT_PAR-VALUE = 'Input tax'.

MODIFY OUT_PAR INDEX SY-TABIX.

READ TABLE OUT_PAR WITH KEY 'RF140-MSATZ'.

OUT_PAR-VALUE = '5.000'.

MODIFY OUT_PAR INDEX SY-TABIX.

But when i try to assign a variable value to out_par-value it is not taking

I am not understanding why it is happening like this

can any one please tell me he solution to assign a variable to out_par-value.

This is not taking the value from RF140-MWSHB to OUT_PAR-VALUE.

READ TABLE OUT_PAR WITH KEY 'RF140-MWSHB'.

OUT_PAR-VALUE = RF140-MWSHB.

MODIFY OUT_PAR INDEX SY-TABIX.

Thank you,

Pradeep Reddy M