Production Order Statuses - Open production orders
Hello Gurus,
I need to extract all the open production orders whose statuses are not DLV. help me out how I can do this. I dont know from which table I can extract this data.
I know the tables related are -
AUFK prd ord master data
AFKO prd ord header
AFPO prd ord details
But I dont see the status field in any of these tables.
Regards,
B
Vijay,
Can u check if my code is correct.
TABLES : AUFK, JEST.
DATA : BEGIN OF IT OCCURS 0,
AUFNR LIKE AUFK-AUFNR,
AUART LIKE AUFK-AUART,
OBJNR LIKE AUFK-OBJNR,
STAT LIKE JEST-STAT,
LINE TYPE BSVX-STTXT,
END OF IT.
LOOP AT IT.
SELECT AUFNR OBJNR FROM AUFK INTO IT WHERE AUART = 'PP01'.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
CLIENT = SY-MANDT
FLG_USER_STAT = ' '
OBJNR = IT-OBJNR
ONLY_ACTIVE = 'X'
SPRAS = 'E'
BYPASS_BUFFER = ' '
IMPORTING
ANW_STAT_EXISTING =
E_STSMA =
LINE = IT-LINE
USER_LINE =
STONR =
EXCEPTIONS
OBJECT_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF IT-LINE = 'DLV'.
APPEND IT.
ENDIF.
ENDSELECT.
ENDLOOP.
WRITE /: IT-AUFNR.
Regards,
B
Similar Messages
-
FM which get component and order status & return prod. orders
Hi all
does any one know a FM which get component and order status & return prod. orders?
thankssee the transcation COOIS , i think it will be the details required by you
in the selection at component level block
enter the material no(component) , if required plant and storage location and then execute
hope it will solve ur purpose
so u can suggest for this TCode still u need a custom program u can submit these details from your z program
and get the output
table i am not sure see all these tables AUFK,AFKO,AFPO
cheers
s.janagar
Edited by: janagar sundaramoorthy Nadar on Jul 13, 2009 12:18 PM -
Cannot get asscess to order status, does my order go through?
I cannot get asscess to order status, does my order go through?
Please update to version 24.0
Please try to clear cache and cookies:
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us!
Thank you. -
Confirm Production on any open production order
Hello Gurus.
Our company receives material at the end of the production line and they need to report this production in the system. The problem is that at this point, they don't know what Production Order it relates to.
Is there a transaction in SAP that allows you to report production and then apply this to any open production order that currently exists? For instance, apply it to the first open production order in the system.
Somewhere where all the user would need to type is the material and quantity. The production order would be selected automatically.
Thanks!Thanks for your replies.
Regarding REM, I know how to set it up; however, we need to have Production Orders in place in order to drive the requirements of components.
With REM, how would you know which components you need to purchase? Would you need to then use Re-order point planning or fixed forecasts in order to purchase them in time?
It would be great if it was possible to use REM to receive the assemblies on stock, but instead of getting the results in a Product Cost collector, you would reduce open production orders. Though I understand this may not be standard functionality. -
Open Purchase Orders and Open Sales Orders
Hi,
Please let me know the table names for open purchase orders and sales orders.
Regards,
PriiHI Priti,
EKPO-ELIKZ "Delivery completed" indicator, This tell if the given PO line items has any open quantity or not.
Logic to find out if a given PO has Open Quantity or not is do the following:
" select the PO Qunatity.
SELECT SINGLE MENGE FROM EKPO INTO PO_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP.
" select the GR qunatity which has been received.
SELECT SUM( MENGE ) FROM EKBE INTO GR_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP AND
BWART = '101'.
" select GR Quantity which has been reversed.
SELECT SUM( MENGE ) FROM EKBE INTO GR_REV_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP AND
BWART = '102'.
POSTED_QTY = GR_QTY - GR_REV_QTY .
OPEN_QTY = PO_QTY - POSTED_QTY.
Regards,
-Venkat. -
Hi Experts,
Due to some other reasons we tried clear GR/IR clearing a/c. i will explain clearly.
We have some purchase orders pertaining to 2006 year. we have not done MIGO and we did MIRO, So that we could not able to clear GR/IR A/C. SO, we have posted manual entry with fb50 same as MIGO posting then we cleared both documents with f-03 its done every thing was fine now But if we see purchase order report status showing OPEN
How to change the status please some one let me know.this is high priority issue.
Regards,
JCHi,
First make sure that you will not receive goods against your PO..Then go to me22n and delete the item in your PO.
This will resolve your issue.
Thanks,
Srinu -
Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
I need the logic for OPEN PRODUCTION ORDERS.
The status of the production orders are maintained in JEST Table .
I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV' status wil not be maintained at all at that time.
I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
Thanksfor this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
Import parameters Value
CLIENT 100
FLG_USER_STAT
OBJNR QM000200000010
ONLY_ACTIVE X
SPRAS EN
BYPASS_BUFFER
Export parameters Value
ANW_STAT_EXISTING
E_STSMA
LINE OSNO NOTE "this is the status text
USER_LINE
STONR 00
if line CS 'DELV'
"ignore the Order
endif. -
Open planned orders and production orders
Hi friends,
I have one issue with my client.
Client has 1 lac materials in sap .Now he wants extract all materials open planned orders and open production orders with quantity and dates.
Please tell me the process how i can extract the data from sap for above requirement.
Thanks,
ManojHi Manoj,
For open planned order and production order select the respective box.
But one suggestion. Try to convince client that this report will take a lot of time as you have mentioned 1 lac materials are there.
You can exclude system status and get it with below screen as mentioned already.
But my suggestion is to run the report at night when the system load is very less. Please create a background job one for planned order and another for production order. Then run it in midnight as per the customer requirement in background. You can automate the process by sending automatic mail to customer. Please refer the below link to trigger mail.
Mail Trigger with TEXT file via JOB run
Regards,
Krishnendu. -
Open PIR quantity, unconverted Pld orders and open Prod/ STO orders
Dear all,
How to deal with open PIR quantity, unconverted planned orders and open production/ STO orders in the next MRP run? Do we need to delete/ reduce them manually?
Thanks and Regards,
RaghuHi Shiva,
Thanks for your immediate response. I have still some confusion.
Last month, I have material A with Production order quantity of 30000.
'A' has a component 'B' which is an in-house produced material. Three planned orders each of 10000 were generated for B. Of these two planned orders were converted to production orders. One is still in planned order form.
This month I am not going to use this planned order of B. I get new requirement for A. So during MRP run I get the planned orders for B also.
For the last month requirement, as I have not converted one planned order of B to prod order, there will an open quantity of A prod order in this plant and open STO quantity in another plant. Again the PIR will also be not reduced to the same extent. If I reduce the PIR manually or through some reorganization, what about the open quantity of prod order and STO
I think I can TECO the prod order of A. Is there any such thing for STO also?
Thanks and Regards,
Raghu -
Planned order status details in rem
Hai gurus,
In discrete manufacturing after confirming the respective production order we can go to T.C co02 and give
the respective production order number to view the status and from that we can know the operation details
and status in the routing.
Like wise after doing MFBF for a fert using the planned order say (x), suppose if i want to know the status
and details of the routings in the confirmed pld order (x) , how can i get the information.
regards,
sekar chand.Dear sekar chand,
In standard SAP in REM scenario,there's no concept like planned order status,but if you have carried
out confirmations using planned order in MFBF,then you can get that list alone in T Code MF12.
Also in MF12 you can get the list of documents where you have carried out a normal backflush, or
activity backflush etc.
Still order status for planned orders can be brought into SAP ,but lots of developments has to be made.
Regards
Mangalraj.S -
Open purchase orders and sales orders
Hi,
How to handle old open purchase orders and open sales orders after implementing SABRIX for tax calculation??The answer is to update all the open orders with a tax code which will call the external tax engine!
-
Sales order status to show as Complete only after PGI
Hello
I have one requirement. Now currently in sales order status of the order is showing complete once the item being delivered.
But our requirement is that, the status of the order should be shown complete only when PGI is done not after delivery.
I would like to know if any exit or any other program will help us in finding this solution
Thanks in advance
NaveenDear Naveen,
Sales order status depend on Item Category completion rule, please check on VOV7 for your sales order item category. In standard SAP, below rule can we define with item category:
Not relevant for completion
A
Item is completed with the first reference
B
Item is completed after full quantity has been referenced
C
Item is completed after the target qty is fully referenced
D
Item is referenced via contract release
E
Item is completed after full target value is referenced
Hope it will helpful for you.
Regards,
Shatrughan Singh -
Open production orders and outbound delivery after go-live
Hello All,
I tried to search answer for this question but could not find answer.
Could anybody suggest, what to do with open production orders and outbound delivery after go-live when WM is activated. As, after go-live WM-PP interface will be activated and system should consume material from storage bin specified in control cycle and that will happen for newly created production order after go-live,but what about existing production orders how to update production supply area against work center in production order.
Similarly with outbound delivery how to update WM status after go-live.
Thanks in advanceThanks to both Jurgen and Sander
Regarding production order yes, one way is to re-read PP master data in production orders, but is that the only way to handle this or do we have any other option?
I was aware of re-read PP master data but it will real time consuming and also if it will problematic for already released or partially confirmed production orders. -
Pick List and Open Production Order
Our WMS clerk confused about open Production Order and Pick up due list for the Production Order.We want to check the list of open production order and what are the materials due for picking up the open production order Please suggest us the best way you are doing for your Production Order.
ThanksNick,
Co27 will give only open orders and materials to be picked.
Open production orders mean - orders which are not teco/closed/deleted.
All the materials will appear in the list which have a status - FInal issue not ticked.
You can slos use coois
with list = components
profile = picking profile.
here we have more options.
please come back if required. -
Hi Experts,
we develop customize report, we need list of open production order details, we know table's to get consolidate list
Ques is there any function module to get list of open production order details or any other simple way?
Regards,
SankaranHi,
How do you want to see your Open Production Orders?
what parameters you want to consider?
is this all th Orders with PCNF and PDLV but TECO and DLV not inculded some thing like that??
Follow the procedure..
In BS42, You copy one existing Profile with some "Zxxx" and Copy all.
in the Selection Conditions define as below:
PCNF
or PDLV
TECO Not (Check box active)
and DLV Not (Check box active)
and CLSD Not (Check box active)
or you can have diffrent statuses as per your requirement.
Then it is done..
Use this Profile in COOIS in "Selection Profile Status".
Hope this helps..
Regards,
Siva
Hi Sankaran,
I have missed the Statuses CRTD and REL to be included in the profile.
Any way you can add these as well.
Revert for further discuusion..
Reg.
Siva
Edited by: Siva Kumar M on May 7, 2008 2:13 PM
Maybe you are looking for
-
How do i add a header in word with my name with page numbers
ehdha'da
-
Firefox will not display videos since Yosemite migration
Good day! I run an early 2011 15" MacBook Pro, 2,2 GHz Intel Core i7 with 4g 1333 MHz DDR3 Memory, and an Intel HD Graphics 3000 with 384 Mo. Firefox is 34.0.5. Since I migrated to Yosemite (10.10.1), the browser I use (Firefox) will not display the
-
Vendor Payment Tracking Based on PO
Dear All, How to Track a PO Net Price for Payments, how much amount paid for all vendors . like: Balance Amt PO = Total Value of PO - Paid Amt in PO. Thank to all, Vijay.G
-
How to call MSC2N in QA11 transacion before saving the data of QA11
I need to call MSC2N in the QA11 transaction because i want the Next inspection date for the particular material, plant, and batch. but while iam in QA11 the batch is locked so it will not allow me to go to MSC2N. So to see Next inspection date i ha
-
I updated java to 7 up 45 (in error, this version of java does not work with vpn and according to apple, I can't go back to earlier version). The applet plugin does not show in my add ons. I am not running 32 bit. I have read and tried every article