Application Development 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: 

ALV Report - Production Scheduling Report

Former Member
0 Kudos

Hello Gurus,

I need to write an ALV report of open production order operations per selection criteria. If the production orders are linked to any sales order, then the result of ALV should also contain the sales order data.

Selection screen should contain -

Plant(required), Production order number(optional), Material number (optional), Work center (optional).

If the system statuses of the production orders are not TECO, CLSD, DV then they are considered as open.

The ALV report should contain the following fields.

SO Number, PO Nbr, Ship-to-address, Material availability date, Req ship date, Last confirmed date, Ship via, Sales order line item, Pro Ord Nr, Plant, Pro ord cre date, Material Nbr, Material desc, Order qty, UOM, Sch Start date, Sche finish date, user status, MRP ctrler, Remaining hrs etc.

Please guide me how to proceed to achieve the required report.

Regards,

B

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

Why can't you proceed with your previous thread,,

call function 'STATUS_TEXT_EDIT'.
 exporting
   objnr     = w_objnr
 .....
importing
   line       = line
.........

if line CS 'TECO' or
  line CS 'CLSD' or
  line CS 'DV'.
" closed orders
else.

"open orders 
endif.

0 Kudos

Vijay,

Iam new to ABAP. Can you briefly tell me the flow I need to follow to achieve the requirement. I mean, what structures I need to define and then how I should proceed further.

Regards,

B