Report with difference of prices from Inventory Valuation
Hello!
I need report with result from Inventory Valuation: Difference of prices= New price - Current Cost. Report can show last 7 documents and i should choose item code.
Can u help me?
Greetings from Poland
Hi,
Please check This
Select A.DocNum,A.DocDate,B.ItemCode,B.Dscription,
B.Price as NewPrice,B.RActPrice as CurrentCost,B.Price-isnull(B.RActPrice,'0') as Difference
From OMRV A INNER JOIN MRV1 B ON A.DocEntry=B.DocEntry
Where (B.ItemCode='[%3]' or '[%3]'='') Having (B.Price-isnull(B.RActPrice,'0'))='0'
Thanks,
Nithi
Similar Messages
-
Report with Subreport very slow from SharePoint
HI,
I have a report with a sub-report that runs in about 9 seconds from my PC using the Report Designer with SQL Server 2008R2.
When I run the deployed report from SharePoint it takes 4 minutes. If I remove the sub-report it again runs fine from SharePoint.
The sub-report is pretty simple and links to the main report using 3 parameters.
What would cause this?
Any ideas would be appreciated.
Thanks,
Trish
Trish LeppaHello Trish,
I have found similar thread with some good suggestion for optimizing the report in sharepoint.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c140d26e-1c02-4f8d-bc61-f6ac75706556/reporting-services-very-slow-in-sharepoint?forum=sqlreportingservices
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Daily sales report with last selling price
Dear All,
how to query daily sales record with last selling price as following:
cust. code , item , unit price, last selling price to this cust. within 3 month , highest selling price of this item with 3months
I'm new to both SAP and SQL, Please help! Many Thanks!!
WingHi,
Try this........
SELECT P.CardCode,P.CardName,P.ItemCode,
[1] as [Jan],
[2] as [Feb],
[3] as [Mar],
[4] as [Apr],
[5] as [May],
[6] as [Jun],
[7] as [Jul],
[8] as [Aug],
[9] as [Sep],
[10] as [Oct],
[11] as [Nov],
[12] as [Dec]
FROM (SELECT (T0.CardCode),T0.CardName,t1.ItemCode,T1.price,MONTH(T1.Docdate)as month
FROM dbo.OINV T0
inner join INV1 T1 ON T0.DocEntry=T1.DocEntry
inner join OITM t2 on T1.ItemCode=t2.ItemCode
WHERE T1.DocDate>='[%0]' and T1.DocDate<='[%1]' and T1.ITEMCODE='[%2]'
and T0.CardCode='[%3]'
) S
PIVOT (max(price) FOR [month] IN
([4],[5],[6],[7],[8],[9],[10],[11],[12],[1],[2],[3])) P
ORDER BY P.[CardCode]
Check this link for SQL tutorials.........
http://beginner-sql-tutorial.com/sql-subquery.htm
http://w3schools.com/sql/default.asp -
How to call a report with a bind variable from a multi-record block
Hi,
I have created a report using the BI Publisher functionality. I did all the integration, created the SQL Query and uploaded the template. Up till here everythings fine!
My SQL Query has 2 bind variables.
I will call my report from a multi record block, at the end of each record an icon is shown which the user can click to open the report.
I created a column link for this item (PRINT_REPORT=Inschrijvingsformulier) but I do not manage to pass the parameters to my report. The parameters I want to pass are 2 columns in this Multi Record block.
I created 2 hidden fields on the page P9_PARAMETER1, P9_PARAMETER2 with the same names as my bind variables and fill this in with the values #PARAMETER1#, #PARAMETER2# from the multi record block.
It seems it does not work as my report stays empty. (also XML file stays empty).
Am I trying the wrong way?
Thanks for any advice,
Krishi khadeer,
create one report program and write the required code,and call this function module 'SSF_FUNCTION_MODULE_NAME' and give your smartform name and also when u activate ur smart form u will get one function module call that function module also and specify any tables used...
i think this solves ur problem...
any queries revert back..
pls reward points if helpful,
shylaja -
Report with bar codes for Oracle Inventory
Hye!
I have this sql: (reports 6i):
select
b.inventory_item_id,
B.SEGMENT1,
G.SCHEDULED_START_DATE,
G.START_QUANTITY,
T.WIP_ENTITY_NAME,
'!'||to_char(T.WIP_ENTITY_ID)||'!' entity_id,
xxx.max_revizie revizie
from wip_ENTITIES t,
MTL_SYSTEM_ITEMS_B B,
WIP_DISCRETE_JOBS G,
(select t.inventory_item_id item_id,max(t.revision) max_revizie
from inv.mtl_item_revisions_b t
where t.organization_id=87
group by t.inventory_item_id) xxx
WHERE T.PRIMARY_ITEM_ID=B.INVENTORY_ITEM_ID
AND T.ORGANIZATION_ID=B.ORGANIZATION_ID
AND T.WIP_ENTITY_ID=G.WIP_ENTITY_ID
AND T.WIP_ENTITY_NAME BETWEEN :P_JOB_DELA AND :P_JOB_PANALA
and xxx.item_id=b.inventory_item_id
where entity_id is the bar code....
What should i do to see the report in Oracle Inventory.... to see the bar codes???
tnxtnx. i resolved the problem.
now i have anoyher one:
my report has a CF formula --- OLE2--- some file.doc (Word) (one page :))
in reports 6i it works just fine...
but in oracle apps i can only see the header and not the word doc....
i tried to convert the doc to pdf (because i have pdf as output for my report...) but i still have the same problem....
the word doc is a paramater :p_link : d:\scan\pag1.doc
what should i do to see this in application....
??? -
Free Items with $0.00 price from Catalog
Hello SRM Guru's,
SRM 5.0, server 5.5, classic scenario.
I have a requirement to create Purchase Orders for supplier catalog itms in SC with $0.00. Currently, I have a split order whereby item's with price greater than or equals to $0.01 creates purchase orders and items in the same SC with $0.00 create requisitions.
I will like to know the procedure to create a single PO for a shopping with catalog items and pricing of $0.00.
Regards,
WaleHi Wale,
Uncheck IR (Invoice Receipt) indicator for all your zero-priced items before creating PO. You can do it in a BAdI. Refer to following thread:
https://forums.sdn.sap.com/click.jspa?searchID=31448470&messageID=3166239
Cheers,
Serguei -
Populating webi reports with images downloaded live from external sites
I'm writing applications to create different visualizations of my data, and would like the resulting images to show up in webi reports. Specifically, the application that draws the visualization will be deployed to the same java application server as webi. Users will open a normal webi report which will contain something like an HTML <img href="#myhref" /> tag, where #myhref will be a link to a page in my web application that draws a visualization.; Is such a thing possible, and if so, how? Many thanks, in advance.
Nevermind... I think I got it. I created a SQL query that would return the URL I wanted (something like SELECT 'http://server/context?param1=' || field1 || '¶m2=' || field2 FROM table", and then modified the resulting cell to be read as an Image URL.
-
Calling report with parameter screen from form using frmrwinteg
Hi,
I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after pressing the submit button on the parameter screen. The cause of the problem seems to be the html generated to simulate the parameter screen. The html on the test application server contains a BASE tag in the HEAD section with an href starting "http:/servername.companyname.com". However, the same tag in the html generated on the production application server is missing the ".companyname.com", causing the cookie produced by the frmrwinteg bean to not be found. Does anyone know how the BASE href tag is generated and what I need to change to get the correct BASE href value? I am using Forms/Reports 10g R2 and Application Server 10.1.2.
Cheers.....Appendix "A" of this document describes how cookie_domain works:
http://otn.oracle.com/products/forms/pdf/10g/frmwebshowdoc_rep.pdf -
Moving Average Price for Non-Valuated Material
Hello Experts
The question may seem to be quirky but need your advice for the below.
My client is buying non-valuated material against a cost center, they do not want to keep the stocks valuated. No value update only quantity update. The accounting documents are the following when the GR is done by receiving folks
Qty of material XYZ goods receipted = 10
Debit Consumption GL 12345678 10 USD Cost Center ABC123 (This is a warehouse cost center)
Credit GR/IR account 10 USD
Qty of mateiral XYZ issued = 5
The goods are later on issued to Production cost center and the client was the below entries to be passed with MOVING AVERAGE PRICE.
Debit Consumption GL 12345678 6 USD Cost Center ABC456 (This is production Cost center)
Credit Consumption GL 12345678 6 USD Cost Center ABC123 (This is warehouse cost center)
I am aware that as this is a non valuated material the above entry is not possible. Maybe, I will use BAPI_ACC_DOCUMENT_POST for the generating the accounting document when the goods are issued from warehosue to production center.
My question is how can i get the moving average price.
Regards
Chokkalingam Pillaiyou can have an accounting view for non-valuated materials, this helps for example with purchase requisitions as they could take the valuation price from the material master and the user does not need to enter a valuation manually.
But the material master moving average price cannot be calculated and updated automatically, as it is not foreseen in any standard program to do this for cost center procurement, since SAP only calculates a MAP for valuated stocks.
Further it is not logical to issue non-valuated stock valuated (even with a different price) from cost center to cost center.
It looks like you want to have a kind of internal billing for warehouse services, as you end up with a negative amount in the warehouse cost center which is then the profit.
Why don't you just create a report to run at the end of the month, listing all goods issue movements with their cost centers and taking the price from last PO (or from material master if you decide to maintain it manually) and use this for a manual cost center posting in CO module -
Calling report with parameter form using frmrwinteg
Hi,
I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after pressing the submit button on the parameter screen. The cause of the problem seems to be the html generated to simulate the parameter screen. The html on the test application server contains a BASE tag in the HEAD section with an href starting "http:/servername.companyname.com". However, the same tag in the html generated on the production application server is missing the ".companyname.com", causing the cookie produced by the frmrwinteg bean to not be found. Does anyone know how the BASE href tag is generated and what I need to change to get the correct BASE href value? I am using Forms/Reports 10g R2 and Application Server 10.1.2.
Cheers....Appendix "A" of this document describes how cookie_domain works:
http://otn.oracle.com/products/forms/pdf/10g/frmwebshowdoc_rep.pdf -
STO with moving average price & with out moving average price
Hi,
i have two questions.
1) I have created STO and issued the material with 351 movement type, after issuing material accounting documents will be with moving average price from issuing plant.
what is the other process to issue with out moving average price ,the price must take as per in PO(sto).
2) why we will use STO why cont we use 301 movement type with one step transfer.
Pls help
Regards
SunilHi Sunil,
1) the 351 movement type uses always the price from the material master, you can't change it
2) I don't really understand your question. You need advise when using STO and when 301?
Attila -
Batch Scheduling of reports with parameters
I've been searching the doc and have come up empty so far on this -- how do I take a Discoverer workbook/sheet that accepts a customer account parameter and set it up as a scheduled report?
The trick here is that I want to schedule 100s of these things so that reports are generated for a large number of customer accounts, but not all customer accounts (there are many thousands of customer accounts).Hi,
Yah! this looks good. Other way would be to use the Schedule command line parameter itself. For example you can have a form application taking the user parameter for individual user plus they can enter the schedule parameters also or you can hardcode them . Then you send this request to Report server which run the jobs at schedule time.
FYI, in report 9i there is a new feature called event triggers also. You can run a report with any event trigger from the database. This may be useful for the solution you have suggested, suppose you wish to run the report as soon as user updates data in database, this even t triggers can be used.
Hope this helps!
Thanks,
Rohit -
Physical Inventory IM write off report with values
Hi All
I am having difficulty in finding a standard transaction that will detail IM write off with a value/cost.
I can see tha values in the LI20 trx which is at WM. However, when you write it off at IM (LI21) it only shows material and quantity and not value. I cannot bring the field in using the layout.
The only way i can currently get the info is to export the data from MB51 (711 and 712 movements) and merge the table in excel with a material cost table and calculate the vaule written off that way.
I need to know the cost to be written off at IM level before I click on the Write Off button.
Any ideas?
DarrenNot really clear what you want or why you are complaining.
LI20 is clearing WM differences. Which is a madatory step in the physical inventory cycle. This one will show you the value. and this one is before you post the differences to IM.
LI21 will not show costs. If you wait with LI21 then you might get other costs than shown in LI20, however, more critical is the stock inconsistency that you have between WM and IM until you execute LI21.
MB51 has the value within, no need to export to Excel and valuated it with a price from another download. -
Inventory Audit Report with Batch Number
Hi all.
I am trying to build a query that similar to the inventory audit report but with batch number. I want to know which batch number of each item is being charged out in deliveries or goods issue and which batch of item is being received. I am using SAP B1 2007A. Following is the query that I used to generate the inventory report (warehouse, itemcode, description, price, opening balance, receipt, issue, closing) but I don't know where to get the batch number information for it.
Declare @StrtDate Datetime
Declare @EDate Datetime
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Group nvarchar(10)
Declare @Whse nvarchar(10)
Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >= @StrtDate)
Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <= @EDate)
Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = 'QA01')
Select
@Whse as 'Warehouse',
a.Itemcode,
max(a.Dscription) as 'Description',MAX(a.Price) as 'Price',
sum(a.OpeningBalance) as 'OpeningBalance',
sum(a.[IN]) as Receipt,
sum(a.OUT) as Issue,
(sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as Closing,
MAX(a.Price) * (sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as ClosingValue
from(
Select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.Price,
(sum(N1.inqty)-sum(n1.outqty)) as 'OpeningBalance',
0 as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate < @FromDate and N1.Warehouse = @Whse and N1.ItemCode Between '1C2K50NBAC' AND '7S2N40ADAM'
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.price,
0 as 'OpeningBalance',
sum(N1.inqty) as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
N1.Inqty >0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.price,
0 as 'OpeningBalance',
0 as [IN],
sum(N1.outqty) as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
N1.OutQty > 0
and N1.Warehouse = @Whse
Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price) a, dbo.OITM I1
where a.ItemCode=I1.ItemCode
Group By a.Itemcode
Order By a.Itemcode
I wish to create the report like Inventory audit report merge with the batch number transactions report.
Thanks.Dear Shobah, it can be possible by some custom report. Try some complementary bi solution for better analysis with SAPB1.
-
GRPO not shown in Inventory Valuation report
Hi All
When I run Inventory Valuation report one of the GRPO is not shown in the report where other GRPOs are shown.
To the GRPO which is not shown Landed cost is added so in place of the GRPO landed cost document number is displayed with the same quantity and price which originallly entered in GRPO not shown. Is this normal system behaviour? Please reply
thanks
SV ReddyHi Sachin,
thanks for the reply,
But the Landed cost document value in the inventory valuation report is same as GRPO document value. When you add landed cost based on GRPO , in the valuation report it should show GRPO value + Landed cost right, but the system doesnt displya this? any other reason it could be?
thanks
SV Reddy
Maybe you are looking for
-
Skype Account contact list and skype name changed
Hi! I have been actively using my skype account again lately and one time last week when I signed in, I just cannot. My username and password are correct. And so what I did was to reset my password. I was able to reset my password through my email an
-
Traded in my iPhone for a different brand of phone. I had no idea that I had to sign out of iMessage before doing this. Now, my old phone is gone and my new phone cannot receive texts from people who have iphones and had me as a contact before. They
-
(At least I think it's advanced, since I can't figure it out - haha). Anyway, I was wondering if album art can be assigned to an album as a whole, as opposed to just the individual songs. Here's what I'm doing. This past year Weird Al Yankovic releas
-
How to find my stolen Nokia lumia 730
How to find my stolen Nokia lumia 730? I have disabled the Internet as well as location service. Is there any way to find the Stolen Phone? How can get to know if the device is used by other sim or other operator? i have windows phone account. I trie
-
I've tried resetting it to the defaults but that didn't help. bp-73f9c4c7-86e9-4bfa-b05a-302772140109 ''(added the crash ID to the thread body - c)''