Table for STO and Production Order

Hello Experts,
I would like to know in which table I can find a relation between STO and his related Production Order.
Thanks in advance.
Regards
Mayur

Sorry!! I've selected wrong forum.

Similar Messages

  • Table for STO and his production order in manufacturing plant.

    Hello Experts,
    I would like to know in which table I can find a relation between STO and his related Production Order.
    Thanks in advance.
    Regards
    Mayur
    Edited by: mayur kshirsagar on Dec 19, 2007 1:48 PM

    Dear Mayur,
    For Production order related tables check in
    AFKO              Order Header
    AFPO               Order Item Detail
    AFVC               Order Operations Detail
    AFFL                Order Sequence Details
    AFFH               Order PRT Assignment
    AFBP               Order Batch Print Requests
    AFRU               Order Completion Confirmations
    AFFW              Confirmations -- Goods Movements with Errors
    AFRC               Confirmations -- Incorrect Cost Calculations
    AFRD               Confirmations -- Defaults for Collective Confirmation
    AFRH               Confirmations -- Header Info for Confirmation Pool
    AFRV               Confirmation Pool
    AFWI               Confirmations -- Subsequently Posted Goods Movements
    AUFK     Order master data
    AUFM     Goods Movements for Order
    VBAG                           Sales Document: Release Data by Schedule Line in Sch.Agrmt.
    VBAK                           Sales Document: Header Data                               
    VBAP                           Sales Document: Item Data                                 
    VBBE                           Sales Requirements: Individual Records                    
    VBBS                           Sales Requirement Totals Record                           
    are you meaning stock?
    then check in MARD.
    Regards
    Mangal

  • Seggragating Deliveries created for STO and Sales Order

    Hi Friends,
    I have a requirement..
    I am looking for list of deliveries in LIPS table. But I find that this table lists all deliveries created for STOs as well as Sales order. My requirement is to select only those deliveries which are created for Sales orders. Can anybody tell me how to seggragate the deliveries for sales order from deliveries created for STOs? Any other table should I look for deliveries created only for sales order?
    Please suggest.
    Thanks & Regards
    Satya

    Hi Satya,
    If you need table level data then you can go with method suggested by Andy Slania or if you have access to SQVI, you can join VBFA and LIKP tables and decide on your choice of search and list display. You can save the query for future use.
    -Naminator

  • STOs and Productions order are not lined up. Dates are off

    Hi Experts
    I have a production order and STO with different dates. I would expect no gap between Prod order and the STO. I have checked Planned delivery time,GR/GI at both supplying and receiving plant . Everything looks fine. Please Advice

    Ganpath,
    In general, both of those objects are executables.  In most applications, the relationship between the dates of STOs and the dates of Production Orders is not directly determined by the software,  It is only through careful design and execution of the overall process that you achieve dates that line up; assuming, of course, that is your business requirement (not everyone wants dates to line up).
    So, it depends upon how these two objects were created.  Can you please describe how they were created?
    Best Regards,
    DB49

  • Table for batch and proces order

    Hi,
    Can you please tell me is there any table with the 'Batch Number' and 'Process Order' on it?
    Thanks,

    if u want to get the batch number of Process Order FG then u can get it from <b>AFPO</b>.If u want item level then get it from <b>MSEG</b> table.
    Regards
    Prabhu

  • Table for relation between WIP and Production Order

    Dear All,
    Please provide me table having relation between Production Order Number and WIP for it.
    Regards,
    Sachin

    http://www.sap-img.com/
    Free ABAP eBook Download
    SAP MM, SD, FI, PS, PP, PM, HR, System Tables
    Regards,
    Rajesh Banka

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • How BOM and routing is selected for Planned order and Production order?

    Hi,
    Can any1 plz tell me how BOM and routing is selected for a planned order and production order. ?

    Hello Mathisuthan,
    BOM and Routing selection for the planned order and production order through production version, If u have more than one BOM and more than one Routing then u can maintain this information as Production Version in the system.
    Production version you maintained
    MM01/MM02 -- MRP4--- Production version
    Or you can create Production Versions in Mass also with Transaction Code "C223"
    In the case no production version maintained/created  for the material, then system by default  will pick the first BOM and routing.
    I hope this information helpful to you.
    Regards
    Umesh Mali

  • Scheduling Parametrs for the Plant and Production Order Type

    hi SAP Gurus,
    Pls it is very urget
    Pls let me know how to maitain the Scheduling parameters for the combination of Plant and Production Order type.
    Pls provide me the Path also.....
    Points will be rewarded .....
    Ranjit Kumar

    hi Murthy,
    thanks for the solution... Problem resolved.
    Assigned points...
    Ranjit

  • BAPI/FM for Confirmation of Production order at operation level

    Hi ABAPers,
    I am using the 'BAPI_PRODORDCONF_CREATE_ACT'for Confirmation of Production order at operation level.
    I am able to pass the Production order number and Active Operation get the confirmation done.
    But the Confirmed Qty is not being updating in AFKO table.
    The 'BAPI_PRODORDCONF_CREATE_HDR' cannot be used for Confirmation of Production order at operation level as there is no Operation/Activity(Vornr) field in the input table. Hence using this bapi confirmation of Prod order can be only at Order level.
    Can someone know any FM/BAPI which can be used for the Confirmation of Production order at operation level(not order level).
    Thanks in Advance
    Ramesh Babu Cikka

    Hi Ramesh,
    Please use FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'.
    This will work as like as T/Code "CO11".
    I hope this will help you.
    Example :
      CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
        EXPORTING
          POST_WRONG_ENTRIES = '0'
          TESTRUN            = ' '
        IMPORTING
          RETURN             = ZRETURN
        TABLES
          TIMETICKETS        = ZBAPI_PP_TIMETICKET
          DETAIL_RETURN      = ZBAPI_CORU_RETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'W'.
    Lanka

  • Diference between STO and Shipment order?

    Hi All ,
    There are two plants , one is manufacturing and other is sales .  In sales plant sales order is created and after MRP run Purchase requisition is created(for getting materisl from production plant) . In me59 we convert this Preq to shipment order.
    1)Can oyu please tell me whant is diference between STO and shipment order?
    2) Can you tell me what is the configuration to avoid creation of shipment order and system will only create the STO from Preq after executing Me59?
    Thanks
    Rohit Chavan

    Hi Chavan,
    Starting with "Shipmnt Order" definition => (from SAP Help):
       An order to a transportation service provider to ship goods from a shipper to a single consignee with agreed terms and conditions. The corresponding confirmation from the transportation service provider is also part of the business object.
       You can use this business object to subcontract the transportation of goods from a shipper to a single consignee if you cannot fulfill a shipment request yourself or if you regularly subcontract transportation services.
       You can also use this business object in the process of transportation service provider selection and tendering. The aim of both processes is to assign a suitable transportation service provider (TSP) to a shipment order.
    http://help.sap.com/saphelp_tm60/helpdata/en/66/dda98bb6b64c30b925f031bb0a2023/content.htm
    STO is just Stock Transport Order => functionality to move stock from one plant to another plant in two steps( inclidung GI in the sending plant and GR in the receiving plant).
    Usuall documnt flow in the STO process => PO(UB or NB order type), delivery, GI -> GR (done via migo for example).
    I believe that you can avoid cration of the Shipmnt order via correct selection on ME59 screen. Just something what is characteristic for STO and not for Shipmnt Orders.
    Best Regadrs,
    Tomek.

  • Any stanard BAPI have both sales order and production order

    hi Experts,
    i need to Identify any standard BAPI have both sales order and production order. If such BAPI is not available, create 'Z' BAPI to do the same.it's my require ment?plz give me suggestion it's useful for my project. i will give good points.
    thanks and regards,
    bbm

    hi eswar,
    can you give me how to do? and what i can use import,export,table and sourcecode bcz i am new in BAPI side even now i am working in SAP XMII project.
    so plz guide me.
    thanks and regards,
    bbm

  • Planned and production order

    Hi,
    what is meant by planned and production order?
    I have to list planned order,production order and stocks that are cancelled or rejected?
    How to do that?
    ASAP
    thanx,
    sudha

    Hi,
    A planned order is sent to a plant and is an MRP request for the procurement of a particular material at a determined time. It specifies when the inward material movement should be made and the quantity of material that is expected.
    It can be changed or deleted at any time (exceptions: planned orders for direct production and for direct procurement).
    Planned orders are converted into production orders for in-house production and into purchase requisitions for external procurement.
    In contrast to planned orders, production orders and purchase requisitions are fixed receipt elements, which commit to the procurement.
    By means of table,
    Planned order is : PLAF-PLNUM ;
    and Production Order is AFKO-AUFNR .
    You can trace the relationship by using tcode : MD13 ( PlOrder) and MD4C (PrOrder).
    Rgds,
    TS Winedya

  • Find Planned and Production Orders

    Hi all ,
    I have a requirement . If i give the Work center Name i should get already assigned Planned Orders or Open Production Order against that Work center .
    Please let me know . If there is no standard FM then let me know can i retrieve those from any tables .
    I appreciate for any suggestions .
    Regards
    Raj

    Hello Raj
    Please note that your "objective" (Find planned and Production Orders) has little to do with object orientation.
    Function module BAPI_ALM_ORDEROPER_GET_LIST is probably the one you are looking for. You need to feed TABLES parameter IT_RANGES with the appropriate values.
    Please note that the selection parameters have special names that can be found in the structures defined in fm IBAPI_ALM_ORDEROPER_GETLIST:
    * set some local constants:
      constants:
        lc_progname like rsvar-report value 'RIAFVC20',
        lc_par_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_PARAMS',
        lc_par_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_PARAMS',
        lc_sel_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_SELOPS',
        lc_sel_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_SELOPS'.
    Example: If you want to select for a specific work center then I assume the selection parameter is:
    (BAPI_ALM_ORDER_LISTOPER_SELOPS-) OPTIONS_FOR_WORK_CNTR
    Thus, to select for a given work center add the following record to IT_RANGES:
    FIELDNAME = 'OPTIONS_FOR_WORK_CNTR'   " presumably without the DDIC structure name
    SIGN = 'I'
    OPTION = 'EQ'
    LOW = <work center>
    If the selection does not work then just do a little debugging.
    Regards
      Uwe

  • 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,
    Manoj

    Hi 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.

