Fixed component of the production order

Dear Gurus,
i need of fixed reservation of the batch at the production order.
I can fixed the component only in the production ordere ( CO02- batch Assignment ) or are there other transaction , where for production order i can fixed the batch of the component?
Thanks a lot
Daniele Pistilli
PP TEAM

Dear gurs
excuse me for the explication ,  i have for a component two bacth :
111
222
and i need of fixed in the production order the batch for example the bacth 222 .
Now i run the transaction CO02 and in the view of the component select the single component and whit the buttom batch assignment reserve the quantity.
The system setting the status F in the stock /requirement list.
I would want to know if there are other methods in order to reserve the batch component in the production order , other transaction .
Thanks a lot
Daniele Pistilli

Similar Messages

  • Determine a component in the production order

    Hi,
    To determine if a component in the production order is relevant for the paint dispatch list:
    For a Production Order, after retrieving all the components (children) of the header material utilize function module CLSE_SELECT_AUSP.  Pass the following information under the import parameters:
    Function Group: CLSE
    Function Module: CLSE_SELECT_AUSP
    Import Parameters:
    KLART   = 001   (Hard-coded) (ZERO, ZERO, ONE)
         OBJEK  =    (Component number from production order Item) – RESB-MATNR
    MAFID = O  (Hard-coded) (The letter O)
              KEY_DATE  =  (BOM Explosion Date) – CAUFV AFKO-AUFLD
    Returns:
              Table = T_AUSP
              Field  = ATWRT  
              T_AUSP-ATWRT
    Then the following logic should apply:
         IF T_AUSP-ATWRT = OPTPNTD THEN this component (RESB-MATNR) is relevant for the dispatch list.
    can any body explain the meaning of this
    all replies will be rewarded

    Hi,
    i got the solution i came to know the meaning of it
    thanks

  • Scrap Quantity component  in the production order

    Dear gurus,
    in the material master of a component i insert the scrap % ( view mrp4) = 10 %.
    The field is read by planning Mrp and explosion of bom , but when i inseert this component in the production order manually the system don't read this % and the field "scrap quantity in the component detail of the production order is blank.
    Are there a setting for uograde this field ( in the production order ) when i insert MANUALLY the component in the production order?
    Example:
    1) material master of the component  > scrap % (view MRP4 ) = 10 %
    2) production order created
    3) insert this component quantity 100 pc and the system after read the material master  insert 110 pc , and upgrade the field automatically 10 % (as material master)?
    Thansk a lot
    Daniele Pistilli
    PP TEAM

    Hi Danielepistilli,
    Well there is a lot of difference is there: see you are creating production order for header material which is FG. If you maintained component scrap in material level it will be dependent on BOM quantity which you maintained for the header material.
    For example say component x quantity is 50 in BOM. How it will calculate when you run the MRP.
    component scrap % is 5% then:
                                     ===>            (5/100) * 50 + 50
    Formula is: Percentage of scrap quantity x original quantity + original quantity
      So                           ===>           52.5 quantity should be come for component
    So, the order quantity for the header material will not take this quantity or scrap but if you see individually in MD04 screen for X material you can find this quantity ok.
    I hope it clears your doubt and helps you any queries please revert me back.
    Regards,
    Madhu.G

  • Production Order - Modify field Material Provision Indicator for component in the production order

    Good afternoon,
    I have a component in the bill of material, that has the option Material Provision Indicator activated.
    When i create the production order, the component automaticaly is activated with the  Material Provision Indicator option.
    However, in the production order, this field isn't possible to modify, because is closed.
    Anybody knows way the modify this field? Configure to open?
    Thanks.
    Kind Regards,
    António Pinho

    Hello Amar,
    I am also getting the same error while Releasing Production Order and Costing (CO11N). This error is related to EHP7 in our case.
    Please try one of the following solution and see whether the error is gone or not.
    1. Implement the SAP Note 1317551 - Error AD_SUBCON 141 / 143 / 144 (T417)
    OR
    2. Complete the customizing of Material Provision Indicator (T Code OICO) as per the attachment.
    Regards,
    Prashant Karanjgaonkar

  • To issue the component to the Production Order

    Hello All,
    I have assigned the component to the Operation of Production Order from Different plant(say 1100) of Same company code(1000).
    I want to issue that material from that plant to this plant (say 1000) of Production Order.
      So my question is the correct method of directly issuing the component to this Production Order of different plant.
    Shailendra

    Hi  HAdkar
    The correct procedure is .
    You have to assign special procurement key 80 in material master for which you want to procure from plant 1100. The material master of procuring material should exist for the plant 1100. While running MPR the procurement proposal will be automatically created in the 1100 plant. From 1100 plant you do stock transfer to your storage location. Then finally do GI for the header prod order in you plant.
    This is the procure in SAP. Eventhough both the plants exist in the same compound.
    Regards
    J . Saravan

  • Component addition in Production order.

    Iam doing Sales order Mrp. After that planned order is converted into production order.
    Bom components appear in pegged requirements.
    In production order change mode I delete some components and refresh MD04. Components disappear from pegged requirement. It is ok
    Now In production order change mode I add some components and refresh MD04. Components does not appear in pegged requirement.
    I do MRP again but Components does not appear in pegged requirement.
    How to get components in Pegged requirement list??

    Hi,
    Why requirement for new component does not get added when MD50 is carriied out??
    While running MRP using T-code MD50, The system will explode BOM and it will do the net reqmt calculations. Since the newly added component is not part of the BOM, that is the reason it is not considered.
    After doing Plant level MRP requirement for that component gets generated but it does not appear in pegged requirement of header material??
    When you add the component in the production order, it will create the reservation. In the next MRP run only this reservation will be considered and it will plan.
    Regards,
    V. Suresh

  • How can read BOM component date before save the production order??

    Hi Experts,
    In our company, we need to develop a program to read the BOM component data of the production order
    before we save the production order.
    That for example ,when we create and release a production order , before we save the production
    order,we want a porgram to read the BOM component data. If some component data can meet our
    requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
    small dialog box to remind us.
    There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
    production order before we save the production order. And the BOM component data of the production
    order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
    component data are not saved in the RESB table.
    So how can slove the problem??
    How can read component date before save the production order??
    Are there any other user exit we can use???

    Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?

  • In the production order for 1 of the component material no 261 movement

    Hi SAP Gurus,
    In the production order out of 8 components for 1 of the component material 261 movement is not happening ( Not getting backflushed) Please give some input on this issue.
    Thanks and Regards,
    SHARAN.

    Hi Dhaval,
    In MRP2 view the backflush indicator has been set. But in the parent material BOM setup this material itself not there I informed the user about this, please refer the below user comment ( In BOM the material:Q7829-60184 is appearing and mat:Q7829-60140 not there in BOM, in production order for both the materials 261 movement not happened ) Please give your input on this issue.
    Hi Sharanappa
    We just did a PCO roll  PCO #4619999R3 on Tuesday 30th Dec.
    From Q7829-60140 to Q7829-60184
    All options for Q7840A, Q7829A, Q7830A (except #ACJ, already completed), Q7831A.
    That's why you are not able to see the part in BOM
    How can we rectify this from here?
    Thanks and Regards,
    SHARANAPPA.

  • Open the reservation for the Production order

    Hi,
    I have post the GI for Production order MB1A with movement type 261 from 100 peaces components. I would like to cancel a partial quantity of components from this posting (about 30 peaces). After cancel it the reservation for the production order has to be open for 30 peaces of components.
    I've canceled it through MB1A and mtype 262 but the reservations weren't open and in the PO (component overview there is always the sign"the Final Issue for This Reservation").
    Which T.code and mtype could I use.
    Thanks
    Dede

    Hi,
    Have you cancelled the movement (of 30 pieces) by selecting the "with reference" option from the menu?
    If not, then reverse the current cancellation document. Then again cancel the 261 movemtn by selecting the with refernce button from the menu. It will sove the problem.
    Check & revert.
    Regards,
    Rohit.

  • How to create a manufactured component in a production order network

    Hi,
    I've been facing problems to create a subnetwork in a production order. I want to add a manufactured component at a production order network.
    Does anyone know any BAPI or FM to solve this problem?
    Thks,

    I tried to use the below FM sequence, but I just create no-manufactured compenents. However this tried was failed too, becaus a couple of fields was missing when I go to CO02 transaction.
    CO_XT_COMPONENT_ADD
    CO_XT_ORDER_PREPARE_COMMIT

  • How to check the Production order exits

    Hi Experts
    Modification to processing of Command Orders & Tickets
    We require a modification to the processing being performed on sales data originating from the Command Concrete system and potentially from other systems yet to come online (e.g. Pinkenba Cement plant).
    The Sap process involved is ZINT_INBOUND_POLLING and within that, ZINT_CSTPORD_ROUTINES.
    The problem
    Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
    In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
    This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
    The solution
    In the routine which checks for the existence of a production order, modify the code as follows:
    Inspect each item on the sales order
    If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
    ----  ZINT_CSTPORD_ROUTINES -
    *&      Form  process_inbound_data
          Create prod. orders from ticket data extracted from the COMMAND
          system. Note that large portions of the code in this routine
          have been copied from the retired ZPPU_COMMAND_PRODUCTION
          interface program. This was done (1) because the old code works
          and (2) to save development time.
         -->T_ZINT_IDATA  Internal table of interface data
         -->T_ZINT_PARAM  Internal table of interface parameters
         -->T_ZINT_MSLOG  Internal table of messages
         -->P_ZINT_ID     Interface ID
         -->P_ZINT_TY     Inteface type
         -->P_ZINT_IS     IDOC group for interface
         -->P_ZINT_DL     Flag: delete IDOC group when complete
         -->P_ZINT_AL     Flag: run in standalone mode
         -->P_ZINT_NW     Flag: do not log warning messages
         -->P_ZINT_SQ     Interface sequence number
         <--P_ZINT_RC     Return code (<>0=>error)
    form process_inbound_data  tables   t_zint_idata structure zint_idata
                                        t_zint_param structure zint_param
                                        t_zint_mslog structure zint_mslog
                               using    p_zint_id    type      zint_id
                                        p_zint_ty    type      zint_ty
                                        p_zint_is    type      zint_is
                                        p_zint_dl    type      zint_dl
                                        p_zint_al    type      zint_al
                                        p_zint_nw    type      zint_nw
                                        p_zint_sq    type      zint_sq
                               changing p_zint_rc    type      zint_rc.
    program is continuing .............
    I WANT TO WRITE A CODING HERE **********************
    CHECK IF PRODUCTION ORDER REQUIRED
              IF NOT THEN GO TO PERFORM UPDATE DATA
      if production order required then check
                    for each item on sales order item list
                          with item category = 'ZTAC' then
                                     return true
                                next
                                  end function
        if there is no production code
               these has to be check from VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
      select * from Vbap WHERE VBELN = '00000269951' and VBAP.PSTYV = 'ZTAC','ZTAN' Etc
    No production order?
        elseif lva_prodord is initial.
          clear v_messg.
          call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
            exporting
              input  = lva_filemat
            importing
              output = lva_filemat.
        No production order found - log a warning message.
          concatenate 'Production Order not be found for'
                      'Command order' lva_cmdord
                      'Material'      lva_filemat
                      'Customer'      lwa_02-customer
            into v_messg separated by space.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'FIND_SAP_PRODORD'
                         v_messg
                         p_zint_nw
                         lwa_01-ticketnumber.                " RJS
          continue.
        endif.
    Production Order WAS found... Continue creating IDOCS
        lwa_hdrlevel-postg_date = lwa_01-ticketdate.
    Obtain the storage location parameter value.
        read table t_zint_param with key zint_fn = 'LGORT'.
        if sy-subrc ne c_noerr.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'PROCESS_INBOUND_DATA'
                       'Parameter LGORT is missing from ZINT_PARAM'
                       p_zint_nw
                       lwa_01-ticketnumber.                " RJS
          exit.
        endif.
        loop at l_it_05 into lwa_05
          where ticketnumber = lwa_01-ticketnumber.
          clear lwa_gm_item_create.
          lva_filemat = lwa_05-material.
          if lva_filemat eq lva_prodmat.
            concatenate 'Command ticket-' lwa_05-ticketnumber
              into lwa_hdrlevel-conf_text.
            lwa_hdrlevel-conf_quan_unit = lwa_05-unitofmeasure.
            lwa_hdrlevel-yield          = lwa_05-quantity.
    check whether the confirmed value + current delivery value is equal *
    the production order qty. If the production order value is less
    than the total delivered value, set final conf indicator  and clear
    reservations
            lva_wemng = lva_wemng + lwa_05-quantity.
            if lva_wemng < lva_psmng.
              lwa_hdrlevel-clear_res      = c_false.
              lwa_hdrlevel-fin_conf       = ' '.
            else.
              lwa_hdrlevel-clear_res      = c_true.
              lwa_hdrlevel-fin_conf       = 'X'.
            endif.
            move: 'Z1BP_PP_HDRLEVEL' to t_idoc_data-segnam,
                  lwa_hdrlevel       to t_idoc_data-sdata.
            append t_idoc_data.
            clear lva_formmat.
            lva_formmat                   = lwa_05-material.
            lwa_gm_item_create-material   = lva_formmat.
            lwa_gm_item_create-plant      = lwa_03-plant.
            lwa_gm_item_create-ref_date   = lwa_01-ticketdate.
            lwa_gm_item_create-prod_date  = lwa_01-ticketdate.
            lwa_gm_item_create-move_type  = '101'.
            lwa_gm_item_create-spec_stock = 'E'.
            lwa_gm_item_create-sales_ord  = lva_saleord.
            lwa_gm_item_create-entry_qnt  = lwa_05-quantity.
            lwa_gm_item_create-entry_uom  = lwa_05-unitofmeasure.
            lwa_gm_item_create-orderid    = lva_prodord.
            lwa_gm_item_create-move_mat   = lva_formmat.
            lwa_gm_item_create-move_plant = lwa_03-plant.
            lwa_gm_item_create-mvt_ind    = 'F'.
            clear t_idoc_data.
            move: 'E1BP2017_GM_ITEM_CREATE' to t_idoc_data-segnam,
                  lwa_gm_item_create        to t_idoc_data-sdata.
            append t_idoc_data.
          else.
            clear: lva_loggr,
                   lva_formmat.
            lva_formmat = lwa_05-material.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
              clear v_messg.
              No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              clear lva_loggr.
            endif.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 30.
            else.
              lwa_e1edl21-lprio = 20.
            endif.
          else.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 10.
            else.
              lwa_e1edl21-lprio = '  '.
            endif.
          endif.
          lwa_e1edl21-berot = lwa_04-driver.
          move: 'E1EDL21'   to t_idoc_data-segnam,
                lwa_e1edl21 to t_idoc_data-sdata.
          append t_idoc_data.
          lwa_e1edl55-qualf = '001'.
          lwa_e1edl55-refnr = lva_saleord.
          move: 'E1EDL55'   to t_idoc_data-segnam,
                lwa_e1edl55 to t_idoc_data-sdata.
          append t_idoc_data.
    Loop at materials - create delivery entry for each
          loop at l_it_05 into lwa_05
            where ticketnumber = lwa_01-ticketnumber.
            clear t_idoc_data.
            lwa_e1edl24-matnr = lwa_05-material.
            lwa_e1edl24-werks = lwa_03-plant.
            lwa_e1edl24-vfdat = lwa_01-ticketdate.
            lwa_e1edl24-lfimg = lwa_05-quantity.
            lwa_e1edl24-vrkme = lwa_05-unitofmeasure.
            lwa_e1edl24-lgort = t_zint_param-zint_fv.
            clear lva_loggr.
            lva_formmat = lwa_05-material.
            clear lva_loggr.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
            No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              lva_loggr = 'BBIN'.
            endif.
            if lva_loggr is initial.
              move: 'E1EDL24'   to t_idoc_data-segnam,
                    lwa_e1edl24 to t_idoc_data-sdata.
              append t_idoc_data.
            endif.
          endloop.
          clear: lva_xabln,
                 lva_vbeln,
                 l_vbfa.
    Matching ticket against a Delivery?
          select single xabln vbeln into (lva_xabln,lva_vbeln) from likp
              where xabln = lwa_01-ticketnumber.
          if sy-subrc = 0.
    If found, does this delivery match the sales order?
            select * from vbfa into l_vbfa
              where vbelv = lva_saleord
              and   vbeln = lva_vbeln.
              exit.
            endselect.
          endif.
    No matching delivery found, or Matching delivery, but for other Sls Ord
          if lva_xabln is initial
          or ( lva_vbeln <> space and l_vbfa is initial ).
            if not lva_saleord is initial.
              perform create_delivery_idocs tables t_zint_mslog
                                            using  s_idcgp
                                                   lwa_01-ticketnumber
                                                   p_zint_nw.
            else.
              concatenate 'Error finding a Sales Order for ticket "'
                          lwa_01-ticketnumber
                          '" reprocess the file AFTER'
                          ' the sales order issues have been fixed'
              into        lva_outtext.
              perform write_log_entry tables t_zint_mslog
                                      using  'E'
                                             'ZINT_CSTPORD_ROUTINES'
                                             'PROCESS_INBOUND_DATA'
                                             lva_outtext
                                             p_zint_nw
                                             lwa_01-ticketnumber. " RJS
            endif.
          else.
            concatenate 'Command Ticket "'
                        lwa_01-ticketnumber
                        '" has already been processed into delivery "'
                        lva_vbeln
            into        lva_outtext.
            perform write_log_entry tables t_zint_mslog
                                    using  'I'
                                           'ZINT_CSTPORD_ROUTINES'
                                           'PROCESS_INBOUND_DATA'
                                           lva_outtext
                                           p_zint_nw
                                           lwa_01-ticketnumber. " RJS
            refresh t_idoc_data.
          endif.
        endif.
        refresh t_idoc_data.
    Write out all messages collected so far
        perform update_data tables t_zint_mslog
                            using p_zint_id p_zint_ty.
      endloop.
    Write out all messages collected so far
      perform update_data tables t_zint_mslog
                          using p_zint_id p_zint_ty.
    endform.                    " process_inbound_data
    Thnaks
    Regards

    Thanks
    Thread closed

  • Query to show component cost of production order

    Need help writing a query to show the component cost of a production order, using moving average valuation method.
    I understand the table oinm has all history for an item and its calculated price.
    would like to query a production order to show the cost of components at the time of receipt of that production order.
    ideas?

    I have created this query that will work:
    SELECT t0.docdate,t0.appobjtype as [Prod/Comp],t0.itemcode,t0.dscription,t0.outqty,t0.calcprice,(t0.outqty*t0.calcprice) as [Trans Value],t0.warehouse,t0.appobjabs as [Production Order] FROM OINM T0  WHERE t0.transtype='59' and T0.[AppObjAbs] =[%0] order by t0.transnum
    The prompt is where you enter the production order document number.  It will show the calculated cost of components at the time of receipt.
    Thanks for the guidance.
    Rich

  • How to use BAPI_GOODSMVT_CREATE against the Production Order

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

  • How to settle the production order variance to 3 GL account

    dear all
    i met a problem in the project ,the customer need see the production order variance category detail for (material,routine,overhead variance) in FI report ,so it need to settle the variance to at least 3 GL account
    i don't know how to configure it ,i try to use result analyse like wip ,but go failed
    do you have some suggestion
    thank you

    Hi ,
    Through Standard SAP .. the same it not possible . Standard SAP will post the differences to one GL account ..The variance amount is not segregated..
    The way out is to use report KKO0  .( Product Costing Drill Down Reports  )  in CO . There are many reports available .. and you can compute the difference in CO Reports and manually make an entry in FI by manually reversing the original variance account and posting it to cost component wise variance accounts ..
    To use the KKO0 report.. please perform the following tasks :-
    1. Assign cost component structure in transaction OKN0 ( Date Extraction/Product Drill Down) tab.
    2.  Product Group Type = Material group..
    3. Run KKRV after period end every month to collect the data for drill down reporting..
    Please revert back for any further clarifications
    Regards
    Sarada
    Sarada

  • In inprocess inspection lets say the production order qty is 20. i would want only 1 no. to be inspected while inprocess inspection is configured. kindly guide. Regards,Mathew

    In inprocess inspection lets say the production order qty is 20. i would want only 1 no. out of the 20 to be inspected while inprocess inspection is configured. kindly guide.
    Thanks in Advance
    Regards,
    Mat

    Hi Mathew,
    Create sampling procedure with fixed sample and give sample size = 1. Assign this sampling procedure for the characteristics of the in-process materials in Routing/Master Recipe etc. For sample size calculation at-least one characteristic should be required characteristic for the Material.
    Thanks&Regards,
    kumar

Maybe you are looking for

  • CREATING VIRTUAL DIRECTORY THROUGH jakarta-tomcat-4.1.10

    dear friend(s) how to create a virtual directory through tomcat jakarta-tomcat-4.1.10 please help me very very urgent mohd meraj

  • How do i get a work authorization form

    how do I get a wowk authorization form to take to the repair centre?

  • REG : HTTP connection

    Hi All,           I have  a file to HTTP syncronus  scenario. To test the http URL i wrote a java program and tested it standalone from my PC with method POSTand it is working fine( ie i was getting a response). However when i use the same URL in XI(

  • Numeric Field in Adobe Form

    Hi, I'm trying to display a numeric field in an Adobe Form. The issue is that the decimal part of the the field  is getting truncated when I view the Adobe Form in Print Preview. The numeric field is of the form -6,213.19. In the form the value appea

  • Populating fields to another PDF file

    So I have a pdf that multiple people are using. I want to strip certian info upon submission and copy it to another pdf form. Is there a way to do this?