Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Convert string to type p

Former Member
0 Likes
2,595

Hi all

Is this possible to convert string to type p .

if yes than how ? it's urgent .

4 REPLIES 4
Read only

Former Member
0 Likes
1,336

Hi,

data : a type string value '567',

b type p.

move a to b.

write: a,b.

Cheers,

Will.

Read only

Former Member
0 Likes
1,336

Hi,

Please refer to the FM below :


HRCM_STRING_TO_AMOUNT_CONVERT

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
1,336

Hi,

Do like this

translate char_field using ',.'.

CONDENSE char_field NO-GAPS.

move char_field to p_field.

Regards,

Satish

Read only

Former Member
0 Likes
1,336

Hi,

try to use the fm: "MOVE_CHAR_TO_NUM"

rgs