No of lines a Report has?
Hi All,
I have a list of 6000 report names with me. I need to do unicode conversion for these reports and we need to estimate the time for that. For that one parameter to consider is to find out the number of lines each program has. I can open up each program in SE38 and sum up all the lines in each program has including its includes. but that is tedios. Is there any table in which if I enter the program name it gives me the number of lines of that report including the lines in its include. Even a function module or a report will suffice.
Thanks in advance.
Hi,
Check these FM's :
FM : SVRS_GET_REPS_FROM_OBJECT : Pass object type as 'REPS' to get the code of the Report or Include and then use DESCRIBE to know number of lines of the code
FM : GET_INCLUDETAB - To get the list of includes of a report and pass includes to above FM in a loop and sum up all the lines to know number of lines of a report with includes.
Regards
Appana
Similar Messages
-
**URGENT** - Vendor Line Item Reporting
Dear Gurus,
Need some URGENT help with regards to Vendor Reporting?
Our business has requested for a Vendor Line Item / header Report, which will display ALL Vendor Items NET (before tax).
At the moment our business it manually taking out Tax in FBL1n (Vendor Line Item Report).
Please could you kindly let me know if there is ANY report in SAP which displays the Vendor Items NET & GROSS??
Thanks Very Much
RICK
Edited by: Rick Desilva on Apr 22, 2008 4:00 PMHi Shridhar,
All I want is a "net column" - Which will display the vendor invocie amount - BEFORE VAT (Tax).
So on FBL1N or Another SAP-Vendor Report what I need is a
Net Amount column and a Gross Amount Column.
I hope this makes sense and someone can assist....
Thanks & Regards
RICK
Edited by: Rick Desilva on Apr 23, 2008 9:36 AM -
WBS Element on AR/AP Line Item Report
Hi All
When I run the FBL1n report for a vendor who has a PO which has a WBS element - I dont see the WBS element coming up on the line item report(s).
Although the field is there on the layout - it is not picking the WBS Element into the report - can anyone please tell me why this is and how I can get this field to fill with values...
Thank you
Rukshanahi,
If you had activated Project Cash Management, you can try report CJIA which can substitute the report line item wise list for a particular project or for a Particular Vendor.
Why the standard system is not showing WBS because, a single Vendor line can be posted against multiple expense so system cannot determine which WBS to be shown in the report so it is left blank in reports, this will be applicable for Purchase order no, Cost Centers, WBS etc.
As suggested by Suresh you can use the BTE 1650, but it will keep one WBS in the line even you have multiple WBS elements used for the document posting.
For Ex
Expense 1 Dr 1000- WBS 1
Expense 2 Dr 1000- WBS 2
Expense 3 Dr 1000- WBS 3
Vendor A Cr 3000
Against Vendor line item A - it will show WBS 1 alone.As there is no standard solution you can use BTE if your are satisfied with the above example or you have to activate Project Cash management to find the exact reporting but in different reporting structure.
Thanks and regards
Praveen.J -
Line item report with Customer number
Hi all,
I am facing the following issue:
I need a line item report to analyze an accrual account by customer.
Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual on the same line.
I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
Thanks,
Yoel.If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
2. Create the Query in SQ01 using that Infoset.
If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
Selections would habe to be made for account no and period. -
Create AP/AR line item report for parked items
Dear all,
Has anyone been able to create a line item report in AP or AR that includes parked items? I have created an aging report using standard 0SAPDUEAN-01 as a base, using report painter. Now the Finance department want to be able to see the numbers of the parked invoices as well but I am not able to find a way to pull these.
Does anyone know if this is actually possible?
many thanksHi,
by using of TCODE. FBV3 it is displaying parked documents
based on document type.
K.Satish -
In vendor line item reports I want plant field.
How can I add this field to my report screen. In my dynamic selections it is not available.
thanks and regardsHi,
If a field in FBL1N is not filled it might be because the field has to be created as a special field.
In the Line item Display list in FBL1N follow this menu path: Settings -> Special fields, and add the fields you want from relevant table.
The fields are later available for display,and you can choose them from the Line item Display list following this menu: Settings -> Display variant -> Current. From the hidden list you can now choose the fields you want to have shown. If the technical name is shown for the fields, the special fields are all starting with '1-U_'. It's important, that you add the Special field, if the field also exist as Standard field.
The Special fields are shown in the buttom of the Hiddden list.
Please also read the solution part of note 215798 for some very import- ant steps to be aware of.
But, for having a field shown in the vendor Line Item Display (FBL1N) the field has to exist in the vendor Line Item. If this is not the case, you will evt. be able to see the field in FBL1N by using Offsetting account info.
Check if field WERKS is in the structures RFPOS and RFPOSX. If not, then you need to add the field to the structures RFPOS and RFPOSX. When the structures have been extended with the field then you need to run the reports RFPOSXEXTEND and BALVBUFDEL (in the same way as seen in the solution part in note 215798).
Please assign points if it useful
Regards
Ravinagh Boni -
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
single month and year.
I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
resultset on two fields:
Start Date - The date the patient was assigned to the practice. This field is never null or blank.
End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
leaves the practice, the date the patient left is populated in this field.
Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
AND
end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
selected)
Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
Jimmy Doe has a start of 7/3/2012 and an End Date of 9/2/2012
Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
this:
Patient Name
Months Assigned
John Doe
June 2012
John Doe
July012
John Doe
Aug 2012
John Doe
Sept 2012
John Doe
Oct 2012
Sally Doe
Aug 2012
Sally Doe
Sept 2012
Sally Doe
Oct 2012
Sally Doe
Nov 2012
Sally Doe
Dec 2012
Jimmy Doe
July 2012
Jimmy Doe
Aug 2012
Jimmy Doe
Sept 2012
From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
June 2012 - 1
July 2012 – 2
Aug 2012 - 3
Sept 2012 - 3
Oct 2012 - 2
Nov 2012 - 1
Dec 2012 - 1
The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
be the y axis).
Does this sound like the best approach?
If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
I do not have permissions to create SPs or Functions within the database but I can create temp tables.
I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
Any advice or help is greatly appreciated.Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want.
Doing a cross join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated. -
How to add the line item text in the Ledger line item report
Hi SAP Gurus,
I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
advance thanks for the help.
Regards,
Deva.Hi,
You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
Step 1:-
Create function module Z_GET_SGTXT as below:-
Import:-
BELNR LIKE BKPF-BELNR
BUKRS LIKE BKPF-BUKRS
BUZEI LIKE BSEG-BUZEI
GJAHR LIKE BKPF-GJAHR
Export:-
PRCTR LIKE BSEG-SGTXT
FUNCTION Z_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(BELNR) LIKE BKPF-BELNR
*" VALUE(BUKRS) LIKE BKPF-BUKRS
*" VALUE(BUZEI) LIKE BSEG-BUZEI
*" VALUE(GJAHR) LIKE BKPF-GJAHR
*" EXPORTING
*" VALUE(SGTXT) LIKE BSEG-SGTXT
SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
AND BELNR = BELNR
AND BUKRS = BUKRS
AND BUZEI = BUZEI.
ENDFUNCTION.
Step 2:-
Then create the Function Modules as below:-
Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*" EXPORTING
*" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
Initialize Output by using the following line
E_POSTAB = I_POSTAB.
E_POSTAB = I_POSTAB. "<-- important
CALL FUNCTION 'Z_GET_SGTXT'
EXPORTING
BELNR = I_POSTAB-BELNR
BUKRS = I_POSTAB-BUKRS
BUZEI = I_POSTAB-BUZEI
GJAHR = I_POSTAB-GJAHR
IMPORTING
SGTXT = E_POSTAB-SGTXT
EXCEPTIONS
OTHERS = 1.
ENDFUNCTION.
Step3:-
Transaction FIBF:-
Settings -> Products -> of a Customer
SGTXT Text in Line Item Display Active
Settings -> P/S Module -> of a Customer
00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
Step 4:-
Create the layout for FBL*N with display of the TEXT.
Regards,
Gaurav -
"Always Use Selected Format" check box in line items report
Hi Experts,
I have an issue in ECC 6.0.
From the transaction code FBL1N (Vendor Line Items) I am trying to export the report to spreadsheet by selecting the option List> Export>Spreadsheet then I have selected "Always Use Selected Format" check box. But if I execute the same report again I am not getting this option "Always Use Selected Format". Please let me how can we retrieve that option. Is there any possibility to get that option again either functionally or technically. I would like to know all the possible ways to get this option again.
Please do the needful.Hello,
In one my thread Mr. Frank has replied as follows. I believe he has solved this.
Hope this may be really helpful.
The problem with the spreadsheet download is at one point, users have selected their default file type.
That said, SAPGUI is working as it should. (gui710)
Question though is how do we reset the values so they get the ?Select Spreadsheet Format? popup again.
The following steps should be performed :
- Call transaction SE38, enter program SALV_BS_ADMIN_MAINTAIN, and press F8.
- Follow the parameters below :
- Select ?DELETE? on the Actions Group
- Select ?DETAILED SELECTION? on the General Data :
- On Client - your number
- User : <user name>
-Hit EXECUTE.
-Press ENTER on the POPUP
- If there is an entry in the report that will need to be deleted. Also, make sure that the entry you will delete (for the user) has a value of GUI_ALV_XML_VER on field ?Parameter? .
- Select the line and hit the DELETE icon .
- Press ?Y? to continue delete. Press ENTER on the popup.
- Then EXIT all the way out of the program.
NOTE : When you run program SALV_BS_ADMIN_MAINTAIN, make sure they are out of any program that they are using for download.
Re: "Always Use Selected Format" check box in line items report
Regards,
Ravi
Edited by: Ravi Sankar Venna on May 15, 2009 2:31 PM -
Internal Order - KOB1 - Actual Cost Line Item Report
Hi Friends,
I need to understand how the KOB1 Report - Actual Cost Line Item works.
As per my understanding when ever there is cost posted with assignment to Internal order this report should reflect the amount.
We have a PO with account assignment to Internal order and Asset.
When Goods Receipts is posted the with posting key 70, the report is reflecting the amount.
When Invoice Receipt is posted KOB1 report is not reflecting this amount.
There is one Invoice receipt posted with entry
31 Dr
70 DR
86 Dr GR/IR
and the 70 debit amount is coming in the report.
So can any one please tell me does this report show all the entries with IO assignment or when posting key 70, 75 ,80,81 are used.
And also is GR considered as cost posting or IR considered.
This issue has been pending from 3 months.
Appreciate your help.
Thanks
SatishThe KOB1 line item report will show you any expense account posted to that order.
Basically you are the order collecting the cost. During the invoice receipt, the expense account are not involved, except in cases of a price difference.
The vendor account credit and debit to GR/IR are not concerned with the order. -
Header and Line Item reporting (MultiProvider)
Hello All,
We have data coming in from a LO Extractor. There are 2 extractors. 1 for line item the other for Header. The line item extractor has all the fields for both so we decided to use this extractor (the line item).
Question is, when extracting this data multiple records come over. Let's say the order has 2 line items. It brings over a header record and then 2 line item records. We have it going to an ODS and then Cube. The ODS key is order number and item. Well the header record comes over with item number #, so 3 records hit the ODS.
How do you handle this? We saw something about denormalization and make this header record item number a 0.
Can someone explain to us how to handle this? We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
Please help, Thank youItem level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
This will not be good option if you require some fields that may have different records in the header and the item.
One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
Constant selection wil be helpful in the report level not during load process.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown. -
Profit center - actual line items report
< MODERATOR: Message locked. Please post this message in the [Controlling forum|SAP ERP Financials - Controlling;. >
hi,
i am trying to excute ke5z, profit center actual line item report. it does not show any values even if i am running it wide open, I am testing this in our quality client, we have data all of 2008 posting to profit centers. i
is there some kind of config involved in this.
please let me know if anyone has an idea.
thanks.Are you absolutely sure there are no values in any of the fields in selection screen? Recheck if any of the multiple selections (arrow at the end of each field) is active? Are you running it for record type 0 (actual) - you did say you are running it wide open, but I am just trying to reconfirm.
Just another think that you could check - when you are in the initial screen of KE5Z, go to Extras -> Data source (F5) from the top menu and make sure Database checkbox is checked.
Edited by: Srikanth Tamma on Sep 22, 2008 6:46 PM -
Cost element and Line item reports show different actual costs
Hi PS experts,
My client has an issue pertaining to actual cost reports. The cost element report shows actual costs $42,000 for one WBS and when I double click to see details the value it shows is $2100. Even when I checked line item report for this WBS the value is $2100. What could be the reason for getting different values? If some one throw some light on this it would be great helpful to me
Regards,
LaxminarsimhaLaxminarsimha
The values in CJI3 should be correct and will include all postings (e.g. Settlement values) and possibly Actual Revenues unless a filter is in place - so take this as being your correct figure to start with.
Your drilldown will show the same value as CJI3 because it is CJI3
Any cost element report you are using is probably correct for what you are asking - is this a Standard Cost Element Report you are using or is it bespoke
One thing to be careful of when you drilldown on Cost Element Reports is that you do not always get the a make up of the value you have drilled down
e.g.
Cost Element Report was run for Period 1 to 6 2008 and shows £100.00
You drilldown and sometimes the drilldown automatically shows ALL line items e.g £500.00 (not just the values for periods 1 to 6 of 2008 which you may expect £100.00)
In the past I've removed the drilldown capability from bespoke cost element reports to prevent drilldown to the line item report (which is CJI3) because of this problem.
Usually where values for a a number of periods only (not total costs) was required
Other factors to consider
Revenues/Settlements may be excluded from Cost Element Report but will not be excluded from CJI3 unless you specifically restrict
You need to identify which types are postings are missing from the Cost Element Report (what is common...cost element, dr/cr indicator, business transaction)
I've also hit the mistake in the past where I've asked for periods 1 2007 to period 3 2008 and instead of giving me just over a years worth of actual it gave me actuals for periods 1 to 3 for 2007 and 1 to 3 for 2008.
Hope this helps
Steve -
Current Header Rows Not Appearing on FBL1N - A/P Detailed Line Item Report
Our A/P staff somehow turned off the header rows at the top of the FBL1N report. The rows contain the various variables related to the report such as vendor name, vendor address, city, state etc.
Does anyone know how I can change the report so that these variables once again appear on the report?
Thanks,Michael,
Do you mean that you can not access via the following link?
http://service.sap.com/notes
Well, if this is your case, I will copy note 181592 here since there is only text information and not code correction. I am sorry but the format is not good, but I think this note will help you to insert header again.
If this note does not help you, let me know and I will check the other notes that I have provided.
Please kindly check the note text below:
Best Regards,
Vanessa Barth.
==============================================================
SAP Note No. 181592 20.01.2009 Page 1
Number 181592
Version 6 from 03.03.2000
Status Released for Customer
Set on 02.03.2000
Language EN
Master language DE
Short text Line item: Setting-up the headers
Responsible Christian Auth
Component FI-GL-GL-D
Reporting/Analysis/Display
Long text
Symptom
You want to display information in the headers or change information
preset in the headers for the following: line item display for vendors,
G/L accounts customers or customer information on an account.
Additional key words
Program RFITEMAP, RFITEMGL, RFITEMAR, Transactions FBL1N, FBL3N, FBL5N,
layout variants, layout headers
Cause and prerequisites
You are not familiar with the option of individually setting header
information or how to use maintenance transactions.
Solution
1. Overview
In the line item report you can display information in the header of
the list (given that this information is equal for all items
displayed).
For example, a customer accounts clerk wants to display the
following data in the header: account number and name of the
customer, name and telephone number of the responsible accounting
clerk for the customer, current date.
You can use information taken from the account master data. General
variables like the time and date are also available.
The following describes how you can set up the layout of header
information yourself. A header layout is always assigned to the
particular display variant of the list which you set on the bottom
of the selection screen or which you can choose using CTRL+F9 on the
display ('Choose' button). You can therefore personalize the header
layout as well as the remaining display layout.
The header layout is output if the account number group is changed,
if the list has been sorted according to the 'Account' field, and if
a page break has been set for this field. You can maintain these
Page 2
settings under the menu option Edit -> Subtotal (Ctrl+F1).
2. Setting up the headers
Choose from the menu
Settings -> Display Variant -> Current header rows
You now see rows in which you can arrange variables. Using the
pushbuttons in the function bar, you can create or delete rows.
When you position the cursor at the start position and choose
function "Gen. variables" (Shift+F5) or "Characteristics..."
(Shift+F8) a new variable is positioned in the header area. From the
following dialog box, you can choose the variable (also called
characteristic) from an inventory.
Under "Text type", you determine whether the label for the variable
(for example, the label 'Customer') or if the value itself should be
used (that is, the appropriate customer number for the items
displayed in each case). You can display pairs as follows:
<Label>: <Value>
for example,
Customer: 47110815
If the value is a key for a short or long text (either a name or a
description), you can also select this under "Text type".
After selecting and positioning the characteristics, save and return
to the list. The headers are displayed immediately with correct
values so that you can check your results right away.
3. Save the list variant
Choose "Save" (Ctrl+F12) in the list. In the following dialog box,
you can enter a name and a label for the list variant that will be
stored together with your header layout.
Note that general variants visible to every user have a name
Page 3
starting with the character '/'. User-specific variants on the other
hand must begin with a letter and are only visible to you.
Standard variants delivered by SAP in general start with a number
and have preconfigured headers. You cannot change the SAP variants,
but you can use them as template for your own enhancements, which
you can store under another variant name.
Valid releases
Software Component Release
from to
SAP_APPL
SAP Application
46C - 46C
46A - 46B X
Further components
FI-AP-AP-D
Reporting/Analysis/Display
FI-AR-AR-D
Reporting/Display/Credit Management
Reference to related Notes
Number Short text
306225 Line item: page break when printing lists
213144 Line item: Header information disappears
181697 Line item: Header information is missing -
Tax Column on the Customer Line Item Report
Hi All
We need a report for AR that has the fields : Business Area, Customer, Document Type, Document Number, Clearing Document(if any), Currency, Posting date, Amount, tax amount, payment amount, due date, payment date..
I tried the standard report (FBL5n) but it doesnt have the fields 'tax amount' and 'cleared amounts' - so I tried to join the BSID
and BSAD table in a query - which again times out...
Is there another table I can map and or when using table(s) BSID and BSAD - what should be my join conditions..?
Thank you
RukshanaPlease search the forum before posting your question. This question has been asked several times.
BSET does not maintain the values with respect to the Line Items. So it is not possible to combine the values from BSET with line item reports. You'll have to write a custom (Z-Report) report to cater your needs.
Ravi.
Maybe you are looking for
-
Hp dm4 will not boot up have no recovery disc
hp dm4-2191us windows 7 64-bit When turning on computer error message "A disk read error occured" start up test 0 memory
-
HI Everyone, Can i develop a webservice using .net platform for a file to file scenario using XI. How do i proceed. I know how to configure file to file scenario using XI, but how shd i replicate the same scenario as webservice. Any valueable in
-
I'm having to clear cache constantly now in order to load pages.
Unless I clear my cache constantly, I get either an "invalid url" error or an "oops, no such page error"--sometimes an incomplete Web page. == URL of affected sites == many, some of which are new to me
-
Cp6 - Creating a TOC button (without Flash widget)
Hello everyone, I am working on a elearning template that doesn't use a time slider bar so, navigation is done through the use of back/next buttons. I am also employing the Captivate TOC as a overlay. The problem I am having is that the default trigg
-
Query between different infoproviders
How to copy query between different infoproviders?