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

Function Module name ....

Former Member
0 Likes
708

Hi ,

Can any one help Its really very urgent for me. What is the function module name to convert the sign <b>Negative to positive and vise versa</b>.

Thanks in Advance..

Kumar.

Title was edited by:

Alvaro Tejada Galindo

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
678

Umm, no function required, simply multply the value by -1.

Regards,

Rich Heilman

Read only

0 Likes
678

Not , hard coding. Is there any function module to convert sign.

Regards,

Kumar

Read only

0 Likes
678

Hey Kishore,

Use this FM

ISJP_GET_SIGN

with IV_AMOUNT and SHKZG ( as 'S' or 'H)....

If you pass IV_AMOUNT = '100 .00'

and SHKZG = 'H'

it will return '100.00'

and if SHKZG = 'S'

it returns ... '-100.00'

Regards,

Vivek

Read only

Former Member
0 Likes
678

Hi,

If you need to convert the you can use the below :

value = value * -1.

Thanks,

Sriram Ponna

Read only

Former Member
0 Likes
678

data : value type i.

value = value * -1.

Read only

Former Member
0 Likes
678

answered