on 05-05-2008 12:38 PM
I want develop a report which gives the list of current operations in a routing (CA02)
I know the flow is MAPL>PLKO>PLAS-PLNKN-->PLPO
But the table PLPO gives a list of all the operations, even if they are deleted and not present in CA02.
The table PLAS has a deletion indicator. If I take all the nodes (PLAS-PLNKN) which do not have a deletion indicator and pass them to PLPO, I see few operations present in PLPO which are not in CA02.
I want to find only those operations which are present in CA02.
What is the procedure for that?
Hi Amit,
Check table S022 - you will get list of operation's for same as CA02
Regards,
Sankaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATUV does not help as all the operations present in PLPO
for a particular material have past dates and it shows all the operations, some of which are not there in CA02.
How can change no. help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi amit,
In your case, you missed out to take field group counter (PLNAL), see below relation for routing table's
Table MAPL, pass input material number, plant, alternative routing group couter
Table PLKO, filed PLNNR, PLNAL eq mapl-plnnr, mapl-plnal
Table PLAS, field PLNNR, PLNAL eq mapl-plnnr, mapl-plnal and LOEKZ ne ' ', take field PLNKN
Table PLPO, field PLNNR, PLNKN eq plas-plnnr, plas-plnkn
you will get correct result same as CA02 list
Regards,
Sankaran
What you have suggested seems to be working, however I have not been able to get the work center or the sub-operation fields displayed would you be able to help?
Also can you explain the last part of the line below , referring to Loekz
Table PLAS, field PLNNR, PLNAL eq mapl-plnnr, mapl-plnal and LOEKZ ne ' ', take field PLNKN
Please note I have opened a thread on this and can award points that way, it is called routing list and is in the abap forum.
Thank you
Hi Amit,
As you have mentioned we can use the tables
TABLES : mapl,
plko,
plpo.
Use the DATUV (Valid-From Date) in the table PLPO... then you can filter the old operation which are not present in CA02
Apart from that change number can be used for the same
Regards
Kaushik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sankaran,
There is no order.
Just want to find out the operations which are present in CA02 for a particular material.
If I can find out that from S022 can u explain in details the fields I should use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.