Table to check number of entries in an Infocube for a particular selection
Hi All,
Is there a table in BW system which would give a the number of entries in an infocube for a particular selection just like the flatR/3 table which has the button on top for checking the number of records?
Any close work around to check the number of entries in an Infocube would be appreciated.I have tried to find out the number of entries from F & E table but in vain.
Hello,
You can try the following:
1) Right click on cube display data, select all attributes and nav attributes yo are interested in
2) Go to field selection for output, here select only the nav attribute you want the no of records against (dont select any KF) , hit execute
3) In selection screen provide the selection you want to give
4) Scroll down, uncheck do no use nay conversion and use mat aggregates, keep Max no of hits blank
5) Check use DB aggregation and output no of hits
This will give you the number of records for the nav attribute value u have selected.
You can use sum function in the ALV GRID if you want to sum up multiple values.
Regards,
Shashank
Similar Messages
-
Copyvalue from context -- check number of entries
Experts,
Iam facing an issue where i need to copy values from the first entry only if there are no more entries in the context
Sometimes i see multiple entries in the context. each entry in the context is sent to the new record as a field value.so i would want to pass the right values if entries exist else i would want to copy the first occurence.
This is how my sample structure is
if then -> Remove Context - SplitByValue - Target,
Copyvalue doesn't work for the case when there are multiple entries in the queue.
Thanks much,
PavanPavan,
Can you give an example of what you want and what you are seeing now?
raj. -
Check number print with two zero starting
I want add to zero before check number, example 4562 to be printed as 004562.
SELECT 'xxxxx' as 'Debit A/c No',
T1.DocDate as 'Date',
T1.DocNum as 'Txn Ref',
T1.CardName as "Benificiary Name",
'CHK' as 'Payment Type',
T1.DocTotal as 'Payable Amount',
' ' as 'Benificiary A/c No',
' ' as 'IFSC Code',
' ' as 'Type of A/c',
'Bangalore' as 'Pay Location',
'Bangalore' as 'Print Location',
'4' as 'Delivery Opt',
' ' as 'DOP',
' ' as 'Bene. Address 1',
T5.CheckNum as 'Cheque Number',
' ' as 'Print Date',
T4.NumAtcard as 'INV Number',
' ' as 'Inv Date',
' ' as 'INV Description',
' ' as 'Gross Amt',
' ' as 'TDS',
T3.SumApplied as 'Net Amt',
' ' as 'email I D 1',
' ' as 'email I D 2',
' ' as 'email I D 3',
' ' as 'email I D 4',
' ' as 'email I D 5'
/* From */
FROM dbo.OCRD T0
INNER JOIN dbo.OVPM T1 ON T0.CardCode = T1.CardCode
INNER JOIN dbo.VPM2 T3 ON T3.DocNum = T1.DocNum
INNER JOIN dbo.OPCH T4 ON T4.DocEntry = T3.DocENtry
INNER JOIN dbo.VPM1 T5 ON T5.DocNum = T1.DocNum
/* Where */
WHERE T1.DocDate >= [%0] AND T1.DocDate <= [%1]
/* Order */
ORDER by T1.DocDateHi,
Please try this,
SELECT 'xxxxx' as 'Debit A/c No',
T1.DocDate as 'Date',
T1.DocNum as 'Txn Ref',
T1.CardName as "Benificiary Name",
'CHK' as 'Payment Type',
T1.DocTotal as 'Payable Amount',
' ' as 'Benificiary A/c No',
' ' as 'IFSC Code',
' ' as 'Type of A/c',
'Bangalore' as 'Pay Location',
'Bangalore' as 'Print Location',
'4' as 'Delivery Opt',
' ' as 'DOP',
' ' as 'Bene. Address 1',
'00'+CAST(T5.CheckNum AS NVARCHAR(20)) as 'Cheque Number',
' ' as 'Print Date',
T4.NumAtcard as 'INV Number',
' ' as 'Inv Date',
' ' as 'INV Description',
' ' as 'Gross Amt',
' ' as 'TDS',
T3.SumApplied as 'Net Amt',
' ' as 'email I D 1',
' ' as 'email I D 2',
' ' as 'email I D 3',
' ' as 'email I D 4',
' ' as 'email I D 5'
/* From */
FROM dbo.OCRD T0
INNER JOIN dbo.OVPM T1 ON T0.CardCode = T1.CardCode
INNER JOIN dbo.VPM2 T3 ON T3.DocNum = T1.DocNum
INNER JOIN dbo.OPCH T4 ON T4.DocEntry = T3.DocENtry
INNER JOIN dbo.VPM1 T5 ON T5.DocNum = T1.DocNum
/* Where */
WHERE T1.DocDate >= [%0] AND T1.DocDate <= [%1]
/* Order */
ORDER by T1.DocDate
Thanks -
Number of entries in each table
Hi,
I have a requirement to find the number of entries in each table in the system, how do I find this? If I have to goto each table & find out it is a tedious job. Do we have any standard report kind of thing to find out the number of entries in all the tables at a time....
Thanks,
ChandraI do not think that there is a Std. SAP report for this. If you check there is a FM CATT_GET_TABLE_ENTRIES that actually gets the table entries. But this is called dynamically.
Hope this helps.
Regards,
Mani -
Number of Entries in Dimension Tables and Fact Tables
Hi all,
is there an easy way to check
- the number of entries in the dimension tables
- the number of entries in the fact table?
Thanks a lot
AlexHi Alex,
If u want to see the content of Dimension table and Fact table for a infocube then just right click on a particular info cube then select manage . Select coneten tab there , form there u can either select Fact table to see the fact table conten or Infocube content to see the Dimensiontable content.
Regards.. -
How to find out Number of entries in a Huge Table?
Hi,
I would like to know Number of entries in table DFKKOP. when i try to get it through se16, it takes more than 10 minutes in dialogue process so a time out occurs. is there any way to find out number of entries in the table Apart from creating a program for that?
Please guide me to the solution.
Thanks,
Lijo Joseph
Message was edited by: Lijo Joseph VazhappillyREPORT YCHATEST .
Data : begin of itab occurs 0.
include structure tab512.
data:end of itab.
data : v_count like sy-index,
tabname like X030L-TABNAME value 'DFKKOP'.
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
EXPORTING
table_name = tabname
IMPORTING
NUMBER_OF_ENTRIES = v_count
tables
entries = itab.
write : v_count.
Message was edited by: Sekhar -
Give me a way to count the number of entries in a Database Table
Hello All,
I am writing a code to determine the number of entries in a SAP/Custom table.
Can you please suggest a proper approach and a good query.
Thanks in advance.Hi,
If you want to do it in a more generic way you can do the following:
DATA: tblname(50),
tp_rows TYPE i.
tblname = 'MARA'.
SELECT COUNT(*)
FROM (tblname)
INTO tp_rows.
IF sy-subrc <> 0.
CLEAR tp_rows.
ENDIF.
At runtime the table is being determined and in this case it's set to MARA. The value of the number of rows is in the variable tp_rows.
Best regards,
Guido Koopmann -
To to number consecutively entries inside a table
Hello everybody,
I need to to number consecutively my entries inside a table like this:
Heading1
1.Entry one
2.Enty two
3.Enty three
My table in the template looks like that:
Heading 1
<?for-each-group:current-group();./ID?> Entry <?end for-each-group?>
How can I achieve thise result?
Thank you in advance for your reply!
Edited by: user8973846 on 10.06.2010 01:13You can use
<?for-each-group:current-group();./ID?> <?position()?> Entry <?end for-each-group?> -
Maximum Number of Entries for Upload in Custom Table
Hi All,
I have a requirement to create a custom table, and then a custom program will be used to upload the data entries. The user is expecting to upload more than 5000 entries at one load. However, the program is encontering a dump. Is there a maximum number of entries which can be uploaded via foreground execution?
Is there any other way to upload more than 10,000 entries at one execution?
Thanks,
LouisseHi,
No restrictions for number of records to be upload in custom table.
You have to go to technical settings, there select Size category for number of data records of table expected.
Regards,
Jyothi CH. -
Sortdump when checking number of records of an SAP table
When trying to check number of records in an SAP table from SE16, that ends with shortdump as below.
SQL error in the database when accessing a table.
Database error text........: "601 Could not continue scan with NOLOCK due to
data movement."
Internal call code.........: "RSQL/COUN//BIC/B0000116000 "
Thank you in advance for quick response.Hi,
please follow note 142731 and do a complete database check. This error is often caused by database corruptions.
Best regards
Clas -
Check number - not printed / issued (not updated in PAYR Table)
Hi ,
Automatic payment program has run successfully, Clearing Document is generated for the particular vendor . Cheque is not issued to the particular vendor.
however for other vendors the cheque number is printed.
FCHN cheque Register shows cheque is not issued to that particular payment document/ Vendor. For Previous APP runs cheque has got printed for the same vendor and for the next runs also cheques getting printed .
Kindly provide your inputs
Version ECC5.
ThanksHi
There could be a possibility that only for that particular document for that vendor the payment method is changed at the line item level from check to other method of payment.
Hope it is clear.
Regards,
K Lakshmanan -
How to enable check number from manual entry to auto running?
Hi,
Does anyone knows how to enable auto running of check number (in outgoing payment) for a particular bank account?
I had tried to set it in Administration -> Setup -> Banking -> House Bank Account. In the "Next Check Number" field, i have set a check number. However, when I create a outgoing payment, in the payment means -> check tab, i select the bank and account code, the check number doesn't auto-default to next number.
Thanks!
sianghingHi
check this out and find your solution,
Outgoing Payment- Check
In outgoing payment when cheque number issue ..
gud luck
RIYAZ -
Inserting records into Table with check table logic in place
I want to insert records into a table, and have the check table to not allow invalid entries. Is there a function out there that will allow this? I am currently using the insert statement and it is working except that it is not giving an error when the value does not exist in the check table for the particular fields.
INSERT INTO ZSD_XREF VALUES WA_XREF.
That is the basic statement I'm using ZSD_XREF has several fields one being the material number field tied to the check table which happens to be MAKT file. The insert statement is not validating the material numbers using the check table, or at least it is not giving an error. Any ideas?Paul,
Unfortunately, open SQL statements such as INSERT, UPDATE do not go through the check table logic as they directly hit the database layer. Check table checks are performed only if you go through application layer that is when you enter the same data through a screen.
You have to do the checks yourself.
Happy checking!!!
Srinivas -
Check on Multiple entries in the same positions
Hullo all!
Can anyone pls tell me as to how can i keep a check on multiple entries (i.e.persons) occupying the same position?
i mean that if a position is 100% staffed, then there should be an error popped up when another personnel no. is being assigned to the same position.
And if the position is staffed 60%, then another personnel no. should be accepted on the same position only if the staffing percentage is allotted as 40%.
is this an ABAP development? and if so, what all tables are to be referred etc? what is the logic?Hi ,
Please download the note from transaction "SNOTE" (Cntrl + F8 / Download SAP Note). I can send you the note if you can share your email id.
An extract from note for your reference :-
Number 502182
Version 0004
Processor
Processing Status new
Implement. Status Cannot be implemented
Language EN
Short Text Holder relationship, staffing percentage, working time
Component PA-OS Organizational Structure
Long Text
Symptom
In Organizational Management, difficulties exist concerning the creation of the staff
assignments. The interaction of holder relationship, staffing percentage working time
of the employee and planned working time of the position is not clear.
Effects on subsequent processes, for example, the integration of Cost Distribution are
not clear.
Other terms
Integration of Cost Distribution, IT1018, IT0027
Reason and Prerequisites
Solution
The following text should explain the interaction of holder relationship, working time
of the employee, planned working time of the position and the integration of Cost
Distribution.
Contents:
1. The holder relationship
2. The staffing percentage
3. The staff assignment from the viewpoint of the position
4. The working time at the position
5. The working time of the employee
6. The relationship characteristics of the holder relationship
7. Dependent processes (Integration of Cost Distribution)
=======================================================================
1. The holder relationship
Relationship between position and position holder (employee), infotype 1001, subtype
A008
Allowed relationships:
(See system table T777E)
A Work center A 008 Holder P
A Work center A 008 Holder US
BP Business partner B 008 Holder S
P Person B 008 Holder A
P Person B 008 Holder S
S Position A 008 Holder BP
S Position A 008 Holder P
S Position A 008 Holder US
US User B 008 Holder A
US User B 008 Holder S
SAP Note Nr. 502182 10/05/2007 Page 1
Time constraint:
(See system table T777Z)
A 1001 Relationships A008 Holder 3
S 1001 Relationships A008 holder 3
P 1001 Relationships B008 holder 3
That means:
<b>o An employee can be assigned to several positions at the same time.
o A position can be assigned to several holders at the same time.</b>
Reward points, if this was helpful. -
Dear Experts,
While making outgoing payment through check via Tcode FPY1 , payment is happening and updated also in FPL9 but no check number is coming while checking the transactions.
I have configured everything in check management and also created format for the outgoing check but while checking the transaction neither checks nor check numbers are coming.
Can anyone please provide some guidance to get the printed checks and check number for outgoing payment.
Thanks in advance
Regards
KumarHello Kumar,
mass run FPY1: correspondence type 0015,
online tr. FPCH1: correspondence type 0021
fill correspondence container via event 0725 (FM: FKK_PAYMEDIUM_CHECK_0725, print: FKK_PAYMEDIUM_CHECK_0724).
form: FI_CA_DME_CHECK_SAMPLE
Customizing:
tr. FQP6: entry in the field numbering type: A, I or E (is already printed of the check form)
FPY1 --> SAPFKPY3: schedule payment medium
tables: DPAYCHKH (external numbering)
DPAYCHKNUM (internal numbering)
DFKKCHR
Have you execute the schedule payment medium?
Regards Christiane
Maybe you are looking for
-
Home Sharing with multiple libraries on same computer?
I'm a total Apple noob, but I couldn't find the answer through search so here goes: Setup: 1 Desktop PC with XP running iTunes 10.2 1 user account, but two libraries - 1 for my wife and 1 for me (maybe more later) 1 iPod Classic for wife 1 iPad2 for
-
My Ipod Nano 4th gen click wheel won't work will apple be able to fix this?
My Ipod Nano 4th Gen's Click Wheel won't work.Is there a way that Apple can repair this for me and how much will it cost?
-
Deleted Wi-fi configuration on my MBA with Mavericks
Hi I have a problem. I wasn`t able to connect to Wifi. So I was searching in System preferences in network And unfortunately I deleted configuration for Wifi and now I can not add this configuration again. What I can do with this? Thanks for answers
-
How to transfer data in notes on ipad to iphone4s
I cannot get the information in notes on my iPad Air to sync with my I phone 4s.
-
Combine quality of two images?
Hi I know how to combine or merge tow images in Photoshop CS5 But if I use images from the Internet, mostly by seaching in Google picture search. The images has different quality, such as colors and lightning. Is there a way in Photoshop to combine t