‎2008 Sep 08 7:49 PM
HI all,
I have developed SAP Script for delivery. In that one field QTY-SHIP (LIPS-LFIMG) displaying 1st time wrong value but if I try for second time it was showing correct value. May I know what is the reason behind thisu2026?
Can any body please tell me reason..
‎2008 Sep 08 8:36 PM
Hi,
Clear the variables and the workareas while looping the internal tables.
the field might be capturing the wrong values because of not clearing or refreshing.
thanks
karan
‎2008 Sep 09 6:05 PM
Hi ,
When i give print for 1st time iam getting wrong value..
when i give Re-print then iam getting the correct value..
what is the problem.. Can any body..
‎2008 Sep 09 6:09 PM
try by using refresh ur bdcdata.,
if ur code is small can u paste it here.
‎2008 Sep 09 6:14 PM
Sorry very big code.
Here by using VL03N iam running thisprogram.
‎2008 Sep 10 6:03 AM
Hi,
May be for the first time your variable might carry the older values.
before giving print command i.e. before select statement refresh your internal table or work area.
this might solve your problem.
Rajesh Kumar
‎2009 Feb 27 12:20 PM