Adjust to Minimum Quantity for Subcontracting Order

Dear guru.
I can set up the Control profile in purchasing customizing in order to round to the minimum quantity filled in the info record.
I have verified that this happen only for standard purchase order.
Do you know a solution in order to Adjust to the Minimum Quantity also for Subcontracting Purchase Order ?
Thanks in advance

solved. it was a my mistake

Similar Messages

  • Goods receipt for subcontracting order! BAPI_GOODSMVT_CREATE

    I wanna use BAPI "BAPI_GOODSMVT_CREATE"  to create goods receipt for subcontracting order.
    But it says that this combination is not possible.  Combination of my movement type and this BAPI.
    What can i do to solve it?
    thanks in advance.

    >
    Julia Nikiforva wrote:
    > I wanna use BAPI "BAPI_GOODSMVT_CREATE"  to create goods receipt for subcontracting order.
    > But it says that this combination is not possible.  Combination of my movement type and this BAPI.
    >
    > What can i do to solve it?
    >
    > thanks in advance.
    Might work
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
    'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
    'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
    include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
    include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
    include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
    include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
    include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
    errflag.
    data: begin of pcitab occurs 100,
    ext_doc(10), "External Document Number
    mvt_type(3), "Movement Type
    doc_date(8), "Document Date
    post_date(8), "Posting Date
    plant(4), "Plant
    material(18), "Material Number
    qty(13), "Quantity
    recv_loc(4), "Receiving Location
    issue_loc(4), "Issuing Location
    pur_doc(10), "Purchase Document No
    po_item(3), "Purchase Document Item No
    del_no(10), "Delivery Purchase Order Number
    del_item(3), "Delivery Item
    prod_doc(10), "Production Document No
    scrap_reason(10), "Scrap Reason
    upd_sta(1), "Update Status
    end of pcitab.
    call function 'WS_UPLOAD'
    exporting
    filename = p-file
    filetype = 'DAT'
    IMPORTING
    FILELENGTH =
    tables
    data_tab = pcitab
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    OTHERS = 6
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
    itab-move_type = pcitab-mvt_type.
    itab-mvt_ind = 'B'.
    itab-plant = pcitab-plant.
    itab-material = pcitab-material.
    itab-entry_qnt = pcitab-qty.
    itab-move_stloc = pcitab-recv_loc.
    itab-stge_loc = pcitab-issue_loc.
    itab-po_number = pcitab-pur_doc.
    itab-po_item = pcitab-po_item.
    concatenate pcitab-del_no pcitab-del_item into itab-item_text.
    itab-move_reas = pcitab-scrap_reason.
    append itab.
    endloop.
    loop at itab.
    write:/ itab-material, itab-plant, itab-stge_loc,
    itab-move_type, itab-entry_qnt, itab-entry_uom,
    itab-entry_uom_iso, itab-po_number, itab-po_item,
    pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
    exporting
    goodsmvt_header = gmhead
    goodsmvt_code = gmcode
    TESTRUN = ' '
    IMPORTING
    goodsmvt_headret = mthead
    MATERIALDOCUMENT =
    MATDOCUMENTYEAR =
    tables
    goodsmvt_item = itab
    GOODSMVT_SERIALNUMBER =
    return = errmsg
    clear errflag.
    loop at errmsg.
    if errmsg-type eq 'E'.
    write:/'Error in function', errmsg-message.
    errflag = 'X'.
    else.
    write:/ errmsg-message.
    endif.
    endloop.
    if errflag is initial.
    commit work and wait.
    if sy-subrc ne 0.
    write:/ 'Error in updating'.
    exit.
    else.
    write:/ mthead-mat_doc, mthead-doc_year.
    perform upd_sta.
    endif.
    endif.
    FORM UPD_STA *
    form upd_sta.
    loop at pcitab.
    pcitab-upd_sta = 'X'.
    modify pcitab.
    endloop.
    call function 'WS_DOWNLOAD'
    exporting
    filename = p-file
    filetype = 'DAT'
    IMPORTING
    FILELENGTH =
    tables
    data_tab = pcitab
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    OTHERS = 6
    endform.

  • Minimum quantity in sales order

    Hello friends,
    Can anyone tell me how to maintain minimum quantity in sales order, (Not Minimum order quantity of material master) as only maximum (target) quantity is maintainable in sales order at Item level? So after this development in sales order, one can enter two quantities (minimum and maximum) so that sale can be done between this quantity range.
    I know this is not possible without exits or developments, but please tell if someone has came across the same scenario which exits used by you.
    <b>Required Minimum Order quantity Field in Sales Order at item level like Cumulative Order Quantity in Sales Units (VBAP-KWMENG) at proper position in Transaction-> VA01-VA02-VA03.
    Program name: SAPMV45A Screen number: 4900 or wherever it is adjusted at item level i.e. Additional Data B Tab.</b>
    Thanks in advance
    Warm regards
    Amit

    Hi Prabhu Peram,
    I want to maintain a input field can you throw some light on the same.
    Regards
    Amit

  • Minimum Quantity in Sale Order based on Ship To Party city

    Dear Experts
    It is possine in Std SAP to get information or error message based on Minimum Quantity in Sale Order based on Ship To Party city??
    Thanks
    Krishna

    No it is not possible.  You have to go for sale order User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE
    thanks
    G. Lakshmipathi

  • GR for Subcontracting Orders

    Hello ,
    We need to do a GR for subcontracting orders , when i read the documentation for the fm MB_CREATE_GOODS_MOVEMENT , it says that subcontracting orders are not supported .
    Searching the forum i found that we can use the fm BAPI_GOODSMVT_CREATE , but i am not sure how to use the fm , what about the components will the BAPI find it or do we need to pass the components .
    So please suggest it there is some way we can use the FM MB_CREATE_GOODS_MOVEMENT to create GR for subcontracting orders as in i think the BAPI calls the same FM and how to handle the components.
    Regards,
    Arun

    Hi,
    Internally, within BAPI_GOODSMVT_CREATE, again it calls the function module MB_CREATE_GOODS_MOVEMENT.
    for the TABLES field IMSEG, we need to pass only the parent material and its quantity.
    Internally using the function module MD_KOMPONENTENVORSCHLAG_WE, it will calculate the components from the table RESB if we are creating with respect to any purchase or else take the reference from STKO/StPO i.e. CS03 transaction ration for the bom component.

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..??
    and also in which table i could find delivery for sales order..
    need help..??
    Moderator message: please search.
    Edited by: Thomas Zloch on Feb 23, 2012

    Check the table AUFM.
    Give the order number in AUFNR.
    For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS).

  • How to get the back order quantity for sales Order

    Hi Friends,
    I want to get the back order quantity for sales order . in MD04 t-code,
    there is a field(MDEZ-MNG01) for Received Qty/ Required qty.  But MDEZ is a structure.
    I tried from MDTB table, but the table is not updated with the values in MD04.
    Please guide me from which table I can get the back order Qty for sales Order
    (ref: t-code  MD04, MRP element = CusOrd).
    Thanks,
    Sagar

    >
    VIdya Sagar wrote:
    > Hi,
    >
    > Isn't  there any difference b/n Open Sales Order and Back order??
    Yes Quite Difference.
    Read:
    http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
    http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm

  • MIGO: Default quantity for subcontracting component

    According to OSS Note 329928, There is no component quantity adjustment in Transaction MIGO, except if you changed the quantity of the material produced for subcontracting before the first time it was opened.
    The quantities that you saw are no longer changed automatically.
    That causes a problem for us, because the people who updates materials just type in the quantity and don't verify if it goes correctly, so that is causing problems in the subcontracting process.
    We checked and there is no BAdI or exit to do that, so we understand that the only solution is to disable the option to expand the subcontracting components. Now the question is: How to do this? Is there any customizing option? Or we'll have to treat it in the BAdI? Or would be better in a screen exit?
    Thanks in advance!
    Rafael Schaffer

    Hi Rafael,
    Did you find any solution?
    We are having the same dificulty, but we need to control components quantity not only at MIGO but also at bapi BAPI_GOODSMVT_CREATE.
    Please share your solution!
    Thanks in advance,
    Carlos

  • Cofiguration step for  SubContracting Order Cycle  (SCO)

    Pls,provide me the the configuration steps of SCO(Suncontracting Order Cycle)

    Sub Contracting Cycle
    (1) You have a material that can be procured externally, and you have maintained BOM with components. Any waste generated and received during subcontracting process can be maintained as component with negative quantity. (special procurement type should be 30 in material MRP2 view for the mateiral you are getting back from subcontractor)
    (2) You create a subcontracting PO (PO with Item Category L). You can also maintain Purchase Info Record for Subcontract category for material and subcontractor.
    (3) You make a transfer posting to issue components for SC PO. Material is sent to subcontractor. As material remains under your ownership, system does not make any value entry. But quantity is shown as "Material Provided to Vendor"
    (4) You receive finished material against SC-PO. You also specify components consumed in manufacturing of finished goods. Additionally, if you have negative components in BOM, now you'll also receive subcontracting by-products. There are three events, so three accounting entries are generated:
    DR FG Stock/ SC By-Product Stock
    CR Change in Stock (FG/ SC By-Product )
    (for finished goods received)
    DR Subcontracting Charges
    CR GR/IR Clg
    (for moneys payable to Subcontractor)
    DR Consumption (Components)
    CR Change in Stock (FG/ SC By-Product ) 0
    (material provided to Vendor is now charged to expense)
    (5) You do the IV for SC Invoice, and the process is complete.
    Process of Subcontract in MM
    Sub-contract business process:
    You want to buy material from the supplier (processed material/ assembled item) , but for some reason (quality of certain item / price ) you will give some component to vendor .
    Vendor shall process the item / use the item provided & supply the final item.
    SAP process:
    1.Create the finished goods material code.
    2.Maintain the BOM for the material.
    3.Create PO with item category as "L" .
    4.Issue material to vendor with movement type 541
    5.Receive the material against the PO with movement type 101.
    6.MIRO to account for vendor's invoice for the service charge& material used by him.
    Note:: At the Time of GR 543 Mvt is up dated for Raw Material.
    Can anybody tell me how a process has to be given to subcontracting?
    Suppose, I have 3 operations 1)weaving 2)dyeing 3)cutting & packing
    if no 2 process (i.e Dyeing) has to be given to subcontracting, what process should i follow ?
    The following process to be followed for subcontracting.
    1. Item code(material master) to be created at the stage of before dyeing.
    2. Item code(material master) to be created after Dyeing as subcontracted item.(F30)
    3. Bill of material to be created for the material(2) calling for material(1)
    4. Info record and source list to be created for material(2) with the corresponding vendor
    5. PO to be released for material (2)
    6.Along with PO the material(1) to be issued to vendor
    7.On receipt of material when GR is made the stock with vendor will get updated.
    How to Create a Subcontract Order?
    To create a subcontract order, proceed as follows:
    Enter the material you want to order and the item category for subcontracting (L) in the order item.
    Press ENTER to display the screen for component processing.
    Enter the components that the vendor requires to manufacture the product.
    Please note:
    u2013 You do not need to enter the date required for the components. This date is proposed by the system when you press ENTER.
    It is calculated as follows:
    Delivery date of the item - Planned delivery time
    u2013 If you do not want the quantity of the components to be changed if the order quantity of the end product is altered, set the indicator Fixed quantity (column F).
    u2013 You can determine whether the components are available on the date required by selecting Edit -> Availability check.
    If you entered a bill of material as the material in the subcontract order, the components are created automatically.
    If you want to determine the components in the bill of material at a later date (for example, if the bill of material is subsequently changed), choose Item -> Component -> New BOM explosion. The existing components are deleted and redetermined in the bill of material.
    Save the purchase order.

  • ATP,confirm quantity for Purchase Order related Sales Order

    Hi everybody,
    I have purchase requisition related sales order item. I created purchase order with this PR.
    I entry confirmation date and quantity on the PO.
    Sales order item's delivery date equal to purchase order item's confirmation date.
    Sales order item's confirmed quantity eq purchase order item's confirmed quantity. It is ok for me.
    But, goods receipt not do yet for this purchase order and sales order stock = 0.
    If I run VL10N for this sales order, I can create delivery.
    I wants to see availilable sales order stock item on the VL10N items. How can I see?
    or
    If no goods receipt for sales order items then sales order item confirmed quantity can equal 0. How can I do?
    Best regards
    Gulay Celik

    Hi
    You can meet your requirement in multiple ways
    1) Modify the requirement routine for copy control from Sales order to Delivery  that DO not create the delivery for third party orders unless the GR is posted for the respective sales order.
    2) IF you have implementded Inbound Delivey functionality in your system, You can change the availabiltity situation every time you modify the GR dates and times. Modify the PO user exit that when ever a new confirmation Key LA is entered in the purchase order it goes and updates the schdule line dates and quantities in the order based on the dates entered in the LA confirmation key.
    and even if delivey gets created also what is the problem ? The GI cannot be posted though unlsess there is sufficient stock.

  • Reg- How to Check pending dispatch quantity for an order?

    HI,
       Pls guide me how to check the pending quantity to be dispatched for an order.
    I Have explained herewith my requirement. A sales order is created for 10 quantities, out of which 6 are delivered. What is the path to check the balance 4 quantities. Also pls tell me the table in which, it gets recorded. I checked in VL04, but pending quantities were not displayed.
    Thanks in advance
    Sivarajesh. J

    Hi siva
    I can suggest an alternative,
    u can get values of delivered qty from table RV45A-VSMNG.
    ANd deduct it from Target Qty  VBAP-KWMENG to get pending dispatch qty.
    u can get this in Order transaction at schedule line level.
    Kind regards
    Mandar

  • Delivery for Subcontracting Orders - SC

    Hi,
    I have create a subcontracting PO.
    I would like to ask which should be the proper way of creating the outbound delivery?
    I've seen that in a ME2O there is a button to make the post Good Issue and another to create the delivery, but as the transaction is called "Stock Monitor for Vendor" I believe it must be another place to create the delivery.
    Nevertheless, when I try to create the delivery I'm getting the message: "Essential transfer parameters are missing in record:  000001"
    Thanks

    Hi,
    To create a delivery (against Subcontracting PO), the following data has to be maintained in the system:
    1. The plant must be assigned a sales organization, a distribution channel, and a division. You can define this in Customizing for Purchasing, in the step Set Up Stock Transport Order.
    2. A delivery type has to be defined for the plant from which the items are to be delivered. You can define this in Customizing for Purchasing, in the step Set Up Subcontract Order.
    3. If you want to reference a reservation when you create a delivery, you also have to set the Predecessor necessary indicator to L (Provision to subcontractor necessary) when defining the delivery type. This means that the requirements generated by the reservations can be correctly offset against the deliveries created. You can define this in Customizing for Shipping, in the step Define Delivery Types.
    4. The vendor for the stock with subcontractor must be entered as the customer in the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    5. The material to be provided has to be entered for the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    6. The combination of shipping condition (from the subcontractoru2019s customer master record), loading group (from the material master record for the components to be provided), and the plant have to be assigned to a shipping point. You can define this in Customizing for Shipping, in the step Assign Shipping Points.
    To create a delivery (in ME2O), choose Edit ® Create delivery. A dialog box appears, in which you can enter the data required to post the delivery. The system posts the delivery in the background and, after posting, it informs you in a dialog box how many items were posted.

  • Batch determination for subcontract orders in MIGO

    Hi,
    I have a doubt. I´ve customized a batch determination strategy for Inventory Management, for movement type 543.
    When i receive a subcontract order, using transaction MIGO, the batch determination process is NOT triggered automatically, until i press button "Stock Determination".
    Is there a way to determine batches in MIGO without pressing this button? (fully automatic).
    Best regards.

    Hello Alejandro,
    Thanks for the further clarification!
    It depends on how you are processing the goods receipt in MIGO:
    .- If you post the Goods Receipt for the Subcontracting purchase order and you do not expand the components, then just flag the main item and post, an automatic batch determination for the batch component will be processed then by the system and the goods receipt will be processed.
    .- If you post the Goods Receipt for the Subcontracting purchase order and you expand the components, then, the batch field will be opened for input and the user manually will need to start the process pressing the icon for the batch determination (or also the one for the stock determination).
    I hope this helps!
    Esther

  • Change available quantity for Sales Order line during ATP control

    Hello,
    When sales order is created and item line is entered I need change available quantity for material. I mean not ATP quantity but available quantity (MCHB-CLABS for material/plant - I need remove some batches from logic)
    Could you tell me when I could add my enhancement for above purpose?
    Thanks in advance,
    E

    Did you try the assignment (Enhancement) ATP00001?

  • Runtime error in MIGO for subcontracting order

    Hi All
    We have an issue in subcontracting process. We are trying to complete goods receipt for the multiple line items for subcontracting PO.
    These multiple line item contains serialized materials. When we are trying to complete the GR, We are getting runtime error saying u201COnly 0 serial numbers entered instead of 1u201D
    Any pointers in resolving this issue will be a great help to us.

    Mohandevegowda wrote:
    Hi All

    > We have an issue in subcontracting process. We are trying to complete goods receipt for the multiple line items for subcontracting PO.

    > These multiple line item contains serialized materials. When we are trying to complete the GR, We are getting runtime error saying u201COnly 0 serial numbers entered instead of 1u201D

    > Any pointers in resolving this issue will be a great help to us.
    Hi,
    Pls check whether you have maintained the serial no for the material in mm01 tcode. When it comes to subcontracting process you will create a BOM by listing all your materials but when you take GR from subcontractor after some action is performed on that list of materials then definitely you have to manually give the serial no in MIGO or check automatic serial no there.you might have not placed anything over there.
    Thanks

Maybe you are looking for

  • How do I transfer music from my iPod to my Mac

    I just got my Mac and I need help transfering music from my Ipod to the computer.

  • PowerMac G5 dual core resolution

    I'm having problems reaching the native resolution on a 26" Dell W2607C LCD-TV. Should the factory fitted nvidia 6600LE (PCI Express) be able to support 1366x768 pixels? I've read that the single-link DVI port supports up to 1920x1200. PowerMac G5 Du

  • I am not able to pay for apps on my new i4 ???

    i am not able to pay for the apps on my i4....for example whats app....why is it so?? the same thing is happening in my friend new i4 too....it is ios6.1.3...please help..!!

  • How can we fine and delete unused variables?

    Hi , This is Kumar, I have been working for some Upgrade project. My manager asked me the way  to know unused variables which are already declared in the program . But i don't know any special way to find them. Normally for Internal tables we are usi

  • Add word processor to Xoom

    MS Notepad (enabled) By default, Xoom has the ability to act as a Notepad using the default Microsoft notepad text ducuments via the "text editor" I have set it up on my Xoom, and if you want, here is how to set it up on yours. Step 1: First you need


HashFlare