Reg: AP Inv Report
Hi All,
I had written a SQL code to generate a report for all A/P Invoices raised against GRPO. but i am not
sure whether this code is correct or not, since i am unable to verify the records.
Please suggest if any changes are required for the code.
select S.Docnum,S.DocDate,S.CardName,S0.Dscription as 'Item Description', S0.Quantity,--S0.baseref,
S1.Docnum as 'GRPO Doc No.',S1.U_GRNID,S2.Quantity
from OPCH S inner join PCH1 S0 on S.Docentry = S0.Docentry
inner join OPDN S1 on S0.baseref = S1.docnum inner join PDN1 S2 on S1.Docentry = S2.Docentry
where S.DocDate between [%0] and [%1]
group by S0.Quantity, S2.Quantity,S.Docnum,S.DocDate,S.CardName,S0.Dscription,S1.Docnum ,S1.U_GRNID,S2.OpenQty
order by S.Docnum
Please help us to resolve
Regards
Shanker. T
hi sankar,
Try this query,
SELECT DISTINCT T0.DocNum AS 'AP Inv. No.', T0.DocDate as 'Date', T0.CardName as 'Vendor Name', T1.Dscription as 'Item Description', T1.Quantity, T3.DocNum as 'GRPO No.', T2.Dscription as 'Item Description', T2.Quantity
FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN PDN1 T2 ON T1.BaseEntry = T2.DocEntry AND T1.BaseLine = T2.LineNum
INNER JOIN OPDN T3 ON T2.DocEntry = T3.DocEntry
WHERE T0.DocDate BETWEEN '[%0]' AND '[%1]'
ORDER BY T0.DocNum, T0.DocDate
Include UDF in query.
Edited by: Jeyakanthan A on Jun 13, 2009 1:21 PM
Similar Messages
-
A,B,C indicator Physical Inv report
We have maintained the A,B,C indicator in MRP view for materials.and changed the description of A,B,C as per material category. When we post the physical inv. diffrenec, we need to have physivcal inventory report with last count date and with A,B,C indicator.
Is it possible? pl note we are not using cycle counting here. It is our normal process with MI01/04/07.
ThanksYou have to develope an own report.
E.g reading the difference movements 701-718 from table MSEG and looking up the ABC indicator from table MARC -
Reg: Uninvoiced Receipts Report
Hi Consultants,
We have a issue with Uninvoiced Receipts Report report for perion Oct-2009 and Nov-2009,
User obeserved that some line of a PO is generated in Nov period but this lines are not generated in Oct-2009 user asking why it happen like that.
i observed that Invoice matched this PO is put on hold at Sep-2009 and released on Dec-2009. i dont understood this issue .
Anyone can please advice me on this issue and which pos are eligible to receipt accrual period end process.
Thanks,
AnuHi,
How many PO & AP Periods are open at your end?
You mentioned : 1) User obeserved that some line of a PO is generated in Nov period but this lines are not generated in Oct-2009..
Is the PO is a BPA? If the PO lines generated for a Open Po, then creation date will appear.. What's the concern here?
2) You again mentioned : i observed that Invoice matched this PO is put on hold at Sep-2009 and released on Dec-2009. i dont understood this issue.
Check who has applied the Hold (any user or it's a system Hold) and released by whom...
Regards,
S.P DASH -
Reg: Trial balance report for 2009 year
Hi Consultants,
We have requirement to report the GL Trial balance for 2009 year .
Any one can provide me a query or advice me as it is urgent
Thanks in Advance
Anu.Hello Anu.
There are standard reports providing the Trial Balance. It is also easy to buid a query to produce it. Do you need some special information?
Octavio -
Reg Asset History Report in SAP BI
Hi,
I need to create the riplica of AR01 which is abap report in SAP BI.
Do we have any standard Asset reports in SAP BI.
-bjobYes, there is business content for Fixed Assets. Please review the Fixed Assets section in the business content in RSA1.
Here is a useful thread.
Fixed assets from FI to BW
It is important to note that SAP is theoretically planning on updating some of the business content, but they have not discussed which will be updated first. I suspect that Fixed Asset reporting will be low in the list of priorities. Most BW reporting is done for large numbers of users. Fixed Asset reporting is typically done by a small group of accountants, and many companies do not implement it.
FWIW, it's never a good business practice to implement a BW reporting tool for only one or two users when there is a fully functional report in SAP that fits all of their needs. It's a waste of resources that can better serve a larger population of end users and present a better value to the business. -
Reg. J1INEMIS report (problem with output in excel)
Dear Experts ,
In J1INEMIS report , when i save the output data in Excel file , last digit of vendor codes are missing in vendor code column even i optimized the width of column.
Kindly provide some guidance.
Regards
shaileshThe report is J1INMIS right.
If yes, please try the below way
1. Menu bar -> System -> List -> Save -> Local File -> Excel file
This helps you
Thanks -
Whether I could create a inv report with "Last Contact"
Hi All
My customer wnat to a method to easy list all worlkstation that did not contact from special date...Because inventory Scan & upload in not every day..So I could not use these data attributes..but it seem that no "last contract" attributes in ZCM invetnory report....
Whether ZCM could create a list which could list workstation's "last contract" date/time or not ??
wyldkaoOriginally Posted by wyldkao
Hi All
My customer wnat to a method to easy list all worlkstation that did not contact from special date...Because inventory Scan & upload in not every day..So I could not use these data attributes..but it seem that no "last contract" attributes in ZCM invetnory report....
Whether ZCM could create a list which could list workstation's "last contract" date/time or not ??
wyldkao
I don't know if you can do a inventory of those workstations but you can create a "Dynamic Workstations Group" and specify Last contact, that way you can get a list of all workstations that have not contacted the server since a specific date.
Hope that helps.
You may want to submit a enhancement request for that feature, it would be nice to have a inventory report for that.
Thomas -
Reg. Download Report on IT0759
Hi,
We have a requirement wherein
The Master Data maintained in IT0759 (Compensation Process) is to be paid to the employees as VCPI payment or IPI payment in the relevant quarters.
The amount mentioned in this Infotype is entered and sanctioned bya team which later requires the details to be sent to Payroll Section for processing in the current payroll.
Thus based on the selection made in the entry screen of the Report, we need a download report which could be as an input for Payroll Processing.
An LDB screen to fetch the selection criteria.The selection screen should have six fields namely country grouping, pernr,personnel area,plan name,plan period and payroll area. All the fields available in the window Compensation Process and Bonus Payment Data should be downloaded onto the Report.
Any pointers as to how to proceed or any sample code in this regard will be helpful.
Thanks in advance,
ShruthiHi
i know the functionality of spreadsheet but in this 4.7 is not possible to download sub total or filter(this is the message :Filter criteria, sorting, totals and not taken into account )
i've worked also in 4.6C and it was possible to download without problem with spreadsheet. There are some patches or somethings else to resolve this problem? or we need to attend the implementation of ECC6.0
thanks for help -
Reg:F.19 report figures are not tallying with gl account 208030. Why?
hi boss
F.19 report figures are not tallying with gl account 208030. Why?
pls urgent
amkHi,
We have had GO-LIVE on 2008 April. They have executed balances carry forwrad for 2008 only. Do they need to carry forward balances for 2007 also?
Is this the reason, that the system is showing differances in F.08 report.
Kindly help me
Thanks
Kishore
Edited by: Emergys Corp on Nov 24, 2009 8:56 AM -
Reg: Prompt as Report Header
Hi Friends.
If I select a year 2003 from 2003, 2004, 2005, 2006 ...2010.
Please let me know.. How do I get the Page Heading or the Report Header as the Financial report of Year 2003 ..
please suggest me solution for this..
Regards
L K Vepuriif you're adding promit "Enter Year:"
add a free standing celll in the report title
and add this formula there
=UserResponse("Enter Year:")
the text "Enter Year:" has to be the same one in your prompt in your query filter.
good luck -
Reg : Material Aging Report
Hi ,
I need to list the inventory on a specific date - agewise based on First-in-first-out method
<= 1 month purhcased
>1mth <=2 mth purchased
>2mth <=3 mth purchased
>3mth <=6 mth purchased
>6mth <=1yr purchased
>1 yr <=2 yr purchased
>2yr <=3 yr purchased
>3yr purchased
This should cover all types of inventory like,
Components
Finished Parts (this case instead of purchases it will be Vdin date)
Consumables
Loose Tools
Spare Parts
I have to extract both Qty and Value
This inventory list should cover all the plants.
If there is any standard report, please let me know.
R any body did report like this please help me...?Hi Avinash,
There are two Standard reports :
1. MC46 - Slow Moving Items
2. MC50 - Dead stock items
Here you need to enter the period for last consumption in days. This will be the scope for the execution and record selection. You can use daily usage check box for more accurate output (but it may delay the output).
The output will be list of materials, description and the days since consumption. Click on Triple line button for more comprehensive listing.
rgds
Chidanand -
Reg:: Exporting of Report
Hi All,
can any one help me..
In one dashboard section i placed four reports, while i try to export all the four reports to Excel, only last report ,where i clicking the export was exporting to excel, remaining top 3 reports are not exporting...is there any solution for this??
thanx in advance.Looks like you are using 11g,
Page Option -> Print -> Printable Html
then File -> Save Page as
Choose Save as type as -> All files
When you Open the xls file, if you get a pop up saying problem during load just omit it and proceed.
The report will open in excel.
Or else save the page as html /mht and open it with Excel.
If helps pls mark -
Hi ,
I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
Please help me.HI,
The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
for this requirement safety stock should be maintained in the material master,other wise your report will not work.
Regards,
velu -
Reg: Billing Plan Report
Hi
I got one FS from Client side regarding Billing Report i unable to write the logic for some Fields, please find attach the Ouput Format required from Clinet.
Sales Order Number (VBAK-VBELN)
Project Definition Number
Project Definition (from project)
Project Manager (person responsible from project)
Customer Number
Customer Name
Order Type
Sales Order Line
Billing Plan Item Number
Billing Item Milestone Description (from Project)
Billing Plan ItemValue
Billing Item Currency
Billing Block Status
Billing Plan Item Billing Type
Milestone Planned Billing Date
Milestone Release Confirmation Date
Billing Plan Item Invoice Number
I am unable to find the logic for the Below output Feilds
Billing Item Milestone Description (from Project)
Milestone Planned Billing Date
Milestone Release Confirmation Date
Billing Plan Item Invoice Number
Please let know which Table which will fetch this details
The Input for this report is Plant ( Mandatory Feild) and optional Feild are Sale order No and Project Definition No.
Kindly help me out SAP GURUS
RegardsHi,
The logic for Billing plan item invoice number is:
Pass the sales order number into VBKD table.Execute.
Select your lineitem and fetch the value if Billing plan number(FPLNR).
To know the number of items in billing plan enter this FPLNR into FPLT Table.Execute.
Pass the FPLNR into VBFA table and Execute.
You will find the invoice numbers for your billing plan items.
Regards,
Krishna. -
Hi,
I am working on reconslation report. one customer may have any number of GL accounts(Hkont)
cosnsider the below example i have customer 1 is having the gl accounts 100,101,102,103 and grand total for all the gl accounts
in some cases customer may have only gl account. dynmaically fields will increase based on the customer reconsalation accounts
how to achieve this
i have a requirement like as below.
kunnr name1 Billing type hkont hkont1 hkont2 hkont3 hkont4 grand total
1 A ABC 100 101 102 103 blank 5000
2 B ABC 200 201 blank blank blank 1000
3 c ABC 300 301 302 303 304 6000
If you come across the such kind of requirement, post the relavant code
Regards
Ramakrishna PathiInstead of thinking for writing a dynamic itab and all, you can go with an itab which has below fields and you can get the data into that accordingly.
ITAB
KUNNR NAME1 BILLING_TYPE HKONT VALUE
1 A ABC HKONT 100
1 A ABC HKONT1 blank
1 A ABC HKONT2 300
Once you get the data this way, later you can use AT END OF or AT NEW events to get grand total. Hope you got what I am trying to explain. Try this out.
Maybe you are looking for
-
I have a first version iPhone. Having problem with Notes. There are four notes that I want to delete and have tried everything I can think of; they won'y move to trash; I delete the text to a blank page but when I go backa to notes the title is sti
-
How to fit greenscreen in imovie '09
Hi! i am using imovie '09. i'm trying to use the greenscreen function and everything works well except for 1 thing. So there is a small greenscreen in the screen that i am filming. but i want to adjust the size of the video that is playing on the gre
-
IMAP/Exchange Feature working or not working
I'm having wondering if anyone else if having a problem using the IMAP feature on the IPHONE. I'm on a mail server that allows us to use imap where ever? When configuring the iphone with the same settings I'm still running into problems. I'm getting
-
I need to see the new email in my Outlook subfolders on my Storm 9530
Is there a way to have the Storm present ALL of my new email including mail that Outlook routed to a subfolder rather than just the mail that was not routed to any subfolder?
-
My printer paper jam half the time
5510 e all in one paper jam half the time i use it