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: 

smart form bar code is incorrect for every new page

Former Member
0 Kudos

hi to all experts

i have a peculiar problem in a smart form my requirement is to display \

matnr desc lgort stckcount un

barcode

the barcode should be printed for material below it

everything is fine except this problem.

for new page trigerred the bar code is not correct it is of the last material no of the internal table

for example if the next page is triggered and the material no 2087 and last material no is 2961

when we scan the barcode it should be 2087 but we are getting the values as 2961 the last in the internal table

i have 2 line types in the internal table (one four coloumn)\

and other for the barcode what could be the problem

4 REPLIES 4

Former Member
0 Kudos

hi

go to Transaction SE73 and Use System Barcodes and copy that to user define.

hope this helps

regards

Aakash Banga

Former Member
0 Kudos

Hi

Try printing one bar code for the one material after that try printing others too...

May be the first page for the material is not getting triggered

Regards,

Sravanthi

Former Member
0 Kudos

hi ,

i think you are not clearing the Barcode variable once it has printed.

try declaring the variable like this in smartform,

BARCODE TYPE CHAR24

when one loop excecutes .and end of loop in command line clear this variable.

thanks & regards,

kat.

Former Member
0 Kudos

no help