cancel
Showing results for 
Search instead for 
Did you mean: 

Operations in Routing

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

muthusamy_sankaran
Active Contributor
0 Kudos

Hi Amit,

Check table S022 - you will get list of operation's for same as CA02

Regards,

Sankaran

Answers (3)

Answers (3)

Former Member
0 Kudos

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?

Former Member
0 Kudos

Amit,

The changes in a routing can happen at header level or operation level. To get a valid routing and its valid operations for a key date, you have to use the combination of fields PLNKN (only for PLPO) , ZAEHL, LOEKZ and DATUV in the tables PLKO and PLPO.

Hope this helps.

Regards.

Saravana

muthusamy_sankaran
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

muthusamy_sankaran
Active Contributor
0 Kudos

Hi,

Sorry, typo error

Pls take note the correct statement is LOEKZ ne 'X'

Regards,

Sankaran

kaushik_choudhury2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.