2008 Jun 27 10:06 AM
Hi Guys!!
I desclared the amount field as TYPE P decimals 2,but while excuting BDC am gettinan error msg stating that Input must be in the format __.___.___.__~,__.
Its taking up the value if i remove the decimals.
Is there any solution to give the amount as in the local file (like 46.16,100.123 etc)
Warm Regards,
Mohandoss P
2008 Jun 27 10:16 AM
Hey u can also try whether the currency format for your profile is set as in the same way you are trying to enter the value.
U can navigate by:
SYSTEM>>USER PROFILE>>OWN DATA
and change the currency format and see if it helps..
Thanx,
Navin.
Hi Guys!!
I desclared the amount field as TYPE P decimals 2,but while excuting BDC am gettinan error msg stating that Input must be in the format __.___.___.__~,__.
Its taking up the value if i remove the decimals.
Is there any solution to give the amount as in the local file (like 46.16,100.123 etc)
Warm Regards,
Mohandoss P
2008 Jun 27 10:11 AM
hi,
do this way ...
data : v_dmbtr like bseg-dmbtr.
write : '1345566.23' to v_dmbtr.
Use v_dmbtr to your BDC code which has the required format..
Regards,
Santosh
2008 Jun 27 10:14 AM
Yes, change the decimal notation in the user settings (temporarily) to the format to use the decimal point instead of ','.
Regards,
John.
2008 Jun 27 10:16 AM
Hey u can also try whether the currency format for your profile is set as in the same way you are trying to enter the value.
U can navigate by:
SYSTEM>>USER PROFILE>>OWN DATA
and change the currency format and see if it helps..
Thanx,
Navin.
2008 Jun 27 10:36 AM
hie Mohan
u can also declare a char field of same length as your amount field and use that char variable in your bdc. Also condense the char field before you use it to make sure there are no spaces.
data: my_amount(13).
my_amount = bseg-wrbtr.
condense my_amount no-gaps.
PERFORM bdc_field USING 'FKKZPLST-BETRZ(01)'
my_amount.
reward points if helpfull
IsaacPrince
2008 Jun 27 10:38 AM
2008 Jun 27 10:41 AM
Hi Mohan,
Declare the amount field with the type C(len) , it should not create any problem.
Thanks,
Keerthi.
2008 Jun 27 10:42 AM
Hi,
Declare the amount field as type C(with required lengtyh),
It should not create any problem.
Thanks,
Keerthi.
2008 Jun 27 10:43 AM
Hi Mohan,
Create one new variable of type c and pass the amount field to this newly created character field. Then use the new variable in your BDC.
Rgds,
Bujji
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |