Bapi_po_create1 Order unit cannot be used

Hello everyone,
I'm using the BAPI_PO_CREATE1 to create a purchase order, but it's giving me the following error:
"Order unit MGW cannot be used", i'm using a material with the unit MGW defined in MM02.
Any ideas?
Thanks,
Fábio Galvã

Thanks for all the replies,
I've given points to all the helpfull replies.
I've managed to create the PO with the unit I wanted, MGW, butt it only placed the unit in 'Order Price Unit (Purchasing)' and placed UN on 'Purchase Order Unit of Measure'. My requirement is to create a PO with MGW on both fields.
Is there any other field I need to fill so that the BAPI creates a PO like I need?
Thank you,
Fábio Galvã

Similar Messages

  • Order unit cannot be used

    Hi Gurus,
    Our requirement is to used the order unit.. we have previous purchase order using the base unit of material and then i update the material indicating required order unit. When we create the Purchase Order some material did not hook the order unit for example base unit= EA(each) and order unit=REA(ream) in the PO EA reflect instead of REA
    and i want the order unit will be in the purchase order i try to change but the message pop-up "Order unit REA cannot be used"
    what will i do? I'm confuse why other material it's ok in order unit and some why did catch the order unit?
    hoping to your possible solution..
    Thanks,
    Marina

    Hi Velu,
    here the informartion regarding the message:
    Order unit REA cannot be used
    Message no. ME898
    Diagnosis
    Unit REA is not intented as an order unit.
    System Response
    The system checks whether the order unit you entered is allowed for this purchase order by comparing the order unit you entered with the order unit that the system determined.
    The system checks the potential sources of the order unit in the given sequence. If a source is not available (if the purchase order is not referenced to a preceding document, for example) then the system checks the next possible source (such as a purchase requisition):
    1. If you create a purchase order with reference to a preceding document (purchase order, contract or request for quotation), the system copies the order unit from the preceding document.
    The Var. OUn (Variable order unit) indicator must not be selected in the purchasing info record.
    2. If you create a purchase order with reference to a purchase requisition and the Var. OUn indicator is selected in the purchasing info record, the system copies the order unit from the purchase requisition.
    In the Enjoy purchase requisition (ME51N), you can maintain the order unit on the item detail screen on the Source of supply tab. In the normal purchase requisition (ME51), you can maintain the order unit on the item details screen.
    3. When the purchasing info record for the combination of vendor and material exists, the system copies the order unit from the purchasing info record.
    4. If you create a purchase order with reference to a purchase requisition and the Var. OUn is not selected in the purchasing info record, the system copies the order unit from the purchase requisition.
    5. If you create a purchase order with reference to a purchase requisition and there is no existing purchase info record for the combination of vendor and material, then the system copies the unit of measure from the purchase requisition item in the item overview.
    6. If you create a normal purchase order, the system copies the order unit from the material master.
    7. When you create a stock transport order, the system copies the unit of measure from the material master.
    8. If the order unit and the unit of measure were not defined in the material master, the system copies the material's base unit of measure.
    9. If you create a service item, the system copies the default unit of measure.
    You can define the default unit of measure in Customizing for External Services Management under Source Determination and Default Values -> for Client.
    Note
    If the Var. OUn indicator is selected in the purchasing info record or in the material master (if no purchasing info records exist), it means that the system can use any unit of measure that has been defined in the material master.
    Procedure
    1. Check the relevant documents and master records (contract or purchasing info records).
    2. Select the Var. OUn in the purchasing info record or in the material master, if necessary.
    thanks,
    Marina

  • Legal controll error is sales order - license cannot be used

    Hi Team,
    The sales order has Legal Control: Issue Error, due to this we are unable to deliver the goods. the below message found in the Log details:
    Access object: License Master
    Key (license nubmer): xxxxx
    Validity period not long enough
    Requested delivery date for item: 02/20/2012
    End of validity period of license: 1231/2011
    License cannot be used
    The license has the period Valid From 01-01-2011 To 31-12-2011, can this be modified? please advise.
    we tried to extend the validity of license but it is not allowing. can anyone give some inputs on this error.
    Thanks,
    Rajam

    Hi Abir,
    In my situation, the sales order already creted in Dec 2011 and has delivery dates in Jan 2012. And the SO has GTS error and unable create delivery, business user releasing the SO manually by going to VX22N for emergency deliveries. but we need permanent solution.
    the license is created under License type NLR (no license required). i dont think, user will accept for creating a new license for this as it is using for couple of years. we are trying to extend the validity of license by going to VX02N but valid From and To fields are greyed out. we also checked the Accepted and Extended fields in Status Tab by giving the future dates but Valid From and To dates are not changed.
    Please advise...
    Thanks in advance.
    Rajam

  • ESOA: "Lean Order functionality cannot be used?" -- RESOLVED!!

    Hello SAP Gurus,
    <b><i>Problem:</i></b> While the sales orders perfectly  get created using "<b>eSOA: ECC_SALESORDER009QR problems.
    <i>Any comments on any part of this message -- hints/feedback on tracing/debugging, no matter how short is the suggestion, would be appreciated!</i>
    Message was edited by:
            Fakher Halim

    Hi Fakher,
    I hada look at your problem the other day when you first raised the issue. I investigated it for nearly an hour but put it aside then because I got really more and more angry with it.
    So, I can't give you any hint but nevertheless decided to drop a short note. I fully agree with your remarks.
    I believe that though SAP in the high ranks rightfully embarked for the right vision towards the SOA paradigm, those who design actual Enterprise Services do it kind of an old-fashioned EAI-way. Maybe the interprete 'Enterprise' in ESOA as 'Intra-Enterprise only'.
    What I came across was a paragraph in the ECC_SALESORDERCRTRC (what should a non-SAP service consumer think of that service reading that name? will he/she ever be able to memorize that?) which stated something like
    <i>Following parameters MUST NOT be supplied any value</i>
    followed by a list of input parameters of the service. What are such parameters good for??
    The other day I came across another Enterprise Service which contained a number of completely cryptic parameters. After some searching I learnt that this were (patented) global data types which you could only understand if you got hold of some several pages long word documents which were at the time only available SAP internally although the services have long been published then. I think they're still kept secret, atl east I have never seen one or seen a reference to it.
    Did you notice that the description of ECC_SALESORDERCRTRC says that it is deprecated and another service should be used instead but it doesn't tell which one?
    I could continue ranting another few hours on this topic but as I found out no one of SAP joins a discussion on this.
    So I can only conclude that Enterprise Services are not meant to be used by any third party service consumer, at least at the moment..
    One last thing. Have you ever seen an enumeration in an Enterprise Service's WSDL? For a long time I thought they have just forgotten to implement it in their current SOAP runtime implementation. I mean, they have a great DDIC, domain values and stuff, they have an inside-out webservice generation wizard but they do not create XSD enumeration restrictions? Why? could it be that they do that on purpose? To make it as difficult as possible for a non-SAP service consumer to understand theservice and auto-generate useful proxies? I wish I would know.
    Concerning the ticket stuff (aka bug reporting tool): Ironically as a third-party service consumer you can't file a CSN ticket no matter how broken the service is. You have to find a SAP customer to file it for you (probably the one whose actual service you want to consume). If you've found bug reporting proxy customer he'll know how to open a ticket.
    sorry that I couldn't be of any help with your problem.
    kind regards, anton

  • Order unit of material

    Hi Gurus,
    We want to change the material to put an order unit, but we have an exsiting PO using the base unit of this material and
    when we edit the material put an order unit the message come out "This order unit has been used already" I can't save
    what I'm going to do? what will be the effect to the existing PO using teh base unit when we put an order unit?
    hoping to your answer.
    Thanks

    Hi,
    IS THERE DIFFER FROM BASE UNIT &  ORDER UNIT.  IF THEN WHAT IS CONVERSION RATIO.
    IF YOU CHANGE THE ORDER UNIT THEN SINCE OPEN PO IS THERE. HOW WILL YOU RECEIVE THE MATERIAL AGAINST WHICH CONVERSION.
    IT IS NOT LOGICAL.
    SAM

  • In PR only base uom can be used - Why not order unit ?

    Hi All,
    When I create PR for raw material, SAP by default takes the base UOM. But our stack holders wants to use Order unit in the PR.
    What is the setting required to use order unit in PR.
    If this can't be done - what is the note number to support this standpoint from SAP.
    Please reply.
    Regards,
    Raj.

    Hi Rahul,
    Base unit : KG
    Order Unit: Meter
    Currently all the raw materials planning is done outside SAP. Hence the planners raise raw material PR to procurement dept for processing.
    Typical PR will have anything from 10 to 25 rawmaterial numbers in it.
    Then again they manually cenvert the required order unit to base unit for PR purpose.
    Thanks,
    Raj.

  • PM order reservation item Category - L cannot be used

    Hi Expert,
    I done following config last 22 years i don't any issue in PM order Componant reservation.
    Plant Maintenance and Customer Service>Maintenance and Service Processing>Maintenance and Service Orders>General Data>Define Default Values for Component Item Categories(L),
    But now i'm facing problem while creating PM order. Materil category cannot be used with item category L.
    Please helpto resolved this issue. Thanks
    Manoj

    HI PeteA,
    Thanks for your Respose
    Actually when we creating the PM Order in Component Tab - If we put Material No . Item Category and plant is flowing automatically. But now when we are creating order and when we insert component and enter it gives error massage as "Material type  cannot be used with item category L
    Message no. CO135"
    Though we insert Item category and plant not allows to do Reservation.
    One more i check in SPRO-Plant Maintenance and Customer Service-Maintenance and Service Processing-Maintenance and Service Orders-General Data-Define Default Values for Component Item Categories-ZERS 1100 L
    ZERS 1101 L
    ZERS 1102 L
    ZERS 1103 L
    ZERS 1104 L
    ZERS 1105 L
    ZERS 1106 L
    ZERS 1107 L
    ZERS 1108 L
    ZERS 1201 L
    ZERS 1301 L
    ZERS 2101 L
    ZERS 2102 L
    ZERS 2201 L
    ZERS 2301 L
    ZERS 2401 L
    ZERS 2501 L
    ZERS 3101 L
    ZERS 3102 L
    ZERS 3103 L
    ZERS 3104 L
    ZERS 3201 L
    ZERS 4101 L
    ZERS 4201 L
    After that it not allowing to do reservation.
    ZERS is Spare Part (Engineering Component)
    Thanks for your Quick response.
    Manoj

  • Error 'Enter order unit'  in PIR Change using IDOC INFREC01

    Hi All,
    I am creating Purchase info record using IDOC INFREC01 and condition type using IDOC COND_A04. Its working fine in case of create PIR.
    But If I pass PIR number in the upload with other fields to be chnaged then IDOC goes the in the error with status 51 , Error
    "Enter Order unit". I am passing both base unit of measure (MEINS) and purchase order unit (LMEIN).
    Kindly help find out the issue....!!!
    Thanks in advance.

    Hi,
    Check if you are passing the ISO code for unit of measure?
    Also, Try debug using WE19 and find out where you are getting the error.
    Hope it helps.
    Sujay

  • MIGO Error- Order Unit & Order Price Unit

    Hi,
    I have a material whose base UOM is EA & alternate UOM is KG.(Conversion is maintained in the Material Master).
    I have created a PO for this material with order unit as EA & order price unit as KG.
    Now,when I try to do the GR using MIGO,I get the following error message:
    "Quantities cannot be converted for the the Material".
    i.e, the system is not able to do the conversion between EA & KG.
    How to resolve this issue? Please advise.
    Thanks,
    Kaveri

    Hi Mallinath,
    I had tried a similar thing with another material & it was working fine.
    To summarise my problem once again,please see the below data maintained by me:
    MMR-
    Base UOM in EA
    Alternate UOM in KG (25 KG = 1EA)
    PO-
    Order unit in EA
    Order price unit in KG
    With the above settings,MIGO is giving me the error:
    Quantities cannot be converted for the material.
    Please advise.
    Thanks,

  • Not allow order unit in INFO record if it is not in material master

    Hello there!
    In standar SAP any user can introduce any order unit in the info record, even if it is not maintained in the material master alternative units of meassure. We need to block this...
    The conversion factor is not a problem for us, as we can set it only for display in the customizing, so that the systems brings it automatically from material master
    The idea is to allow as order units only those units of meassure that exist in material master.
    We have been checking if it is possible, but no success...
    Any idea on how to get it? Error messages, user exists, or so on...
    Thanks!!
    César

    Hey vmendoza7785,
    Congratulations on getting your new iPhone. I'm sure it is frustrating not being able to do everything you want with it. Let's see if we can get your backup started.
    If you are having an issue with being unable to make a backup of your iPhone with iTunes, I would suggest that you troubleshoot using the steps in this article - 
    If you can't back up or restore your iPhone, iPad, or iPod using iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • Error on Sales Order - u201Cyou cannot open rows in the document"

    Hi everyone,
    Does anyone have any idea why this error would be occuring when a user tries to add a sales order?
    u201Cyou cannot open rows in the document [sales order u2013Rows u2013 Rows status] [line0] [Message131 -194]?
    If the user closes the sales order and then recaptures it, the sales order goes through. As you can imagine, the order clerks are getting a bit angry when their large orders have to be closed.
    Thanks.
    Kind regards,
    Simon Carolin

    Hi
    If it is affecting your business severly ,log a support to SAP .Meanwhile ,
    Lets start some troubleshooting your system
    1.Are you using formatted search in Sales Order
    2.Are  you using sp_transaction notification
    3.Did you do any changes in your system recently like upgrade ,
    4.Is it happen only to certain item or BP
    Hint :
    1.Disable all addon
    2.Disable your formatted search
    3.Disable sp_transaction notification
    4.Try to create a sales order and .,
    Does error occur again? Please also specify your SBO version and Patch level
    <Note> Try test your issue  test environment
    This will help to narrow down
    Thank you
    Bishal

  • Cannot be used because it requires iTunes version 10.6.3 or later.

    I updated my phone and now when I try and update my podcasts, etc I get this message:
    The iPhone “John Mott’s iPhone” cannot be used because it requires iTunes version 10.6.3 or later. Go to www.itunes.com to download the latest version of iTunes.
    When I try and update iTunes it tells me I'm up to date.
    How do I fix it?
    Why did I update?  I use Apple because MS always does this.  C'mon already!

    I'm having a similar problem. Perhaps more complex. I just downloaded the 10.6.3 and it didn't solve the problem for my iPhone 5.
    I have the new iPhone 5 and iTunes is asking for iTunes 7.0 in order to recognize the phone. I tried to download iTunes 7.0 but an error comes up stating that I need the 10.6.8. Well I tried to download the 10.6.8 and an error message came up saying that I need minimum of 10.6. So now I'm confused....
    These are the error messages in order.
    1. The iPhone “iPhone” cannot be used because it requires iTunes version 10.7 or later. Go to www.itunes.com to download the latest version of iTunes.
    2. This update requires Mac OS X version 10.6.8 or higher.
    3. This update requires Mac OS X version 10.6.
    Will I have to pay for the 10.6?
    Thanks so much in advance.

  • IPhone cannot be used because it requires iTunes version 10.6.3 or later. (CAN'T DOWNLOAD VERSION 10.6.3!)

    After downloading the new IOS 6 update for my iphone 4, my phone will not connect to my itunes on my laptop and a message pops up and states: "The iPhone “iPhone” cannot be used because it requires iTunes version 10.6.3 or later. Go to www.itunes.com to download the latest version of iTunes".  I can't find the 10.6.3 itunes anywhere to download and I cannot download the 10.7 version because my Mac is the 10.5.8 version.  What can I do?  I do not want to pay for an update for my computer- I wish I had never updated my phone in the first place so I wouldn't have this problem.

    I'm having a similar problem. Perhaps more complex. I just downloaded the 10.6.3 and it didn't solve the problem for my iPhone 5.
    I have the new iPhone 5 and iTunes is asking for iTunes 7.0 in order to recognize the phone. I tried to download iTunes 7.0 but an error comes up stating that I need the 10.6.8. Well I tried to download the 10.6.8 and an error message came up saying that I need minimum of 10.6. So now I'm confused....
    These are the error messages in order.
    1. The iPhone “iPhone” cannot be used because it requires iTunes version 10.7 or later. Go to www.itunes.com to download the latest version of iTunes.
    2. This update requires Mac OS X version 10.6.8 or higher.
    3. This update requires Mac OS X version 10.6.
    Will I have to pay for the 10.6?
    Thanks so much in advance.

  • TEXT material in Sales Order - Unit of Measurement is blank

    We need to trigger a PR from a text item in sales order.
    Only problem we are facing is an error message saying "Enter Order Unit". But there is no value in F4 help for order unit. There is no permissible value for unit of measure in F4 help, as it is derived from material master.

    here is the exact requirement. We want to trigger a PR for procurement of services from a sales order. To trigger a PR for services and use service entry sheet for service confirmation we need to use item category D-Services in the PR and PO. Item category D does not allow a material to be entered as there will be no invetory tracking for this services. This is standard SAP property for item category D in the PR.
    So to trigger a PR only with a text line from a sales order you need to have a sales order line item only with the text and trigger a schedule line category with the order type NB, Item category as D and account assignment category as R.

  • How to manage variable conversion factor in UOM to order unit

    Hi,
    We have a material whose base unit is PC unit price is 8 Euro / PC
    Order unit is Box now we do not have a standard conversion factor.
    Means sometimes vendor send 8 pc/ Box ,10 pc /Box and 12 pc /Box
    so when we create Material master and enter order unit as Box in purchasing view system ask for conversion rate
    if we do not enter any the value in PC field its taking 1 Box =1 PC as default.
    Example: Now while creating PO say we order for 10 box.(at this point we do not know exact conversion rate)
    and in the conditions we maintain price against PC .system calculate.
    Now when we receive the material then we actually know how much QTy we receive in SKU (PC) but that field is blur (no input) in 101 mvt type.
    One more thing In MIGO we can enter the Qty in PO Price Unit say we enter 80 PC
    system only creates stock value posting (80 * 8 =640 Euro ) but the stock qty in MMBE is still 10 piece ( from 1:1 conversion with box)
    Please suggest how we can handle this variable conversion rate.
    So that we can enter correct Qty in the time of GR ( MIGO ).
    Thanks in advance.

    Hi,
    Thanks for the valuable  Input.
    For our material base unit is PC order unit is Box.
    Say we main a conversion factor 10 PC =1 Box ( a default value) in MM01
    And we order 10 Box. but when we receive we found that vendor send 12 pc per Box so total 120 pc
    [ Po price unit is in PC in condition details]
    Now in MIGO we cannot modify that Qty ( from 100 to 120 in PC)
    SO you are suggesting here we receive 12 box in MIGO. so that actual qty in PC is correct..
    Thanks again

Maybe you are looking for