How to know Last Sales Price?
Hi all,
My requirement is, at the time raising SO, I want to know the last sale price of the item for the customer to whom I'm raising SO.
Is it possible in SAP B1?
Rgds,
Balaji
Dear Mr. Sridharan,
As per your advise, I tried but I didn't get any details of my last sales price. In the help file, it says that if we upgrade the package to 2007 then we can see the last price details. Is it so? If not, please advise if any other settings to be done to get the last price.
Rgds,
Balaji
Similar Messages
-
How to know last access date for the schema's
Dear all,
could u plz tell me How to know last access date for the schema’s
Regards,
Srinivasa rao.PSrinivas,
could u plz tell me How to know last access date for the schema’s
In Oracle, we don't access schemas but schema objects.And this informationis not kept anywhere persistantly.As Amit also mentioned,if you do need it,you have to enable Auditing.
Aman.... -
How to calculate current sale price like VA01
Hi,
I am developing one report, in which I am showing open sales order.
Now, I wanted to calculate the current sales price from pricing procedures and conditions. Means I need the current sales price of the Item, like I am creating the new sales order today,
Client wanted the difference between the sales order price and the current price.
How can I get the current sales price, any Function Module for that?? Or I have to manually take all prices from condition tables and KONP, and calculate?
I need a Function Module instead to code like..........
Standard SAP pricing is try to get the price from top to down pricing hierarchy, if 1st level not find, then base on the combination of next level, try to get it,
if no found, just keep going until reach the last pricing Level ( if found on any level then it will skip & pick up that price )
For example
ZPR0 has 3 Level
Sales Org/DC/Currency/Customer/Material/Stor.Location
Sales Org/DC/Currency/Customer/Material
Sales Org/DC/Currency/Material
If the combination of 1st level no price there, there it will go to the 2nd level until it reach the end.
Thanks,
Chetan ShahHi,
The Procedure for calculating MAP is :-
Case 1 :- PO at different price
If in Material Master your MAP is 0.8GBP & closing stock of 30Nos, value is 24GBP
In PO if the price is 0.9GBP & qty is 10nos, then after Goods Receipt Total Value of the GR i.e. Qty * Price + any other delivery cost will be added to the material stock value. Qty is also updated. New Total Value / New Stock Qty will be MAP.
In this case Qty received 10 & price is 0.9 that means value would be 9GBP.
Total Value becomes 24GBP (Present Stock) + 9GBP (Goods Receipt) = 33GBP
Total Qty becomes 30Nos + 10Nos (Goods Receipt) = 40Nos
MAP becomes = 33GBP / 44Nos = 0.75
Case 2 : Invoice Posting (MIRO) at different price than PO
While doing MIRO is we post at different price system will check whether sufficient stock posted in GR is available. In the above case it is 10Nos,
If it is there, then the above logic as in case 1 will take place
If not available, to the extent of stock availability system will post the different value & adjust MAP & remaining is posted to Price Difference Account.
In your case it would be like this :
1. MAP 0.8 for 30Nos (Value would be 24GBP)
2. Invoice Posting 1.74GBP for 1No. That means value would be 24GBP + 1.74GBP = 25.74GBP
Qty would be 30+1 = 40
MAP = 25.74 / 40 = 0.64GBP
Hope this clarifies your doubt
regards,
JP -
VA01 and from material view and last SO it shows wrong last sales price
Hi,
In sales order condtions the current flow is as follows:
sales price PR00 - 8.36
insurance ZZC0 - 0.03
So the total value is 8.39 inr.
But the client requirement is, the total value should be 8.36 only. Insurance value should not add to the net price, but it should display in sales order condtions.
we can do the pricing as statistical in pricing procedure for insurance. But client is not accepting for that.
please letme know is there any other alternative way to get the required solution.
look forward for your answers.
thanks in anticipation.
br,
Hari.
Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum.(ERP SD?)
Edited by: Thomas Zloch on Jul 13, 2010 2:43 PMWhen you use the query as a formatted search with auto refresh the query will Populate the Value of the first column from the first row of the query result. Therefore the user will not see the last 2 prices for which the SELECT statement was created.
To see the last 2 prices the user has to manually press ShiftF2 which is the same effort as CTRLTab.
Writing a simple SQL is easy but it is important to educate the client with the benefits of using out of the box functionality when one already exists
-Suda -
How SBO handles a Sale Price for a customer?
Hi,
I know that SBO has list prices, special prices per customer, volume discount prices, season temporary discounts, etc. How these are handled?, I know that first SBO looks for a item special price for the customer, but after that is not clear to me what SBO does, Does SBO Looks for a volume discount or a Item Group Discount?, What are the priorities?
Does anyone knows where I can find a work flow diagram or a step by step guide that shows the way the sale prices are handled in SBO?
ThanksThis is from the Help in SBO, hope this explains.
Automatic Price Calculation
When you enter a business transaction, such as an outgoing invoice or a purchase order, the system calculates the price for an item automatically. The system proceeds as follows here:
The system first checks whether a special price has been defined for the item for this particular business partner. This special price could also be based on a particular date or quantity.
If no special price has been defined, the system checks whether a discount group has been defined for the business partner that can be applied to the item.
If no special price has been defined, the system checks whether a special price has been defined for the item (for the price list entered in the master record of the business partner), which once again can be based on a particular date or quantity.
If no special price has been defined, the system copies the price for the item from the price list entered in the master record of the business partner.
If a discount has been granted because of a special price, the discount is indicated in the detailed information of a line in the purchasing or sales document in the Discount % field. -
How to know when the PRICE AFTER DISCOUNT changed and get the value
Hi,
Everything I do to see if a value changed in the grid works except for PRICE AFTER DISCOUNT
which seems to be inaccessible.
Any idea how to know when exactly this value changed and do actions accordinly ?
Also I always get 0.00 if I try to get the value of it
This works to get in the condition of a vlaue changing but I always get 0.00 as the value of the column
if (pVal.ItemUID == "38" && pVal.ColUID == COL_DISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
try
SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_DISCOUNT).Cells.Item(pVal.Row).Specific;
SBO_Application.MessageBox("Discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
catch (Exception ex)
SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
And this do not even get into the condition even tought I SEE the column PRICE AFTER DISCOUNT:
if (pVal.ItemUID == "38" && pVal.ColUID == COL_PRICEAFTERDISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
try
SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_PRICEAFTERDISCOUNT).Cells.Item(pVal.Row).Specific;
SBO_Application.MessageBox("Price after discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
catch (Exception ex)
SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");just idea, maybe it will works
Create one udf in row level and set there FS based on changes on price after discount and fill value what is in price after discount. Then the validation make on this field instead of standard SAP field. -
How to obtain last purchased price of an item
How can i obtain the last purchased price of an item? There seems to be an 'LastPurPrc' field in the OITM table, but this does not seem to be exposed in the DI api. The last purchased pricelist is an 'internal' pricelist so cannot be used in the pricelists selection. Is there another way then just retrieving the value with a direct database Sql query?
Hi,
There is, but is long :-D.
You could check the purchase invoices by key in descendant order and check if the lines had the item, then check the price in the line to get the purchase price.
Hope it helps,
-M -
Last sales price in new sales order document
Hi every one,
One of my client requirement is important to be able to show the last purchase price (from customer point of view is PO our side is last sales Order) of each item for same customer in sales order, for ex: customer brought 2 Items in SO#1 item1 Price $100, Item 2 Price is $200 and SO#5 item1 $110, item2 $220 when we create the Sales Order for same customer in his next order if his buying same items I want to show the last Sales order price That is SO#5, I hope for this need to be create a UDF and formatted search I did this two but problem is need a query to bring the last Sales order Price.......
if any one have any idea about this issue please...........
thank you
ShankarWhen you use the query as a formatted search with auto refresh the query will Populate the Value of the first column from the first row of the query result. Therefore the user will not see the last 2 prices for which the SELECT statement was created.
To see the last 2 prices the user has to manually press ShiftF2 which is the same effort as CTRLTab.
Writing a simple SQL is easy but it is important to educate the client with the benefits of using out of the box functionality when one already exists
-Suda -
How to get the sales price of sales SET
Hi,
I want to get the sales price of a sales set, is ther any fm bapi our class to doe that?
thanzs in advanced to all
JaimeProblem Solved
-
How to know the sales order closed using right click menu -Close ???
I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
The Open Quantity of those lines are already closed while i Close it manually.
Now i need a report regarding the sales orders which i have closed manually. Any Options??Check the below result
DocNum DocDate CardCode CardName Row# ItemCode Dscription Price Quantity LineTotal
2 2012-02-04 00:00:00.000 ED-C-102 AI HUDHA BOOK STALL 2 1010 150.000000 10.000000 1500.000000
3 2012-02-04 00:00:00.000 ED-C-103 AL AMEEN ENGLISH SCHOOL-MANKADA 2 1011 ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM 59.790000 10.000000 597.900000
this is the result i get while i execute your query
but look at the db result
DocEntry LineNum TargetType TrgetEntry LineStatus ItemCode Quantity OpenQty
1 0 15 2 C 1010 10.000000 0.000000
2 0 15 3 C 1010 10.000000 0.000000
2 1 -1 NULL C 1010 10.000000 0.000000
3 0 15 4 C 1010 1.000000 0.000000
3 1 -1 NULL C 1011 10.000000 0.000000
3 2 15 4 C 1012 15.000000 0.000000
3 3 15 4 C 1013 20.000000 0.000000
4 0 15 5 O 1010 10.000000 5.000000
See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
I need that last line result also as my output..
Hope you understand my problem.
Thank You -
How to know last updated date of screen
Dear all my friends,
Please help to show me : How can i know which screen has been updated by when ?
or help to show me the table name which contain all screen in system with creatation date and last updated date.
many thankshi, go to the attribute tab. you can see there when it was last updated.
hope this helps.
best regards,
benedict -
How to know last login in oracle database 9i
hi all,
I want to know the last login in oracle database 9i.
Can some one help me.
ThanksHi,
Do you have auditing enabled then you can get details else
Enable it and execute the below one - then login and logoff times will be recorded for users
audit connect;
- Pavan Kumar N
Oracle 9i/10g - OCP
http://oracleinternals.blogspot.com/ -
Hi All,
How can i know, what are the statements have run on yesterday in my database for a particular user?
Thanks
DesisYou need to write your own triggers to capoture the DDL and also insert those DDL into your tables. This way you may able to track down users activities including DDL.
hare krishna
Alok -
How to know last command used in solaris
Dear Friends,
We have a Solaris 8 server. Someone changed ownership of files. Is there any way to find out who logged in the server & changed ownership ? ?
last command is not giving much information . Since /var/adm/lastlog is in binary format I am not able to read it's contents.
Requesting to help me out.
Regards,
Tejas J RavalYou can also check the history of a particular user. By instance, if it use bash, check this file :
~/.bash_historyand check his :
~/bash_loginand :
~/.bashrcbecause he has perhaps some special feature, like to set his history in an other file by instance. -
Hi guys!
Is there a tcode where I can see the history of who executed a particular program, and what particular programs a user executed?
I am not sure if this question is in the right forums. Please advise me where this will be applicable. Thanks!
Message was edited by:
Ricardo Caliolio Jr.> Hi Ricardo,
>
> On the lighter side,
> I am not sure if this question is in the right
> forums. Please advise me where this will be
> applicable.
>
> <b>Till someone watching the forum knows answer to
> your question it is in the RIGHT FORUM :).</b>
>
> Regards,
> Atish
Well, me too. I am not sure if it is supposed to be here. I am just not yet really familiar with these forums. Haha.
Thanks anyway for the answer!
Maybe you are looking for
-
Why can´t i have more than one initiator task on my bpm process
Hi All. I am working with BPM 11g and would like to know: Why can´t i have more than one initiator task on my bpm process In this case, i will have two separeted process where each has its initiator task? Regards, Diovani
-
Purchased video on itunes,can't put on nano
There are no error messages it just won't allow a drag and drop from the library to the nano. It will not allow any conversion, it posts as a protected file. It also says that updates are complete, but the video won't appear on the nano.
-
How to activate MobileMe Backup application on OS X 10.8?
I did a clean install and wanted to continue using my MobileMe Backup application to restore some data, so I installed the application, opened it and it's in Trial Mode! cannot use it on OS X Mountain Lion 10.8, because I cannot sign in to unlock it!
-
Reg.No G/L Account found
Dear Experts I am newly configure in IDES system,in which I create Inventory A/c,Consumption account,GR/IR a/c,Inv offsetting a/c,Inc/Dec a/c,Cash payable on purchase a/c ,Gain loss revaluation a/c and Loss in exchange rate a/c and configured in OBYC
-
Why no preview in CSS of custom component
In css design view of Flex3, if I choose my custom component to be previewed, It said There is no preview available for this style. But it works for general compoents built in Flex 3, like Button, Accordion, etc. So why? and how to show preview of my