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

selecting Process orders and work orders

Former Member
0 Likes
552

Hi,

My requirement is to list Process Orders and Work Orders based on date started and equipment name.

Associated data for process orders :

date started , process order number and user id of the person who entered phase confirmation.

Associated data for work orders :

date started , work order number, operation center, maintenance history text.

How to select process orders and work orders since they both have same field name AUFNR .Do i need to write separate select statements and different internal tables or is there any table where i can relate these fields.

Any guidance is appreciated and points are rewarded.

thx.

Raghu

1 ACCEPTED SOLUTION
Read only

Pawan_Kesari
Active Contributor
0 Likes
530

Master table is AUFK.

I guess the field on which you can differenciate is AUFK-AUTYP

4 REPLIES 4
Read only

Pawan_Kesari
Active Contributor
0 Likes
531

Master table is AUFK.

I guess the field on which you can differenciate is AUFK-AUTYP

Read only

0 Likes
530

In the where condition if i give AUTYP = 40 , it list process orders.

How to list work orders then? do i need to write two select statements first for work orders without specifying AUTYP and second to list process orders based on AUTYP = 40.

thx.

Raghu

Read only

0 Likes
530

Select records without specifying AUTYP.

Then inside program loop on the internal table in which you stored all the records specifying AUTYP.

Read only

0 Likes
530

Thx Pavan, i wil try that .