Delivery Date not Set for Production Orders

Hi,
I am trying to settle a MTS (make to stock) production order that is both CNF and DLV.  When I try to calculate variances, I get a KV 239 message stating that the delivery date is not set.  I set this order to TECO and went to recalculate WIP but the production order cannot settle because this error still remains.  When I drill down on the error, it states that there was an error in the program which set this order to DLV status, when no delivery date has been set.  I can't see where this is looking for the delivery date.  Has anyone come across this issue and if so, how would I go about correcting this?
Thanks!

Sorry, posted in the wrong forum.

Similar Messages

  • Delivery Date not Set in Production Order

    Hi,
    I am trying to settle a MTS (make to stock) production order that is both CNF and DLV. When I try to calculate variances, I get a KV 239 message stating that the delivery date is not set. I set this order to TECO and went to recalculate WIP but the production order cannot settle because this error still remains. When I drill down on the error, it states that there was an error in the program which set this order to DLV status, when no delivery date has been set. I can't see where this is looking for the delivery date. Has anyone come across this issue and if so, how would I go about correcting this?
    Thanks!

    Hi Team,
    Looks like it is not a common problem probably you need to look out for any OSS notes.
    Any you can check the Delivery date of the order by
    1. In the order display mode CO03 hit the "I" - Status Information Icon which on the right side where order status is displayed. Now system should take you to the Display status screen, here place your cursor on the "Delivered" text and go to the menu bar : Extras-->Change documents-->For Status, now system will display when the DLV status was set.
    Other option.
    2.In the order display mode CO03 use the menu Goto--->Documented Goods Movment. Now system will display all the goods moved against this order select the last GR-101 movement and double click the line, now system should take you to the Material Document in this check the posting date... that should be the delivery date.
    Regards,
    Prasobh

  • Error - Delivery date not set. Notify your system administrator - TcodeKKS1

    Hi,
    While using Tcode - KKS1  we are getting the Error - "Delivery date not set. Notify your system administrator"  for two Production orders.  I have checked all the date fields in Production order. What could be the reason for this.
    Timely help will be highly appreciated.
    Thanks is advance
    Narayanan

    Hi,
    check SAPNET note 83914 and related notes.
    best regards, Christian

  • Scheduling parameters are not defined for production orders

    Hi All,
             when i convert the planned order to production order  i got this massage popup coming  Scheduling parameters are not defined for production orders . please let me know this .

    Hi,
    One of major customization steps for the order type is missing. Run OPU3 and maintain settings for the order type you are using. You may copy settings from an older type.
    Regards.

  • Delivery tolerance not working in production order.

    Hello All
    I have defined for a material 10% as Overdelivery & Underdelivery tolerance. In a production order of 1331KG when am trying to do the GR of 1344KG the system shows an error message stating: "You can only receive 1331KG".
    Kindly throw some light on this behavior of the system.
    Looking forward to your valuable inputs & guidance.
    Regards,
    J K Tharwani

    Hello Jitendra,
    Following things need to be checked :
    1) Under Delivery and Over delivery Tolerance needs to be there in Material Master Workscheduling Tab.
    2) Also these tolerances needs to be appeared in "Goods Receipt" Tab of production order.
    3) Also in cutomizing Transaction "OPK4 : Parameter for Order Confirmation"; in  "Generally Valid Settings"  tab ; checks for Under and over deliver Tolerance SHOULD NOT  be SET as "Under Delivery Tolerance not checked" or "Over delivery Tolerance not checked".
    If all these settings are correct, then system has to allow you for doing goods receipt with additional quantity; ofcourse within tolerance limit.
    Pls check it out.
    Regards,
    Nachiket.

  • Goods receipt not marked for production order trigger from sales order

    Hi all,
    In MTO scenario, where requirement trigger from Inquiry -> Quotatation -> Sales Order -> Plan Order -> Production Order, goods receipt indicator in production order was not checked if requirement is triggering from sales order, however it is ticked if requirement trigger from inquiry, therefore we are not able to do confirmation. Appreciate if anyone able to assist us as soon as possible.
    Thanks in advanced.

    Hi,
    I understood that---
    If u r creating Sales order directly without Quotation u r  not able to do the GR.
    If u create from Quotation, u r able to do GR. right?
    I think, Problem with Settlement. Please Look into that.
    Kiran.

  • Business Content for Production Orders

    Dear All,
    we are looking for a SAP standard scenario for our business scenario to get details per production order and workcenter.
    I found already Datasources 2LIS_04_P_MATNR (for production order header data), 2LIS_04_P_ARBPL (for production order operational data) and 2LIS_04_P_COMP (for production order component data), which contain the data we will need to be reported on.
    Unfortunately I'm not able to find any How-To paper or anything like this, where I can see, how these 3 Datasources are coming together in BW. For 2LIS_04_P_MATNR I found 0PP_DS01 in the business content. But I expected to find as well an DSO in the SAP content for the other 2 Datasources. I'm also wondering, if there is a standard cube, where these 3 DSO's are coming together later on to be the basis for the reporting.
    Does anybody of you have any standard documentation of this business scenario?
    Thank you in advance.
    Peggy

    Hi Peggy , There is no standard DSO or infocube available which reports on all the 3 data sources combined together.
    But there are standard DSOs ,infocubes like 0PP_O01 , 0PP_C04 which can be used in a custom multiprovider to draw reports of interest.
    For more details refer http://help.sap.com/saphelp_nw70/helpdata/en/28/500b3c56488e6be10000000a114084/frameset.htm
    Hope this helps
    Sampada

  • Reg.Authorisation for Production Order

    Hi all,
    Please tell me that whether Authorisation can be set for Production order Releasing or not.
    My requirement is One person will generate Production But he is not authorised to release it.
    The Other Person who is senior to him is the only person who is authorised to release the Prod.Order.That is once the Prod. order is generated & saved ultimately a message should reach the senior person with the details of prod. order for him to release.
    How to do it.
    Kindly Give solutions .
    Thanks in advance,
    M.Badrinarain.

    Badrinarain,
    You can use user exit PPCO0007 to serve your purpose.
    Regarding the info to reach the senior person, you can talk to your Basis consultant to have the required settings, when any new order is created, it will be informed via mail to the senior person.
    Hope this helps you.
    SmanS

  • 11.5.10.2 to R12.1.1 upgrade : AutoPatch warning : Product Data File $APPL_TOP/admin/*prod.txt does not exist for product

    Hello Sir,
    OS version : AIX 6.1
    DB version : 11.2.0.3
    EBS version : 11.5.10.2
    As a part of 11.5.10.2 to R12.1.1 upgrade, I am applying merged patch (9179588:R12.AD.B) with 9477107:R12.AD.B and patch 7461070(R12.AD.B.1 upgrade driver).
    I can see AutoPatch warning messages during adpatch session as below so I have not yet started this merged patch. Please suggest.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/patches/R1211AD/merge>adpatch
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                             Oracle Applications AutoPatch
                                     Version 12.0.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Attention: AutoPatch no longer checks for unapplied pre-requisite patches.
    You must use OAM Patch Wizard for this feature. Alternatively, you can
    review the README for pre-requisite information.
    Your default directory is '/fmstop/r12apps/apps/apps_st/appl'.
    Is this the correct APPL_TOP [Yes] ?
    AutoPatch records your AutoPatch session in a text file
    you specify.  Enter your AutoPatch log file name or press [Return]
    to accept the default file name shown in brackets.
    Filename [adpatch.log] : adpatch_u_merged_R12AD11.log
    You can be notified by email if a failure occurs.
    Do you wish to activate this feature [No] ?
    Please enter the batchsize [1000] : 2000
    Please enter the name of the Oracle Applications System that this
    APPL_TOP belongs to.
    The Applications System name must be unique across all Oracle
    Applications Systems at your site, must be from 1 to 30 characters
    long, may only contain alphanumeric and underscore characters,
    and must start with a letter.
    Sample Applications System names are: "prod", "test", "demo" and
    "Development_2".
    Applications System Name [FMSTEST] : FMSTEST *
    NOTE: If you do not currently have certain types of files installed
    in this APPL_TOP, you may not be able to perform certain tasks.
    Example 1: If you don't have files used for installing or upgrading
    the database installed in this area, you cannot install or upgrade
    the database from this APPL_TOP.
    Example 2: If you don't have forms files installed in this area, you cannot
    generate them or run them from this APPL_TOP.
    Example 3: If you don't have concurrent program files installed in this area,
    you cannot relink concurrent programs or generate reports from this APPL_TOP.
    Do you currently have files used for installing or upgrading the database
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Java and HTML files for HTML-based functionality
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Oracle Applications forms files installed
    in this APPL_TOP [YES] ? YES *
    Do you currently have concurrent program files installed
    in this APPL_TOP [YES] ? YES *
    Please enter the name Oracle Applications will use to identify this APPL_TOP.
    The APPL_TOP name you select must be unique within an Oracle Applications
    System, must be from 1 to 30 characters long, may only contain
    alphanumeric and underscore characters, and must start with a letter.
    Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".
    APPL_TOP Name [drix10] : drix10 *
    You are about to apply a patch to the installation of Oracle Applications
    in your ORACLE database 'FMSTEST'
    using ORACLE executables in '/fmstop/r12apps/apps/tech_st/10.1.2'.
    Is this the correct database [Yes] ?
    AutoPatch needs the password for your 'SYSTEM' ORACLE schema
    in order to determine your installation configuration.
    Enter the password for your 'SYSTEM' ORACLE schema:
    The ORACLE username specified below for Application Object Library
    uniquely identifies your existing product group: APPLSYS
    Enter the ORACLE password of Application Object Library [APPS] :
    AutoPatch is verifying your username/password.
    The status of various features in this run of AutoPatch is:
                                               <-Feature version in->
    Feature                          Active?   APPLTOP    Data model    Flags
    CHECKFILE                        Yes       1          1             Y N N Y N Y
    PREREQ                           Yes       6          6             Y N N Y N Y
    CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
    PATCH_TIMING                     Yes       2          2             Y N N Y N Y
    PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
    SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
    JAVA_WORKER                      No        1          -1            Y N N Y N N
    CODELEVEL                        No        1          -1            Y N N Y N N
    Identifier for the current session is 2987
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/eaaprod.txt
    does not exist for product "eaa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/abmprod.txt
    does not exist for product "abm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/evmprod.txt
    does not exist for product "evm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ipdprod.txt
    does not exist for product "ipd".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zfaprod.txt
    does not exist for product "zfa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zsaprod.txt
    does not exist for product "zsa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cssprod.txt
    does not exist for product "css".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/meprod.txt
    does not exist for product "me".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnmprod.txt
    does not exist for product "xnm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xncprod.txt
    does not exist for product "xnc".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnsprod.txt
    does not exist for product "xns".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/fptprod.txt
    does not exist for product "fpt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okrprod.txt
    does not exist for product "okr".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cueprod.txt
    does not exist for product "cue".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ibaprod.txt
    does not exist for product "iba".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozpprod.txt
    does not exist for product "ozp".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozsprod.txt
    does not exist for product "ozs".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rlaprod.txt
    does not exist for product "rla".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/vehprod.txt
    does not exist for product "veh".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rhxprod.txt
    does not exist for product "rhx".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/imtprod.txt
    does not exist for product "imt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ahmprod.txt
    does not exist for product "ahm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okbprod.txt
    does not exist for product "okb".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okoprod.txt
    does not exist for product "oko".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xniprod.txt
    does not exist for product "xni".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/jtsprod.txt
    does not exist for product "jts".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/amfprod.txt
    does not exist for product "amf".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cunprod.txt
    does not exist for product "cun".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    Reading database to see what industry is currently installed.
    Reading FND_LANGUAGES to see what is currently installed.
    Currently, the following language is installed:
    Code   Language                                Status
    US     American English                        Base
    Your base language will be AMERICAN.
    Setting up module information.
    Reading database for information about the modules.
    Saving module information.
    Reading database for information about the products.
    Reading database for information about how products depend on each other.
    Reading topfile.txt ...
    Saving product information.
    Trying to obtain a lock...
      Attempting to instantiate the current-view snapshot...
      No baseline bug-fixes info available. Will attempt next time.
         **************** S T A R T   O F   U P L O A D ****************
    Start date: Sun Aug 04 2013 18:45:12
    0 "left over" javaupdates.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
    0 patches uploaded from the ADPSV format patch history files: Sun Aug 04 2013 18:45:12
    Uploading information about files copied during the previous runs ...
    0 "left over" filescopied_<session_id>.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
         ****************** E N D   O F   U P L O A D ******************
    End date: Sun Aug 04 2013 18:45:12
    Enter the directory where your Oracle Applications patch has been unloaded
    The default directory is [/fmstop/patches/R1211AD/merge] :
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I checked under 11i $APPL_TOP/admin directory, I can see only one izuprod.txt file apart from applprod.txt.
    drix10:/fmstop/fmstest/fmstestappl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          231650 Oct 30 2004  applprod.txt
    -rwxr-xr-x    1 appltest dba            4966 Sep 21 2007  izuprod.txt
    R12 code tree is newly installed so there is only applprod.txt
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          226340 Jul 29 15:19 applprod.txt
    Please suggest if I can ignore these warning to proceed with applying merged patch.

  • 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

  • Statistical Delivery Date not apperaing in the Purchase Order

    Hi Gurus,
    Recently the statistical delivery date(SDD) in the Purchse order has stopped appearing in the PO.
    Earlier it was appearing but since last one month it has stopped appearing.
    The field remains blank inspite of sending the message to the vendor & changing the delivery date of the line item.
    Is there any Config setting which i am missing.
    or is there any SAP Note to be applied.
    Thank you
    NS

    did you change something in your system and process?
    using BAPI or userexits, modified standard program?

  • Transfer Order not created while performing GR for Production order

    Hi, I am facing a problem while recieving stock from a production order. The system does not create a transfer requirement or a TO.
    Let me give you a brief background.
    This is a new functionality introduced in ECC 6.0 for working with kanban in WM.
    Supply area is created for WM location.
    Control cycle is created for material, supply area. Warehouse, storage type and Bin is maintained in control cycle record. When the GR is done for production order material is recieved in this bin.
    1) Now when the Kanban is set empty a production order is automatically created.
    2) Once the production order is confirmed the material automatically shows up in the bin.
    A material document is created which shows IM movement type 101 and WM movement type 103. Also in material document Immediate auto TO checkmark is blank.
    3) *PROBLEM* - System does not create a TR or a TO. the material automatically shows up in the Bin. How can we enable an auto TR and TO creation.
    Following are the settings which I have already checked:
    1) In IMG, WM movement type 103 has auto TO indicator set.
    2) IM-WM interface for 102 movement type and 103 movement type is maintained.
    The main problem is: Although the material document displays WM movement type 103 and the stock lies in WM bin, System never created a Transfer requirement or a Transfer order.
    I would really appreciate if anyone can help me in this.
    Thanks

    Hi Mike,
    I do not know this function in SAP, so these are just my ideas:
    1.
    System does not create a TR or a TO. the material automatically shows up in the Bin.
    I think it's a normal SAP behaviour. If you do GR against a PO the quant(s) will appear in interim storage bin w/o TO. The TO is to move the quants from one bin to another, but in this case the quant comes from 'nothing' and arrives at the bin.
    If you make confirmation and consume the components refering to a PrdOrd, the components will disappear w/o TO from storage type 100 + dynamic bin, because there's no TO that could move them from dynamic bin to 'nothing'.
    So, these 'movements' are to change the WM stock level and TOs are not designed for this.
    2.
    There's difference between auto creation of TO and immediate TO creation. Please check what SAP help says in case of TOs for outbound deliveries:
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/f8406c4afa11d182b90000e829fbfe/frameset.htm
    3.
    Now when the Kanban is set empty a production order is automatically created.
    So, if you remove the stock from the Kanban it triggers the creation of a PrdOrd. This is very logical in a Kanban system because it is a pull system. but your problem is not this, it's clear.
    If you just created an automatic TO and would remove the stock from Kanban-bin, a new PrdOrd would be generated, and so on. As many times you remove the stock a new PrdOrd is created and this might be the reason why no TO is crated automatically. In this case this would be a push system and not kanban system.
    I do not know this process but if we concentrate only on the pull system, maybe this Kanaban is to store the FG until an event (e.g. shipment) should trigger the stock removal from this bin. (just my assumption)
    Please try to mark the TR creation for the movement type w/o auto / immediate TO and tell us the result (whether you get the TR if you confirm the PrdOrd).
    Regards,
    Csaba

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

  • GR for production order post to cost center and not to the production order

    Hi all,
    when we post the goods receipt for the finished product against the production order (mov. type 101), the order is not credited with the corresponding stock value. Instead of this, the value accounts to a cost center.
    We specified this cost center in OKB9 (Default account assignment), because if not, we get an error when posting the goods receipt cause of lacking accounting object.
    I can't see why the system does not credit the production order?
    Any ideas?
    Thanks for your time
    Daniel

    Hi Daniel,
    This is the first time i am coming across an issue like this.
    neverthless from a logical front,
    1. Remove Cost center as a valid receiver in Settlement Profile.
    2. Your OKB9 setting are pretty much good. No need to worry about it.  Becasue, OKB9 only will work if the system doesn't identify any other cost object. In this case Production Order is an automatic cost object which system should have taken.
    3. Check the Settlement rule when you have created Production Order. It should have been MAT.
    4. I hope you are creating Production Order with Material (using CO01 and not CO07)
    5. Make sure in OPL8, the default rule in controlling tab is PP1.
    Once all these are fine, i do not see any reason why you will get your probelm.
    Please check and revert back to me if the problem still persists.
    Best Regards
    Surya

  • Report to check open reservations for production orders where GI not posted

    Hi experts,
    Can we get reservation details from any report/ table for production order where material has not been issued, report should also display the value of the reserved material.
    I could not find desired details in RESB (it has price but not value) and MB25.
    Thanks in advance, useful ansers will be rewarded.
    Thnx
    Anand

    Hello Anand,
    there is no report but you may use the production order info system with list "components" and create a layout contaning the issued quantity and/or the final issue indicator. With a correct sorting, the list should show all orders with non-issued components at the top.
    Regards, Andreas

Maybe you are looking for