Maybe you are looking for

  • How to clear cenvat clearing account automatically

    Hi all will any one help me in making me understand as to how the cenvat clearing account can be automatically cleared. What exactly i mean is - When we do MIGO, the cenat clearing account is automatcially credited  and RG 23 A is debited.and When we

  • Sales order Creation from Purchase Order

    Hi all , I want to create SO from PO.Is it any bapi to create SO from PO. or other wise i will use to get PO details from this BAPI_PO_GETDETAIL and then create So from this BAPI_SALESORDER_CREATEFROMDAT2.. Iis there any bapi like BAPI_SALESDOCUMENT_

  • Import iview not working??

    Hi all  We have installed  the portal ep 6 sp 17  without  kmc  on linux  everything is working fine  except one iview  that is   import iview      under    system administrator - transport- import   it is giving following error     An exception occu

  • Office for IMac

    I am moving from MS Windows based and going to Apple products and operating systems. I know nothing about Apple or the operating systems yet. I am buying an IMac 27". I assume what I am getting on the IMac is OSX v. 10.9.4. All I have currently - and

  • Apex User Level Security

    Hi, I have configured the APEX 3.2.1 with Oracle 11g. I have following requirement, When user login to the http://localhost:8080/apex page then user should be able to access only "SQL Worksop" and no other feature of APEX. Can anybody tell me how can