2008 Jan 05 8:26 AM
hi
experts,
i need a help the logic for the lot no.
lot number = ryipav
position 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 6
specimen s e r t y u i o p w a c v x l n
application x x x x x x
for lot no.
the requirment z like this Gurus...
so in the application for lot no were r 'X' i need these fields only
So plz Help me in this Experts
Correct answers will b given full points.
Thanks & Regards
Sunita.
2008 Jan 05 9:18 AM
Try this example
data: a(20).
Data : begin of itab occurs 0,
pos type i,
spe(1),
app(1),
end of itab.
itab-pos = 3.
itab-spe = 'r'.
itab-app ='x'.
append itab.
itab-pos = 5.
itab-spe = 'y'.
itab-app ='x'.
append itab.
itab-pos = 7.
itab-spe = 'i'.
itab-app ='x'.
append itab.
itab-pos = 9.
itab-spe = 'p'.
itab-app ='x'.
append itab.
itab-pos = 11.
itab-spe = 'a'.
itab-app ='x'.
append itab.
itab-pos = 13.
itab-spe = 'v'.
itab-app ='x'.
append itab.
loop at itab.
if itab-app ='x'.
concatenate a itab-spe into a.
endif.
endloop.
write : 'Lot Number =', a.
awrd points if useful
Bhupal
hi
experts,
i need a help the logic for the lot no.
lot number = ryipav
position 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 6
specimen s e r t y u i o p w a c v x l n
application x x x x x x
for lot no.
the requirment z like this Gurus...
so in the application for lot no were r 'X' i need these fields only
So plz Help me in this Experts
Correct answers will b given full points.
Thanks & Regards
Sunita.
2008 Jan 05 8:33 AM
2008 Jan 05 8:41 AM
Hi Chandu,
lot number = ryipav
position 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 6
specimen s e r t y u i o p w a c v x l n
application x x x x x x
for lot no.
here if u see ...
3 r x are in the same line in the same way
5 y x
7 i x
9 p x
11 a x
13 v x
these are in the line .so here i want lot number = ryipav
Hope its clear now.
plz help me with the logic
Thanks & Regards
Sunita.
2008 Jan 05 9:18 AM
Try this example
data: a(20).
Data : begin of itab occurs 0,
pos type i,
spe(1),
app(1),
end of itab.
itab-pos = 3.
itab-spe = 'r'.
itab-app ='x'.
append itab.
itab-pos = 5.
itab-spe = 'y'.
itab-app ='x'.
append itab.
itab-pos = 7.
itab-spe = 'i'.
itab-app ='x'.
append itab.
itab-pos = 9.
itab-spe = 'p'.
itab-app ='x'.
append itab.
itab-pos = 11.
itab-spe = 'a'.
itab-app ='x'.
append itab.
itab-pos = 13.
itab-spe = 'v'.
itab-app ='x'.
append itab.
loop at itab.
if itab-app ='x'.
concatenate a itab-spe into a.
endif.
endloop.
write : 'Lot Number =', a.
awrd points if useful
Bhupal
2008 Jan 05 9:21 AM
Hi bupal
thnx for ur reply .but these fields are not static.
thanks & regards
Sunita.
2008 Jan 05 9:23 AM
2008 Jan 05 9:32 AM
Hi bupal
lot number = ryipav
position 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16............
specimen s e r t y u i o p w a c v x l n
application x x x x x x
for lot no.
here if u see ...
3 r x are in the same line in the same way
5 y x
7 i x
9 p x
11 a x
13 v x
these are in the line .so here i want lot number = ryipav
if u see here these ryipav are not fixed they can b any were .
Hope its clear now.
thanks & regards
Sunita
2008 Jan 05 9:37 AM
what do u mean by 'These Fields are not static'. ?
Are they strings or what?
What will be ur input so that the output u requested?
Please give some clear details.
2008 Jan 05 9:45 AM
hi bupal
i mean that this can be any number or chaecter.
my outpur will be
lot number = ryipav
thnaks
sunita
2008 Jan 05 9:59 AM
Hi,
To generate the lot number ur mentioned below
3 r x
5 y x
7 i x
9 p x
11 a x
13 v x
In this
1.Is always starts from the 3 position of the postion and specimen?
2.Is application starts from 1 position?
Thanks and Regards,
2008 Jan 05 10:00 AM
Come To messenger:
We shall have some discussion over this so that i shall be clear with ur problem
2008 Jan 05 10:05 AM
2008 Jan 05 10:08 AM
Then clarify ur problem.
How do u get the Data like
3 r x
5 y x
7 i x ....
What type of variables are the position , spe.
2008 Jan 05 10:11 AM
2008 Jan 05 10:24 AM
hi bhupal
im online from my yahoo mail. ru online now?
thnx
Sunita.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |