Purchase Order Actual price
Hi,
Anyone knows a FM to calculate de final price of a Purchase Order Document, calculating with all conditions?
Or, a FM to calculate the final price of every position of a Purchase Order Document with all conditions?
Both passing only the document number (EBELN) to the function.
Thanks a lot
Hi!
There can be header conditions, so single article calculation with FM Pricing can lead to differences.
There can also be manual changes (in general) - if you want to start with an existing document, then you end up with subtotals in EKPO. Check / change customizing if your requirements aren't fulfilled up to now.
If you want to skip manual changes, then go for one of the mentioned functions (but that won't be starting with EBELN).
Regards,
Christian
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 -
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,
MeitalHi.....
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 -
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 -
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,
AmitWe 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 -
Purchase Order Net Price not editable after GR/IR
Hi Friends!
I am facing a problem that, I want the price of the Purchase Order document should not be changed after the GR or IR is posted for this document.
I have checked that making the net price field as display or M/06 is not the solution of the above mentioned problem.
Can anyone help?Hi,
If you want the price not to be changeable, set the tolerances in the IMG menu:
MM -> PUR -> PO -> Set tolerance limits.
Cheers -
Service purchase order, with price 0.
Hi again,
I have tested to create or modify a purchase order using (BAPIs CREATE1 and CHANGE) using the FREE_ITEM flag, but it doesn't work. There is a SAP note that explain that is not possible.
Anybody know any way to uptade a service purchase order line with price 0,
Thanks
BR
Jorgehello,
please check with following code. this code works in SAP46C.
DATA: gs_ekpo TYPE ekpo.
DATA: gt_return TYPE TABLE OF bapiret2.
DATA: gs_return TYPE bapiret2.
DATA: gt_bapimepoitem TYPE TABLE OF bapimepoitem.
DATA: gt_bapimepoitemx TYPE TABLE OF bapimepoitemx.
DATA: gs_bapimepoitem TYPE bapimepoitem.
DATA: gs_bapimepoitemx TYPE bapimepoitemx.
parameters: P_EBELN like ekpo-ebeln.
parameters: P_EBELP like ekpo-ebelp.
CLEAR: gs_ekpo,
gs_return,
gt_return[],
gs_bapimepoitem,
gs_bapimepoitemx,
gt_bapimepoitem[],
gt_bapimepoitemx[].
SELECT SINGLE * FROM ekpo INTO gs_ekpo
WHERE
ebeln = p_ebeln AND
ebelp = p_ebelp.
IF sy-subrc = 0.
gs_bapimepoitem-po_item = gs_ekpo-ebelp.
gs_bapimepoitem-free_item = 'X'.
APPEND gs_bapimepoitem TO gt_bapimepoitem.
gs_bapimepoitemx-po_item = gs_ekpo-ebelp.
gs_bapimepoitemx-free_item = 'X'.
APPEND gs_bapimepoitemx TO gt_bapimepoitemx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = gs_ekpo-ebeln
* POHEADER =
* POHEADERX =
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* IMPORTING
* EXPHEADER =
TABLES
return = gt_return
poitem = gt_bapimepoitem
poitemx = gt_bapimepoitemx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POTEXTHEADER =
* POTEXTITEM =
* POPARTNER =
READ TABLE gt_return INTO gs_return WITH KEY type = 'E'.
IF sy-subrc EQ 0.
*- errors
WRITE:/ 'E', gs_ekpo-ebeln, gs_ekpo-ebelp, 'BAPI',
gs_return-message.
ELSE.
*- success
IF p_test IS INITIAL.
CLEAR: gs_return,
gt_return[].
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
return = gs_return.
If you have made a single test in SE37; the update doesnot work as it needs a exclusive <b>commit work</b>.
Hope this helps.
Best Regards, Murugesh AS -
Hi
We wanted to disable the option of default purchase price coming while creating any purchase order..
Whenever any new purchase order is created,the previous price is coming as default..How to disable the default price in the system while creating purchase order..
RegardsDear,
it is comming from info record which got created due to the first PO
see the infor record-purchase reference doc and item no
read the help document for that you will understand easily -
Last Purchase Order & GRN Price
HI,
Anybody can tell me, inwhich table can able to find the Last Purchase Order Price and GRN price.
Tks
Mani.hi
Table is EIPA.- order price history.
Regards,
Vijay -
MM purchase order net price clearing
hie gurus
after a field extension for MM fields in transaction me21 the net price is being cleared after pressing enter and an error message saying enter a net price greater than 0 is being displayed. hw cn i fix this problem?Hi
Yet again another classic example of making structural changes to standard table field definitions. The screen structure passess values to the work area and clears the screen field, calculations take place and the data is passed back to the screen fields but because of the changes effected the field definitions differed and thus a background error occured.
regards
Isaac Prince -
Purchase order different price
Hi,
can we create one PO with different curency for example one line item with USD and another line item with EUR and third line item in INR.
Pleease guide
regards
spHi,
No, you cannot create the P.O like that for different line items
G.Ganesh Kumar -
Purchase order report with basic price and Excise duty values
Hi All,
Is there any standard report in SAP to get the Purchase order basic price / qty and its Excise duty values ? Since we are including Excise duties for non - codified items (w/o material master and with cost center 'K') Purchase order and the ed values are added to the cost and the requirement is to see the split up (Basic priceEdEcs+Hcs)for these Purchase orders for the vendors. If there is no std report then please let me know how to link Purchase order table with this Condition value table in query to get the desired report.
Thanks in advance
BennyHi,
there is no standert report to fullfill this requierment
you have to create this report with the help of abaer
for that which tax code you are using its importnat thing
for po table EKPO
1. A524 (Normal supply point / Material) it will return condition record number for condition type.
2. KONP (Conditions (Item)) .
3. J_1IMTCHID (Combination of Material Number and Chapter ID).
4. J_1IEXCTAX (Tax calc. - Excise tax rates
5 get the IR no. from RBKP and RSEG, and get the relevant FI doc no. and goto BSET table
for IR number to get from table apply logic for doc type RE ,you will get fi number nad in refernce field you will get invoice number + fiscal year
Map this by refernig on po for which grn and invoice happen
Regards
Kailas Ugale -
To add Net price in Purchase order
Hi,
I have a sceneria where i need to add net price against line item which was marked as free in purchase order (Net price is 0). Subsequently material was deliverd from vendor and GI also was done. Goods receipt is also completed. This material batch number is consumed for custmer sales orders subsequently. There is 0 quantity available for this material in the plant. Now the user wants to change the net price to 2 for the line item. To change net price in purchase order, we tried to cancel GR material document.But we get an error that 'Deficit of unrestricted use' for the batch number.
Can any one give us solution for changing the net price in purchase order?
Regards,Hello,
the only chance to add a PO price is to unflag the free flag in ME22N. This is only possible when quantity received for the PO is zero. Therfore you must reverse the quantity received by doing a dummy receipt for the batch, reverse the GR for PO, you change the flag, set a price, redo GR for the PO, reverse the dummy receipt.
Hope this helps, regards
Michael -
Purchase order price roundedoff in Print out
Hi
In purchase order material price is 0.068 USD but in Purchase order print view
It shows rounded off as 0.07USD
how to change it as 0.068 in PO print view
ThanksHello,
Please check up the ABAPer to see the logica incorporate in PO FORM.
If necessary you need to incorporate the logic into the FORM.
Regards,
Ravi
Maybe you are looking for
-
M3U from Creative Media playli
There is a facility to import from M3U playlists to Creative Media but with the new DAK playlist manager I could easily print the playlist. Unfortunetly I can't find an export facility to move my Creative Media playlists to an M3U format. Has anyone
-
How can I set delay time to POST on tcp/ip
I tried to convert to Labview from PHP below source. but I couldn't check EOF on Labview as php source. function http_post($host, $path, $data) $http_response = ''; $content_length = strlen($data); $fp = fsockopen($host, 80); fputs($fp, "POST $path H
-
Flash limitations, Invisible Compiler Errors, swc files...
This question is for expert users of Flash CS4/CS5 and actionscript. Please do not comment or offer suggestions if you have no experience with these errors or their causes. =================================================== Question: ======= Publ
-
Can't place music manually in correct genre
Hi, Within the music library you have several tabs like "genre, albums, artists,..." My problem specificly is that some songs i have are in my opinion placed in the wrong genre, tho i cant find a way to place them into the genre i want it in. I can c
-
Ned to insert current Date AND Time in a table
Hi: This should be a simple one. I need to insert the current (system) date AND time in a columnof a table. From the documentation, it appears that the column datatype should be DATE (at least it claims to be able to support both date and time). It i