2007 Oct 04 7:42 AM
hi,
i have written one bdc for create invoice.
i am using mr08 tc in which one screen field bseg-wrbtr.
but i have field in internal table is T_AMOUNT(16).
that field have the value 500.00USD.
IF I RUN THAT BDC I AM GETTING ERROR PLEASE ENTER NUMARIC VALUE.
HOW CAN SOLVE THIS ONE
hi,
i have written one bdc for create invoice.
i am using mr08 tc in which one screen field bseg-wrbtr.
but i have field in internal table is T_AMOUNT(16).
that field have the value 500.00USD.
IF I RUN THAT BDC I AM GETTING ERROR PLEASE ENTER NUMARIC VALUE.
HOW CAN SOLVE THIS ONE
2007 Oct 04 7:45 AM
hi Venkat,
define a variable (like the field in MR08) and use:
WRITE t_amount TO variable. Than you can put this variable to the batch input internal table (I mean the value inside).
hope this helps
ec
2007 Oct 04 7:47 AM
Hi Venkat.
you have to Separate this Field '500.00USD' into two fields like '500.00' and 'USD'.
then pass the field '500.00' to BDC Screen field. This field accepts only numeric decimal values.
REWARD IF HELPFUL.
2007 Oct 04 7:51 AM
hi,
i already saparated 500.00 and usd.
but 500.00 is decimal value this value is not accepting in bseg-wrbtr .
it is asking only numeric value.
pls solve this one.
2007 Oct 04 7:54 AM
move value from t_amount into a field having type bseg-wrbtr.
data zamt type bseg-wrbtr.
move t_amount to zamt.
and den use field zamt in bdc
2007 Oct 04 8:23 AM
as I already stated above the solution is to use the statement: WRITE ... TO ...
2007 Oct 04 7:48 AM
hi,
in internal table declaration.
t_amount like bseg-wrbtr.
fieldvalue = 500.00.
wrbtr can take only Numeric values Since t_amount is like wrbtr.So it will take only numeric values.
Reward with points if helpful.
2007 Oct 04 7:50 AM
use statement
replace 'USD' in t_amount with sapce.
condense t_amount.
den pass dis t_amount field
plz reward points if dis helps.