SAP Code to Return Production Order List for a Given Work Center

We are looking for native SAP code (BAPI, BADI, FM, ...) that would take a work center value as a parameter and then return all the production orders that have been assigned to that work center.
We are running 4.7 and do not have access to BAPI's BAPI_PRODORD_GET_LIST or BAPI_PRODORD_GET_DETAIL.
I believe we could write our own BAPI for this but was hoping that SAP had something natively embedded that we just can't find at this point.
Thanks in advance for any information you might share!!!
Chad

Thanks, Srini
This was very helpful.
We're looking for an SAP object that we can interface into xMII.  So the logic in this report is useful but a BAPI, BADI, or RFC would be ideal.
Thanks again,
Chad

Similar Messages

  • ABAP Code to get Production Order Quantity for a material-Status REL,CRTD

    hi all,
    I am new to SAP. I am stuck with a problem while writing a abap code for getting all the production order quantities for a material with System Status REL and CRTD. Please help me out. This is what i tried to do.
      IF t_mat[] IS NOT INITIAL.
        t_mat2[] = t_mat[].
        SORT t_mat2 BY matnr.
        DELETE ADJACENT DUPLICATES FROM t_mat2 COMPARING matnr werks.
        SELECT auaufnr afgamng af~plnbez INTO CORRESPONDING FIELDS OF
        TABLE t_ord1 FROM afko AS af INNER JOIN  aufk AS au ON
          afaufnr = auaufnr
        FOR ALL ENTRIES IN t_mat2
        WHERE af~plnbez = t_mat2-matnr
        AND   au~werks  = t_mat2-werks
        AND   af~gltrs IN s_gltrs
        AND   af~gstri IN s_gstri
        AND   au~phas0 IN s_phas0
        AND   au~phas1 IN s_phas1.
      ENDIF.
    Thanks. Regards.
    Sandeep

    Hi
    There is one std tcode COOIS where u can get the information what u have asked
    Pls check
    regards
    Vijay

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • The definitive field order list for all formats

    WANTED: The definitive field order list for all formats, NTSC and PAL.
    I have seen several such lists, but are they trustworthy?
    This one http://www.dvxuser.com/V6/showthread.php?t=125817 looks promising, but, for instance, how can HDTV 1080/24p have a field order of upper field first? - Isn't "p" without any fields?
    Anyway, if someone has seen such a definitive list, preferrably from some "official" source, please share.
    Thanks 

    Hi kalione,
    We’re always looking for ways to make browsing BestBuy.com easier. With the recent merger of the My Best Buy website into the main BestBuy.com page, it sounds like there may have been some changes to how you can view upcoming games! My apologies if there has been an added element of difficulty here.
    The method that zztoluca has explained is actually how I generally check for pre-orders we have listed, as I like looking at them by individual platform. If you start at the main “PRODUCTS” tab at the top of the main site, choose “Video Games, Movies, & Music” and then choose the console of your choice. Once there, there should be an option on the left under the “Games” section for browsing by Pre-orders. Here is an example of pre-orders listed for Xbox One.
    I hope this helps! Keep an eye on BestBuy.com as it’s constantly changing and evolving.
    Cheers,
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Block Production Order Creation for Particular Order Type

    Hi Experts,
    I want to disable the production order creation for a particular order type XX01 however there are some existing orders for this order type which should be processed further.
    In other words my objective is to -
    1. Block new Production order XX01 creation -
    2. Processing of order type XX01 should be possible.
    Is there standard setting available to achieve this or user exist is the only option..
    Regards,

    Hi
    You can use the user exit PPCO0006 and its function mdoule EXIT_SAPLCOZF_003 to archive that. That function module is called when the user click enter after inputting the material/plant/order type in CO01 then you just need to check the imported value CAUFVD_IMP-AUART which contains the inputted order type then rasise an error message to tell user that the order type cannot be used due to certain reason. The source code need to be written there is very simple.
    Regards.
    Leon.

  • Where do we find open return sales order list

    HI gurus
    where do we find open return sales order list whihc have not yet been issued to credit note. and where do we find

    hello, friend.
    use VA05.  you can specify the document type by clicking on 'further selection criteria' on the initial screen.  you can further click 'open orders'.
    when the sales returns is displayed in the following screen, look for the status column.  if the entry is 'A', then no inbound delivery has been done yet (but you could not say if credit memo has been issued or not).  if the entry is 'B', inbound delivery has been done but not the credit memo.  if the entry is 'C', both inbound delivery and credit note have been done.
    regards.

  • How to Find Out The Production Order Number For The Sales Order Line Items

    Hi All,
    I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.

    I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK.  or in table AFPO.
    Regards,
    Rich HEilman

  • Production order %00000000001 for schedule line in Sales order

    Hello Experts,
    We have an issue with the production order whih is created from SO
    There is a sales order and have production order for CTO parts. But the Production order is deleted before confirming. Now when we check in the sales order in schedule lins we are getting as "Production order %00000000001 for schedule line" 00010/0001 can no longer be changed.
    Could any one provided the valuable imputs for what resasons this weeor appears
    Thanks in advance...
    Regards
    Madan

    Hello Vivke,
    Please find teh delatis of the issue
    We have an SO created for the CTO parts and to corrsponding to that generally a production order will be created, But in one of the case for SO the production order is showing as %000000001 in the schedule lines in the SO apart normal number ranges for Production orders.
    Now we need to know in what case the production order appears as %000000001 in the schdule lines, are we missing any thing in order to create production orders?
    Note: Initially there was production order is created correctly when scheduled lines are confirmed, but it is deleted for some reasons and again when the schedule lines are confirming we are facing this issue
    Could you please provide any suggestion on this
    Thanks
    Madan

  • Transaction from production order always post into dummy profit center

    Dear SAP experts,
    I have problem with profit center.
    I have material master "A1" and "A1B1". The process is "A1" is raw material for making "A1B1".
    The CO team forgot to entry the profit center field in both of material in their material master.
    So when there are posting " material consumed " and "good receipt" in production order,PL account "material consumed" (happen when good issue to production order) and PL account "production output" (happen when good receipt from same production order) are mapping to dummy profit center.
    This because of the CO team forgot to entry the profit center field in both of material in their material master, so ssystem post to dummy profit center.
    So I change both of the material masters and entry the profit center field (so it's not blank).
    But when the PP team make new production order and post the same transaction, it still post into dummy profit center (the profit center that I entry in material master is not read by system).
    Even when the PP team create new material with the same spesification,entry the profit center field and run the same transaction, the dummy still posted by system.
    How to solve this problem?
    Kindly help me please.
    regards

    Hi Anu
    After maintaining the PC in the mat master, create a new Prod order w/o copying from the Old Prod Order...
    Once you maintain PC in A1B1 - It should update the Prod Order of A1B1 as well
    br, Ajay M

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

  • Error when changing a Company Code for a given Cost Center

    Hello Friends ,
                             I'm trying to modify a company code value for a given cost center in KS02 and I get the below error. The error message receommends to change the analysis period ( not sure what it is..) but when I click edit > Analysis period from tool bar I  still get the below message , is there way to get over come this issue ?
    Thanks in advance ,
    Field change Company Code is not possible (transaction data already exists)
    Message no. KS134
    Diagnosis
    To ensure the consistency of existing data, you can only change object Company Code if no transaction data exists in the change period; that is, neither plan data nor actual data has been posted.
    As transaction data already exists, it is not possible to change objects in this time period.
    Procedure
    If you still want to change the object, select a suitable change interval by choosing "Edit -> Analysis period...".

    Thank you Vishal . I have 3 cost centers with 2 having validity period ( from 01/01/1950 to 12/31/9999) and third one had 2 records 12/30/2004 to 12/26/2009 and 12/27/2009 to 12/31/9999 ) for the third one it did allow to change the validty period and I could change the comapny code for my profit center . But for first 2 somehow it doesnt allow to change the validity periods. And when I run some reports against these 2 cost centers to see if there is any activity I dont see any data .
    Could you please give your ideas ?
    Thanks alot .

  • Fields for Super BOM, Work Center & Super Routing for Variant Config

    hi! gurus,
    Please can you give me mandatory fields & values for Super BOM, Work Center & Super Routing for Variant Config
    thank you

    Hi,
    In the Super BOM you need to maintain the object dependencies.
    Workcenter fields are as usual for other production processes.
    Also you can use search option in the forum to view the threads posted in the past. There are many posts related to variant configuration.
    Regards,
    Senthilkumar

  • Report for Production order list

    Dear all,
    I need your help..
    we have two plants in which we divided total qty of customer order for production
    now i want a list in which i got the details like which sale order and how much qty we punched in plant one and plant 2
    to compare total valve produced for customer
    how to find such kind of report..?
    which t code is helpfull.
    Neha

    If you're working with a MTO stg. (eg: 20), then the sales order details will be linked to the production order & you can then use COOIS report by specifying the sales order nos.
    But if you're working in a MTS environment, then there will not be a specific link between the Production order & the sales order, so if you have maintained the SO nos. in some field, then you will have to execute the COOIS report & then use the filter option on the field where you've maintained the SO nos.

  • Transaction code to view process orders set for deletion

    Hi PP Gurus
    We are trying to search for transaction code to view the process orders which have status as DLFL i.e deletion flag  set for the orders. In cooispi, the deleted orders are not shown in the report output.
    I request you to let me know if there is any other code through which we can view deleted process orders.
    Thanks & Regards
    Harleen Kaur

    Dear,
    In COOISPI  put DLT in system status field and execute the report this will give you the list of all order with deletion flags
    Also refer this thread,
    COOIS Report for Production orders with status DLFL
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on May 6, 2009 11:16 AM

  • Unique serial number during production order release for FG materials

    Hi,
    Actually our client is asking for serial number generation for each FG material during its production order release.
    So that with this serial number he can track it in shop floor plus after dispatching to customer.
    Here the scenario is Make To Order, this serial number will also be considered by SD during dispatch.
    For serial number creation, I referred documents from SAP best practices(help.sap.com).
    After this, now I am able to create serial number for specific material automatically.
    Currently I am getting serial number with respect to material specific, i.e., serial number generating with respect to FG codes. Ex:- FG1 - 1, 2, 3, 4 and FG2 - 1, 2, 3, 4.
    But as per my client requirement, they want serial number without material specific, i.e., common serial number for all FG codes.
    Ex:- Sr No- 1-FG1, 2-FG1, 3-FG2, 4-FG1 - - - - according to production order releasing sequence.
    Plz inform if any settings are to be made.
    Thank you in advance.

    Hi Arman,
    I Had got solution for how to track which FG is linked to which SFG sr no, just go through the below link it also gives how to use COIB transaction.
    COIB transaction usage, how to track which FG is linked to which SFG sr no
    But still I had not got solution for
    how to assign common serial number for all FG codes automatically
    Ex:- Sr No- 1 -> FG1,
    2 -> FG1,
    3 -> FG2,
    4 -> FG1
    - - - - according to production order releasing sequence.
    Whether is it automatic serial number assignment is possible or not.
    Plz inform if any settings are to be made.
    Thank you in advance.

