Application Development 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: 

ZEROES in Scripts

Former Member
0 Kudos

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

former_member188829
Active Contributor
0 Kudos

Hi,

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

&variable(Z)&

3 REPLIES 3

Former Member
0 Kudos

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

former_member188829
Active Contributor
0 Kudos

Hi,

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

&variable(Z)&

Former Member
0 Kudos

Hi,

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

Reward some points.

bye,

anomitro