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

ZEROES in Scripts

Former Member
0 Likes
485

Hi all

How to eliminate ZEROES in a script from a particular field.Is it possible to do without calling a driver program in Scripts.Please help

With Regards

Vijay G

1 ACCEPTED SOLUTION
Read only

former_member188829
Active Contributor
0 Likes
464

Hi,

If u want to Omit the Leading Zeros from the Variable.Simply use like this

&variable(Z)&

3 REPLIES 3
Read only

Former Member
0 Likes
464

if you are working with sap scripts you can put a condition

in the first colum put

😕 if &field& <> 0. "this will check the condition

P1 &field& "this will print it

😕 endif.

if this heklps reward points

Read only

former_member188829
Active Contributor
0 Likes
465

Hi,

If u want to Omit the Leading Zeros from the Variable.Simply use like this

&variable(Z)&

Read only

Former Member
0 Likes
464

Hi,

Just write <z> after the variable in the script . The leading zero will be removed.

Reward some points.

bye,

anomitro