Skip to Content
avatar image
Former Member

bdc program

Hi,

I am working on a bdc program where i want to upload a numerical value.i want to convert 1.293,00 value before uploading it .I have used the FM HRCM_STRING_TO_AMOUNT_CONVERT.After conversion i got the value as 1293.00.When I try to process the session 1 293,00 value is getting uploaded which is wrong.1.293,00 value has to be uploaded.I have changed the decimal notation also accordingly.But it is not working.Can anyone suggest me a proper solution for this?

Regards,

Hema

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 17, 2007 at 12:48 PM

    Hema,

    Here I can suggest you one thing

    Please check that, after you convert the value you are passing to another variable or u r passing to the same variable...

    n one more check.... when your are assigning the filed to the screen field check that did u assign the correct variable which is holding the converted value....?

    ~~Guduri

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 17, 2007 at 12:50 PM

    Hiya Hema,

    Use the following example its shows how to convert the numeric into a type (l_char) you can use in your BDC:

    DATA: l_numeric TYPE p DECIMALS 2 VALUE '1293.00',

    l_char(18) TYPE c.

    WRITE: l_numeric.

    WRITE: l_numeric TO l_char NO-GROUPING.

    CONDENSE l_char.

    WRITE: l_char.

    Add comment
    10|10000 characters needed characters exceeded