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

Smartform negative value in bracket

0 Likes
1,172

Hi Experts,

Need to get negative value in brackets in Smartform, Without concatenating '(' &lv_value& ')'. Is there any functionality available in Smartform.

Kindly advice.

Thanks and Regards,

Anand Kumar N

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
972

Hi Anand,

I don't think there is any such functionality available to add the brackets for -ve value.

You have to make use of concatenation only.

Regards,

Santanu.

6 REPLIES 6
Read only

Former Member
0 Likes
973

Hi Anand,

I don't think there is any such functionality available to add the brackets for -ve value.

You have to make use of concatenation only.

Regards,

Santanu.

Read only

0 Likes
972

Hi Santanu,

Thanks for your reply. I posted to find any functionality available.. Thanks..

Nice to see your reply in SDN..

Read only

Former Member
0 Likes
972

Hi Anand,

I also think that there is no functionality for your scenario.

You can also do it by creating an alternative.

Give the condition: amount >= 0.

In true condition, create a text and give it as &amount&.

In false condition, create another text and give it as (&amount(S)&).

Thanks & Regards,

T. Prasanna Kumar


Read only

0 Likes
972

Hi Prasanna,

Thanks for your suggestions.

Regards,

Anand

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
972

Anand,

     Have two separate texts.

     1) Text1- put the condition lv_value > 0 in the CONDITIONS tab and &lv_value& in

GENERAL ATTRIBUTES.     

   

     2) Text2- put the condition lv_value < 0 in the CONDITIONS tab and ( &lv_value& ) in  GENERAL ATTRIBUTES.

               

Regards.

Read only

0 Likes
972

Hi Arun,

Thanks for your reply. I already following the same but just want to know any functionality avail without using (&lv_value&)

Thanks,

Anand