GR  for  Production order not possible with  settlement receiver as IO

Hi
I   have  created a  production order  and  the settlement rule is  to  an internal order.  But  it  does not  allow me to do  goods receipt.    Pl  tell me  what to do.
Thanks
kamala

Hi,
SAP recommands production order settlment to be beow object and additional CO Object COPA.
Settlement Receivers Depending on the Scenario
1.Make-to-stock production >>The make-to-stock inventory (receiver = material) >> COPA
2.Sales-order-related production with a valuated sales order stock>>The valuated sales order stock (receiver = material)>>COPA
3. Sales-order-related production with a nonvaluated sales order stock>>The sales order item (receiver = sales order)>>COPA
The scenario you are trying is doesn't fit into standard SAP framework for production order so please try said scenario with CO production order. Again CO production orders mostly recommondable without PP so figure out impact on cross modules.
Regards,Ashok.

Similar Messages

  • 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

  • Template allocation enviornment 12 for production order not working

    Dear experts,
    i have more than 6 activity type in routing and the base will be machin hour qty means all my activity Fiance, HR,IT and quality ase will be machin hr qty defined in routing and rate will be different in kp26 for hr,IT<QC and finance.
    so i am planning for templete allocation and i m using production order.
    In templete allocation there are different enviornment for plan and actual for production order.
    For planning i have created environment 0
    Based on cost center and activity tpe ( all my activity-HR,IT,QC,Finance and one common cost center)-seperate line for each activity and plan qty is machin.I wrote the logic and same is working also.
    but for actaual .i have chosen enviornment 12 becoz i m using production order and logic will be actual machin hour qty.
    request you to guide me on actual environment based on machin hour actual qty
    regards
    RR

    dear friend,
    for the first issue please run OPU3 for your plant/prod.order type and
    set MORE days in 'Start in the Past' field
    or
    go back to your prod.order (run CO02 ) and REDUCE days in past
    for the second issue please run CR02 and fix the time (Scheduling tab)
    good luck!

  • GR for Production Order, not updating Stock

    Hi All,
    Issue:
    I am posting a GR for a production order, but the stock qty is not getting updated. I checked in MB51, i find the document being posted, but in MMBE the stock is not updated. In the system, there is 2 settlement profiles, one which allows settlement on material & the other only on G/L or Cost Center. I find this issue only when i create orders which have settlement receivers as G/L or Cost Center, also in MB51 i find that the sloc field is blank, even though it is maintained in the order & the same is seen when i receive via MB31.
    Await your inputs as to where i need to check to resolve this issue.
    Regards,
    Vivek

    Hi Prasobh,
    I believe your pointing in the right direction. My suspicion is on similar lines.
    A brief backdrop:
    Order is created, whose settlement is to be done on a G/L acct, the settlement profile does not allow settlement onto material & hence in the GR tab, the GR non-valuated indicator is ticked. I manually ticked the GR indicator to post GR via MB31.
    In MB51 i find the material document, but what is interesting is, the storage location field is blank, even though the order contains this value, which was later seen during MB31 posting as well.
    But a similar order has been created in the legacy system with the same parameters as above & i find the stock to be updated.
    So i suspect, it is something to do with the account determination, which is not allowing the quantity updation to take place, because of the GR non-valuated tick in the order header.
    Hope i was able to put across the issue to you in a clear way.
    Regards,
    Vivek

  • Production Order not printing with Parallel Sequence ?

    Hi All,
    User is unable to print Prod. Orders when Parallel Sequence is used, but Orders using Standard Sequence are printing fine.
    Print is done in Update Task, so User is able to release the Order and when he saves the Order, the Order should get printed.
    Currently this is not happening. There is no spool generated.
    Can anyone please tell me the printer configuration required for this. Or any other configuration which we are missing.
    Thanks,
    Bhuvan

    Dear Bhuvan,
    I'm not sure if this is the issue,at a high level,check if the control key assigned to the operations in the
    parallel sequence supports for Printing in General(check box set).
    Regards
    Mangalraj.S

  • Device Redirection for RD Gateway not possible with MFA and Central Network Policy

    Prior to using Azure MFA with my Remote Desktop Gateway i used a connection authorization policy (CAP), this policy allowed me to limited what devices (drives, printers, clipboard) were redirected when connecting through the gateway. However with MFA i
    had to use a Central Network Policy Servers, which is pointed to my multifactor server, and doing so i know longer have connection policies available to select what device redirection is available. i can set this at the RD session host, however, i only want
    the policy to apply when coming in via the gateway, meaning i don't want users to see their local drives or printers when coming in via Internet, but if they are internal and hit the RD session host i want them to see local drives and printers. So now i have
    no way to limit device redirection if i want to use MFA with my RD Gateway, is there not a work-around for this, this seems like something that was missed?

    It works in my configuration.   I pass back the redirection bitmap from the "base" RADIUS server (that MFA targets) and MFA passes it back to the gateway

  • Variance calculation for production order with settlement receiver as SDI

    Hi...
    I have one query reference to Variance calculation for production order with settlement receiver as SDI(Sales document item).
    I am working on Varaint configuration with strategy 25(Make-to-order for configurable material) with requirement class 046.
    I have created sales order ref. to configurable material,subsequently created planned order & then converted to production order.
    In production order settlement receiver is SDI(Sales document item).
    While doing production confirmation ,variance has been created.
    Now during variance calculation KKS2, I have got error message as no suitable settlement rule found for object Order no.
    Is there any way to come out of this?Or variance calculation KKS2 is not applicable with settlement receiver as SDI(Sales document item).
    Pl. guide
    Redards
    Tushar

    Hi
    In case of non valuated material, concept of variance does not apply...
    Variance is Actual Cost - Cost of Goods receipt posted in stock.. If the later value is zero, your entire actual cost is variance... That is one way of saying it
    But, in SAP, var not calculated in case of non valuated material and that makes sense as well.. Since you are in MTO scenario, it would make sense to analyse costs vs revenues @ sale order level as each SO will be unique in itself
    Regards
    Ajay M

  • Production scheduling profile for production order type 10 does not exist – SAP Message No.10085

    When i tried to make confirmation for Production Order through CO15 transaction , i receive the following error message “ Production scheduling profile for production order type 10 does not exist – SAP Message No.10085 “
    In Work Scheduling view, Production Scheduling Profile is maintained as per OPKP only.
    How to check whether production scheduling profile is maintained for relevant order type 10.
    To do this , i went to OPKP & KOT2_OPA transactions but i don’t know how to check. I guide me through with a screen shot.
    Also, pls explain about  “Order Type 10” and how it is linked with material and order execution.
    Looking for a detailed explanation with screen shots , since i am new to SAP.
    Thanks With Regards,
    Dinesh Kumar V.

    Hello Dinesh,
    Please check the order type dependent parameter in OPL8 here you will get the Substitute Scheduler
    Then go to OPCH and check valid production scheduling profile assign here as per OPKP to your production scheduler for your plant.
    Production order have Order category as 10  Process Order  40 in standard SAP you can check this in OPJH.
    Best Regards,
    R.Brahmankar

  • GR for production order

    Hello,
    Perhaps somebody has faced this problem...
    During goods receipt for production order via MIGO with 101 movement
    type for split-valueted materials a new valuation type is not created
    for the materials despite it is set on the screen (batch number =
    valuation type). No error messages occur.
    Thank you.

    Alexx,
    I do not know if I have misunderstood you question.
    Are you asking that you want a new valuation type to be created during goods receipt. If yes then let me tell you it is not possible.
    Valuation types are assigned to the valuation category in customisation. You cant create new one during GR. You need to enter the Val type and batch number during GR. Then the Val type is assigned to the batch. You can see this in MSC3N.
    If the valuation type is already entered in the prod order then automatically the val type is populated in the GR. You need to enter the Batch number alone.
    Hope this clarifies your doubt.
    Regards
    Ram

  • Auto GR for PRODUCTION ORDER

    Hi
    I want to do auto GR fro production order ... which we have conformed qyt..
    whether it is Partially CON  or fully CNF...
    IS IT possible?
    regards
    sesidhar

    Hi,
    Auto GR for Production Order is possible by following Customization Setting :
    Go to -> OPKP--> Goods Receipt -
    > Tick the check box of Automatic Goods Receipt.
    Other way is You maintain Control Key with Automatic Goods Receipt ( i.e. PP03 / PI03) in Default Values Tab in Work center. Then also you will be able to do Auto GR after Confirmation.
    Try above setting so you will be able to do Auto GR after Confirmation.
    Hope it helps.
    Reward if useful and revert if any doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Jul 25, 2008 1:03 PM

  • ATP for production order

    Hi Friends,
    Need your help to figure out solution for an issue :
    I need ability to substitute alternate component when we do ATP during release of a production order.
    As far as I know, we can do this in 2 ways
    1) Maintain alternate BOM with the substitute material
    2) Use GATP production substitution procedures
    Can you think of any other ways of doing this. I do not want to use GATP (within APO) and want to get this done in ECC itself.
    Please suggest!!!

    Thanks for the reply Suri.
    I dont think I can use this as there will be multiple alternates for a product.
    Did anybody use GATP for production orders, not CTP or MLATP but vanilla ATP and RBA. Please let me know what precautions should be taken and are there any considerations for using the functionality. I have used GATP for sales orders earlier but never for production orders, I assume functionality should be same except for the business even which would be PP.
    Thanks and waiting for replies.
    Prod_Planner

  • Material Cost Not Shown in Production Order if planned with MD50

    Hi,
    We have run MRP MD50 for a sale order item ie FERT material which has BOM Items. All the stock of the BOM items is tranfered from Unrestricted Stock to Sales order stock. FERT ITEM planned order is converted to Production Order and all the BOM items sales order stock is issued against PO & Sales order no with Movement Type 261E.
    After confirmation and goods receipt stock of FERT is shown under sales order Stock of Fert Material.
    We can see the cost of operations but cost of materials consumed against the Production order is not displayed in Production order Cost analysis..How material cost can be displayed????
    If i create PO with out refering the sale order that is normal process i can see the cost of materials triggering in Production Order.
    Can we settle the varience when we are planning against sale order???
    Some one Pl help us.
    John

    Dear,
    Check your variant which showes the cost. See the following report
    KKAC - For Sales Order with Assigned Orders  or
    KKBC_KUN - For Sales Order or
    KOB1 - Actual Costs

  • 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

  • How to restrict the GR for Production Order when Goods Issue is not done

    Hi Gurus
    How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
    Pls suggest best solution.
    Abhijit.

    Hi,
    You can club together the GI nad GR at the time of confirmation..
    I.e Backflush for the components and auto GR for the Product.
    So that you can stream line the Process.
    The best Option would be to use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below link for further details..
    How to stop the goods receipt before issueing the goods for production orde
    Regards,
    Siva

  • 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

Maybe you are looking for