2007 Oct 30 2:06 PM
Hi,
i have to populate a quantity field in bdc .
for ex 123.00. but the bdc accepting only in the form of 123,00.
How can I do this .
I tried by changing the user profile, but went in vain.
Suggest me how to convert ?
Thanks.
Hi,
i have to populate a quantity field in bdc .
for ex 123.00. but the bdc accepting only in the form of 123,00.
How can I do this .
I tried by changing the user profile, but went in vain.
Suggest me how to convert ?
Thanks.
2007 Oct 30 2:08 PM
Hi,
Please move the quantity field to character field then use the character field for your BDC input.
Regards,
Ferry Lianto
2007 Oct 30 2:09 PM
Hi,
Create a variable of TYPE CHAR.Write your quantity field value into this variable and pass this variable to the BDC. This is the way of passing quantity fields to BDC.
DATA: V_AMOUNT(22) TYPE C.
WRITE ITAB-DMBTR INTO V_AMOUNT.
Pass this V_AMOUNT to BDC flow.
Hope this helps.
ashish
2007 Oct 30 2:19 PM
Thanks for your responce.
i am using the t/c : mb1a.
the field is mchb-clabs.
after converting into characte also i am geting the same as 123.00.
but i need 123,00.
Thanks
kumar
2007 Oct 30 2:23 PM
Hi,
for the user id, get the decimal settings (DCPFM) from table USR01. Check the amounts accordingly in the required format. And pass this amount to your BDC. You still need to pass it to a character variable and then to BDC.
ashish
2007 Oct 30 2:26 PM
Hi
try this code..
REPLACE ALL OCCURRENCES OF '.' IN mchb-clabs WITH ','.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |