Purchase Orders without prices

Hi,
  I' m creating Purchase orders using code, this is ok, but, when check in the puchase orders forms and find the document, the column price is not setting and in the DB (table POR1) the price column is setting. The code is:
SAPbobsCOM.Documents     oDocuments     =     null;
oDocuments = (SAPbobsCOM.Documents)SAP_Utils.company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders);
oDocuments.CardCode = mRow["Proveedor"].ToString();
oDocuments.DocTotal = Convert.ToDouble(mRow["Cantidad"]) * Convert.ToDouble(mRow["Precio"]);
oDocuments.DocDate      = DateTime.Now;
oDocuments.Lines.ItemCode = mRow["Producto"].ToString();
oDocuments.Lines.Quantity = Convert.ToDouble(mRow["Cantidad"]);
oDocuments.Lines.Price = Convert.ToDouble(mRow["Precio"]);
oDocuments.Lines.Currency = mRow["Moneda"].ToString();
oDocuments.Lines.WarehouseCode = mRow["Bodega"].ToString();
oDocuments.Lines.LineTotal = Convert.ToDouble(mRow["Cantidad"]) * Convert.ToDouble(mRow["Precio"]);
oDocuments.Lines.BaseEntry= 0;
oDocuments.Lines.BaseLine= 0;
iReturn = oDocuments.Add();
What is the problem?
tks for your help..

Hi Ian,
It's true that we can get the decimal places setting of company database using sbobobscom. But the problem I'm facing is not that.
Let me give you an example to show you the incorrect total that I mentioned:
If you create a Goods Receipt:
1. Item A with qty=1000 with unitPrice= $1.7755
Note: Decimal places for Prices is set to 3.
So, if i enter the unit price and quantity, i will end up getting the total = $1,776
(because unitprice is $1.7760 instead of $1.7755)
And it's not correct because I should actually get the total = $1,775.50.
And that's the reason why I want to enter Total instead of unitPrice so that I can have total  = $1,775.50.
This is really confusing, because the rounding method of the system is different between SBO2004 and SBO2005.
In 2004, if you set the decimal places to 3, even when you enter value with more than 3digits after decimal point, it will still save the whole number but only show 3digits after decimal point.
However in 2005, it will save and show 3digits after decimal point.
cheers
erwine

Similar Messages

  • Can we issue purchase order without price info

    Hi,
    We had issued purchase orders to a vendor, but we come across that price info has not been maintained for the same. It seems that this is exceptional case. Can we issue purchase order without price info ??
    Regards...

    Hi,
    In general case while creating purchase order price is picked up from purchasing info records which are valid , if the info record is not maintained it is picked up from last purchase order.
    But as you said it is purcahse order without info records.
    Options available are;
    You can manually enter the price in the item overview and details will automatically get calculated in item detail of purchase order
    You can mark free delivery indicator in the item overview.
    Thanks,
    Tushar Patankar

  • Creation of Purchase order without Quantity

    Dear experts,
    Good Evening,
    My client requirement is to create a purchase order without any quantity but with price ,is it possible by any chance.
    Thanks
    Vijay rebala

    Sorry for not responding ,but business wants purchase order
    That's probably what is wrong with your scenario. Business shouldn't "want a purchase order", Business should want a process that works, irrespective of the transaction.
    It's up to the people that know how the ERP works, to tell the business how they should use it.
    If they are in the negotiation phase, they shouldn't be using a Purchase Order to do it, they are basically exchanging quotations.
    The Purchase Order should be used when you have already agreed to the terms. That's how SAP standard works,.

  • Ammendent to Purchase Orders without changing document Number

    Hi Experts,
    Can we issue amendment to Purchase Order without changing the Purchase Order  Number for change in any of the following parameters:
    (a) Quantity
    (b) Unit Price
    (c) Statutory Levies
    (d) Delivery Schedules
    (e) Technical Specifications
    Kindly advice me.
    Thanks in advance,
    Regards,
    Rounak

    Hi Rakesh,
    Thanks for your suggestion...........
    If incase there is a PO with 100 ton of Steel and after subsequent supply of 40 tons it has been found that some of the above mentioned parameters are changed, thre how can we do the changes/amendents so that we need not issue a seperate PO. also if the supply is over the said demand qty of 100 tons (say 125 tons) how do we account the same in tghe existing PO?
    Kindly advice....
    Regards,
    Rounak

  • GTS 7.2 - Error with account assigned purchase order without material

    All,
    I am creating an account assigned purchase order without any material master in the feeder system (ECC 5.0) and it a standard SAP functionality.
    I am getting the following GTS related pop up message and documents are posted to technically incomplete documents in GTS 7.2.
    "Legal Control: Custs Prod. Mast. Required
    Material                                                  "
    Any ideas on how get rid of this error message
    Edited by: James Puzon on Oct 3, 2008 9:32 PM

    James,
    Even though material numbers are not mandatory on POs in the feeder system (ie in ECC) they ARE mandatory in SAP-GTS.
    This means that every line item (PO, SO, delivery) that is sent to GTS for compliance screening or Customs processing MUST have a material number in the feeder system.  You have a couple of options to resolve this:
    1. Always use a material number on all transactions that you enter in your feeder system if they are exports or imports (ie relevant for GTS). You can create service materials or "dummy" materials in ECC for items such as user manuals, warranties or installation services that are part of a particular shipment.
    2. You can add logic in the interface for GTS to always transfer a particular material number to GTS if the material number is blank on the line item of the feeder system document.  Ideally you would want to link this custom logic to a custom maintenance table in ECC so that you can easily change the material number that is sent to GTS without having to change the code.
    3. Override the error message by changing the message type to a warning or informational message (not recommended because this would require a small code modification because I don't think the message type is configurable for this error).  Even if you did make this code change you would likely run into more issues in GTS because license determination and other GTS services need a material number to function properly.
    Hope this helps.
    Sascha

  • Creation of Purchase Order Without Requisition

    Hi Experts iam new to this forum
    Can u please explain with navigation that how to create a Purchase order without requisition ??

    Navigate to purchasing responsibility.
    use menu --> Purchase order --> Purchase order form.
    This is a very detailed note on how to do that:
    How to Create Purchase Orders (Doc ID 168237.1)
    Regards,
    Paarthy

  • Profit center for purchase order without account assignment

    I've requirement to include profit centers in purchase orders without account assignment category.
    The trouble is when there is no profit center maintained in material master.
    Is there a way to determine profit center in purchase order for such cases?

    Dear Abinash,
    Define substitution in GGB1 at line item level as shown below:
    Prerequisite : BSEG-WERKS = Maintain plant
    Substitution : BSEG-PRCTR = maintain profit centre as constant value
    After define it, assign to the co.code.
    Regards,
    Mukthar

  • FM / BAPI Inbound delivery creation for a Purchase Order without material

    Dear All,
    I have a requirement to create a Inbound Delivery for a Purchase order without material number. The Purchase Order has only Material text and no material number. Please let me know a BAPI or FM to create inbound delivery in this case where there is no material defined on PO. I require BAPI / FM  since I have to make a web-service for the same.
    Thanks in advance!
    Abhishek

    Hi I did a coding in one of the userexit. If ekpo-matnr is empty then fill
    KOMDLGN-UMVKZ = 1
    KOMDLGN-UMVKN = 1
    KOMDLGN-MEINS = EKPO-MEINS
    This parameters i.e. Qty conversion are necessary and since MATNR does not exists it has to be filled.

  • How create a purchase order without imputation using bapi: BAPI_PO_CREATE1

    Hello Forum
    I have an request for purchase order with imputation K (cost center, EBAN-KNTTP). During the liberation of the request for purchase order, and using the Bapi: BAPI_PO_CREATE1, I want to create a Purchase Order without imputation (imputation empty or charge empty).
    The system displays the following error: The request for purchase order, item (position) 10, is attributed to another order...
    I imagine that is because the request for purchase order has imputation (charged) K and the purchase order will have no type of imputation (imputation empty).
    However, manually, Yes, I can create the purchase order. That is, I first release, the request for purchase order. Then I create the order of purchase using ME21 and with reference to request for purchase order, and when SAP returns the items of the request for purchase order, I manually remove the imputation K, and these items to become the purchase order.
    Please support me want to know how to resolve this case, why can not I create a purchase order without imputation to from the request for purchase order with imputation K, using Bapi
    Thank you.
    Greetings,

    Hi,
    In the item overview of the purchase order creation screen (ME21N), you have a column Purchasing Doc and next it item no.  You can give the existing purchase order number here with item no which will create a purchase order, and changes can be made wherever you require.
    Hope this helps.
    Thanks
    Krishna.

  • List of purchase order without confirmation

    Dear guru  ,
    I search a list of purchase order without confirmation of the vendor.
    Does exist this list in standard sap ?
    Thanks in advance.

    No Std report exist to pull the informaiton where confiramtion control key is populated but confiramtion is not created.
    please use table EKPO and EKES and write the Query
    you will get what you need from this query

  • Formatted Search - Purchase Order Lines, Price Field

    Hello Experts,
    I have wrote this formatted search for Purchase Order Lines, Price Field
    The problem is that i gets 0...
    What is wrong in it?....
    select
    case
    when T2.[ItemCode] Like N'u05D7u05DC%%' AND U_Thickness >= 1 AND U_Thickness <=3 then U_Contour*2.17
    end
    FROM OITM T0
    INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN POR1 T2 ON T0.ItemCode = T2.ItemCode
    WHERE T2.itemcode = $[$38.1.0[
    Thank You,
    Meital

    Hi.....
    Try this
    select
    case
    when T2.[ItemCode] Like N'u05D7u05DC%%' AND U_Thickness >= 1 AND U_Thickness <=3 then U_Contour*2.17
    end
    FROM OITM T0
    INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN POR1 T2 ON T0.ItemCode = T2.ItemCode
    WHERE T2.itemcode = $[$38.1.0]
    Regards,
    Rahul

  • Block the goods receipt against a purchase order without a record condition

    Dear
    I need to block migo against a po if FRB1 record condition price have price value 0
    I need to block only MIGO not the creation of the purchase order.
    How can I do this ?
    Thanks.

    hi,
    Yeah its placed at the item level of the PO, which states wheather GR is possible for it or not...if we uncheck it GR will not be posted...Check Delivery tab in the PO item details...
    But in your case you have to go on with condition type...
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Oct 18, 2010 5:10 PM

  • Creating a purchase order, cost price?

    hi, when im creating a purchase order and also producing an invoice for it obviously i want the item cost to be used rather the the selling price. however, for some reason the system continues to uses selling price, so when it comes to paying an invoice i need to change all the prices to the cost, which is very annoying.
    many thanks.

    Hi........
    Please check I guess you have assigned sepping price list to the vendors. Please unassign Price List from Vendors.......
    Regards,
    Rahul

  • Change Purchase Order type ,price before auto creation of PO through MIGO?

    Hi ,
    I have reuirement  infront of me.
    We are creating return Purchase order through MIGO for Non-ordered items.
    Purchase Order is created automatically by SAP.
    I need to change its Purchase Order type  , Net Price , Order Price Unit .
    Is it possible to modify the content before the creation of this PO.
    Please help me .
    Regards,
    Amit

    We are not using BPA ; is there any solution involving ASL and/or Sourcing Rule which can be used to meet the User requirement.There certainly is. It involves using either Blanket Purchase Aggreement (which you don't have) or using Quotes.
    Once you have created either of those, simply create an ASL entry for the item(s), attach the Quote or BPA to the ASL entry; create a sourcing rule.
    Once these setups are done, when a requisition is created and approved, it will get converted into a PO automatically.
    And depending upon the value you enter in the "Release method" field on the ASL screen (and your PO workflow attributes), the PO will be created in incomplete status or it can be automatically submitted for approval.
    Hope this answers your question,
    Sandeep Gandhi
    Independent Techno-functional consultant

  • Repair Purchase Order without Service Master

    Good Day Guru's
    I need your help please.  A little history....
    I have recently took a position at a company as their SAP Admin and quit the consulting world.  We go live first of December....While looking at some config, requirements, etc. one of the things  I ran into is  that there was not a process in place for a delivery order being created for a repair order (Misc PO), STO or for  a Sub Contract PO.  I spoke with the Purchasing Manager in reference to this; and she said she was never told about a delivery order as an option....I suggested we should have an automated process in place for a repair PO.  As the design sits now, the buyer will have to manually take the PO to the shipping department, there is not a delivery order, packing list, etc being created.  The functional consultant with the company we have implementing our solution, set up a MISC PO without delivery and did not explain the functionality of a delivery order to them so the company could make a good sound judgement on a process.  I then had a meeting with the Purchasing Manager, Functional Consultant, and also his superior.  He was then asked to put a process in place and come back with a solution.  Well, they did this yesterday (I was out sick).  He stated that "since no service master" for the repair process and external operations that it is not possible to create delvery since these PO's are for service; so go with current design."  Since the STO and the Sub Contract PO did not have delivery orders either that our company wanted to see a demo on the delicery order process before they say yes. 
    In my experience you can create a delivery order with the sub con process with an enhancement ...or at least I thought (been a while since I worked with purchasing).  Has this changed?  Why would I need to set up the Service Master for this (I know it is SAP best practice but  all I wanted was a delivery order process), our requirement was not to track every step of the repair on the PO as an operation.....
    My question comes down to this.   Is the reason I can't use the repair order as a sub con process due to the fact they are using the sub con process for a true sub contract?  Can this be set up as two different categories so both could be used?  Is there another way to get a delivery order created for a repair po (in this case misc po)?  Is there something I need to suggest differently in order to show it is a repair PO versus a true sub contract?  I would appreciate some guidance on this that I can pass to the functional consultant....
    I just find that not using the delivery order process not very efficient and not to mention placing a manual task for shipping material out to vendor for repair.  Hopefully I made this clear.
    Thanks in advance

    Hi
    You need to show purchase cost in some GL account. System recognises GL account through material master or material group with account assignment combination. Without these two you cannot identify to which account postings should happen. Assign a valuation class to a material group in OMWQ and assign a GL account to valuation class in GBB - VBR for automatic picking of GL account in purchase order. However you can overwrite this GL account as per the requirement.
    Thanks

Maybe you are looking for

  • Firewire 400/800 Questions

    Hello - I recently upgraded to a new 24" iMac and noticed that there is only one firewire 400 port (as opposed to my previous G5 which had two.) In my old configuration I had an external drive connected to one of the firewire 400 ports and all of my

  • JAVA applet not starting...am I missing other plugins?

    I dont know if this belongs in the Oracle Apps Server forum, but I've ruled out that it has nothing to do with my Apps Server, so I'm putting my question here... I am trying to deploy forms to my Oracle Apps Server on my UNIX server and am having som

  • Can't lift text from Firefox

    Searched and found one old thread where someone couldn't lift text from Firefox and was advised to View Source and copy it from there, but that will not work for me. Is Firefox just liftproof or what? I lift headlines and a paragraph or two from news

  • Need invoice numbers for material masters.

    Dear experts, I have a list of approx. 200 PO numbers (not SO numbers) and material masters. I need to find invoice# for each PO#. Could you please help me what is the fastest way to find the invoice# using the data mentioned above? I do not want to

  • Number Range : Plant and Document Type in PO

    Dear All, We have a requirement that PR and PO should have different number range but we cannot create new Document Type. Is there any User Exit by which we can use same Document Type and have different Number range for different Plants. Both in PR a