Collective Order good moviement 101 - 261 ( sub - order )

Dear gurus,
i inserted in the HALB component the special procurement (52) and the Type procurement = E
I created a production order for the Material Fert and the system create a collective order .
Order 0001 for the FERT material and the order 0002 for the HALB material.
When we confim the order 0002 the system don't create a good moviment 101 for the HALB component  and the MD04 don't exist . In the production order 0002 the issue quantity is 5 pz but we don't see the stock in the MD04.
I need to have the moviment 101 for the sub order . 
How i can have this situation of good moviment ? You can tell me the example of movimentation for the collective order ?
Where we can find the information of this collective order ?
Thanks a lot
Daniele Pistilli
PP TEAM

Dear,
Within a collective order stock movements only take place for the leading order (that is, the order that is at the highest production level) and not for directly produced components. This makes it easier to maintain the collective order in comparison with several individual orders. A further advantage is a more realistic representation of the costs of the production process, since subordinate orders can be directly assigned and settled to superior orders
Hope this will help you.
Regards,
Pavan

Similar Messages

  • Goods movement 101 in Production Order Confirmation.

    Hello Gurus,
    I do the production confirmation via CO15, but when I press the 'Goods movement' button, there are only the components existing on the Goods movement item.
    I can not see the material which I produced with the Movement type 101 'Goods receipt for order into warehouse'.
    Can anyone tell us how to maintain it to allow us do the goods movement for the product?
    Regards,
    Tiger

    Hi Ranga,
    Thank you for your answer.
    I resolve my question according to your solution.
    Select 'Auto Goods receipt' in control key via OP67
    Also thanks to Benny.
    Regards,
    Tiger

  • Incorrect quantity updates of sub-order in collective order

    Hi,
    We are using Cable solutions ver: 4.6c. When the quantity of the leading order is changed (co02), the sub-order quntities are not changing accordingly. Let me explain you in detail.
    Following are the settings in Material Master.
    Material      BaseUoM      AsseblyScrap  ProcurementType    SpecialProcurement   MatType
    MAT1          FT                11.5%               E - inhouse                                                  FERT
    MAT2          FT                                         E - inhouse               52 - Collective Order  HALB
    MAT3          LB                                         F - External               10 - consignment       ROH
    Following is the BOM structure for Leading Material MAT1 with base qty 1000FT
    Component      Qty     UoM
    MAT2               1000  FT
    Following is the BOM structure for MAT2 with base qty 1000FT
    Component      Qty     UoM
    MAT3               7.280  LB
    If I create a production order for MAT1 with qty 1000 - system adds 11.5% scrap and the final qty = 1115 and at the same time it creates a production order for MAt2 with qty 1215 (this is another issue - it suppose to be 1115 but it adds 100 more, dont know why). Now if go to change mode and change the qty for MAT1 to 10000 then the target qty = 11150, but the Qty for for order of MAT2 = 5529 - which is incorrect, it is suppose to be around 11150.
    One thing i noticed is - if Assembly scrap for MAT1 is removed in Material master then the Quantity of the MAT2 is updating correctly.
    Anyone had this kind of issue before? Please let me know the solution to this problem.
    Thanks in advance.

    Is any one there who can help me on this problem. I am waiting.....
    Thanks in advance

  • Amount for production order goods receipt

    How does the system determine the amount of the product order goods receipt for make to order product that uses variant configuration?
    Meaning during sales order, the components are selected to make up that product.

    It is using Sales Order cost estimate because it is only calculated when the items are selected in sales order.
    If there are changes to the sales order, e.g. options are removed or added...
    how do I make sure the GR take the new value?
    I did the following test in QAS:
    - Production order is created but work not started. Production order deleted.
    - Make changes in sales order.
    - Re-do cost estimate in sales order. I do see that the calculated cost has changed.
    - Recreate production order and as per normal production steps
    - When do production order goods receipt, the value remains the old value and not the new one.
    Did I missed out or do the wrong step?
    However, that also does not help to explain why the value ended up as only $0.01 as same as MM costing view.

  • Main Order TECO when Sub-Order is open

    Dear All,
    I just wanted to clarify if we can do TECO of Main Order when Sub-Order is open? If we can control this using any settings.
    Presently it is not allowing to do TECO of Main Order as long as Sub-Orders are open.
    Regards,
    MLN Prasad

    The Main Order Cannot be set to TECO If any sub order exists for the Main Order and have not been completed. When Teco-ing the main order without having completed the sub order the system would show you the following message: Open Sub Orders Exist for the Order (IW 189). To avoid this for example if you want to allow the Technical Completion of the Main Order with its sub orders as open, then
    Go To SPRO-->Plant Maintenance -> Maintenance and Service Processing-> Maintenance and Service Orders-->Message Control
    Here look for the message IW 189 and change its category from E (Error) to W (Warning) or No Message. This would solve your problem.

  • Sub order

    Dear Fnds,
    In CS module,In Which Scenario Sub-Order will come into Picture.
    Actually my Requirment is ...After /During the Service order i found that ,the Product is not workable.
    so i need to produce same material .for that i need to raise the Planned/ Production order.
    Can i Use ,Sub order for my requirment.
    Thanks in Advance
    Regards
    raj.

    Dear Rakesh,
    Yes..what you said is Exactly rgt.
    All my Products are MTO products.
    Any products comes for the Service ...Service Technician Decided to Replace the Product.
    For this item I need to Run the MRP w.r.to any of this (Service notification/Service order Etc...)
    Or Is there any way to Do this process......
    Thanks in Advance
    Regards
    raj.

  • Automatic Sub Order confirmation in Collective Order

    Hello, I am using collective order, and have the 'HEADER' order and all child orders released. Our requirement is that once the Main Header order is reported confirmed, ALL child production orders should be auto confirmed as well. (we could have MANY child orders under the header order). I tried using the OPKI setting for collective entry to 'Order Header' but it is greyed out in the change mode during config. Any thoughts will be much appreciated.

    If you're doing the confirmation of parent order (leading order) at header level (meaning you use CO15) then you can only confirm that particular order and not any child order. If you want the child orders to be confirmed also after completely confirming you'd have to change the control key of last operation of routing in leading material as milestone and use CO11 or CO11N and just confirm the last operation, it will automatically confirm all the operations in the leading order and all the sub orders (child orders). I don't think your OPKI setting will solve the issue.
    Production orders that belong to collective orders are generally confirmed like normal production orders. However, you should note the following:
        When you carry out a confirmation at header or suboperation level, you can only confirm the order concerned.
        When you confirm at operation level, you can confirm operations for all orders as long as you work with milestone operations or progress confirmations.
        When there is a confirmation in the collective order, the system sets the status CFCO (release occurred in network) at the header level of the leading order in the collective order.
    If you want to read more than what I mentioned, you go to this link

  • Goods Receipts 101 E from Production Order without valuation

    Hi,
    we faced a strange issue relating to the final confirmation of production order.
    In some cases, the goods receipt of main order, created by the confirmation in CO11N, has value "0".
    Taking a look to some production orders for the same product, they have no differences and the valuation is correctly with the plan cost estimate.
    The issue is triggered twice:
    1- Directly with the first confirmation in random cases;
    2- Confirmation with wrong value (higher than Zero), reversal of confirmation and new confirmation without valuation.
    Could you please help us?
    Thanks.
    MC

    Hi
    With Valuation Strategy M, a record is created in EBEW for each sales order
    1. The first goods receipt results in valuation on the basis of one of the subsequent strategies in the specified sequence. A standard price selected through one of the subsequent strategies is copied into strategy and serves as the valuation basis from this point onwards.
    - The system calculates the standard price on the basis of your customer exit COPCP002 Material valuation for valuated sales order stock.
    - The system calculates the standard price in a sales order cost estimate. This sales order cost estimate can be based on a unit cost estimate or on a product cost estimate.
    - The system determines the standard price using the production order cost estimate or the planned costs for the WBS element. If there are multiple production orders for the same sales order item, the system uses the standard price that results from the production order that delivers first (see strategy 1).
    2. If the above price is changed after first delivery, then the difference would be posted as output price variance at month end.
    3. Even reversal of first goods receipt does not reverses the standard price. You need to manually change it using MR21..
    4. Have you ticked "W/o Val Strategy" in your req class? If yes, it means that inventory is valuated using Std cost from CK11N... In your case, if it is ticked and Std cost is not released, then GR will be valuated at zero price
    BR,Ajay M
    BR,Ajay M

  • Free Goods - Not showing in sales order as subsequent item

    Dear Gurus,
    I have created a Free Goods procedure determination and maintained it at Customer/ Material level in VBN01.
    The procedure is inclusive as follow:
    For every 100 units purchased, the customer gets 10 units free
    However at sales order level there is no indication at all that the Free Goods are being triggered.
    When I check the pricing procedure, the condition record NA00 that I have used doesn't show-up.
    There is no subsequent item in the sales order under the main item showing the Free-Goods discount.
    Could you please help me go through the customizing process to correct the error?
    Many thanks for your help
    Chris

    Hi,
    FYI
    Free goods can be configured in SAP by following two methods.
    (1) Manually
    (2) Automatically
    Manually: By specifying higher level item category for a line item we can determine free goods as a free of charge
    items during sales order processing.
    Automatically: System proposes free of goods automatically in the sales order. In automatic free goods
    configuration system follows two methods.
    (1) Exclusive
    (2) Inclusive
    Exclusive: System configures free goods in exclusive option like free goods quantity is going to be excluded in
    order quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 10 + 1.
    Inclusive: System configures free goods in inclusive option like free goods quantity is going to be included in order
    quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 9 + 1.
    NOTE: In exclusive method other items also can be given as a free of charge items for order item.
    Configuration steps: INCLUSIVE
    SAP follows condition technique to configure free goods automatically.
    Maintain pricing procedure
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Condition technique for free goods
    Maintain pricing procedures
    Choose free goods procedure NA0001 and select it
    Click on copy icon on application tool bar and rename it Ex: SRI001
    Condition type is NA00 and Access sequence also NA00
    Save it and Exit
    Activate free goods determination
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Condition technique for free goods
    Activate free goods determination
    Go to new entries
    Specify our sales area, document pricing procedure, customer pricing procedure and specify our free goods
    procedure Ex: SRI001
    Save and Exit
    Control free goods pricing
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Control pricing for free goods item category
    Choose item category TAN from position button
    Specify the pricing as X = Pricing standard
    Choose item category TANN from position button
    Specify pricing as B = Pricing for free goods (100% discount)
    Save and Exit
    Maintain condition type for 100% discount
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain condition type for 100% discount
    Check whether condition type R100 is available or not (R100 = is 100% discount)
    Exit
    Maintain pricing procedure for pricing
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain pricing procedure for pricing
    Choose our pricing procedure form position button and select it
    Click on control data icon under dialog structure
    Include condition type R100 between the steps of discounts.
    Specify requirement = 55 and Routine No: 28 (100% discount) in Alt. CBV.
    Save and Exit
    Requirement 55: The Routine No. 55 is assigned to condition type R100. If the user wants to look both revenues
    and sales deductions for the free items since the product that we are going to give as a free of charge item can be
    sold separately in the same sales order. Then the item category of free goods TANN has the pricing value as B.
    Then the system calculates value of the free goods as 100% discount as we discussed above the same material [that
    is going to be given as a free of charge item]. Some times the same item is going to be given as a normal item.
    Then system calculates price for normal item and system should not calculate price for same item [free of charge
    item]. So as to perform this calculation we have to assign Requirement/Routine 55 is to assign condition type
    R100.
    Alt CBV = 28: [100% Discount] Condition type R100 should be taken as a ZERO value. The formula 28
    calculates condition type R100 value as a ZERO.
    Set Transfer of cost to Main item: [Copy control]: Transaction code: VTFL
    Copy control is a concept by which the system copies the data from source document to target document.
    Path:
    IMG
    Sales and Distribution
    Basic functions
    Pricing
    Free goods
    Control free goods pricing
    Set transfer of cost to main item [copy control]
    Choose Billing type F2 Delivery document type LF from position button
    Select it and click on itemicon under dialog structure
    Choose item category Ex: TAN
    Click on details icon
    Click on display or change icon
    Choose item category as TAN again
    Select it and click on details icon
    Check cumulative cost
    Save and Exit
    Cumulative cost controls whether the cost value (VPRS) is to be copied from relevant sub items into main items.
    Sub items cost are not relevant for billing.
    Maintain copying control: Transaction code: VTAA
    Path:
    IMG
    Sales and Distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain copying control
    We maintain copy control at item level category for free goods. In this field we can control whether the
    free goods should also be transferred when we copy from one document to another document.
    Choose source document type as QT and target document type as OR from position button
    Select it and click on item control button under dialog structure
    Choose AGN item category from position button
    Click on display or change button
    Again click on AGN
    Click on details icon
    Check Re u2013 explode structure/Free goods
    Save and Exit
    This indicator controls whether the free goods are copied from source document to target document or redetermined
    again.
    Maintain condition records for Free goods [INCLUSIVE]: Transaction code: VBN1
    Path:
    Logistics
    Sales and Distribution
    Master data
    Conditions
    Free goods
    VBN1 u2013 Create
    Specify condition type NA00
    Click on key combination
    Specify all the data
    Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
    Specify the Material No., Minimum order quantity (Ex: 10), Specify [from] the free goods quantity (Ex:
    10), Unit of measure u201CEAu201D (Each), Free goods (are free goods) as u201C1u201D.
    Calculation procedure: We can specify the Routines for calculation procedure as 1 or 2 or 3
    1 = Pro u2013 Rata (Proportionate): Ex: If the customer places order for 100 cases of material u201CXu201D, then customer
    receives 20 cases of same material as free. That means, the business can say that buy 100 and get 20. If the
    customer orders for 162 cases, then system automatically grants 32 cases as a free of cost (162x20/100 = 32 Cases).
    2 = Unit of reference: When customer orders for 100 cases of material u201CXu201D, then the customer receives an
    additional 20 cases as a free of goods. That means business can say that buy 100 get 20 free by granting 200 free
    for every full of 100 cases. The customer places order for 162, then system automatically grants only 20 cases
    (100x20/100=20).
    3 = Whole unit: When a customer places order for 100 cases of material u201CXu201D, then the customer receives additional
    20 cases of material u201CXu201D as a free of goods item. The business can say that buy 100 and get 20 free of charge items.
    If the customer orders for increment of 100 that means 200 (100 + 100) items, then he gets 40. If he placed the
    order for 101 u2013 199 items he gets only ZERO.
    Save and Exit
    Condition record for EXCLUSIVE: Transaction code: VBN1
    Path:
    Logistics
    Sales and Distribution
    Master data
    Conditions free goods
    Specify the discount type u201CNA00u201D
    Click on key combination
    Click on Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
    Specify the sales organization, distribution channel
    Specify customer number and validity periods, material, minimum quantity, order quantity, unit of
    measure, calculation procedure, free goods (3)
    Specify additional material free goods (if other goods is going to be given as a free of charge item.
    Save and Exit
    Go to VA01 and raise the sales order for INCLUSIVE and EXCLUSIVE.
    See the Free Goods effect.
    Condition type NRAB = Free goods: Requirement = 59, Alt CBV = 29: [only for INCLUSIVE purpose]
    Requirement 59: We have to assign requirement 59 to the condition type NRAB. If the customer buys 100 cases
    of product u201CXu201D, then he receives 10 cases of the product free. If the user would not like the additional line item in
    the sales order for free goods rather than the discount of the 10 cases is represent in the same line item as other 90
    cases. If the free goods discount should not apply on credit for returns that do not make reference in the previous
    document.
    Alt CBV 29: The condition type NRAB is to be assigned with 29 formula to support inclusive free goods
    agreement where the user would have to apply the discount to the order item rather than having a sub item
    generated for the free quantity.
    Ex: The customer orders for 100 cases of product u201CXu201D, 10 cases are free instead of having a free sub item generated
    b the system to represent the free 10 cases, the user would like to have a discount applied to the 100 cases line item
    equal to the value of the 10 cases.
    NOTE: Free goods can only be configured on document category type u201CCu201D (OR). That means we cannot configure
    free goods on Inquiry and Quotation.
    Header Conditions
    SAP has delivered two kinds of condition types: (1) Header conditions
    (2) Item conditions
    Header conditions: The value of the header condition applies to the whole items in the sales document.
    Header conditions do not have any access sequence.
    So that, value of the header conditions should be maintained manually.
    Ex: HA00, HB00
    Configuration settings:
    Include condition types HA00, HB00 in V/08 in between the discount condition types.
    Go to VA01 and raise the sales order
    Select line item and go to Go to button
    Header Conditions
    Include condition type HA00 HB00 with values [HA00 is percentage discount and HB00 is absolute
    discount]
    If HA00 = 1%, then system applies 1% on base value on all items in the sales order.
    If HB00 = 100/- Rupees, then system applies 100/- Rupees proportionately to all items in the sales order. If sales
    order has two items, then system applies 50/- Rupees to each item.
    Click on activate button
    Go to item condition screen
    Check how system applied header conditions for line items
    NOTE: Make sure that sales order contains more than one item.
    Condition Scales
    We can maintain scales for each and every condition type. So that we can determine pricing conditions values
    depending upon the range of the order quantity.
    Ex: If you maintain condition record for PR00 for material one as a 100/- Rs. For 1 material, then we can maintain
    scales for this material like below:
    From Quantity Price
    1 u2013 10 1000
    11 u2013 20 999
    21 u2013 30 998
    31 u2013 40 997
    Configuration settings:
    Go to VK11
    Maintain condition record for PR00
    Select line item and click on scales icon on the application tool bar
    Maintain scales and scale rates accordingly
    Save and Exit
    Go to VA01 and raise the sales order
    Enter the order quantity according to the scale and see the scale effect
    Regards,
    Siva

  • Problem for Goods Receipt for Subcontracting Purchase Order

    Dear all,
    Presently, we are using SAP version 4.6C and we need to introduce GR for
    Subcontracting Purchase Order. We have developed a ABAP program to handle
    subcon Goods Receipt by uploading flat-files from our subcontractor. The
    scenario is as follows :
    Goods Receipt for Subcontracting Purchase Order
    1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
    movement.
    2. Data provided to the function are as follows :
    - Posting date
    - Document date
    - Material number
    - Plant
    - Storage location
    - Batch
    - Movement type (101)
    - Quantity
    - Purchase order number
    - Purchase order item
    - Movement indicator (B - Goods receipt for purchase order)
    3. The function will do data verification and automatically determine GI
    item for subcon stock:
    - Movement type (543)
    - Special stock (O - parts prov. vendor)
    - Material
    - Quantity
    - Plant
    Our problem is that :
    Only the GR item in the interface is to be transferred and the GI item is
    determined by the system. So, the quantity for subcon stock cannot be
    changed using this BAPI. Then the system will continue processing the goods
    receipt and create material document.
    Manually, by using transaction code MIGO, the user can display the subcon
    stock data and then change the quantity.
    By using transaction code MB01, after the user fills in all the GR fields,
    the system comes to line item 002 (subcon stock data) and then quantity can
    be changed.
    As per user requirement, quantity for GI item must be same with the quantity
    that has been transferred to subcon vendor in Delivery for Subcon
    (transaction code VL02N).
    We cannot achieve this requirement by using the BAPI mentioned above. Would
    appreciate any valuable help from anyone who is able to help us on this
    matter. Are there any other BAPI's that can help us to achieve the same
    result ?
    Thank you in advance and best regards.

    As far as i understood the problem I suggest u to create the
    BDC according to user actions that are performed in he manual
    operation.
    I can't say that the BAPI performs the exac solution what you want.
    I have done some BDC work using MB01 and suggest you to be careful
    and try to keep the complete in the logic as some chages in rows in BDC will
    change the complete scenario.And throw correct quantity val in correct
    material
    row.
    This methodology will help u even in mass uploads.
    Or in case of automation u can perform the call transaction BDC in
    background mode.
    so As per my understanding bdc program is the solution. pls try and let me
    know.

  • BADI for MIGO ( Material document change for Production Order goods Receipt

    Hey experts,
    I am actually stuck up with MIGO BADI.
    There are many BADI's available but i dont think any one would suit my requirement.
    here goes my requirement.
    When a Production Order is created in transaction CO01 , the system picks the value of the moving  material and multiplies it with the quantity .
    But when the production order is being confirmed thru CO11N , again the system picks the present moving price of the material and multiplies it with the quantity. This goods receipt is done through MIGO transaction by selecting goods receipt for order that is 101 movement type. I have been asked to get the value of the material at the time of production order create and then change the dmbtr value of MSEG table, this can be done in the badi at the time of creation of material document number but the BADI's MB_DOCUMENT_BEFORE_UPDATE,  MB_DOCUMENT_UPDATE do not allow me to change the values .
      The BADI MB_DOCUMENT_BEFORE_UPDATE does not allow any changes to be made for XMSEG table
    and MB_DOCUMENT_UPDATE is passed by value and hence the changes are not affected after it comes out of the method.
    Guys please help me as this creating a hell lot of problem here and i would surely reward the max points if answered.
    here is the example to be more precise.
    Material : Pen
    Quantity : 10.
    date : 01.06.2008.
    TYransaction co01.
    lets say at the time of creation the value of the material was 5 rs
    a material document would be created with the value  : 50 rs.
    Now for this prod. order goods receipt is being done on 01.07.2008.
    Let the value be 4 rs now.
    so the Material document would be created with a value of 40 rs.
    I need to make this 50 rs.
    I have got all the data to do it but i am not gettin the coreect BADI, i just want the BADI name to change the DMBTR value at the time of creation of material Document.
    Thanks in Advance.

    User-exit /BADI to change mseg during migo
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5435559
    try this links

  • No goods receipt possible for purchase order 4000010123 00001

    Hi Experts,
    I created PO with 100 Qty then create GR with 20 Qty with mvt type '101' .
    then I am doing Return PO with 20 then I am creating GR with Reference to return PO with 161 movement type through BAPI 'BAPI_GOODSMVT_CREATE'.but it  giving error as 'No goods receipt possible for purchase order 4000010123 00001'.
    but manual it is working fine and creating GR.Please let me the reason.
    I am unable post GR for first time with fresh return po.but second time after manual posting.i am able to do it.

    Hi,
    have you compare the data you send to bapi with data recorded in GR (mkpf/mseg) tables by the system after manual document posting?
    I would check it first - here usualy is the diference between manual and bapi document creating that causes problems.
    hope it helps
    regards,
    wojciech

  • No goods receipt possible for purchase order Number and Item number.

    Hello experts,
    When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
    No goods receipt possible for purchase order <PO number> <line item number>.
    But the GR is getting created manually using Transaction MIGO for the same PO number.
    I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
    In my case 
    1.deletion indicator is not set for the Purchase order line items
    2.And Movement type is 101
    3.And gm_code is 01.
    Could anyone please suggest me, what else could be the reason for this error?

    Here is the code what i have written.
      f_gmvt_header-pstng_date = sy-datum.
      f_gmvt_header-doc_date   = sy-datum.
      f_gmvt_header-pr_uname   = sy-uname.
      f_gmvt_header-ref_doc_no = p_ebeln.
      f_goodsmvt_code_tmp        = '01'.
    * Looping the PO details.
      CLEAR: gf_item,f_gmvt_item.
      LOOP AT gt_item INTO gf_item.
    * fill the bapi item structure details
        f_gmvt_item-material   = gf_item-material.
        f_gmvt_item-plant      = gf_sbms-werks.
        f_gmvt_item-stge_loc   = '0001'.
        f_gmvt_item-move_type  = '101'.
        f_gmvt_item-po_number  = p_ebeln.
        f_gmvt_item-po_item    = gf_item-po_item.
        f_gmvt_item-entry_qnt  = gf_item-quantity.
        f_gmvt_item-entry_uom  = 'PC'.
        f_gmvt_item-entry_uom_iso = 'PCE'.
        f_gmvt_item-po_pr_qnt = gf_item-quantity.
        f_gmvt_item-orderpr_un = 'PC'.
        f_gmvt_item-orderpr_un_iso = 'PCE'.
        f_gmvt_item-no_more_gr = 'X'.
        f_gmvt_item-ref_doc    = p_ebeln.
        f_gmvt_item-prod_date  = sy-datum.
        f_gmvt_item-mvt_ind    = 'B'.
        f_gmvt_item-move_reas  = '101'.
        f_gmvt_item-vendor      = gf_lfm1-lifnr.
        APPEND f_gmvt_item TO t_gmvt_item.
        CLEAR f_gmvt_item.
      ENDLOOP.
    * cALL THE bapi fm FOR gr POSTING
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = f_gmvt_header
          goodsmvt_code                 = f_goodsmvt_code_tmp
    *     TESTRUN                       = ' '
    *     GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              = f_gmvt_headret
    *     MATERIALDOCUMENT              =
    *     MATDOCUMENTYEAR               =
        TABLES
          goodsmvt_item                 = t_gmvt_item
    *     GOODSMVT_SERIALNUMBER         =
          return                        = t_return
    *     GOODSMVT_SERV_PART_DATA       =
    *     EXTENSIONIN                   =
      IF sy-subrc = 0.
    * For commit the changes use BAPI_TRANSACTION_COMMIT FM.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    *      MOVE: f_GMVT_HEADRET-MAT_DOC   TO WA_DET-MBLNR,
    *            f_GMVT_HEADRET-DOC_YEAR  TO WA_DET-MJAHR,
    *            f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
    *      APPEND WA_DET TO IT_DET.
    *      CLEAR WA_DET.
      ENDIF.

  • Goods return against maintenance work order exceeds goods issue

    Is there a way to prevent returning more quantity (262 movement type done within MB1A) than was issued (261 movement type done within MIGO_GI) against a maintenance work order component?
    Thanks in advance,
    Rick

    Hi,
    Movement Types 261 and 262 works in Planned as well as in Unplanned both ways.
    If you do Goods Issue w.r.t. Maintenance/Work Order (Movement Type - 261) then components and their quantity get defaulted from the reservation created automatically during order creation and system does not allow us to issue more that the quantity in reservation.
    Similarly when you cancel the Goods Issue Document then it hits Movement Type 262 automatically and does not allow to edit the quantity.
    The above two processes are planned ways.
    Now when you want to do extra consumption of components against Maintenance/Work Order then you do not do Goods Issue > Order, instead of this you do Goods Issue > Others and then specify all the necessary details manually (Like; material, quantity, etc...) and enter Maintenance/Work Order as an Account Assignment on which the cost is getting loaded.
    Similarly when you are receiving materials from Maintenance/Work Order using option Goods Receipt > Others then here also there is no control and you can receive any quantity from Maintenance/Work Order since here also Maintenance/Work Order is working as an account assignment not a control document.
    The above two processes are unplanned ways.
    So in short, there is not any control on this movement when it is unplanned.

  • Need to Do 1 Goods Recipt  from Different Purchase orders from one Vendor

    Hi Experts,
    Would like to have a Query, My Client require, As he has raised 10 Purchase.Orders"S with respect to one Vendor depending upon the stock requirement. He wants all the 10 Purchase orders to be inwarded in one attempt itself, Even the vendor has collected all 10 purchase orders at a time and send all 10 Purchase order goods at a time Can be it possible to do GR of all 10 Purchse orders in one Goods recipt.
    Waiting for your reply.
    Best Regards
    Javeed

    Yes, you can do it in MIGO..
    Pls enter the PO number & press Enter and again  enter the PO number & press Enter .
    Continue like this..for all your Po's..
    The prerequisite for this is the Vendor Should be same for all the PO's

Maybe you are looking for

  • I have a new iPod touch. I've synced it through Itunes. None of my iTunes purchases show on my iPod now. Help....

    I've been trying to download some games to my son's iPod touch. I have several now in my iTunes library and have synced the iPod many times. They still do not show up on the iPod.Also, when I click on the purple iTunes app on the iPod it says that it

  • Hardware functional​, but CAN messages not received by PC

    I recently moved a desktop CAN card from my office to a computer in the lab to replace a slow laptop. The laptop has a PCMCIA CAN card and communicates properly over the CAN bus. I installed LabWindows v6.0, then installed NI-CAN v2.2, shut down the

  • ESS framework in web dynpro for ABAP?

    Recently, I need to start an ESS project using web dynpro for ABAP. Unlike web dynpro for java, we have ESS framework in every track, like pcui/xx DCs and ess/per DCs in the track. And as there are existed projects in the DCs like ESS/JP/ADDRESS, we

  • ADDRESSNUMBER to print address  in sapscript.

    Hi all, This is the code in my sapscript, currently it is printing the 'PO Box Addresss'. I know this method calls the function module 'address_into_printform' for printing address. In FM 'address_into_printform' there is a parameter through which we

  • Finding pics in iPhoto!

    When I attempt to find a photo in iPhoto, Finder defaults to the Apple name of the file, including breaking the files down by modified and original, and year. Is there a way to browse by Album (not roll) and the name I called the photo? This is so si