Maybe you are looking for

  • SAP WS and OSB gateway

    Hi We try to interface OSB (Oracle) with SAP ECC6 EHP6, the flow is concerning the Stock Mvts What is the capacity of SAP Web Services to process data (Stock Mvt) in term of SLA?  For your information: We have about 20000 Flow (Stock Mvt) per day and

  • Customizing screens

    Dear All, I have a problem with customization of the screen. I tried to make an confirmation with material movements and on the screen of material I need to know the description of material. But, to see this information I must to use the ruler bar be

  • File to JMS sceanrio

    Experts,    I am working on a scenario in which have to send a txt file as an attachment to the mail box. XI will pick up teh file from a location and send to the mail box as an attachment to the concerned recipients. 1) Do I need to design any data

  • MSS Status overview displays empty screen

    Hi We are configring the MSS PCR under the Team workset. Under PCR when the option for Status Overview for Personnel Change Requests  are clicked, I get an empty screen. Is there any additional configurations required? We are using EP7.0, ECC6.0 (nw2

  • JAVA !! I've un/re-installed, updated- done everything and even though my MAC says it's installed, it still won't run.  This is a recurring problem, I wanna scream!!

    Why won't JAVA run even after uninstalling, reinstalling, and my MAC says the latest version is installed. What is the blasted problem?? Thank u