11-27-2007 2:52 PM
Hi,
I print field LTAP-NLENR.
But when i use <AP-NLENR& leading zeros are cut.
I need to display it with leading zeros. (ex. 0000000000010000000001)
Please help.
Regards,
Greg.
11-27-2007 3:04 PM
Ok,
but as I wrote a need to keep leading zeros
but <AP-NLENR(Z)& supress leading zeros.
so instead of 0000000100000001 I have 10000000001.
Regards,
Greg
11-27-2007 2:54 PM
use like this:
<AP-NLENR(K)&
Message was edited by:
Pavel Parshenkov
11-27-2007 2:57 PM
11-27-2007 3:00 PM
Try with
<AP-NLENR<b>(Z)</b>&
Here Z should be in capital letter
Regards,
Naimesh Patel
11-27-2007 3:04 PM
Ok,
but as I wrote a need to keep leading zeros
but <AP-NLENR(Z)& supress leading zeros.
so instead of 0000000100000001 I have 10000000001.
Regards,
Greg
11-27-2007 3:05 PM
11-27-2007 3:09 PM
11-27-2007 3:21 PM
<AP-NLENR(K)& works fine for me with your requirment.
I have defined a L_VAR like this:
data: L_VAR type LTAP-NLENR.
l_var = '0000000000010000000001'.
In my script I use like this:
P1 &L_VAR(K)&
SO, try to pass that value to some other variable and see what happens.
Regards,
Naimesh Patel
11-27-2007 3:24 PM
HI,
Try to declare that variable of type N and pass the value and print this varible in the script.
thanks
Mahesh
11-27-2007 3:30 PM
hi Greg,
with (K) it has to work. I would suggest to check in debug if the variable really contains the leading zeros.
ec