BAPI for closing process orders

Dear Gurus ,
I use Transaction CO02 and i go to the final delivery checkbox to check it .
Can i use a BAPI ?
I tried the  BAPI_PROCORD_CLOSE in se37 and i got the following messages :
                                                                                E KO                   115 Balance of ORD 39078000 is not zero                                         
E CO                   440 Inspection lot 020000066415 for order 39078000 has not yet been completed   
W CO                   437 Order 39078000 is partially confirmed                                       
W CO                   438 Order 39078000 is partially delivered                                       
Can you help me .....?

Hi Dimath,
These are not any error messages related to BAPIs or any technical things. I guess these error messages are raised because of incomplete data i.e., the data you have entered in the screen/BAPI is not sufficient enough to close your Order. Try to check on the BALANCE (which i think is a cost related issue) of the Order. I'm not into FI so couldn't exactly give the reason to you. But I hope this should be some help for you.
Regards,
Anil.

Similar Messages

  • Reopening Closed Process Orders

    Hi
    I know that you can use CORM or other tcodes to do a Mass Close of process orders. My question is,  is there a way to do a Mass Re Open of closed process order tcode in SAP?
    thanks
    dave

    Hello Dave,
    I assume this question should have been addressed to the ERP Manufacturing (PP) forum:
    SAP ERP Manufacturing - Production Planning (SAP PP)
    Please note that the current forum is for SAP Manufacturing Execution (ME) application.
    Regards,
    Alex.

  • BAPI for returns Sales Order

    Hi,
    I have a BAPI for sales order creation.
    Can I use the same BAPI for returns process of sales order  and how because it asks for some business object(BUS2032 or something like that) when the file we are using having document type as RE(Returns)
    If the business object is required then how can we find that or get it ?
    Please suggest ASAP
    Regards,
    manOO

    We can find the business objects in the transaction sw01.
    Path : - sw01 -> Business object repository -> all object types.
    Then you need to select the object that you need to create.
    For example if you need to create a debit memo request.
    path : -  Sales and Distribution ->  Sales -> Debit memo request . Here you can find that ur business object is BUS2096.
    You can double click on it and you can check if there are any methods avaiable.
    As per the conversation above the ur object is BUS2102.
    Please note that BAPI_CUSTOMERRETURN_CREATE is not released by sap as of 4.7.
    So, we actually need to use BAPI_SALESDOCU_CREATEFROMDATA which is also not released but supported by SAP.
    Please refer to the OSS note 93091.

  • Report for open process orders

    Dear SAP experts,
    As the period of the process order from open to close is not short, will take 1 or 2 months in our business case, so we want to find a report which can get the information just like the output of KSPP(for planned orders) .
    I tried to analysis the logic of program KSPP, and it seems the function modules based on the planned orders only.
    Is there any way to get the similar report for open process orders?
    Many Thanks,
    Lisa Yao

    Is there any clues?

  • BOM Explosion for Multiple Process Orders

    Hi,
    I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
    Thanks

    Dear Sukendar,
    1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
    this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
    In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or 
    CSEP_MAT_BOM_READ  or CS_BOM_EXPLOSION   or CS_BOM_EXPL_MAT_V2 .
    2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
    shows you the level by level by BOM for a FERT.
    Check and revert back.
    Regards
    Mangalraj.S

  • BAPI for Open production orders

    Hi All,
    Any BAPI for open production orders?.... Using BAPI i want to upload open production orders informatiomations.... Please help
    Thanks & Regards
    Santhosh

    Hi,
       Please check the following BAPI,
    Goto BAPI tcode, select hierarchical tab
      Production orders,ProductionOrder ,ProdOrdConfirmation , RCVPRORDCF and check the BAPIs

  • Target Vs Acual Cost Comparison for multiple process orders

    Dear SAPians,
    I want to take a report for target vs actual cost for all process orders and product cost collectors created in a particular period. I have checked the standard report KKBC_ORD that serve my purpose but for a single order. I want the same report for multiple process orders and product cost collectors.
    Is there any standard report or should I create a report painter report. I have tried to create a report painter report based on library 7KO, but target cost was not showing for selected order.
    Kindly suggest.
    Shirazi

    Target Costs are available in library 601 for internal orders (and can be used for process/production orders).
    Regards,
    Adrian

  • BAPI for Mass Purchase Order Confirmation

    Dear All,
    In standard SAP,it is possible to confirm for single line item only by using confirmation tab.
    We want to confirm Mass PO Confirmation.
    Is there any BAPI for Mass Purchase Order Confirmation?
    Regards,
    Ramesh

    Hi Sumant,
    I have tried with TC:MASS.
    By using this TC we can update quantity but not  delivery date & Confirmation Control (Fields available in the confirmation tab of ME22n for Vendor Confirmation).
    Is there any way to updates all these fields which are available in the Confirmation Tab?
    Is there any BAPI which is tranferring confirmation tab details into EKES table?
    Expecting your valuable inputs in this regard.
    Regards,
    Ramesh

  • Process instructions for particular process order.

    Hi SAP gurus,
    How can I find table level data of process instructions (Like READ 1 , READ2 , INSTR ) maintain  for particular process order.
    If should not with respect to recipe but it should be respect to process order.
    Can any Plz buddy explain me the chain of  tables starting  from order number?
    Best Regards,
    Parag Save

    Hi...
    i could not find the table for the relationship u r looking for... but i would suggest the following...
    Go to SE16.. press F4 in the table list...go to the application help... their you will find tables for each module... even for PP you will find table specific to process industry... this you can search ur own what can be relevant for ur requirement... finally u can use SAP query to join some table to the get the information u want....
    Try this...hopw it should work for u...
    Neeraj

  • BAPI for return sales order

    Hi,
    what BAPI that can be used for Return Sales Order? BAPI SALES_ORDER_CREATEFROMDAT2 cant work, I get return message as error : 'Unpermitted combination of business object BUS2032 and sales document type category H'.
    thanks alots.
    Alia

    Hi Alia,
    Go to transaction BAPI, and in the tree go to :
    Sales and Distribution -> Sales -> SalesOrder
    You will have a list of all the BAPI for the Sales Order. If you want a list of Sales Order, maybe you need the GetList BAPI : BAPI_SALESORDER_GETLIST
    Rgd
    Frédéric

  • BAPI for meter reading order (MRO) Reversal

    Hi Experts,
    Please let me know if there is any FM or BAPI for meter reading order reversal, Similar to EL37
    Regards
    Bikas

    Hello Bikas,
    Though this is an old post, thought of replying for the sake of googlers who might look for a solution for your query...the below code works!
    *---Begin Of Code
      TYPES : BEGIN OF ty_meter_orders_data,
               anlage   TYPE eablg-anlage,
               adatsoll TYPE eablg-adatsoll,
               ablesgr  TYPE eablg-ablesgr,
              END OF ty_meter_orders_data.
      DATA : lt_meter_orders_data TYPE STANDARD TABLE OF ty_meter_orders_data,
                  xy_ieabl_delete   TYPE  eabl_tab,
                  xy_ieablg_delete  TYPE  eablg_tab,
                  xy_ietrg_delete   TYPE  etrg_tab,
                  x_anlage type anlage,
                  x_retro_upd_date type adatsoll,
                  y_return type char1.
      DATA : y_obj TYPE  isu17_meterread.
    *--Get the needed data for reversal
      SELECT a~anlage
             a~adatsoll
             a~ablesgr
        FROM eablg AS a
        INNER JOIN eabl AS b ON a~ablbelnr = b~ablbelnr
        INTO TABLE lt_meter_orders_data
        WHERE a~anlage = x_anlage AND
              a~adatsoll >= x_retro_upd_date AND
              b~ablstat = '0'. "MR Order
      IF sy-subrc = 0.
        SORT lt_meter_orders_data BY anlage ablesgr adatsoll.
        DELETE ADJACENT DUPLICATES FROM lt_meter_orders_data COMPARING anlage ablesgr adatsoll.
        SORT lt_meter_orders_data BY adatsoll DESCENDING.
        LOOP AT lt_meter_orders_data ASSIGNING FIELD-SYMBOL(<fs_meter_orders_data>).
          CALL FUNCTION 'ISU_O_METERREAD_OPEN'
            EXPORTING
              x_anlage              = <fs_meter_orders_data>-anlage
              x_adatsoll            = <fs_meter_orders_data>-adatsoll
              x_ablesgr             = <fs_meter_orders_data>-ablesgr
              x_select2             = '5'
              x_wmode               = '6'
            IMPORTING
              y_obj                 = y_obj
            EXCEPTIONS
              not_found             = 1
              foreign_lock          = 2
              internal_error        = 3
              input_error           = 4
              existing              = 5
              number_error          = 6
              general_fault         = 7
              system_error          = 8
              manual_abort          = 9
              gasdat_not_found      = 10
              no_mrrel_registers    = 11
              internal_warning      = 12
              not_authorized        = 13
              not_qualified         = 14
              anpstorno_not_allowed = 15
              already_billed        = 16
              dev_already_prep      = 17
              OTHERS                = 18.
          IF sy-subrc = 0.
            CALL FUNCTION 'ISU_O_METERREAD_ACTION'
              EXPORTING
                x_okcode             = 'PSAV'
              CHANGING
                xy_obj               = y_obj
              EXCEPTIONS
                cancelled            = 1
                failed               = 2
                action_not_supported = 3
                system_error         = 4
                input_error          = 5
                not_customized       = 6
                OTHERS               = 7.
            IF sy-subrc = 0.
              CALL FUNCTION 'ISU_O_METERREAD_ACTION'
                EXPORTING
                  x_okcode             = 'SAVE'
                TABLES
                  yt_eabl_delete       = xy_ieabl_delete[]
                  yt_eablg_delete      = xy_ieablg_delete[]
                  yt_etrg_delete       = xy_ietrg_delete[]
                CHANGING
                  xy_obj               = y_obj
                EXCEPTIONS
                  cancelled            = 1
                   failed               = 2
                  action_not_supported = 3
                  system_error         = 4
                  input_error          = 5
                  not_customized       = 6
                  OTHERS               = 7.
              IF sy-subrc = 0.
                COMMIT WORK.
              ENDIF.
            ENDIF.
            CALL FUNCTION 'ISU_O_METERREAD_CLOSE'
              CHANGING
                xy_obj = y_obj.
    * Implement suitable error handling here
          ELSE.
            y_return = 'E'.
          ENDIF.
        ENDLOOP.
        IF y_return <> 'E'.
          y_return = 'S'.
        ENDIF.
      ELSE
    *    RAISE no_mtr_read_ordrs_found.
      ENDIF.
    *---End of Code
    Thanks.
    Mohammed.

  • Inspection type 04 should not generate Insp.lot for specific Process orders

    Hi Guyes,
    I Want to skip the Inspection lots generation for specific process orders of a particular material during Goods Reciept and stock should be directly posting in to Un-restricted stock.
    In the material master assigned with Inspection type 04.
    Please advise me the possible options to map this scenario.
    regads,
    Rao

    In  QDR1
    stage 10-click on insp stage
    stage 10
    no. of insp : 5
    new insp stage : 20
    rej : 1
    new insp stage : 10
    stage 20 - tick on skip
    stage 20
    no. of skip : say "5"
    new insp stage : 10
    rej : 1
    new insp stage : 10
    Now use this DMR in Header of inspection plan of material of process order.
    what this will do is after 5 inspections it will skip the next 5 inspection lots.
    Make sure :
    You can maintain setting for "maximum skip duration in plant level.
    In QM view click on Skip & auto UD
    Create variant in QA16 & run through QA17
    Here in QA17 maintain the duration after which you want to take UD
    Also make sure that in selected set maintain stock posting proposal for unrestricted.

  • Tcode to view fico related postings for one process order

    Hi Experts,
    Is there any trasaction code which can be used to view all related posting into FICO for one process order
    Thanks in advance.
    Narayanan
    Moderator: Please, search SDN

    Hi,
    Check In KoB1 T.code, Give Order Number and Date Range.
    Thanks
    Goutam

  • Single time receiving material from stores for diff process order.

    Dear all,
    I am creating 5 different process order for 5 different FG material.
    But for all 5 fg material one bill of material is common to all.
    While receiving material from stores that particular bom i need to get single time only from stores for all five process order.
    Kindly please let me know how to process.
    Regards
    Rajasekaran

    Hi Raja,
    As replied to your earlier threads, unique reseration is created against each process order. Accordingly issue also takes place againt unique reservation/process order. Use MB1A/MIGO for individual issue or pick list COIK where issue an be done by stores for all process orders in on go.
    In SAP Mill Products once DIMP is activated there is combination order functionallity available where if operations/ BOM of 5 orders are same then combination order (New order) can be created by combining the qty of 5 individual orders. Here Goods issue is done against the new combined order which is single order for total 5 orders qty. This functionality i used in Discrete Maufacturing.
    Have a look.
    Combined Production Order Processing (DIMP)
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/7c/ea814440ce11d385c70000e8200b4c/content.htm
    Thanks & Regards,
    Ramagiri

  • BAPI for converting planned order to Production Order(in PP)?

    Hi all,
            Is there any standard BAPI for converting Planned order to Production Order?
    Thanks in advance,
    anjaly

    hi,
    check this..
    BAPI_PRODORD_CREATE_FROM_PLORD BAPI: Convert Planned Order into Production Order
    for more details check this link..
    Create a production order
    <b>reward points if it is helpful..</b>

Maybe you are looking for