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

Layout displaying the wrong qty...

Former Member
0 Likes
702

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..

6 REPLIES 6
Read only

Former Member
0 Likes
662

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

Read only

Former Member
0 Likes
662

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..

Read only

0 Likes
662

try by using refresh ur bdcdata.,

if ur code is small can u paste it here.

Read only

0 Likes
662

Sorry very big code.

Here by using VL03N iam running thisprogram.

Read only

Former Member
0 Likes
662

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

Read only

Former Member
0 Likes
662

Thanks to all