Production order update CLOI_CHANGES_UPL_31

Hello,
I want to update production order. I tried to use the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/1a/0e369d539911d1898b0000e8322d00/frameset.htm">Production Optimization Interface (POI)</a>
First question : It seems to me that the Idocs can not be used to import data to SAP. Can you please confirm this point.
Second question : I tested the module function <b>CLOI_CHANGES_UPL_31 </b>and was successfull in modifying the quantity in production order header but I could not change the finish date. Is it normal ?
Thanks in advance for your help

check the SUCC_CODE - suceess code field, is it configured properly?

Similar Messages

  • Function module for Production order update (Table AFKO)

    Hello All,
    I know similar subject has been posted but please read the following.
    SAP 4.6c doesn't provide BAPI for production order update.
    We did develop an ABAP program that update production order and schedule it in a job.
    We are looking of avoiding direct update in table AFKO which our program do right now.
    We looked (with SE37) at either BAPI or FM to pass parameters to a functioin that would perform that update and ensure data integrity.
    CO_ZV_ORDER_POST seems interesting but is also using a lot of parameters and we have diffiulties to test it and understand it our dev team being fairly new.
    Can somebody tell us how to use this function or tell us another FM that could be used. (ie passing internal table content (New fields values) and a key value (AUFNR)) to update table AFKO and related objects/tables
    Regards
    Marc

    hi,
    TABLE IS AFKO
    rgds
    anver
    if hlped mark points

  • Changing a production order with CLOI_CHANGES_UPL_31

    Hello All,
    I try to change a production order with the function CLOI_CHANGES_UPL_31 with RFC in .Net.
    The header data is working fine, and i can change the date with this function. But if i try to change the position data i got no message back, but the date is not changed. Is there any customizing to do? And what about the Field "METHOD"?
    Best Regards,
    George

    check the SUCC_CODE - suceess code field, is it configured properly?

  • Variant Configuration: Update of Production Order Configuration

    We have a requirement, where sales order configuration is changed, this configuration change should get updated
    in the production order {updated configuration change is inturn used for printing of shop floor papers}.
    Currently, Based on sales order configuration change, configuration change is not updated in the production order,
    leaving us no choice but back out the production orders and redo it again {something we would like to avoid}.
    In the production order, under  header, there is CHANGE CONFIGURATION menu, which is greyed out, can this be activated?

    please investigate the use of OCM (order change management).  It seems to provide solution to your requirement.
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/a5/63198843a211d189410000e829fbbd/frameset.htm]
    Please note that there is a few steps in configuration to be made before it is working.  Namely, Overall change profile (OPL9), and Change profile (OPL7).
    Rgrds,

  • How to update/open Classification view of Batch in production Order

    Hi All,
       I have maintained the Class (023) and characterstics for Finished Material. When I am creating the production order, I am assigning new batch number in Production Order Header (Goods Receipt Tab). 
    In the background system is creating the Batch but not updating/opening the Classification view.
    Every time I required to go T code MSC2N and required to open the classification view manually.
    How to open the classification view during production order creation?
    Thanks,
    Shailendra

    Hi,
    You can only assign the Batch number in the production order, that meanas the said batch will get blocked and will not get saved in the Data base. You can enter the Batch number in the Production order and a while doing the GR you can make the system prompt the Classification view in the for ground so that you can enter the Characteristic values..
    For the above to pop-up you need to enter the Value "3" in the Batch Classification field of the Production Scheduling profile created for the Plant in the Tcode : OPKP.
    Please read the below information for additional inputs :
    Option to classify batches
    Specifies that the system branches to batch classification upon a goods movement or when you create or change a batch (not in the material master).
    Use
    If a batch is classified during a certain transaction or event, you can then use the batch determination facility to search for batches by class characteristics at the time of goods issue.
    Procedure
    If you work with batch classification, set this indicator for all receipt-specific movement types so that all existing batches are classified.
    Hope this will help you.
    regards
    radhak mk

  • Confirmation of production order - stock not updated

    Dear all
    On confirmation of production order,all dependent requirements as per bom (stock available at storage locations) should get updated ( as I set back flushing for all material stocks at material master level). But, when i do mb31, final product stock is updated, and bom stocks not getting updated.
    what is the reason.please give solution

    Hi GB,
    Please analysise the following :
    1.COGI what is exact error u are getting.
    2.Did u check the following options
      1. In the routing, the backflush indicator is set in the component assignment.
    2. In the material master record, the backflush indicator has the characteristic "Always backflush".
    3. In the material master record, the backflush indicator has the characteristic "Work center decides", the indicator being set in the work center.
    Use
    3.MB31 is for GR of stock means it post the stock at FG storage loactication ok.
    4.If u need to update in BOM stock , u have to do it by MB1C/MB1A with movement type 262.
    5.Check the stock in MMBE whether u have maintained ornot.
    Please check all those anf come back.
    Regards
    Jia

  • MRP-Delivery Schedule for Sales order is not updating in Production order

    Dear Experts,
    I have created Sales order and maintained delivery scheduling, Then Run MRP through MD50,
    We received Planned order then through this we have converted to Prodcution order.
    When we observe the delivery schedule for sales order under assignment Tab in Produciton order which is showing zero instead showing line item of Delivery schedule.
    I am able to see Sales order and Line item but i am not abel to get any delivery schedule line item.
    Please suggest where settings are missing.
    Thanks in advance
    Regards
    Don

    Dear Experts,
    Please provide me solution.
    after Running MD50 transaction against Sales order.
    If I maintained different Scheduling Line Item for First Line item of Sales order.
    The Respective Scheduling Lines should update against Each Production order which has converted from Planned order.
    Thanks in advance.
    Regards
    DON

  • Update error while creating production order (TCODE CO01)

    Hello,
    We have created new plant into development server for testing. We have created production Order few days back at that time we have not faced any problem. But from last two days , when we create new production Order , system gives following error:
    ORA-00947: not enough values
    DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB
    SAPLCOVB" or "LCOVBF10"
    HEADER_POST"
    and
    Update was terminated
    System ID....   DEV
    Client.......   500
    User.....   HPLSU
    Transaction..   CO01
    Update key...   4B6E4F48C08D027FE1008000C0A802F3
    Generated....   08.02.2010, 10:35:48
    Completed....   08.02.2010, 10:35:49
    Error Info...   00 671: ABAP/4 processor: DBIF_RSQL_SQL_ERROR
    Our work is held up.
    Please also note that If we increase the QTY in the existing Order ( already created few days back) , System accept the same and Order is saved.
    We are looking for the solution for the above.
    Early reply will be highly appreciated.
    thanks
    harish

    Hi Rishi,
    You better check with your BASIS team.
    Check this link also
    Supervisor Error ADM0015
    Regards,
    Satyajit Kumar
    Edited by: Satyajit Kumar on Feb 8, 2010 7:47 AM

  • Activity price not getting updated at Production order

    Hi All,
    I have made activity dependent planning at cost centre and calculated the activity rate. The activity rate is showing correctly for the cost centre in KP26, but while confirming the production order (CO11N) the the activity price is not getting updated in production order. But material price is getting properly updated at production order.
    Plz help me in identifying the possible areas of mistakes.
    Regards,
    BKD

    Hi,
    Please check the Period for which you have created the ht activity price is same as the period in the conformation. In the workcenter in which you are confirming please check whether the activities are assigned to the work center.
    Bye,
    Ramesh

  • BAPI_GOODSMVT_CREATE for production order,not update database

    hi guru,
    i am using BAPI_GOODSMVT_CREATE for production order.When i m testing this BAPI
    at se37 it creates one mat doc no and i m not getting any return messages.Now i m
    writing code for it at se38. but it does not update the database even though i used
    bapi_transaction_commit. here sy-subrc = 0.bt when i m checking MSEG table showing
    that mat doc no does not exists.
    please help me out  asap.
    thanks and regurds,
    manasi

    CHECK THIS CODE
    REPORT ZBAPI_GOODSMVT_CREATE.
    *DECLARING INTERNAL TABLE TO HOLD FILE DATA.
    DATA: BEGIN OF itab OCCURS 0,
              text(200),
          END OF itab.
    *DECLARING INTERNAL TABLE TO PASS FILE DATA.
    TYPES: BEGIN OF tw_goodsmvt,
                pstng_date TYPE budat,
                doc_date TYPE bldat,
                material TYPE matnr,
                plant TYPE werks_d,
                stge_loc TYPE lgort_d,
                move_type TYPE bwart,
    *            entry_qnt TYPE erfmg,
                costcenter TYPE kostl,
            END OF tw_goodsmvt,
            tt_goodsmvt TYPE STANDARD TABLE OF tw_goodsmvt.
    DATA: lt_goodsmvt TYPE tt_goodsmvt,
          lw_goodsmvt TYPE tw_goodsmvt.
    *declaring internal table of bapi structure.
    DATA:s_goodsmvt_header LIKE  bapi2017_gm_head_01,
         lt_goodsmvt_item TYPE STANDARD TABLE OF bapi2017_gm_item_create WITH HEADER LINE,
         lt_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA:str_filename TYPE string,
         gm_code TYPE gm_code,
          v_head_count TYPE i VALUE 0,
          v_prev_count TYPE i VALUE 1,
          v_qnt TYPE string,
          v_dummy.
    *selection screen
    SELECTION-SCREEN BEGIN OF BLOCK bk with frame title text_001.
    PARAMETERS:p_docdat TYPE bldat,
               p_pstdat TYPE budat,
               fname LIKE rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK bk.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
    *to provide F4 functionality.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name = syst-cprog
        IMPORTING
          file_name    = fname.
    * start of selection
    START-OF-SELECTION.
      str_filename = fname.
      gm_code = '06'.
    * to upload data
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = str_filename
          filetype            = 'ASC'
          has_field_separator = 'X'
          read_by_line        = 'X'
        TABLES
          data_tab            = itab.
    *SPLITING DATA TO INTERNAL TABLES.
      LOOP AT itab.
        IF itab+0(1) EQ 'H'.
          v_head_count =  v_head_count + 1.
          IF v_head_count GT v_prev_count.
            PERFORM bapi_upload.
          ENDIF.
          SPLIT itab-text AT ',' INTO v_dummy
                                      lw_goodsmvt-pstng_date
                                      lw_goodsmvt-doc_date.
          s_goodsmvt_header-doc_date   = lw_goodsmvt-doc_date.
          s_goodsmvt_header-pstng_date = lw_goodsmvt-pstng_date.
          v_prev_count = v_head_count.
      ELSEIF itab+0(1) EQ 'L'.
        SPLIT itab-text AT ',' INTO v_dummy
                                    lw_goodsmvt-material
                                    lw_goodsmvt-plant
                                    lw_goodsmvt-stge_loc
                                    lw_goodsmvt-move_type
                                    v_qnt
                                    lw_goodsmvt-costcenter.
    * PASSING DATA TO INTERNAL TABLE TYPE BAPI STRUCTURE.
        lt_goodsmvt_item-material = lw_goodsmvt-material.
        lt_goodsmvt_item-plant    = lw_goodsmvt-plant.
        lt_goodsmvt_item-stge_loc = lw_goodsmvt-stge_loc.
        lt_goodsmvt_item-move_type = lw_goodsmvt-move_type.
        lt_goodsmvt_item-entry_qnt = v_qnt.
        lt_goodsmvt_item-costcenter = lw_goodsmvt-costcenter.
        APPEND lt_goodsmvt_item.
      ENDIF.
      v_prev_count = v_head_count.
      ENDLOOP.
      PERFORM bapi_upload.
    *&      Form  bapi_upload
    form bapi_upload .
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header             = s_goodsmvt_header
        goodsmvt_code               = gm_code
    *   TESTRUN                     = ' '
    * IMPORTING
    *   GOODSMVT_HEADRET            =
    *   MATERIALDOCUMENT            =
    *   MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = lt_goodsmvt_item
    *   GOODSMVT_SERIALNUMBER       =
        return                      = lt_return.
            PERFORM commit_work TABLES lt_return.
            CLEAR : lw_goodsmvt, s_goodsmvt_header.
            REFRESH: lt_goodsmvt[], lt_goodsmvt_item[].
    endform.                    " bapi_upload
    *&      Form  commit_work
    *       text
    *      -->P_LT_RETURN  text
    form commit_work  tables   p_lt_return structure bapiret2.
      IF NOT lt_return[] IS INITIAL.
    *error handling
    loop at lt_return.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = lt_return-id
       LANG            = sy-langu
       NO              = lt_return-NUMBER
       V1              = lt_return-message_v1
       V2              = lt_return-message_v2
       V3              = lt_return-message_v3
       V4              = lt_return-message_v4
    IMPORTING
       MSG             = lt_return-MESSAGE
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2.
    WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
                 lt_return-message_v3, lt_return-message_v4.
          CLEAR lt_return.
        ENDLOOP.
      ELSE.
    * commit work
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *   EXPORTING
    *     WAIT          =
       IMPORTING
         RETURN        = lt_return.
    WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
                 lt_return-message_v3, lt_return-message_v4.
          CLEAR lt_return.
    endif.
    endform.                    " commit_work

  • Updating lines in a production order

    Hi Experts,
    A customer of mine wants to have the ability to change items in production orders.
    So if a particular item is out of stock it can be replaced by another item in multiple production orders.
    I now made a add-on which can do this. Despite there is one condition that makes it impossible to update any line on the production order: This happens when the the first line of the production order has been issued for production. If this occurs it is not possible to update any other line on the production order.
    This is very rare, cause I can still update all lines (that have not been issued) in SAP so why can't I do it via DI API?
    I hope someone is familiar with this problem and can give me an advise how to solve this.
    Kind regards,
    Hendri Wessels

    Hi,
    The customer is using SAP 2007A PL49, but I also tested this issue in SAP 8.8 PL10 and it still occurs.
    Kind regards,
    Hendri Wessels

  • Update Long Text of Production Order

    Hi ABAP Gurus,
    We want to update some information in long text automatically while releasing production order.
    We try PPCO0007
    We found that we must update AUFK-LTEXT as 'E' then we can see long text via CO02, CO03.
    Without updating AUFK-LTEXT, even if the long text value saved in SXTL, but it can not be displayed via CO02, CO03.
    After saving the text using 'SAVE_TEXT' function module and commiting it we update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    However, it only works when we go to CO02 and press 'Save' button without changing anything.
    If we press 'release' button, AUFK-LTEXT will be overwritten by system. >_<
    What we expect system to do is that when we release production order, AUFK-LTEXT can be changed to 'E', so that we can display long text via CO02, CO03.
    Please help.
    Cheers,
    Qiang

    There is no standard SAP enhancement we can use for this purpose.
    We have developed another program to maintian the long text in production order.
    This call can be closed.
    Cheers,
    Qiang

  • Updating Sales Order no in Production Order

    we have csenario for Sales Order :  Inquery - Quotation - Sales Order .
    In PP we have MTO scenarion . when i run MRP and convert the plan order to Production Order , in place of Sales Order it was updatin Quotation in Production Order .
    we have checked SD config for sales doc Item category =TAC and in Material Master we will used Item Category = NORM
    Please suggest is there any other setting for updating Sales Order no in Production Order .
    Thnx.

    Hi,
    I assume that you are using the strategy 20 (MTO). Go to OVZG here select the class 040 Indiv.cust.w/o cons., keep BLANK for account assignment consumption and rerun the whole cycle and check.
    Thanks
    Hrishi

  • Problem in updating Production Order

    Dear All,
          When I try to update the Production Order I am getting the error message as  "Invalid user OWOR.UserSign ".
    Help me to resolve this problem.
    Thanks,
    Lingam.
    Edited by: miplkutalingam on Feb 13, 2012 3:22 PM

    Dear Lingam,
    Welcome you post on the forum.
    Something must be wrong in the document. The user who created the PO may be deleted somehow. B1 does not allow the deleting of the user but manual deletion may be occurred in your database.
    Try: SELECT UserSign FROM OWOR T0 WHERE T0.DocNum = '[%0\]' to find out.
    Thanks,
    Gordon

  • FM/BAPI to update Production Order at Operation Level

    Hi Friends,
    Can any one help me in this issue.
    My rek is, needs to update Production Order Sequence Number(AFVC-CY_SEQNRV) at operation level.
    There are some Production Orders under one Project.User is updating theSequence Numberfor the first order in that group (TCode CO02),at the time of save remaining Orders in that group needs to be updated with the same Sequence Number.
    Please provide me with FM/BAPI(operation level not at header level)
    Points Rewarded,
    Thanks in advance,
    PRBode.

    Prathap,
    Have you tried using the Bapi :  BAPI_PP_TIMETICKET
    This would confirm at operation level..
    Hope it is useful.
    Regards
    Ram

Maybe you are looking for

  • Is Sony CX190 compatible?

    I am considering buying a Sony HDR-CX190 video camera. Is it compatible with FCP X? Can I just import, or would I have to send the files through a converter? I'd rather not have to worry about convering the files so would be willing to hear suggestio

  • Will I have the same problems?

    Hello, my current ISP is Virgin Media. I have been a customer for years, and over the past 6-9 months, in the evening the internet service has been appauling.  I have constant high pings and a slow download speed.  (I pay for 60mb/s and at times woul

  • HELP... Machine crashed, need to put back data

    Long story short, the machine running Oracle 9i crashed. I was able to get the Oradata directory from it, and format it, and put a fresh install of Oracle 9i on it. I need to know how to put the old data back onto the fresh install. If it involves lo

  • Batch relationship change

    My organization is merging with another and we are currently operating with two domains while the project to migrate all of the object from one into the other is completed.  SCSM is implemented on Domain A, but is syncing object from both domain A an

  • Cannot send group message

    Dear Skype team and other skyper I got a problem when trying to add other skyper to a group conversation. The problem is: I can not send the message to them.  Any body faced this problem. Any idea, solution for this ? I searched and set up my privacy