Vendor with last transaction date
Hi,
Can I generate any report which contains all vendors with last transaction date? THis is for audit purpose.
Thanks & Regards,
Rajaneesh.C
Hi,
You can take the report of the FI accounting document for all vendors based on the company code and the posting date ( input the present date) in the T code- S_ALR_87012991.
regards,
Kannan B
Similar Messages
-
Item details with Last Transaction Date ?
Hi,
Please help someone to fine tune this query :-
Select ILLITM,ILDOC, ILDCT, ILTRDJ
FROM CRPDTA.F4111
where ILTRDJ in (Select max(ILTRDJ) FROM CRPDTA.F4111);
The above query is returning the latest transaction date with Item details.
But expected output is: Every Item with last transactional date.
Hope I am clear on the above requirement please.
Thanks in advance.
RAMyou can use table alias for this
Select ILLITM,ILDOC, ILDCT, ILTRDJ
FROM CRPDTA.F4111 tab1
where tab1.ILTRDJ in (Select max(tab2.ILTRDJ) FROM CRPDTA.F4111 tab2);
or if you are using this query inside any PL-SQL block , you can use a variable to hold max(ILTRDJ) and then use this variable in query. -
Storage Location last transaction date
Hi All
What particular transaction code or report will I can find storage location last transaction date?
We'll be using this for our PID
Thank you
JesielleHi Shiva Ram
Aside from tcodes MB51 and MB5B. Is there any other report wherein it only shows the storage location codes with last transaction date?
Thanks
Jesielle -
Hi,
I want to show vendor last transaction date. How we can get it.
Thanks in advance.
Regards,
Moderator message : Requirements dumping not allowed, thread locked.
Edited by: Vinod Kumar on Dec 9, 2011 5:42 PMHi,
You can take the report of the FI accounting document for all vendors based on the company code and the posting date ( input the present date) in the T code- S_ALR_87012991.
regards,
Kannan B -
How to get XLR to show BPs with no transaction data for a given date range
Hi -
I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
The report has the row expansion:
FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
and column expansions:
FIG(SO_TaxDate = @StartDate:@EndDate)
and
FIG(SO_TaxDate = @StartDate2:@EndDate2)
where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
The column formulas are, from left to right:
=ixDimGet("BPA", "CardName")
=ixGet("SO_DocTotal") <-- filtered by column expansion for first date range
=ixGet("SO_DocTotal") <-- filtered by column expansion for second date range
The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
Any help is greatly appreciated!
Thanks,
Lang RileyReally appreciate your feedback! Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query.
Using **, i.e., * or #NULL, makes no change in the resulting data in this case. I had thought that ** would be the solution, but it didn't change the outcome. I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear.
I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set. It seems that perhaps the IXL query needs to be restructured? Please keep the suggestions coming including how this query might be restructured if necessary. -
hi experts,
I want to write a daily report to show a item's history, not only last sales, purchase date, but also last transaction date(includes production, inventory transfer, issues and receipts).
I know OITM and OITW can get Stock, unit price, last purchase date and last sales date, but where can I get the last transaction date and info such as item post list? Thanks...Try this one:
SELECT T0.ItemCode, T0.ItemName, T0.Onhand, Max(T1.DocDate) 'Last Trans Date'
FROM dbo.OITM T0
INNER JOIN dbo.OINM T1 ON T1.ItemCode = T0.ItemCode
WHERE T0.ItemCode Like '[%0\]%'
GROUP BY T0.ItemCode, T0.ItemName, T0.Onhand
Thanks,
Gordon -
Need a report_Batchwise Mvt type last transaction date qty
Dear Gurus
Please suggest me any standard report or Table for display below report.
Batchwise>Mvt type>last transaction date>qty
thanks in advance
MayurHi,
MB51 --- Material documents list.
Regards, -
Create a listing of reports with last run date and # of times run
Hi All,
I want to create a listing of reports with last run date and number of times report is run in the past 18 months.
If anybody can please help me with the query for the same.
Regards,
Sk
Edited by: user10989244 on Aug 18, 2009 7:12 AMHi Sk
Assuming you have the collection of statistics enabled, which it is out of the box, you can get the information you need from the EUL5_QPP_STATS table. This script will help:
SELECT
QPP.QS_DOC_OWNER WORKBOOK_OWNER,
QPP.QS_DOC_NAME WORKBOOK_NAME,
QPP.QS_DOC_DETAILS WORKSHEET_NAME,
QPP.QS_CREATED_BY RUN_BY,
TRUNC(MAX(QPP.QS_CREATED_DATE)) LAST_USED_DATE,
COUNT(QPP.QS_ID) TIMES_USED
FROM
EUL5_QPP_STATS QPP
WHERE
QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -18)
GROUP BY
QPP.QS_DOC_OWNER,
QPP.QS_DOC_NAME,
QPP.QS_CREATED_BY,
QPP.QS_DOC_DETAILS
ORDER BY 1,2,3;
Best wishes
Michael -
Vendor ID, Last Update Date, Invoice Details - Query
For each Supplier, we would like to know the vendor ID, vendor number, vendor name, vendor site code, Created Date, Last Update Date, last invoice date, last payment date, total number of invoices and total $ amount of invoices for each supplier.
1) How do i find the last payment date and supplier catagory?
2) As i have to use sum(invoice_amount), count(invoice_amount), max(payment_date) which point to 3 different tables, i am not sure how to use "group by" based on the Vendor_id alone while i select lot of fields from different table. Could you please help me with this?
3) Please help me to get this query fixed.1) You can get last_payment_date by joining vendor_id to ap_invoices_all and the joining invoice_id with ap_invoice_payments_all to get the max accounting_date (i.e. last payment date)
2) You are partially right. Invoice_amount and invoice_count are from the same table so you have to join 2 tables. Best way is to do a select in the select.
e.g SELECT pv.vendor_name, COUNT (1), SUM (invoice_amount), pv.vendor_id,
(SELECT MAX (aipa.accounting_date)
FROM ap_invoice_payments_all aipa, ap_invoices_all aia2
WHERE aia2.vendor_id = pv.vendor_id
AND aia2.invoice_id = aipa.invoice_id) latest_payment
FROM ap_invoices_all aia, po_vendors pv
WHERE aia.vendor_id = pv.vendor_id
GROUP BY pv.vendor_name, pv.vendor_idSandeep Gandhi -
hi
I'm trying to run a report in order to audit our database of suppliers (over 1000) (supplier records managed in symmetry)
I need to see against every supplier the last date that we paid them so that I can identify the ones not used in the last 2yrs and disable them.
the closest report I'm getting is one that shows every payment date for every supplier and is so large that I'm running out of space in excel when exporting the report.
Any advice on what items to select and parameters to set in order to get this report would be much appreciated!!!!!My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
John Dickey
Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM -
File names with last changed Date and time in a directory
Hi All.
I need to get all filename, last changed date, last changed time in a directory. Is there any function module for this?
Regards,
Venkat.hi,
if the directory is in any application server try to use this code
> DATA: wa_file TYPE zdpp_file_read.
> DATA: nomefile(75).
> DATA: ext_chek(3).
>DATA: BEGIN OF wa_file,
> dirname TYPE DIRNAME_AL11, " name of directory
> name TYPE FILENAME_AL11," name of entry
> type(10) TYPE c, " type of entry.
> len(8) TYPE p, " length in bytes.
> owner(8) TYPE c, " owner of the entry.
> mtime(6) TYPE p, " last mod.date, sec since 1970
> mode(9) TYPE c, " like "rwx-r-x--x": prot. mode
> useable(1) TYPE c,
> subrc(4) TYPE c,
> errno(3) TYPE c,
> errmsg(40) TYPE c,
> mod_date TYPE d,
> mod_time(8) TYPE c, " hh:mm:ss
> seen(1) TYPE c,
> changed(1) TYPE c,
> END OF file.
> data: files like wa_file occurs 0 with header line.
>
> CALL FUNCTION 'FILE_GET_NAME'
> EXPORTING
> client = sy-mandt
> logical_filename = logpath
> operating_system = sy-opsys
> IMPORTING
> file_name = path
> EXCEPTIONS
> file_not_found = 1
> OTHERS = 2.
> IF sy-subrc <> 0.
> RAISE file_not_found.
> ENDIF.
>
> DATA: last_path TYPE i.
> DO.
> last_path = strlen( path ).
> last_path = last_path - 1.
> IF pathlast_path(1) = '/' or pathlast_path(1) = '\'.
> EXIT.
> ELSE.
> CLEAR path+last_path(1).
> ENDIF.
> ENDDO.
>
> MOVE extension TO ext_chek.
> TRANSLATE ext_chek TO UPPER CASE.
> nomefile = '*'.
>
> CALL 'C_DIR_READ_FINISH'
> ID 'ERRNO' FIELD wa_file-errno
> ID 'ERRMSG' FIELD wa_file-errmsg.
>
> CALL 'C_DIR_READ_START' ID 'DIR' FIELD path
> ID 'FILE' FIELD nomefile
> ID 'ERRNO' FIELD wa_file-errno
> ID 'ERRMSG' FIELD wa_file-errmsg.
> IF sy-subrc <> 0.
> RAISE wrong_directory.
> ELSE.
>
> DO.
> CLEAR wa_file.
>
> CALL 'C_DIR_READ_NEXT'
> ID 'TYPE' FIELD wa_file-type
> ID 'NAME' FIELD wa_file-name
> ID 'MTIME' FIELD wa_file-mtime
> ID 'ERRNO' FIELD wa_file-errno
> ID 'ERRMSG' FIELD wa_file-errmsg.
> IF sy-subrc <> 0.
> EXIT.
> ENDIF.
>
> PERFORM p6_to_date_time_tz(rstr0400) USING wa_file-mtime
> wa_file-mod_time
> wa_file-mod_date.
> MOVE path TO wa_file-dirname.
> APPEND wa_file TO files.
> ENDDO.
> ENDIF.
>
> CALL 'C_DIR_READ_FINISH'
> ID 'ERRNO' FIELD wa_file-errno
> ID 'ERRMSG' FIELD wa_file-errmsg.
bye,
marco -
Whatâs up with âLast Backupâ date?
I have a 10g database running on Redhat and I can never get the Last Backup date to change. I was set by the Oracle default backup and has not changed yet. As you can see the data is 4/17/04.
High Availability
Instance Recovery Time (seconds) 12
Last Backup Apr 17, 2004 2:07:53 AM
Archiving Enabled
Problem Archive Areas 2
Flashback Logging Disabled
When I click on the date link this page shows a more current backup, I think? Any idea what is going on? Is my database backed up?
Results
Select All | Select None
Select Key Tag Completion Time Contents Device Type Status Obsolete Keep Pieces
249 TAG20050330T023107 Mar 30, 2005 2:31:10 AM SPFILE, CONTROLFILE DISK AVAILABLE NO NO 1
248 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:30:53 AM ARCHIVED LOG DISK AVAILABLE NO NO 1
244 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:23:15 AM DATAFILE DISK AVAILABLE NO NO 1Fraid so .. there are way too many weird things and gotchas with this product.
At this point I would delete the database from oem.
Go into targets, select the db click remove.
After about 10 minutes (or check the Management tab, overview .. verify the deletion was complete.
Go back to the agent tab, click Go to the database prompt for it to rediscover the database. -
Archive Old Material Codes with Related Transactional data
Hi everyone,
I have read some articles and posts on archiving material masters, PO, PR data etc. However, I could not find a consolidated post that describes in proper sequence how old material masters can be archived along with corresponding BOMs, POs, PRs, Info records, FI docs, and other material doc. data required to be archived BEFORE the master data can be archived.
Can anyone please guide me sequentially on this?
If you can provide steps, names of archiving objects, the sequence of activities required, that would be great.
Thanks very much.
Regardsnot easy to estimate as I dont know the full scope and not the country your client is located.
you must never forget that you archive data that may still be subject for audits of tax authorities.
This means that the work is not over when the record is successfully archived. you have to make sure that the archived record can be accessed by the auditors or by the user community for late investigations in case of returns or quality complaints.
you have to define together with users of each module how long you keep the transactional data in production system. and how long in the archive until they can be disposed.
And .....projects take longer if you have not much experience.
I currently estimate 2 working days per archiving object, but I have many years experience in archiving, and in several modules including basis activities. But the time really varies from object to object. while I am able to archive millions of material documents in a few hours, it may take many more days for a other object like purchase orders (or material) to fight all error messages.
further this is not only MM and basis, you have to have PP and SD and others resssources as well in the project.
you have to investigate interfaces, e.g. if the data is used in a external subsystem or in a business warehouse. -
Master Data in BEX Output with no Transaction Data?
Is there a way I can show in my BEX output master data even if no transaction data ever existed for it?
We have accounts in ECCS that have never had any transaction data, but our accountants want that to show up in our BEX output.
We have tried setting the properties of the query to show all zero values, but since this never got a SID for the cube, it will not even show up then.
Any suggestions?Hi Brent,
Please take a look at the following:
http://help.sap.com/saphelp_nw04/helpdata/en/3a/d1603d13b5c72ee10000000a114084/content.htm
It talks about a multiprovider including the cube and InfoObject "to display characteristic values for which no transaction data or only low values exist.."
Hope this helps... -
Projects with no transactional data or cost
Hi guys,
How do i fetch all projects which dont have transactional data or cost posting done? this is for archiving...
Regards,
Paval.check table RPSCO and there should be no entries for the objects numbers under the project defintion
Maybe you are looking for
-
Sharing a usb external hard drive
I am running MAC OS X v10.4.6 on a G5 PowerPC. I have an external drive attached to one of my usb ports. I used netinfo manager to export it. I run showmount -e and it shows up. But when I nfs mount it from another server (running solaris 8), the vol
-
How to change host file?
Hi guys, I would like to install 9iAS 9.0.2 Oracle Portal on my XP machine. Problem: My host like this: 127.0.0.1 localhost AND my computername contains an UNDERSCORE. How can I change the hosts file? And how must it look like? I have no fix IP Adres
-
Bluetooth not available since OS X 10.9 Mavericks?
Today I installed the OS mavericks. Once I installed it my bluetooth became unavailable. Meaning both my mouse and keyboard are unable to use, in tern the mac really. I've tried turning it off and on and un plugging the cable even re downloading and
-
Internal Error occured with timesplit
Hi , An error occured when loading data to the cube . Erorr Message is "Internal Error occured with timesplit.. <b>BI version is BI 7.0</b>Message id RSAU 101 I have Created a Zcube Copy of 0figl_c10 adding 0calmonth to the Zcube.. In updaterule i ha
-
Can I download iPhotos for macbook pro 10.6.8 and re-install?
Can I download iPhotos for macbook pro 10.6.8 and re-install?