on 07-31-2007 4:12 AM
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
SEE in your form
Passing
/:CHANGING <b>&RF140-MWSHB&</b> "This should be same as bolded below in your program
READ TABLE OUT_PAR WITH KEY <b>'RF140-MWSHB'.</b>
OUT_PAR-VALUE = RF140-MWSHB. "If above bold field name is same as form filed name then check does 'RF140-MWSHB' is populated or not
MODIFY OUT_PAR INDEX SY-TABIX.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>READ TABLE OUT_PAR WITH KEY name = 'RF140-VTEXT'. -> check the
RF140-VTEXT -> are you passing correct variable
if sy-subrc eq 0.
OUT_PAR-VALUE = 'Input tax'.
MODIFY OUT_PAR INDEX SY-TABIX.
endif.</b>
keep the break point and see the results in debugging.
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.