Incoming / Deposit query
How can i create a query where it prompts me for the incoming Pmt number and it will tell me the Deposit number . I need to know when Incoming payments were deposited.
thanks
Hi Rosi,
It sounds like you want to use the Check Register feature in SBO. I am assuming it's available for all localizations (I am on SBO2007A).
It can be found under Banking / Incoming Payments / Check Register. All you need is the check number - input it and it will list all I/Ps with that check number and the related deposit, etc.
Heather
Similar Messages
-
Help needed on income statement query....
Hello BW gurus,
I need to make an income-statement query which gives the following output.
The 5 Variables are
Company Code
Plant
Fiscal Period (12 months) in column
Value Type
Version
#ACCOUNT 0METYPE METYPE-DESCRIPTION COMPANYCODE PLANT SALES0RG
Sales
Cost of Sales
Gross Margin
(Sales minus Cost Of Sales)
General &Admin
Other
Operating Income
(Gross margin minus G&A minus Other)
Interest Income
Interest Expense
Net Income before Tax
(Operating Income minus Interest Income - Interest expense)
Taxes
Net income
(Net Income before Tax minus Taxes)
Note: Sales,cost of sales,general and admin,other,interesat income,interest expense,taxes are under the hierarchy of ACCOUNT.
Please make a quick response.
100% points will be awarded.
Thanks in advance.
Sam MathewPlease read these:
When your query takes too long
When your query takes too long ...
How to Post a SQL statement tuning request
HOW TO: Post a SQL statement tuning request - template posting -
Pending Incoming Payments Query
I'm new in this Forum.
My problem is to get the same information from "Banking -> Incoming Payments -> Incoming Payments (Documents for Payment)" in a query.
I tried to know these tables through "Debug Information" but in these case I couldn't obtain them.
Does anyone know which tables I need to retrieve these information from?
Any reply will be welcome. Thanks a lot.Hi Josep,
I think the table you are after is RCT2. The table structure for Incoming Payments is as follows:
ORCT - Incoming Payment (header)
RCT1 - Checks
RCT2 - Invoices
RCT3 - Credit Vouchers
RCT4 - Account List
RCT5 - Receipt VAT adjustment
RCT6 - Withholding Tax
RCT7 - Document Tax Amount
If you have access to the SDK then this includes the database schema amongst the help files (in later versions of the SDK this can accessed through the SDK Help Center).
Hope this helps,
Owen -
Due Date
Invoice amount
Receipt Number
Payment Date
Paid amount.
For all Receipt I tried to link Invoice. RCT2 ORCT and OITR and ITR1 table to get all invoices and receipt including reconciled one. but my query is not linking reconciled invoices
Please help me to fix this issue.Dear Poonam,
Have you check this query or not?
Give a try to this query....
Select * from (SELECT distinct T2.[CardCode],
T2.[CardName], T2.[DocNum] [Invoice#], T2.[DocDate],
T2.[DocDueDate], T2.[DocTotal], T0.[ReconDate] [Paid Date],
T0.[Total] [Paid Amount],
(Select distinct T5.DocNum from
ORCT T5 inner join ITR1 T6 on T5.DocEntry = T6.SrcObjAbs and
T6.SrcObjTyp = '24' where T6.ReconNum = T0.ReconNum) [Payment Num]
FROM [dbo].[OITR] T0 INNER JOIN ITR1 T1 ON T0.ReconNum = T1.ReconNum
inner join OINV T2 on T1.[SrcObjAbs] = T2.DocEntry
and T1.SrcObjTyp = 13) A
Where A.[Payment Num] is not null
Let me know the feedback....
Regards,
Bala -
Sales order and incoming payment query
Hi experts,
I jus need a query that contains sales order doc num, date, cust name item description doc total and how much he paid towards the document and what is the balance due....pls help me...
regards,
Vignesh.RHi Vignesh.......
Are you using AR Downpayment based on Sales Order?
If yes then try this.....
SELECT T0.[DocNum], T0.[DocDate], T0.[CardName], T0.[DocTotal], T0.[DpmAppl] FROM ORDR T0
Regards,
Rahul -
Hi,
If i deposit a check in Bank entry may be
Dr SBI a/c
Cr Cash a/c
How can i know that the check has been cleared in bank.
URGENT pls
Rgds
sunficoHi
You should use a bank clearing account in order to know the balance of cheks deposited but not realised.
When you deposit check in the bank the entry wil be
Dr Bank clg account
Cr Cash account
Once you realse the check you can post the entry
Cr Bank Clg account
Dr SBI account
Thanks
Ashok
Assign points for useful answer -
Creating Crystal Reports Dynamically from an incoming SQL query
Hi,
I have a requirement where a sql query will be entered by the user in a text box and in the back end java code, i have to create a crystal report dynamically based on that sql query and show it in the crystalviewer object.
For example if the user writes "select x,y from xtable ", i should be able to create a report with 2 fields, and if the user says "select x,y,z from xtable" then i should be able create and show a report with 3 fileds...thsi report creation should be done in the click event.
Is this possible in java? I have found something similar in .NET... pls have a look at this
http://vb.net-informations.com/crystal-report/dynamic_crystal_report_from_sql_query_string.htm
Thanks,
PreethiHi Preethi,
Can you please share the steps with me? I am also looking for dynamic SQL being applied to the crystal report.
Thank you so much for your help in advance.
Regards,
Janakiram D. -
When I launch Final Cut or Batch Monitor, why do I keep getting a promt asking if I want to allow incoming connections? How do I get rid of this? It happens in Batch Monitor continuously and halts my other work.
Final Cut 7.0.3try Compressor preferences, removing anything in the text box for email, outgoing server, browse network and DNS, then apply.
I should have stated in last post to block Compressor in; System Preferences > security > firewall > set access -
Showing the Values as 0 in Sales Queries
Hi,
I configured Sales in my BI server with the help of SAP Best Practices.
In the initial steps while activating the Data Sources it has give me a warning message " R8281".
I neglected that warning and i completed the configuration.Now am trying to execute Incoming Order Query but it is showing the Values as 0 for all the Key Figures and Characteristics.
Not only for 1 query for all the querire it is showing the Values as 0.
Please guide me with a solution.
With Regards,
PraveenHi Savitha,
As it is a Preconfigured Solution given in SAP Best Practices,
These are the Steps i followed
1) Transferring Business Content DataSources
2) Logistics Extract Structures Customizing Cockpit
3) Deleting the Contents of the Setup Table
4) Performing Setup - SD Sales Orders
5) Performing Setup - LE Deliveries
6) Performing Setup - SD Billing Documents
7) Replicating DataSources from the SAP ERP System
8) Assigning Source System for Activation
9) Activating Business Content: InfoObject Catalogs
10) Loading Master Data Attributes/ Texts/Hierarchies
11) Activating Business Content: InfoCubes and
MultiProvider
12) Activating Business Content: Queries
13) Activating Business Content: Query Views
14) Maintaining DataStore Objects
15) Loading Transaction Data
So i created InfoPackages and i did all these steps.
But as per our discussion when i right click and select manage on Sales Overview Info Cube in RECONSTRUCTIONS tab i found most of the InfoPackages Load Status as Red.
I hope you two will guide me to get a solution.
Thanks and Regards,
Praveen -
Hello Friends,
I am trying to create an aggregate for Income Statement Query.
On the filter I have Fiscal Year Variant, Currency type and Chart of Accounts
On the Free Characteristics I have Profit center, company code and Fiscal year period.
I tried different ways on the Characteristics with fixed values and hierarchy(account no) but the aggregate is never used when executed the query. Can anybody give some input
thanksHi
If your aggregate are not hitting
Please ask the User to send me Book mark how he is drill down the query
Check with rsrt tcode how you aggregate is defined
copy the aggregate which is hitting ur aggregate and
apply Fixed for Company code value type ,version,Hierarchy level set and
chech
rsddstat,rsddstataggrdef and RSDDAGGRDIR tables
rgrds
Reddy -
Issue AP checks and Payment Wizard
What kind of situation to use Payment Wizard instead using Outgoing check for check printing?
I believe the outgoing checks need to do the same two steps like incoming payment then deposit for AR invoice/credit memo/journal entry, right?
The eLearning will cover detail information for incoming/deposit and outgoing/check issue?Yes you are correct if a user sets up the terms incorrectly on the master file then invoices will not come up to be paid properly - garbage in and garbage out. All of my clients use the wizard to pay their invoices it is a huge time saver.
Yes if a user generates the wizard and decides they do not want to pay a vendor in whole or one or more invoices then they should be deleted from the wizard so they are available to be paid later.
Manually entering one payment or check at a time and choosing the invoices to be paid is like going back in the dark ages.
Go through your vendors, review and correc their payment terms and payment methods. Instruct your internal personnel how to properly use the wizard and they will save hours on each check run. -
Query to link incoming payments with deposit
hi everyone
i am looking to develop a query that can link incoming payments with the respective deposit. does anyone have any such query? can you help?
thanksPlease use the following. It shows both check deposits and CC deposits
SELECT 'CHECK DEPOSIT' [Deposit Type], T0.DEPOSID [Deposit No.], T0.DEPOSDATE [Deposit Date], T0.LOCTOTAL [Desposit Total],
T2.RCPTNUM [Incoming Payment No.]
FROM ODPS T0 INNER JOIN DPS1 T1 ON T0.DEPOSNUM = T1.DEPOSITID
INNER JOIN OCHH T2 ON T2.CHECKKEY = T1.CHECKKEY
WHERE T0.DEPOSTYPE = 'K'
UNION ALL
SELECT 'CREDIT CARD DEPOSIT', T0.DEPOSID, T0.DEPOSDATE, T0.LOCTOTAL, T1.RCTABS
FROM ODPS T0 INNER JOIN OCRH T1 ON T0.DEPOSNUM = T1.DEPNUM
WHERE T0.DEPOSTYPE = 'V'
Best wishes
Suda -
Query Print Layout - Incoming Payment
Hi All,
I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
Below is the query:
SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
FROM [dbo].[OINV] T0 INNER JOIN ORCT T1
ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
ON T1.CardCode = T3.CardCode
WHERE T1.DocNum = [%0]
ORDER BY T1.DocNum
the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
Thank you! hope you can help.
PaulinePauline,
I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
Rgds, -
INcoming Excises Invoice Query
SELECT DISTINCT (T0.[DocNum]) AS 'INVOICE NUMBER', T0.[DocDate] AS 'INVOICE DATE',T0.[CardName], T1.[ItemCode] AS 'PART NO', T1.[Dscription] AS 'PART DESCRIPTION', T1.[Quantity], T1.[Price], T1.[LineTotal] AS 'BASE AMOUNT',
(SELECT sum(TaxSum) FROM IEI4 where statype=-90 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'BED 10%',
(SELECT sum(TaxSum) FROM IEI4 where statype=-60 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'ECESS 2%',
(SELECT sum(TaxSum) FROM IEI4 where statype=-55 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'HSCESS 1%',
(SELECT sum(TaxSum) FROM IEI4 where statype=4 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'CST',
(SELECT sum(TaxSum) FROM IEI4 where statype=1 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'VAT',
T1.[LineTotal]+t1.[VatSum] as'TOTAL'
FROM OIEI T0 INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN IEI4 T2 ON T0.DocEntry = T2.DocEntry
INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
WHERE T0.[DocDate] >=[%0] AND T0.[DocDate] <=[%1]
above this queriry is incoming Excise invoice warhouse and Busniess Partner mingle, so now i want to need only BP wise Incoming Excises Invoice Query , How do i Negligble? pls help me and reply soon , How Do i change the Query?Hi Rakan.......
Sorry. Your way of telling requirement is bit Ambiguous.......
Please correct me what I understood from your requirement is.\
Generally incoming Excise Invoice is made from GRPO/ORDN/ORIN and base on Inventory Transfer.
So you want only those Incoming Excise Invoice which is based on GRPO that is BP wise.
Am I correct now?
If yes the try this......
SELECT DISTINCT (T0.DocNum) AS 'INVOICE NUMBER', T0.DocDate AS 'INVOICE DATE',T0.CardName, T1.ItemCode AS 'PART NO', T1.Dscription AS 'PART DESCRIPTION', T1.Quantity, T1.Price, T1.LineTotal AS 'BASE AMOUNT',
(SELECT sum(TaxSum) FROM IEI4 where statype=-90 and DocEntry=T0.DocEntry ) as 'BED 10%',
(SELECT sum(TaxSum) FROM IEI4 where statype=-60 and DocEntry=T0.DocEntry ) as 'ECESS 2%',
(SELECT sum(TaxSum) FROM IEI4 where statype=-55 and DocEntry=T0.DocEntry ) as 'HSCESS 1%',
(SELECT sum(TaxSum) FROM IEI4 where statype=4 and DocEntry=T0.DocEntry ) as 'CST',
(SELECT sum(TaxSum) FROM IEI4 where statype=1 and DocEntry=T0.DocEntry ) as 'VAT',
T1.LineTotal+t1.VatSum as'TOTAL'
FROM OIEI T0 INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN IEI4 T2 ON T0.DocEntry = T2.DocEntry
INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
WHERE T0.DocDate >= '%0' AND T0.DocDate <= '%1' AND T1.BaseType in (20,16,14)
Above will give you the details of Excise Invoice BP wise....
Regards,
Rahul -
Customer Aging Report Query (without invoices offset by incoming payment)
Hi All Experts,
May I know is there any field from JDT1 mention which invoices is already offset by the Incoming payment or AR Credit note? Because I do not want those invoices that already offset by incoming payment appear at the Customer Aging Report. Meaning, the data appear in the Customer Aging Report is only show those invoices that yet to pay by the customer. Kindly give some advise on it. Thanks a lot.
Thanks and regards,
Angie NgHi David,
Thanks for your suggestion. I have try it, but all of my JDT1.IntrnMatch is in 0 value. Meaning in my situation it is none of any reconcilliation making. But from my SBO window, i manage to see that actually this incoming payment is pay for which invoices. Problem is it is difficult for me to do the possiblity logic that might be happen in my Customer Aging Report Query. Please give some advise that how to show only those invoices yet to pay? The current query will show all the data no matter the invoices or credit memo has been offset.
select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb 'Debit GBP',syscred 'Credit GBP',
case JDT1.transtype
when '13' then 'INV'
when '14' then 'AR CN'
when '24' then 'INCOMING'
else 'Other'
end 'Type',
Ref1,
fccurrency 'BP Currency',
CONVERT(VARCHAR(10), refdate, 103)'Posting Date' ,
CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 < 31
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "0-30 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 30
and (datediff(dd,refdate,current_timestamp))+1< 61)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "31 to 60 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 60
and (datediff(dd,refdate,current_timestamp))+1< 91)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "61 to 90 days",
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
then
case
when syscred= 0 then sysdeb
when sysdeb= 0 then syscred * - 1
end
end "90 + days"
from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'c' and intrnmatch = '0'
ORDER BY OCRD.CARDCODE, taxdate
Maybe you are looking for
-
Mapping issue from Invoice (Idoc - file) scenario
Dear All, I am working on Idoc to File scenario and i have a requirement like.. INVOICE02 E1EDP01 E1EDP05 BETRG E1EDP05
-
Result parameter using ABAP OO
Hi I'm working in a workflow project, based on ABAP OO instead of BOR. I have created an ABAP OO method "Handling required", with a returning parameter, based on a data element/domain with two values "Handling Required" and "Handling Not Required". N
-
I'm new to podcasting help please?
I have a website that's podcast compatible(powered by moveable type) www.omniversal.net. I have media files(mp3. wav.) already uploaded to my server via FTP. I recently made a podcast through a host server but I want to host it myself. What do I need
-
I am in current version of BI in E Business Suite (shows admin tab). This is for a check printing solution which I have done previously in the older version of BI. When creating my data definition and try to add my xml file, I get an error message th
-
PE3: Experiencing total frustration - "Help"
I have a bunch of projects that I started a few weeks ago and have got nowhere. Keep going away from the problems and coming back to them. Have posted 2 topics on the forums recently and did not resolve the issues ie: "Audio & Video out of synch on i