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: 

in scripts &VBDPR-FKIMG(I12.0R)& what is I12.0r ?

Former Member
0 Kudos

Dear All,

in scripst i came across field &VBDPR-FKIMG(I12.0R)& and &VBDPR-ZZDSC_TEXT(I16R)& in these what does I12.0r and I16r represent? please let me know.

Thanks,

Naresh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

12 & 16 - the output length for that field.

R - Right justified output.

Reward if helpful.

4 REPLIES 4

Former Member
0 Kudos

Hi,

12 & 16 - the output length for that field.

R - Right justified output.

Reward if helpful.

Former Member
0 Kudos

and I will supress 0.00 and replace it with blank

Former Member
0 Kudos

What is the differnce between these two notations?

0 Kudos

So, to summarize

&VBDPR-FKIMG(I12.0R)&

Will display 12 characters, with no decimal places, right justfied, with blank if 0.00

&VBDPR-ZZDSC_TEXT(I16R)&

Will display 16 characters, right justified, with blank if 0.00. In this case I think the I is unnecessary as (I'm assuming) this is a character field the initial value is blank anyway.