Sub-report data in report
Dear Xperts,
Whether it is possible to use the sub-report data for calculation or formula in CR?
For Ex:
I'm having Doc.Num, Doc date,DocTotal etc in details and i wrote a subreport to get the tax breakups, let my sub-query gives BEDTax, ECessTax, HCess TAx.
Now whether it's possible to use the subreport fields in formula, say DocTotal (from details) minus Total Tax(from Subreport)....
Regards,
Bala
Hi,
You can use sub report.but it would be better to write a query to fetch the required data.sub report will take more time than the query for fetching data.
as an example see below query with sales details and tax breakup
SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as 'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',L.ItemCode, L.Dscription,L.LineTotal as 'Amount',L.vatsum ,L.PriceBefDi as 'Rate',
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as 'BED (Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as 'HSCess_New (Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
(SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
(SELECT Sum(TaxSum) FROM INV4 where statype=-10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
(SELECT Sum(TaxSum) FROM INV4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
(SELECT Sum(TaxSum) FROM INV4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
(SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
(Select Sum(LineTotal) From INV3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
M.WTSum AS 'TDS (Rs.)',
M.DocTotal as 'Total (Rs.)'
FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
WHERE (M.DocDate >= '%0' AND M.DocDate <= '%1')
GROUP BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.ItemCode,L.Dscription,L.LineTotal,L.vatsum,L.PriceBefDi
ORDER BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.LineTotal,L.vatsum,L.PriceBefDi
do something similar.
Thanks,
Neetu
Similar Messages
-
When I go to Reports->Data Dictionary Reports-> PL/SQL->Search Source Code I get a window where I can not enter anything and moreover nothing is clearly visible.
Also same is happening for option Reports->Data Dictionary Reports-> PL/SQL->Progam Unit Arguments.The parameters default to NULL (the NULL check box is ticked) - to be able to enter a value, you need to first uncheck the NULL check box. You get the same thing with bind variables when running statements in the SQL Worksheet.
I think it would be much better if typing anything into the parameter value field automatically deselected the NULL, but it doesn't do that. -
Dear Friends,
This is with regard to GL account wise balance/trial balance report based on dates (From...To format).
We have tried all standard GL reports especially account balances and trial balance reports and all reports are showing period wise reports eventhough we put posting dates in the dynamic selection screen.
We also checked in SAP Notes and Expert Forum and none of the details are matching with our requirement.
As we are in production client (in ECC 6.0 version) and doing year end procedure, it would be helpful if you could let me know whether there is any transaction code/report/program available in SAP to meet the
above requirement.
Regards,
Dwarak.Hi Dwarak,
All reports balance report are based on posting period. This information is stored in a total table by posting period. These reports are not looking to the posting documents.
When you have BW or special ledger you can create a table with day totals
Paul -
Are these lines indicating sub querues of a report - in a log
[2012-03-09T15:50:04.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-29] [] [ecid: d01cd216d41a2bc8:bf26dbb:13549056e05:-8000-00000000005b8cad] [tid: 44ded940] [requestid: 7ee0096] [sessionid: 7ee0000] [username: -2327690837] -------------------- Physical Query Summary Stats: Number of physical queries 6, Cumulative time 40, DB-connect time 0 (seconds) [[
[2012-03-09T15:50:04.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-24] [] [ecid: d01cd216d41a2bc8:bf26dbb:13549056e05:-8000-00000000005b8cad] [tid: 44ded940] [requestid: 7ee0096] [sessionid: 7ee0000] [username: -2327690837] -------------------- Rows returned to Client 7980 [[
For reports that run on dashboard , when I check the log under administration, I see the above statement in the log files of report ( more than once) with different number of rows and times.
For a report that was not executed before and I am sure that report has no cache entry before it was executed. I want to know what do these entries in logs indicate?
I notice ecid, sessionid, tid is same for all of these. They are more than two and has different time taken, different number of rows returned.
So I was guessing that these are the subqueries that the report is generating?
Am I just guessing?HI,
One report may have sub totals, grand total and report data. each report will send one query to database and each total in report will send separate query to Database. you may not call them as sub queries. for more information look into nqquery.log.
Thanks
Jay. -
While preparing an AUDIT - (Data changes report) faces an 'Server error' message
Hi BPC Experts,
While preparing an AUDIT report- (Data changes report) faces an 'Server error' message.
But regular users are able to input their data in EPM.
What could be the reason for this message?
Regards,
Rajesh.Hi Chuan,
Attached the Error message here. We use BPC NW10
Rajesh. -
How to retrive DesktopIntellegence report data from FRS in the form of XML?
Hi,
I read in the document, all the Business Objects reports either deski or webi are stored in FRS system in the form of XML
How can I get the Business Objects reports data (Deski reports)from the File repository system (FRS) in the form of XML.
I need this file to use in the portlets.
Could some one please share the information.
pforum.Hi Harika,
Webservices is best way to go inorder the fetch the data from CRM system, ofcoz it comes out in XML format.
http://esworkplace.sap.com
You will info abt this http://www.sdn.sap.com/irj/bpx/esworkplace
There must a suitable webservice given for each of the below. Browse through esworkplace.
- Customer data
- Product data
- Promotions data
- Campaign data
webservice can easily be tested in WSNAVIGATOR of ESR in SE80.
Hope the above hints gives you a way forward.
Chees, Satish -
Multiple data sets: a common global dataset and per/report data sets
Is there a way to have a common dataset included in an actual report data set?
Case:
For one project I have about 70 different letters, each letter being a report in Bi Publisher, each one of them having its own dataset(s).
However all of these letters share a common standardized reference block (e.g. the user, his email address, his phone number, etc), this common reference block comes from a common dataset.
The layout of the reference block is done by including a sub-llayout (rtf-file).
The SQL query for getting the dataset of the reference block is always the same, and, for now, is included in each of the 70 reports.
Ths makes maintenance of this reference block very hard, because each of the 70 reports must be adapted when changes to the reference block/dataset are made.
Is there a better way to handle this? Can I include a shared dataset that I would define and maintain only once, in each single report definition?Hi,
The use of the subtemplate for the centrally managed layout, is ok.
However I would like to be able to do the same thing for the datasets in the reports:
one centrally managed data set (definition) for the common dataset, which is dynamic!, and in our case, a rather complex query
and
datasets defined on a per report basis
It would be nice if we could do a kind of 'include dataset from another report' when defining the datasets for a report.
Of course, this included dataset is executed within each individual report.
This possibility would make the maintenance of this one central query easier than when we have to maintain this query in each of the 70 reports over and over again. -
I have created a banded report split into departments. Each
recore has a value associated with it. The report runs fine if I
dont try to sub-total each departments vale, but if I add a
calculated field to the banding, I get the following error:
Report data binding error Error evaluating expression :
textField_2 Source text : calc.Department_Total.
Variable calc.Department_Total is undefined.
The calculated field is simply the sum of the values, with an
initial value of 0 and set to reset when the group changes on the
department. I am using the same data type for the calc field as it
automatically gave for the original Value field (Big Decimal)
Any ideas?
Dave HDoes anyone have any ideas about this, Its getting a bit
critical now. Has anyone else been able to do sums that calculate
on group changes?? The sum total works for the report, jusyt not
the bands. I desparate here, pulling my hair out.
Regards
Dave H -
hi,
I have a report on ALV with sub totals for some fields, it is working fine but my requirement is whether i can get only the sub totals of that report.
regards,
PrabhuHI
refer this code.
REPORT ZALV.
TYPE-POOLS: SLIS.
DATA: G_REPID LIKE SY-REPID,
GS_PRINT TYPE SLIS_PRINT_ALV,
GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
GT_EVENTS TYPE SLIS_T_EVENT,
GT_SORT TYPE SLIS_T_SORTINFO_ALV,
GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FIELDCAT_LN LIKE LINE OF GT_FIELDCAT,
COL_POS TYPE I.
DATA: BEGIN OF ITAB,
FIELD1(5) TYPE C,
FIELD2(5) TYPE C,
FIELD3(5) TYPE P DECIMALS 2,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB_FIELDCAT.
Print Parameters
PARAMETERS:
P_PRINT AS CHECKBOX DEFAULT ' ', "PRINT IMMEDIATE
P_NOSINF AS CHECKBOX DEFAULT 'X', "NO SELECTION INFO
P_NOCOVE AS CHECKBOX DEFAULT ' ', "NO COVER PAGE
P_NONEWP AS CHECKBOX DEFAULT ' ', "NO NEW PAGE
P_NOLINF AS CHECKBOX DEFAULT 'X', "NO PRINT LIST INFO
P_RESERV TYPE I. "NO OF FOOTER LINE
INITIALIZATION.
G_REPID = SY-REPID.
PERFORM PRINT_BUILD USING GS_PRINT. "Print PARAMETERS
START-OF-SELECTION.
TEST DATA
MOVE 'TEST1' TO ITAB1-FIELD1.
MOVE 'TEST1' TO ITAB1-FIELD2.
MOVE '10.00' TO ITAB1-FIELD3.
APPEND ITAB1.
MOVE 'TEST2' TO ITAB1-FIELD1.
MOVE 'TEST2' TO ITAB1-FIELD2.
MOVE '20.00' TO ITAB1-FIELD3.
APPEND ITAB1.
DO 50 TIMES.
APPEND ITAB1.
ENDDO.
END-OF-SELECTION.
PERFORM BUILD.
PERFORM EVENTTAB_BUILD CHANGING GT_EVENTS.
PERFORM COMMENT_BUILD CHANGING GT_LIST_TOP_OF_PAGE.
PERFORM CALL_ALV.
FORM BUILD.
DATA FIELD CATALOG
Explain Field Description to ALV
DATA: FIELDCAT_IN TYPE SLIS_FIELDCAT_ALV.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD1'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
*FIELDCAT_LN-NO_OUT = 'X'. "FIELD NOT DISPLAY, CHOOSE FROM LAYOUT
FIELDCAT_LN-KEY = ' '. "SUBTOTAL KEY
FIELDCAT_LN-NO_OUT = ' '.
FIELDCAT_LN-SELTEXT_L = 'HEAD1'.
APPEND FIELDCAT_LN TO GT_FIELDCAT.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD2'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
FIELDCAT_LN-NO_OUT = 'X'.
FIELDCAT_LN-SELTEXT_L = 'HEAD2'.
APPEND FIELDCAT_LN TO GT_FIELDCAT.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD3'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
FIELDCAT_LN-REF_FIELDNAME = 'MENGE'. "<- REF FIELD IN THE DICTIONNARY
FIELDCAT_LN-REF_TABNAME = 'MSEG'. "<- REF TABLE IN THE DICTIONNARY
FIELDCAT_LN-NO_OUT = ' '.
FIELDCAT_LN-DO_SUM = 'X'. "SUM UPON DISPLAY
APPEND FIELDCAT_LN TO GT_FIELDCAT.
DATA SORTING AND SUBTOTAL
DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD1'.
GS_SORT-SPOS = 1.
GS_SORT-UP = 'X'.
GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD2'.
GS_SORT-SPOS = 2.
GS_SORT-UP = 'X'.
*GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
ENDFORM.
FORM CALL_ALV.
ABAP List Viewer
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME = 'ITAB1'
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = GT_SORT[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = GT_EVENTS[]
IT_EVENT_EXIT =
IS_PRINT = GS_PRINT
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM.
HEADER FORM
FORM EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
CONSTANTS:
GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
*GC_FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = LT_EVENTS.
READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO LT_EVENTS.
ENDIF.
define END_OF_PAGE event
READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE GC_FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO LT_EVENTS.
ENDIF.
ENDFORM.
FORM COMMENT_BUILD CHANGING GT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
DATA: GS_LINE TYPE SLIS_LISTHEADER.
CLEAR GS_LINE.
GS_LINE-TYP = 'H'.
GS_LINE-INFO = 'HEADER 1'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
CLEAR GS_LINE.
GS_LINE-TYP = 'S'.
GS_LINE-KEY = 'STATUS 1'.
GS_LINE-INFO = 'INFO 1'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
GS_LINE-KEY = 'STATUS 2'.
GS_LINE-INFO = 'INFO 2'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
CLEAR GS_LINE.
GS_LINE-TYP = 'A'.
GS_LINE-INFO = 'ACTION'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
ENDFORM.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
WRITE: SY-DATUM, 'Page No', SY-PAGNO LEFT-JUSTIFIED.
ENDFORM.
FORM END_OF_PAGE.
WRITE at (sy-linsz) sy-pagno CENTERED.
ENDFORM.
PRINT SETTINGS
FORM PRINT_BUILD USING LS_PRINT TYPE SLIS_PRINT_ALV.
LS_PRINT-PRINT = P_PRINT. "PRINT IMMEDIATE
LS_PRINT-NO_PRINT_SELINFOS = P_NOSINF. "NO SELECTION INFO
LS_PRINT-NO_COVERPAGE = P_NOCOVE. "NO COVER PAGE
LS_PRINT-NO_NEW_PAGE = P_NONEWP.
LS_PRINT-NO_PRINT_LISTINFOS = P_NOLINF. "NO PRINT LIST INFO
LS_PRINT-RESERVE_LINES = P_RESERV.
ENDFORM.
*END OF ZALV PROGRAM
Reward all helpfull answers.
Regards.
Jay -
Sub report group tree in main report Using crystal report 12
Hi experts,
I have a strange requirement like, same data needs to be grouped two different ways in a same report. Like
Store1:
Summary of sales on each item chart
Store2:
Summary of sales on each item chart
.....it goes like this
Department1(multiple stores)
summary of sale on each item chart - store1
summary of sale on each item chart - store2
--........ it goes
Department2
summary of sale on each item chart - store3
--........ it goes
Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
I achieved this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
Thanks in advance.Hi
Thanks for the reply.
Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
So please me with some different ways and also , please clarrify the following doubts
1. Can we supress one or more items in the group tree.
2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
Please help me -
Report containing 15 sub reports crashing - Crystal Reports 2008
I am using Crystal report 2008 with all latest service packs applied. I have more then 20 different reports wich work absolutely fine and never crash. One of my report contains 15 sub reports since its bringing data from 15 different queries. This consistently keeps crashing everytime I try to run it. Not sure what could be the root cause.
We are using Postgres database and connected to it with ODBC connection using Microsoft DSN.
- All Subreport data is being displayed on Report Footer
- All subreports are included in the Main report page header section. (I have also tried doing it on report footer section but it still crashes)
I have tried searching through the forum and did not find similar issue resolutions. Did someone face similar problems before?
The crash message is:
"crw32.exe has encountered a problem and needs to close. We are sorry of the inconvenience."
Error report contains this data:
AppName: crw32.exe AppVer: 12.2.0.290 ModName: psqlodbc35w.dll
ModVer: 9.0.2.0 Offset: 0004c538
I am using Windows XP
Crystal Report Version Details:
CR Developer Version 12.2.0.290
Product Type: Full
Let me know how can I debug this issue? Any help is appreciated.@Don - We performed extensive testing for this crash issue and found that now this crash is not happening only in one scenario. So we have partially fixed this.
Now the report crashes if I get disconnected from database and reconnect. This is what happens
1. open the report in crystal report 2008
2. try to run the report when db is connected- it works fine.
3. Now disconnect the database (we are using ssh tunnel to connect to db so we just close the tunnel)
4. now try to refresh the report - it fails to retrieve data.
5. Now close the report without saving it.
6. Now Close Crystal Report.
7. Now Connect the DB using ssh tunnel so crystal report can connect.
8. Now open Crystal Report
9. Launch the target report.
10 Preview the report - it works for first time.
11. Now do a refresh keeping same parameters - Report crashes here.
- I tried these steps with some of my other reports and they do not crash.
- Now I have only one report which contains a Postgres Query with date range,order by and a union join.
- No subreports now - I am trying to run this one subreport as a standalone report which I created from scratch(using blank report wizard) and just copied the query.
Any more pointers would help. -
How to pass the value from Sub report to main report
I have un report(mainreport) within a subreport(subreport).
With reporting services, how to pass the value from Sub report to main report?
thanksHi Alebet,
With reporting services to pass values from sub report in to main report is not supported directly.
But there are some workarounds through which you can get this .
There are two ways to get this.
1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
2- Using this temporary tables data write some Scala function in the data base.
3- Now in your main report query return this scala function as a column.
4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
This will definitely work fine as i have done some report in this way.
Another way of doing is that
1- prepare another data set with the same query as in sub report in the data tab.
2- then refer this 2nd dataset in your main report .
But better way will be the top one.
Anyway please let me know if you get the solution.
Thanks
Mahasweta -
Sub Total Button in Report Painter Output
Hi,
I am working on the Balance Sheet Report in the Report Painter and i am trying to display the sub totaling display in the output.
In this i had defined the row which is based on the range of Account Number and it has the series i.e. 100000,30000,200000 etc..
Is it possible to display the output sub total on the basis of the Account Number Series which is mentioned above. As in a ALV Report we have the sub total button in report output.
If it is,then please provide me guidelines for it ......
Edited by: ricx .s on Jul 29, 2009 6:47 AMHi,
Try this code,
it working,
Data : X_SORT TYPE SLIS_SORTINFO_ALV,
IT_SORT TYPE SLIS_T_SORTINFO_ALV,
X_SORT-SPOS = 1. " Field number of ALV on which u want to sort
X_SORT-FIELDNAME = 'SEGMENT' . " field name
X_SORT-TABNAME = 'IT_ALV1'(001). "table name same as ur alv table name
X_SORT-UP = 'X'. " put up as 'X'
X_SORT-SUBTOT = 'X'. " Sub total allowed
APPEND X_SORT TO IT_SORT. "append
CLEAR X_SORT. "clear x_SORT
"in ALV_GRID_DISPLAY pass the it sort in it_SORT
IT_SORT = IT_SORT
Thanks
Arun Kayal -
Need to create 6 sub reports in Crystal Reports 2008 - Advise Required
Hello All,
I am trying to create a report with 6 sub reports in Crystal Reports 2008.Each sub-report is filtered by a filed called Error Status.Finally i need to parameterize the report based on Rec Date ( This is also i field in table from where i am puling data). I tried to link sub reports but was not able to. Please guide me.
Thanks !Hi,
I linked the fields but no data appears in the main report. Any advise would be greatly appreciated?
Thanks,
Praneeth -
Issue in Due date analysis report S_ALR_87012168
Hi Friends,
We have a strange issue regarding due date analysis report (S_ALR_87012168)...
When i execute this report it displays different amounts in "Not Due" column under 0-30 bucket. In 0-30 bucket, under not due column it shows 10,000 and under total open items column it shows 15,000. How it is possible?
Thanks to everyone
AnifiHi,
This has been closed due to Local and Document currency prob...
Thanks
Maybe you are looking for
-
I have been receiving my 2 podcasts, rush limbaugh show and the hugh hewitt show however some reason the are not on my I tune site so I can download them to my Ipod. Any help would be great?
-
How can I handle multiple Queries in single Report?
Using Reports 6.0, i have 2 queries Q_1, Q_2 and I have define a user parameter, Flag_1 char(1). I wish to execute Q_1 if Flag_1 = 'T' and Q_2 if flag_1 = 'F' How can i do this?
-
How can I get my Windows Partition to be a startup disk?
I have Tiger 10.4.11, I had boot camp, Running Vista, Just fine for months. I recently had a problem, within vista which caused a problem with the hard drive/master boot record which wouldn't allow Vista to boot anymore and actually reported "missing
-
Error when import metadata form Oracle Olap (aw) to rpd
Hi all, When import Oracle OLAP analytic workspace to rpd user bi Admin tool, i get error: [nQSError: 77031] Error occurs while calling remote service AWImportService11G. Details: Error getting AW version -- IO error: The network Adapter could not es
-
Satellite L505-14D, high pitch sound
When I turn up the volume above 40 there is a high pitch sound. This is even when Im not running any programs that generate sound. Its a sound like when you have your mic to close to the speaker. I tried to deactivate the mic but without result. The