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

programming logic for this scenario

Former Member
0 Likes
575

hi all,

kindly help me with this scenario:

i have a internal table with fields like this (among others)

OBJEK ATINN CHAR CHARG CHAR1

-


-


-


-


000000000000000031 0000000188 Batchnumber: WEEK NO. 9 0000000052

000000000000000031 0000000189 Visualinspection: OK 0000000052

now wht i need to do is for SAME batch number i need to concatenate the values of CHAR into CHAR1.

that is to say that CHAR1 shud have the value "Batchnumber: WEEK NO. 9 Visualinspection: OK"

ive right now done it using 2 different internal tables and concatenating the values. want to know if theres an easier and simpler way.

any pointers guys??

pk

5 REPLIES 5
Read only

Former Member
0 Likes
556

try using AT END OF..

till the end of each batch number; concatenate the corresponding fields..

Read only

0 Likes
556

hi mouli i tried AT END OF..

but it was returning all astrixs. so had to quit that idea.

pk

Read only

Former Member
0 Likes
556

hi,

Before the AT END statement put both the variables in two different variables and inside AT END you can concatenate the new variables.

Hope that will help.

Regards

Sumit Agarwal

Read only

0 Likes
556

tried every which way possible.....

but still getting only stars.

pk

Read only

Former Member
0 Likes
556

solved it myself

thanks to sujatha reddy's post in the following thread:

pk

Edited by: prashanth kishan on Jul 11, 2008 9:19 AM