cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with decimal fields using BADI For PD Infotypes

Former Member
0 Kudos

Hi,

I'm implementing BADI HRBAS00INFTY.

For reading the fields of infotype , I'm using the substring

of the field NEW_INNNN-VDATA .

I have a problem with fields of type DEC.

In field NEW_INNNN-VDATA it looks like this : '####'

I believe that the possible reason for this is conversion from DEC to CHAR

But I don't know how to fix it.

Thank you .

Message was edited by: Alon Lozinsky

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Alon,

We had same issue. Use following code.

data: hri1011_str type hri1011.

move new_innnn-vdata to hri1011_str.

HRI1011_STR fields will have decimal values.

Let me know if you still have any issues. If solution works, kindly do Point Recognition.

-Bharat