How to count FI documents according to its doc type?
Hello everybody,
The following posting is about ways to count FI documents according to its doc type, company code and year.
At first, I was said that there is the table NRIV, wich gives the info when set with the 'object' parameter RF_BELEG. From this extract I can get the number of the last FI doc posted according to its CC, doc type and year. However, I am still missing the info when the doc type is 'external'. Could you see a solution?
Thanks!
Stan B
hi Stan,
go to SE16, enter BKPF, enter the document type you want to know (and company code and fiscal year and whatever) and click on Number of entries.
hope this helps
ec
Similar Messages
-
I want to get all the documents based on content type using SQL Server Query. I know that, querying the content database without using API is not advisable, but still i want to perform this action through SQL Server Query. Can someone assist ?
You're right, it's not advisable, may result in corruption of your databases and might impact performance and stability. But assuming you're happy to do that then it is possible.
Before you go down that route, have you considered using something more safe like PowerShell? I've seen a script exactly like the one you describe and it would take far less time to do it through PS than it would through SQL. -
How to control Held documents number ranges
Hi Gurus.,
pls tell me How to control Held documents number ranges.,
its urgent .one of my client asking separate number ranges for held documents
with regards
rameshDude,
I understand you are refering Hold Document not Park document. Becoz Park document use the same number range which is used for normal document posting. However, for Hold Document Number ranges, i advice you to liaise with your Abaper for BADI/Exit/ or etc etc.....for maintaing a specific number range or validation of number given.
pls assign point if useful -
How to show sharepoint documents in salesforce ?
How to show sharepoint documents in salesforce ?
I should also be able to upload documents from salesforce directly to sharepoint document library/list if the users attach a document for a record in salesforce. Any idea how to achieve this?
What are the things need to be done if my sharepoint is available in intranet Or if it is SharePoint Online , how can we link this to salesforce (as Salesforce is global and can be accessed from anywhere). What are the security measures that I need to look
at and how to achieve this?
Ex:- I have a record in salesforce account object. I have to attach a document for that record which should be directly uploaded to sharepoint and shouldn't exist in salesforce, but it should display the listview to the users once its uploaded to sharepoint
and they should see them as if they exist inside salesforce, once they click on the link in the listview of the relatedlist, it should open the document from sharepoint.
Thanks in advance.Hi,
According to your post, my understanding is that you want to show SharePoint documents in salesforce.
You need to integrate SharePoint with Salesforce.
Nick Swan
has written an article on how to integrate Salesforce and SharePoint 2007 through the Business Data Catalog.
But it might be useful as the theory is the same for using SharePoint 2010 and the Business Connectivity Services:
Salesforce and SharePoint
Outside of that, there are some useful third-party products you can have a look at.
Cloud Connector: http://www.layer2.de/en/community/FAQs/cloud-connector/Pages/Office-365-Salesforce-Integration-Migration-Replication.aspx
DocAve Data Replication: http://www.avepoint.com/salesforce-data-replication/?gclid=CNjZ8sGwl6kCFYEc4Qod-xD-uQ
DataZoom Script: http://www.siafoo.net/snippet/261
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Find cleared document according entry date of clearing document.
Hi,
i have poor performance in this issue. I would find cleared document according clearing document. On selection screen are cpudt and cputm clearings documents and i need to find cleared document for these document.
First statement
select bukrs gjahr belnr into table i_bkpf from bkpf where cpudt in so_cpudt and cputm
Second statement
select burks gjahr belnr into table i_itab
for all entries in i_bkpf from bsas where bukrs = i_bkpf-bukrs
<b>and augbl = i_bkpf-belnr and augdt = i_bkpf-budat</b>
Third stat.
select burks gjahr belnr appending table i_itab
for all entries in i_bkpf from bsak where bukrs = i_bkpf-bukrs
<b>and augbl = i_bkpf-belnr and augdt = i_bkpf-budat</b>
all is OK but condition augbl = i_bkpf-belnr and augdt = i_bkpf-budat has very poor performance!!
How to solve it? Do you have any solution?
Thank you very much.Hi Vidlak,
If you might have noticed, BSAK has a secondary index available (number 1) with the fields :
LIFNR
BUKRS
AUGDT
AUGBL
GJAHR
BELNR
BUZEI
in the same order. Now since you cant obviously build and query on the primary key atleast try to complete the secondary index key. I can see i_bkpf has BUKRS & GJAHR key, and in the index AUGDT comes before AUGBL hence in construct your where clause for the third statement as
WHERE BUKRS EQ I_BKPF-BUKRS AND
AUGDT EQ I_BKPF-BUDAT AND
AUGBL EQ I_BKPF-BELNR AND
GJAHR EQ I_BKPF-GJAHR.
this should certainly help improve performance.
Also seeing how many FOR ALL ENTRIES clauses u are using, one thing for performance improvement is ensure the table is NOT empty before using it and sort the table with its keys.
Hope its of some help.
Regards,
Aditya -
Retrieve document count in document library
Guys, I'm trying to figure out how I can get the document count in a document library. I suspect we've reached the magical number of 5000 documents in a library which causes sync issues, and I need a way to find out if this is the case. I spend the last
45 minutes searching the web for a solution just to count the documents in a library, but apparently, Sharepoint does not offer an easy way to view this information. I've found custom webparts and even apps to get the document count, but they require some
in-depth Sharepoint knowledge I don't have.
One of the sites I found:
http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-the-number-of-items-inside-the-folder-in-sharepoi/
Is there another "easy" way to view the amount of documents stored in the document library ona Sharepoint Online site? I tried to use the "Browse with explorer" button to count al the documents. It works, but it counts about 4800 documents,
so it probably does not count all the items stored.Hi Tom,
According to your description, my understanding is that you want to retrieve the document count in document library.
I suggest you can query all document in all folders using Client Object Model. Before you use Client Object Model, you need to install the SharePoint Componments SDK firstly.
Here is a code snippet for your reference:
ClientContext clientContext = new ClientContext("your site");
Microsoft.SharePoint.Client.List spList = clientContext.Web.Lists.GetByTitle("Documents");
clientContext.Load(spList);
clientContext.ExecuteQuery();
if (spList != null && spList.ItemCount > 0)
Microsoft.SharePoint.Client.CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml =
@"<View Scope='RecursiveAll'>
<Query>
<Where><Eq><FieldRef Name='FSObjType' /><Value Type='Integer'>0</Value></Eq></Where>
</Query>
</View>";
ListItemCollection listItems = spList.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
Console.WriteLine(listItems.Count);
Console.ReadKey();
Here are some detailed articles for your reference:
SharePoint Server 2013 Client Components SDK
Complete basic operations using SharePoint 2013 client library code
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Zhengyu Guo
TechNet Community Support -
How to count client Oracle License
Dear All,
In our company have license as below, but I don't know how to count license
1. Oracle Database Standard Edition-Processor Perpetual 2
2. Oracle Database Standard Edition-Named User Plus Perpetual 100
Just in my opition,
NO.1 for CPU on Server ??
NO.2 have 2 choice
1. Count by PC client connecting in same time have a limit 100 user can login ?? if over 100 client system will be disconnect by automatically ??
OR
2. We can intsall oracle client software in 100 PC only ??
and also I using MS.Excel to get data form Oracle server need to buy Oracle client license ??
Could you please explain for me.
Regards.
Edited by: 959974 on Sep 18, 2012 9:08 PMuser11181920 wrote:
I agree with you. Mostly.
But most of you said is related to a price negotiation not a policy.
Of course price has to be discussed or negotiated with Sales Rep.
Of course an agreement that costs dozens of thousands should go via Legal department.
Of course no-one should refer to an advise taken from here as to a last instance of Truth or a Constitutional Law.
It is all obvious.What may be obvious to you may not be to others.
>
But someone who does not know even basic licensing policies should read docs and get understanding of them before negotiating with Sales Rep.Yes, the faq too: http://www.orafaq.com/wiki/Oracle_licensing
Though it may have some out of date parts.
It will make this person better prepared for a negotiation, and also will make work of Sales Rep simpler - he/she does not have to explain those basic things to a customer.Sometimes they insist on explaining these things, even when they do not understand it themselves.
It will also increase level of trust. Clear understanding helps to create trust.One would hope. On the other hand, when they say I'll have to get back to you on that and then don't, does that help? All I can figure is some magic words, like Itanium, have magical properties. Maybe it breaks their price calculator app.
>
Here we can help. We can give some recommendations what docs to read and help to get some understanding of things.
Of course we are not officially authorized for legal advices, I think everyone understands it. Who don't - I am sorry.Many people are unclear that this is a volunteer forum, not official Oracle policy, even though there is that red logo on the upper left of the screen. Yet Oracle still has to worry about liability issues for anything posted.
>
Almost everything in the licensing policies is open to negotiation which, obviously, can only happen with Oracle Sales.Or vote with your feet.
Here I doubt that Sales Rep can change a policy. Can Sales Rep change Processor Core Factor? Or its definition? Or a definition of Named User Plus? Like declaring that for this particular customer we make it "Two Humans = One Named User Plus"? Like the used car salesman I'll have to check that with my sales manager.
Can Sales Rep change export/import rules?Rule #1: don't get caught. google FPCA with the name of your favorite company.
I doubt. Sales Rep has a vendor recommended price and limit for discount that he/she is authorized for. Also Sales Rep is trained for policies and how to apply these in different scenarios, but Sales Rep is not a policy makerOracle sales reps had their quotas boosted this year to impossible levels, which effectively gave many huge pay cuts.
And earlier:
I would disagree here. Why do you try to present Oracle's licensing policies overly complex that only sales rep can understand it?That is giving way too much credit to sales rep. The policies refer back and forth to different documents, which may change with the wind. It is overly complex.
Oracle does not make a secret from its licensing policy.How would you know? If everyone gets a special deal, there could be secrets all over the place. This is business, not consumer products. Always keep a local copy of policies found online.
It is quite clear, documented and published.Documented and published, yes. Clear? There are companies whose entire business plan depends on the lack of clarity and capriciousness, dealing with Oracle is an art, not science. Any published document may be changed at any time, George Orwell would be impressed.
Everyone before buying or signing a contract should be prepared to a discussion with sales rep - read the docs and get understanding.As much as you can, yes. But never forget, this is an asymmetrical negotiation. As powerful as you may be in your company, you are a benign microbe to Oracle. -
How to Count Number of completed line items in past 6 months / 12 months ?
How to Count Number of completed line items in past 6 months / 12 months ?
Hi,
I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
Purchase Order document = ZEBELN
Line Item = ZEBELP.
I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
I have "Delivery Completed" field, ELIKZ.
So, based on this would I be able to calculate it in Query Designer?
If so, Please let me know howHello Deva
If youe want to calculate the completed line item for last 6 or 12 month then i think u will be displaying the query data for these montrhs...create a customer exit to give you date range and restric it in filter area....
Now Choose any of the below option
1. I would suggest to implement an additional key figure "counter" in cube and fill values with one for which delivery is completed.
Now use calculated key figure in Query Designer based on logic
IF counter = 1 THEN counter ELSE 0
OR
2. create a formula variable based on ELIKZ and use replacement path variable, it will display you no. of docs for which delivery is completed....
Award points if it solves your problem
Revert back in case of further assistance...
Thanks
Tripple k -
How to count number of lines in a file?
I am using a BufferedReader to read my file, but I like to know how to count the number of lines in a file is there a way to do that in Buffered Reader or do I have to use FileInputLineStream?
Well, if you know how to read one line with a Buffered reader, and you know how to keep reading lines until you run out, then all you have to to is initialize a counter to zero before you start reading, add 1 to it each time you read a line, and then examine its value when you're done.
Try that, and post again if you get stuck.
Just be careful how you construct your loop. "Off by one" errors are a common way to get bitten. It could happen if you count what you think is the last line, but you've actually already counted all the lines and you end up counting one extra for "there are no more lines". -
Running SP2013 Foundation. My users interact by uploading documents to personal folders within a document library, selecting the type of document they have uploaded via a lookup column and SP list. I have two levels of view in my library, a top level view
and an in-folder view which contains the metadata and standard document information like version and modified date etc.
Currently I am able to count the total number of documents that have been uploaded of a particular document type against my document type list, but I would also like to include folder along with document type to thoroughly track document returns by folder
name. The desired output being a list with a count of document type uploaded by folder name.
I have tried creating an associated user column at the top level view and also uploading an associated user and folder name list.
Is this possible and how would I go about this?
Many thanks for any assistanceHello MJH9J,
Thank you for your question.
We are currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Best Regards,
Zhengyu Guo
Zhengyu Guo
TechNet Community Support -
How many times a document (item) visited
Hi,
is there an option to see / show how many times ,like hit count, a documents viewed by the users? if not, is there anybody who has achieved this,
Thanks in advance..Hi,
This is very simple job.
If you want this to be achieved using the JSP use the following code.
<%!
int iCount = 0;
%>
<%
iCount = iCount + 1;
%>
If you want to achieve in HTML just have a look @ the following link.
http://www.hit-counter-download.com/
Regards,
Vijay.B -
Hi All,
I am using BAPI_GOODSMVT_CREATE to create goods movement .its sucessfully excuted.
Now I want to store Document Number in Ztable which is getting from MB11(Goods movment create).
Plz suggest how i proceed?
Thanks in Advance...
Regards
SteveThe following Exporting Parameter(s) will give you Document Number & Document Year.
GOODSMVT_HEADRET (Doc. No + Doc. Year)
MATERIALDOCUMENT
MATDOCUMENTYEAR
Regards,
Ramki. -
How to access iCloud documents on your mac.
I struggled with this for days and finally found a simple solution.
Here's one way:
http://www.youtube.com/watch?v=YrmZbTZwoeA&feature=player_embedded
Here's another. Thanks to http://osxdaily.com/2012/08/09/how-to-access-icloud-documents-from-the-mac-os-x- finder/
Getting Easy Access to iCloud Documents from the Mac Finder
Placing the Mobile Documents folder in the Finder window sidebar allows for quick access to files in the cloud:
From the Finder, hit Command+Shift+G to bring up the Go To Folder window, and enter the path to the user Library folder found at ~/Library/
Locate the directory titled “Mobile Documents” and drag that folder into the Finder window sidebar, or make an alias, this allows for easy access
If you poke around the “Mobile Documents” directory you’ll find another series of folders, some are named nonsensically based on GUIDs as this folder is not intended for general user access, but each one is in accordance to an application that stores documents in iCloud. Apps including Notes, TextEdit, Reminders, Mail, Keynote, and any other Mac app with iCloud support will be included.Making changes to a document that syncs with an iOS device will reflect in the appropriate app from iOS. Likewise, for any documents stored in iCloud the changes made to the folder will reflect on other Macs. Versions does not work here, so be careful with changes you make.One thing you may notice is that Camera Roll pictures are not stored in here, but there is a similar way to access the iOS Photo Stream from Mac OS X too if you use that feature on an iPhone or iPad.Heads up to MacWorld for the recent tip reminderhidden files in Finder
terminal copy&paste:
defaults write com.apple.finder AppleShowAllFiles TRUE ;killall Finder
defaults write com.apple.finder AppleShowAllFiles FALSE ;killall Finder
if it is just the user library you are looking to change:
chflags nohidden ~/Library -
Is text mining operations on document binary and its HTML output is simiar?
Does the text mining operations differ when I perform on document binary or its HTML output? Do you think the results would be the same, if i performed clustering operation on the HTML or text output of a binary document instead of its binary file.
Please comment!I assume you are trying to put an anchor tag in a text item, that points to a document stored elsewhere in the Portal repository.
Use a direct access URL (search the online help for info on these) to construct the link to the document. You can use a relative URL by leaving out the "http://server.domain:port" part of the URL - e.g. {a href="/pls/portal30/docs/FOLDER/MYROOTFOLDER/MYSUBFOLDER/MyDocument.DOC"} - I'm using {} here instead of <> because real tags get messed up in these forum messages.
The Portal FAQ explains how to use httpd.conf to define a redirect directive.
Regards,
Jerry
null -
How to count values in a query ?
Hi experts,
We have a query, which is having only characteristics. There are no key figures.
There is date field. In this date field the value may be or may not be there.
My requirement is if the date field has value then it should be counted record wise and the total count
should be displayed in the bottom of the query output. If value is not there then that record should not be
counted.
How can we do this ?
Regards,
Nishuv.Dear Nishuv,
You can create a calculated keyfigure for getting count, in that create a formula variable on characterstic with replacement as processing type.
and please clarify on what level you wanted to count, like Sales Docuement level or Item level.
For Example :
If you wanted to find no.of sales orders which are returned so you have to count on document level. this would be the replacement characterstic.
Please find the below PDf you will understand better
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
Thanks
Sreekanth
Maybe you are looking for
-
Anyone tried DLP-3D with a Mac mini?
I'm anxious to give 3D a try. The only software I've found so far is for a Windows PC (DDD's TriDef software). I was just wondering if there is a Mac equivalent that would run on the mini.
-
TS1702 HOW TO CANCEL AN SUBSCRITION FOR AN APPLICATION THAT DOES NOT WORK
HOW TO CANCEL AN SUBSCRITION FOR AN APPLICATION THAT DOES NOT WORK
-
Babysitter said don't ever remember passwords for websites we often use
My wife and I have for 3 1/2 years enjoyed sharing one user admin account on iMac without problem. This week the babysitter, before I got to create a user account for her, used our account to access her own hotmail and facebook pages as well as some
-
IMessages doesnt work on Mountain Lion
hi guys ive been trying for ages now to connect to IMessages via jabber to my facebook account but i keep getting this msg "chat.facebook.com: Sorry, your account isn't available | Your account is temporarily unavailable. Regain access by logging int
-
When listening to an audio book the ipod nano (6th generation) keeps turning off?
Help! I just purchased an ipod nano (6th generation) for the sole purpose of listening to audio books. When I start a book about 20 seconds into it the screen goes dark and the ipod stops...then I have to turn the on/off switch on to begin the boo